Browse Source

no message

feature/v2.2
xpz2018 4 years ago
parent
commit
91d38845ab
4 changed files with 4 additions and 4 deletions
  1. 2
      pages/home/customer-list/index.js
  2. 2
      pages/home/customer-list/index.wxml
  3. 2
      pages/home/employee/index.js
  4. 2
      pages/home/index/index.wxml

2
pages/home/customer-list/index.js

@ -189,7 +189,7 @@ Scene({
channel.emit('onCallback', { what: 130, detail: item }) channel.emit('onCallback', { what: 130, detail: item })
wx.navigateBack() wx.navigateBack()
} else { } else {
wx.navigateTo({ url: `/pages/home/customer-info/index?id=${item.id}&userId=${item.userId}` })
wx.navigateTo({ url: `/pages/home/qrcode-info/index?id=${item.id}&userId=${item.userId}` })
} }
}, },
bindCustomer: function(e){ bindCustomer: function(e){

2
pages/home/customer-list/index.wxml

@ -40,7 +40,7 @@
<view slot="action" bind:tap="onChange" style="padding: 0rpx 8rpx" wx:if="{{form.name}}">取消</view> <view slot="action" bind:tap="onChange" style="padding: 0rpx 8rpx" wx:if="{{form.name}}">取消</view>
</van-search> </van-search>
<scroll-view class="scrollList" scroll-y scroll-into-view="{{scrollViewId}}" style="height:{{height}}rpx"> <scroll-view class="scrollList" scroll-y scroll-into-view="{{scrollViewId}}" style="height:{{height}}rpx">
<view class="list-empty" style="height:{{height}}rpx" wx:if="{{!orderList.length}}" bindtap="">
<view class="list-empty" style="height:{{height}}rpx" wx:if="{{!orderList.length}}" bindtap="onRefreshList">
<view style="margin-bottom:24px" wx:if="{{loading}}"> <view style="margin-bottom:24px" wx:if="{{loading}}">
<van-loading type="spinner" size="32" /> <van-loading type="spinner" size="32" />
</view> </view>

2
pages/home/employee/index.js

@ -70,7 +70,7 @@ Scene({
wx.navigateBack() wx.navigateBack()
} else { } else {
wx.navigateTo({ wx.navigateTo({
url: `/pages/home/employee-info/index?type=1&id=${item.enterpriseMemberId}`,
url: `/pages/home/qrcode-info/index?type=1&id=${item.enterpriseMemberId}`,
success: function(res) { success: function(res) {
res.eventChannel.emit('onParam', item) res.eventChannel.emit('onParam', item)
} }

2
pages/home/index/index.wxml

@ -26,7 +26,7 @@
<view class="bg-white" style="border-radius: 20rpx;padding-bottom: 12rpx"> <view class="bg-white" style="border-radius: 20rpx;padding-bottom: 12rpx">
<view class="flex flex-justify cell-vip" bindtap="toVip"> <view class="flex flex-justify cell-vip" bindtap="toVip">
<view class="text-sg text-bold {{userInfo.isExpiration ? 'text-red' : 'text-black'}}">授权截止日期:{{userInfo.expirationTime}}</view> <view class="text-sg text-bold {{userInfo.isExpiration ? 'text-red' : 'text-black'}}">授权截止日期:{{userInfo.expirationTime}}</view>
<view class="flex flex-center" wx:if="{{userInfo.isExpiration}}">
<view class="flex flex-center">
<text class="text-sg text-orange" style="white-space: nowrap">去续费</text> <text class="text-sg text-orange" style="white-space: nowrap">去续费</text>
<van-icon slot="right-icon" custom-style="padding-top:4rpx" name="arrow" size="16px"/> <van-icon slot="right-icon" custom-style="padding-top:4rpx" name="arrow" size="16px"/>
</view> </view>

Loading…
Cancel
Save