32 lines
746 B
JavaScript
Executable File
32 lines
746 B
JavaScript
Executable File
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);
|
|
|
|
}) |