Browse Source

-----

featrue/v4.2
huziyuan 5 years ago
parent
commit
2e79623a4b
3 changed files with 7 additions and 3 deletions
  1. 2
      app.js
  2. 4
      pages/home/index/index.js
  3. 4
      pages/home/index/index.wxml

2
app.js

@ -1,7 +1,7 @@
//app.js //app.js
App({ App({
//----------------------------------------------globalData-------------------------------------- //----------------------------------------------globalData--------------------------------------
evn: 1,//0:开发环境,1:测试环境,2:生产环境
evn: 0,//0:开发环境,1:测试环境,2:生产环境
tmplIds: ['SUjEgwDopCv9xkkSZ4KbS0L7XbAiVQor6GmPg14K760'], tmplIds: ['SUjEgwDopCv9xkkSZ4KbS0L7XbAiVQor6GmPg14K760'],
agentMsgIds: ['kG8DErWDpyzBHCFaLlSKYMF7xVy8UpgogCwV_WSNt10', 'oLbv-IyJOia2tenh64_Lc8xeAzwgzu3gh1vFJ1Se-ME'], agentMsgIds: ['kG8DErWDpyzBHCFaLlSKYMF7xVy8UpgogCwV_WSNt10', 'oLbv-IyJOia2tenh64_Lc8xeAzwgzu3gh1vFJ1Se-ME'],
version: 152, version: 152,

4
pages/home/index/index.js

@ -154,6 +154,10 @@ Component({
wx.navigateTo({ wx.navigateTo({
url: '/pages/agent/order/index?status=55&tabIndex=5' url: '/pages/agent/order/index?status=55&tabIndex=5'
}) })
} else if (e.currentTarget.id == 'agentall') {
wx.navigateTo({
url: '/pages/agent/order/index?status=&tabIndex=0'
})
} }
}, },
toUserInfo: function () { toUserInfo: function () {

4
pages/home/index/index.wxml

@ -58,7 +58,7 @@
<view class="dmArea1-top-left"> <view class="dmArea1-top-left">
<text class="dmArea1-top-left-text">代卖订单</text> <text class="dmArea1-top-left-text">代卖订单</text>
</view> </view>
<view class="dmArea1-top-right">
<view class="dmArea1-top-right" id="agentall" is-link bindtap="toPage">
<view class="dmArea1-top-right-inoc"> <view class="dmArea1-top-right-inoc">
<image class="dmArea1-top-right-inoc-class" src="/assets/myinfo/incon13.png"></image> <image class="dmArea1-top-right-inoc-class" src="/assets/myinfo/incon13.png"></image>
</view> </view>
@ -135,7 +135,7 @@
</view> </view>
</view> </view>
<view class="dmArea3">
<view class="dmArea3" id="shop" is-link bindtap="toPage">
<view class="dmArea3-left"> <view class="dmArea3-left">
<image class="dmArea3-left-inco" src="/assets/myinfo/fb.png"></image> <image class="dmArea3-left-inco" src="/assets/myinfo/fb.png"></image>
<text wx:if="{{!userInfo}}" class="dmArea3-left-text">赶紧登陆赚钱吧</text> <text wx:if="{{!userInfo}}" class="dmArea3-left-text">赶紧登陆赚钱吧</text>

Loading…
Cancel
Save