Commit 2fed31000cade3d20e95e37ca940c35d02f1f716

Authored by vking
1 parent 412496ce

new 2.0

@@ -20,7 +20,6 @@ Page({ @@ -20,7 +20,6 @@ Page({
20 enter_params: '',//商户入口参数 20 enter_params: '',//商户入口参数
21 isInvitation: false,//客户经理 21 isInvitation: false,//客户经理
22 async onLoad(opt) { 22 async onLoad(opt) {
23 - return;  
24 console.log('onLoad', opt, mta); 23 console.log('onLoad', opt, mta);
25 //转化场景值到opt 24 //转化场景值到opt
26 this.selectComponent("#network").debug(opt, 'opt'); 25 this.selectComponent("#network").debug(opt, 'opt');
@@ -46,7 +46,6 @@ Page({ @@ -46,7 +46,6 @@ Page({
46 */ 46 */
47 onShow: function () { 47 onShow: function () {
48 PubSub.emit('custom-tab-bar') 48 PubSub.emit('custom-tab-bar')
49 -  
50 }, 49 },
51 50
52 /** 51 /**
1 <!--pages/customer/list.wxml--> 1 <!--pages/customer/list.wxml-->
2 -<nav hasHome>我的订单</nav> 2 +<nav>我的订单</nav>
3 <view class="view tabs flex padding-lg padding-top-xs"> 3 <view class="view tabs flex padding-lg padding-top-xs">
4 <view class="view item {{tabType==1?'active':''}}" data-type="1" bindtap="switchType">等待确认</view> 4 <view class="view item {{tabType==1?'active':''}}" data-type="1" bindtap="switchType">等待确认</view>
5 <view class="view item {{tabType==2?'active':''}}" data-type="2" bindtap="switchType">预订成功</view> 5 <view class="view item {{tabType==2?'active':''}}" data-type="2" bindtap="switchType">预订成功</view>