'助购列表页面功能实现'

This commit is contained in:
2019-09-23 15:07:29 +08:00
parent cda15842da
commit 0422d4982c
7 changed files with 135 additions and 30 deletions

View File

@ -9,7 +9,7 @@ mui.plusReady(function(){
'<span class="c3">'+each.level+'</span></div>')
}
})
$("#userName").text(localStorage.getItem("userName"))
JZL.ajax(qlgUrl('app/users/getIndex'), {}, function(data) {
// console.log(data); //服务器返回响应,根据响应结果,分析是否登录成功;
@ -31,9 +31,9 @@ mui.plusReady(function(){
$("#myHelpSaleOrder").on("tap", function(){
mui.openWindow({
url: 'indent.html',
id: 'all',
id: 'zgall',
extras: {
data_href: 'all'
data_href: 'zgall'
},
createNew: false, //是否重复创建同样id的webview默认为false:不重复创建,直接显示
waiting: {
@ -42,6 +42,80 @@ mui.plusReady(function(){
}
})
})
$(".waitSend").on("tap", function(){
mui.openWindow({
url: 'indent.html',
id: 'zgwaitDeliver',
extras: {
data_href: 'zgwaitDeliver'
},
createNew: false, //是否重复创建同样id的webview默认为false:不重复创建,直接显示
waiting: {
autoShow: true, //自动显示等待框默认为true
title: '正在加载...', //等待对话框上显示的提示内容
}
})
})
$(".waitDeliver").on("tap", function(){
mui.openWindow({
url: 'indent.html',
id: 'zgwaitReceive',
extras: {
data_href: 'zgwaitReceive'
},
createNew: false, //是否重复创建同样id的webview默认为false:不重复创建,直接显示
waiting: {
autoShow: true, //自动显示等待框默认为true
title: '正在加载...', //等待对话框上显示的提示内容
}
})
})
$(".waitAppraise").on("tap", function(){
mui.openWindow({
url: 'indent.html',
id: 'zgwaitAppraise',
extras: {
data_href: 'zgwaitAppraise'
},
createNew: false, //是否重复创建同样id的webview默认为false:不重复创建,直接显示
waiting: {
autoShow: true, //自动显示等待框默认为true
title: '正在加载...', //等待对话框上显示的提示内容
}
})
})
$(".abnormal").on("tap", function(){
mui.openWindow({
url: 'indent.html',
id: 'zgabnormal',
extras: {
data_href: 'zgabnormal'
},
createNew: false, //是否重复创建同样id的webview默认为false:不重复创建,直接显示
waiting: {
autoShow: true, //自动显示等待框默认为true
title: '正在加载...', //等待对话框上显示的提示内容
}
})
})
$(".helpSaleCart").on("tap", function(){
mui.openWindow({
url: "shoppingcart.html",
id: "shoppingcart.html_3",
extras: {
from_id: 3,
},
waiting: {
autoShow: true, //自动显示等待框默认为true
title: '正在加载...', //等待对话框上显示的提示内容
options: {
// width: waiting - dialog - widht, //等待框背景区域宽度,默认根据内容自动计算合适宽度
// height: waiting - dialog - height, //等待框背景区域高度,默认根据内容自动计算合适高度
// ......
}
}
})
})
$("#toHelpSale").on("tap", function(){
JZL.openWindow('zhugouba.html', 'zhugouba.html');
})