标题添加个人微信
This commit is contained in:
@@ -48,6 +48,8 @@ Page({
|
||||
|
||||
comment:'',//评论内容
|
||||
isShowComment:false,//是否显示用户评论弹窗
|
||||
|
||||
wxgr:0,//是否添加个微
|
||||
},
|
||||
onLoad(options) {
|
||||
for (let key in options) {
|
||||
@@ -170,6 +172,7 @@ Page({
|
||||
this.setData({
|
||||
detailinfo:res.data,
|
||||
statuskey:res.data.status!=3?res.data.status:-10,
|
||||
wxgr:res.data.wxgr,
|
||||
})
|
||||
|
||||
if(res.data.level){
|
||||
@@ -405,6 +408,11 @@ Page({
|
||||
t_num:this.data.t_num == 1?'':1,
|
||||
})
|
||||
}
|
||||
if(e.currentTarget.dataset.pointer == 'gewei'){
|
||||
this.setData({
|
||||
wxgr:this.data.wxgr == 1?'0':1,
|
||||
})
|
||||
}
|
||||
},
|
||||
|
||||
//取消变更状态
|
||||
@@ -489,6 +497,9 @@ Page({
|
||||
if(this.data.statuskey == 3){
|
||||
params['invalid_tag'] = this.data.defeatTag;
|
||||
}
|
||||
if((this.data.statuskey == 0||this.data.statuskey == 1)&&this.data.wxgr==1){
|
||||
params['wxgr'] = this.data.wxgr;
|
||||
}
|
||||
_.apiQuery.putAppCustomers(params).then(res=>{
|
||||
this.setData({
|
||||
isShowNote:false,//新增日志弹窗
|
||||
|
||||
@@ -260,12 +260,20 @@
|
||||
</view>
|
||||
</view>
|
||||
</block>
|
||||
<view class="mt20 ml40 mr40 font-28 text-center relative mr10 pt20 pb20 ulib-r10 overflowhidden {{detailinfo.wxgr==1?'opacity-80':''}} {{wxgr == 1?'bg-36afa2 color-fff':'bg-f6'}}" style="height:78rpx;box-sizing:border-box;" bindtap="{{detailinfo.wxgr==1?'':'checkPicker'}}" data-pointer="gewei" wx:if="{{statuskey==0}}">
|
||||
<i class="absolute right-0 bottom-0 iconfont font-32 icon-xuanzhongjiaobiao" style="color:#56ffed;" wx:if="{{wxgr == 1}}"></i>
|
||||
<text>已添加个微</text>
|
||||
</view>
|
||||
<view class="mt20 pl40 pr40 font-28 text-center fn-flex" wx:if="{{statuskey==1}}">
|
||||
<view class="fn-flex-item relative mr10 pt20 pb20 ulib-r10 overflowhidden {{a_num == 1?'bg-36afa2 color-fff':'bg-f6'}}" style="height:78rpx;box-sizing:border-box;" bindtap="checkPicker" data-pointer="daodian">
|
||||
<view class="fn-flex-item flexsize6 relative mr10 pt20 pb20 ulib-r10 overflowhidden {{detailinfo.wxgr==1?'opacity-80':''}} {{wxgr == 1?'bg-36afa2 color-fff':'bg-f6'}}" style="height:78rpx;box-sizing:border-box;" bindtap="{{detailinfo.wxgr==1?'':'checkPicker'}}" data-pointer="gewei">
|
||||
<i class="absolute right-0 bottom-0 iconfont font-32 icon-xuanzhongjiaobiao" style="color:#56ffed;" wx:if="{{wxgr == 1}}"></i>
|
||||
<text>已添加个微</text>
|
||||
</view>
|
||||
<view class="fn-flex-item flexsize5 relative ml10 mr10 pt20 pb20 ulib-r10 overflowhidden {{a_num == 1?'bg-36afa2 color-fff':'bg-f6'}}" style="height:78rpx;box-sizing:border-box;" bindtap="checkPicker" data-pointer="daodian">
|
||||
<i class="absolute right-0 bottom-0 iconfont font-32 icon-xuanzhongjiaobiao" style="color:#56ffed;" wx:if="{{a_num == 1}}"></i>
|
||||
<text>再次到店</text>
|
||||
</view>
|
||||
<view class="fn-flex-item relative ml10 pt20 pb20 ulib-r10 overflowhidden {{t_num == 1?'bg-36afa2 color-fff':'bg-f6'}}" style="height:78rpx;box-sizing:border-box;" bindtap="checkPicker" data-pointer="shijia">
|
||||
<view class="fn-flex-item flexsize5 relative ml10 pt20 pb20 ulib-r10 overflowhidden {{t_num == 1?'bg-36afa2 color-fff':'bg-f6'}}" style="height:78rpx;box-sizing:border-box;" bindtap="checkPicker" data-pointer="shijia">
|
||||
<i class="absolute right-0 bottom-0 iconfont font-32 icon-xuanzhongjiaobiao" style="color:#56ffed;" wx:if="{{t_num == 1}}"></i>
|
||||
<text>客户试驾</text>
|
||||
</view>
|
||||
|
||||
Reference in New Issue
Block a user