更新资源

This commit is contained in:
2019-10-27 20:52:35 +08:00
parent 929f4b651f
commit edbcf17309
457 changed files with 25425 additions and 21970 deletions

104
static/app2/js/order_out.js Executable file → Normal file
View File

@ -1,53 +1,53 @@
mui.plusReady(function() {
var self = plus.webview.currentWebview();
var data_order_id = self.data_order_id;
var bSize = 64 + (+localStorage.getItem('ipxSizeTop')) + 'px';
var sub = plus.webview.create('order_con.html', 'order_con.html', {
top: bSize,
bottom: '49px',
scrollIndicator: 'none'
});
self.append(sub);
localStorage.setItem('data_order_id', data_order_id);
if(!data_order_id) {
$('#ckwl').css('display', 'none')
}
mui(".btns").on('tap', '#ckwl', function() {
// var tj = plus.webview.create('search.html');
// tj.show();
// mui.alert(e.target.attributes["data-id"].nodeValue);
// //console.log(this.attributes["data-id"].nodeValue);
mui.openWindow({
url: 'logistics.html',
id: 'logistics.html',
styles: {
top: '0px', //新页面顶部位置
bottom: '0px', //新页面底部位置
width: '100%', //新页面宽度默认为100%
height: '100%' //新页面高度默认为100%
},
extras: {
data_order_id: data_order_id
// ..... //自定义扩展参数,可以用来处理页面间传值
},
createNew: false, //是否重复创建同样id的webview默认为false:不重复创建,直接显示
show: {
// autoShow: true, //页面loaded事件发生后自动显示默认为true
// aniShow: animationType, //页面显示动画默认为”slide-in-right“
// duration: animationTime, //页面动画持续时间Android平台默认100毫秒iOS平台默认200毫秒
// event: 'titleUpdate', //页面显示时机默认为titleUpdate事件时显示
// extras: {} //窗口动画是否使用图片加速
},
waiting: {
autoShow: true, //自动显示等待框默认为true
title: '正在加载...', //等待对话框上显示的提示内容
options: {
// width: waiting - dialog - widht, //等待框背景区域宽度,默认根据内容自动计算合适宽度
// height: waiting - dialog - height, //等待框背景区域高度,默认根据内容自动计算合适高度
// ......
}
}
})
})
mui.plusReady(function() {
var self = plus.webview.currentWebview();
var data_order_id = self.data_order_id;
var bSize = 64 + (+localStorage.getItem('ipxSizeTop')) + 'px';
var sub = plus.webview.create('order_con.html', 'order_con.html', {
top: bSize,
bottom: '49px',
scrollIndicator: 'none'
});
self.append(sub);
localStorage.setItem('data_order_id', data_order_id);
if(!data_order_id) {
$('#ckwl').css('display', 'none')
}
mui(".btns").on('tap', '#ckwl', function() {
// var tj = plus.webview.create('search.html');
// tj.show();
// mui.alert(e.target.attributes["data-id"].nodeValue);
// //console.log(this.attributes["data-id"].nodeValue);
mui.openWindow({
url: 'logistics.html',
id: 'logistics.html',
styles: {
top: '0px', //新页面顶部位置
bottom: '0px', //新页面底部位置
width: '100%', //新页面宽度默认为100%
height: '100%' //新页面高度默认为100%
},
extras: {
data_order_id: data_order_id
// ..... //自定义扩展参数,可以用来处理页面间传值
},
createNew: false, //是否重复创建同样id的webview默认为false:不重复创建,直接显示
show: {
// autoShow: true, //页面loaded事件发生后自动显示默认为true
// aniShow: animationType, //页面显示动画默认为”slide-in-right“
// duration: animationTime, //页面动画持续时间Android平台默认100毫秒iOS平台默认200毫秒
// event: 'titleUpdate', //页面显示时机默认为titleUpdate事件时显示
// extras: {} //窗口动画是否使用图片加速
},
waiting: {
autoShow: true, //自动显示等待框默认为true
title: '正在加载...', //等待对话框上显示的提示内容
options: {
// width: waiting - dialog - widht, //等待框背景区域宽度,默认根据内容自动计算合适宽度
// height: waiting - dialog - height, //等待框背景区域高度,默认根据内容自动计算合适高度
// ......
}
}
})
})
})