Commit d072895f by 李静静

修改提示

parent 2087af52
......@@ -52,10 +52,10 @@ Page({
}
return false;
},
showServiceNoticMessage(){
showServiceNoticMessage(content){
wx.showModal({
title: '',
content: '入群方式已经通过“服务通知”的形式下发到你的微信',
content,
showCancel:false
})
},
......@@ -98,7 +98,13 @@ Page({
wxShowModal:function(obj){
wx.showModal(obj)
},
completemessage:function(res){
chatGroupComplete:function(res){
this.completemessage(res,'入群方式已经通过“服务通知”的形式下发到你的微信')
},
contactComplete:function(res){
this.completemessage(res,'入群方式已经通过“服务通知”的形式下发到你的微信')
},
completemessage:function(res,message){
console.log("complete",arguments,res.detail)
if(Number(res.detail.errcode)===-3004){
wxShowModal({
......@@ -110,7 +116,7 @@ Page({
if(res.detail&&Number(res.detail.notifytype)===0){
// this.showVersion()
if(!this.data.isLowerVersion){
this.showServiceNoticMessage()
this.showServiceNoticMessage(message)
}
}
......
......@@ -80,14 +80,14 @@
wx:if="{{item.type===1}}"
url='{{item.uniq_code}}'
bind:startmessage="startmessage"
bind:completemessage="completemessage"
bind:completemessage="chatGroupComplete"
/>
<contactCell
styleType="1"
paddingStyle="20"
wx:if="{{item.type===2}}"
plugid='{{item.uniq_code}}'
paddingStyle="20"
wx:if="{{item.type===2}}"
plugid='{{item.uniq_code}}'
bind:completemessage="contactComplete"
/>
</view>
</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