You've already forked qlg.tsgz.moe
Init Repo
This commit is contained in:
32
static/app/js/indent.js
Executable file
32
static/app/js/indent.js
Executable file
@ -0,0 +1,32 @@
|
||||
mui.plusReady(function() {
|
||||
|
||||
var self = plus.webview.currentWebview();
|
||||
var data_href = self.data_href;
|
||||
if(data_href == 'all') {
|
||||
$('#nav2').html('全部订单');
|
||||
|
||||
}
|
||||
if(data_href == 'waitPay') {
|
||||
$('#nav2').html('待付款');
|
||||
}
|
||||
if(data_href == 'waitDeliver') {
|
||||
$('#nav2').html('待发货');
|
||||
}
|
||||
if(data_href == 'waitReceive') {
|
||||
$('#nav2').html('待收货');
|
||||
}
|
||||
if(data_href == 'waitAppraise') {
|
||||
$('#nav2').html('待评价');
|
||||
}
|
||||
if(data_href == 'abnormal') {
|
||||
$('#nav2').html('退款/售后');
|
||||
}
|
||||
localStorage.setItem('order_class', data_href);
|
||||
var sub = plus.webview.create('indentcon.html', 'indentcon.html', {
|
||||
top: '66px',
|
||||
bottom: '0px',
|
||||
scrollIndicator: 'none'
|
||||
});
|
||||
self.append(sub);
|
||||
|
||||
})
|
Reference in New Issue
Block a user