|
5、代码和截图已上传
- function AlertWarning(text_content, text_button, callback) {
- dialogBox = api.require('dialogBox');
- dialogBox.alert({
- texts: {
- content: text_content,
- leftBtnTitle: text_button,
- },
- styles: {
- bg: '#fff',
- w: 300,
- corner: 10,
- content: {
- marginT: 20,
- marginB: 20,
- color: '#000',
- size: 14
- },
- left: {
- marginB: 0,
- marginL: 0,
- w: 300,
- h: 40,
- corner: 0,
- bg: '#f76249',
- size: 16,
- color: '#fff'
- }
- }
- }, function(ret) {
- if(ret.eventType == 'left') {
- var dialogBox = api.require('dialogBox');
- dialogBox.close({
- dialogName: 'alert'
- });
- (callback && typeof(callback) === "function") && callback();
- }
- });
- }
复制代码 6、就是类似于QQ背景图手势下拉图片会放大请问其他的问题要怎么解决?
|
|