Commit 94b636ca authored by lvtz's avatar lvtz

fix

parents d517dc5f 28a91410
......@@ -178,14 +178,6 @@ Page({
})
},
mobileInput(e) {
if(this.data.id){
wx.showToast({
title: '电话号码不可编辑',
icon: 'none',
duration: 2000
})
return
}
const {
value
} = e.detail;
......@@ -480,6 +472,13 @@ Page({
}
},
editTips(){
wx.showToast({
title: '联系电话不可编辑',
icon: 'none',
duration: 2000
})
},
naviBackRefresh(){
let pages = getCurrentPages();
let currPage = null; //当前页面
......
......@@ -17,7 +17,7 @@
<text class="require" >*</text>
</view>
<view class="input-box">
<text class="text color666" wx:if="{{id}}" bindtap="mobileInput">{{params.mobile}}</text>
<text class="text color666" wx:if="{{id}}" bindtap="editTips">{{params.mobile}}</text>
<input wx:else type="number" class="text color666" maxlength="{{11}}" bindinput="mobileInput" placeholder="请输入电话号码" value="{{params.mobile}}"/>
<image class="arrowsmall" src="{{imageRoot}}2b/potentialcustomer/newarr.png?{{imageVersion}}"></image>
</view>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment