Browse Source

no message

feature/v1.2
xpz2018 5 years ago
parent
commit
30a6158686
2 changed files with 6 additions and 1 deletions
  1. 5
      pages/message/notification/index.js
  2. 2
      pages/message/notification/index.wxml

5
pages/message/notification/index.js

@ -31,6 +31,11 @@ Component({
if(!this.data.message.redirectInfo || !this.data.message.redirectInfo.targetView){
return
}
if(util.isEmpty(e.currentTarget.id)){
this.setData({ notice: false })
return
}
readMessage({ idList: [this.data.message.id] }).then(result => {
if(this.data.message.redirectInfo.targetView == 'factoryCustomerDetail'){// 新建客户
this.setData({ notice: false })

2
pages/message/notification/index.wxml

@ -5,7 +5,7 @@
<view class="text-df" style="width:76%">{{message.content}}</view>
</view>
<view class="flex" style="padding: 0rpx 24rpx 24rpx 24rpx;justify-content: flex-end;margin-top: 24rpx">
<van-button id="standby" round plain type="info" size="small" custom-style="width: 160rpx" bind:click="onClose">稍后处理</van-button>
<van-button id="standby" round plain type="info" size="small" custom-style="width: 160rpx" bind:click="submit">稍后处理</van-button>
<van-button round type="info" size="small" bind:click="submit" custom-style="margin-left:32rpx;width: 160rpx">马上处理</van-button>
</view>
</van-popup>
Loading…
Cancel
Save