Browse Source

no message

feature/v1.2
xpz2018 5 years ago
parent
commit
ee898787b6
2 changed files with 7 additions and 7 deletions
  1. 10
      pages/home/customer-list/index.js
  2. 4
      pages/home/customer-list/index.wxml

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

@ -19,8 +19,8 @@ Page({
pageNum: 1, pageNum: 1,
pageSize: 10 pageSize: 10
}, },
base64: null,
showEmbedded: false,
// base64: null,
// showEmbedded: false,
customerName: '' customerName: ''
}, },
/** /**
@ -88,9 +88,9 @@ Page({
customerInfo: function(e){ customerInfo: function(e){
wx.navigateTo({ url: '/pages/home/customer-info/index?id=' + e.currentTarget.dataset.id }) wx.navigateTo({ url: '/pages/home/customer-info/index?id=' + e.currentTarget.dataset.id })
}, },
onClickHideEmbedded: function(){
this.setData({ showEmbedded: false })
},
// onClickHideEmbedded: function(){
// this.setData({ showEmbedded: false })
// },
bindCustomer: function(e){ bindCustomer: function(e){
var item = this.data.orderList[e.currentTarget.dataset.page][e.currentTarget.dataset.index] var item = this.data.orderList[e.currentTarget.dataset.page][e.currentTarget.dataset.index]
wx.navigateTo({ url: `/pages/client/registe/index?id=${item.id}` }) wx.navigateTo({ url: `/pages/client/registe/index?id=${item.id}` })

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

@ -35,7 +35,7 @@
</van-divider> </van-divider>
</refresh-view> </refresh-view>
<van-overlay show="{{ showEmbedded }}" duration="{{0}}" bind:click="onClickHideEmbedded">
<!-- <van-overlay show="{{ showEmbedded }}" duration="{{0}}" bind:click="onClickHideEmbedded">
<view class="wrapper flex-column" catch:tap="noop"> <view class="wrapper flex-column" catch:tap="noop">
<view style="position: relative;background-color:white;margin-top:48px"> <view style="position: relative;background-color:white;margin-top:48px">
<van-image use-loading-slot width="525rpx" height="525rpx" src="data:image/png;base64,{{base64}}"> <van-image use-loading-slot width="525rpx" height="525rpx" src="data:image/png;base64,{{base64}}">
@ -50,4 +50,4 @@
<text class="text-df text-white" style="text-align:center">请让客户使用微信进行扫码注册</text> <text class="text-df text-white" style="text-align:center">请让客户使用微信进行扫码注册</text>
<van-icon name="close" color="white" size="36px" custom-style="margin-top:48px" catch:tap="onClickHideEmbedded" /> <van-icon name="close" color="white" size="36px" custom-style="margin-top:48px" catch:tap="onClickHideEmbedded" />
</view> </view>
</van-overlay>
</van-overlay> -->
Loading…
Cancel
Save