Commit 55f3e9c18a424339b5944830391057dc98528036

Authored by liuxuqinfhp1220
2 parents 4ed37b63 00cfdade

常用备注

... ... @@ -150,7 +150,7 @@
bindconfirm="selectedValue"
data-key="phone"
value="{{form.phone}}" style="color:{{reminder ? '#E14553' : '#353535'}};width:{{reminder ? 400 : 680}}rpx;" cursor-spacing="260"/>
<view bindtap="selectedValue" data-key="time" data-value="{{form.time}}" data-display="block">
<view bindtap="selectedValue" data-key="time" data-value="{{form.time}}" data-display="block" style="color:#199095">
<view style="font-size: 34rpx;height: 100rpx;line-height: 100rpx;" wx:if="{{hasUseDefDtime && form.time>0}}">{{defDtime[form.time]}}</view>
<view style="font-size: 34rpx;height: 100rpx;line-height: 100rpx;" wx:else="">{{timePickerArray[form.time][timePickerIndex[form.time]]}}</view>
</view>
... ...
... ... @@ -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;
... ...
... ... @@ -42,7 +42,7 @@ Page({
},
getlabellist:function(){
App.User.GetCustomRemark({
uid:util.cache('enter_params')['manage_id']
uid:util.cache('enter_params')['manager_id']
}).then(res=>{
console.log(res)
this.setData({
... ... @@ -55,7 +55,7 @@ Page({
},
setlabel:function(id,flag){
App.User.GetCustomRemark({
uid:util.cache('enter_params')['manage_id'],
uid:util.cache('enter_params')['manager_id'],
kid:id,
flag:flag,
}).then(res=>{
... ... @@ -77,7 +77,7 @@ Page({
//添加自定义标签
addlabel:function(custom){
App.User.AddCustomRemark({
uid:util.cache('enter_params')['manage_id'],
uid:util.cache('enter_params')['manager_id'],
custom:custom,
}).then(res=>{
console.log(res)
... ...
... ... @@ -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
... ...