Commit cc8089a88464c95bccffad7574a90756110ff9b7

Authored by wangfan
1 parent 82655478

运营发送消息

... ... @@ -88,7 +88,7 @@ Page({
},
sendSalesmanMsg(e){
let openid=util.attr(e,'openid')
App.Reserve.SendSalesmanMsg({
App.Reserve.OperationalMessagePush({
openid:openid
}).then(res=>{
if(res.ret!=200){
... ...
<!--pages/book/setting/index.wxml-->
<nav id="nav" backgroundColor="#199095" color="#fefefe">我的客户</nav>
<view class="page">
<view class="pages">
<block wx:if="{{list.length>0}}">
<view class="row flex-lr" wx:for="{{list}}" wx:key="list.key" >
<view class="flex-ll">
... ... @@ -9,7 +9,7 @@
</view>
<view class="nickname">{{item.nickname||''}}</view>
</view>
<view class="flex-rr optmsg" wx:if="{{hasSalesman}}" bindtap="sendSalesmanMsg">
<view class="flex-rr optmsg" wx:if="{{hasSalesman}}" bindtap="sendSalesmanMsg" data-openid="{{item.openid}}">
<view>发送消息</view>
<view class="more"></view>
</view>
... ...
... ... @@ -3,10 +3,11 @@
http://qn.colorcun.com/custom/lite-yd/image/icon-zk.png
http://qn.colorcun.com/custom/lite-yd/image/icon-cz.png
*/
.page{
.pages{
width: 90%;
margin: 0 auto;
margin: 0 auto 50rpx;
color: #353535;
overflow-y: auto;
}
.row{
font-size: 34rpx;
... ...
... ... @@ -31,7 +31,7 @@
"list": []
},
"miniprogram": {
"current": 17,
"current": 21,
"list": [
{
"id": 0,
... ... @@ -201,8 +201,8 @@
"id": 21,
"name": "预定本-80商家",
"pathName": "pages/book/b_index",
"query": "seller_id=80&seller_openid=oGefL4qKBWIh5xwyg3LVfkMbDumA&manager_id=762",
"scene": "1001"
"query": "seller_id=80&seller_openid=oGefL4qKBWIh5xwyg3LVfkMbDumA&manager_id=763",
"scene": 1001
},
{
"id": -1,
... ...
... ... @@ -158,8 +158,7 @@ export default {
'App.User.AddCustomRemark':null,
//运营发送消息demo
'App.Reserve.SendSalesmanMsg':{
'App.Reserve.OperationalMessagePush':{
silence: false,
alias:'App.Reserve.SendSalesmanMsg',
},
}
\ No newline at end of file
... ...