Commit d072895f by 李静静

修改提示

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