Commit 55f3e9c18a424339b5944830391057dc98528036

Authored by liuxuqinfhp1220
2 parents 4ed37b63 00cfdade

常用备注

@@ -150,7 +150,7 @@ @@ -150,7 +150,7 @@
150 bindconfirm="selectedValue" 150 bindconfirm="selectedValue"
151 data-key="phone" 151 data-key="phone"
152 value="{{form.phone}}" style="color:{{reminder ? '#E14553' : '#353535'}};width:{{reminder ? 400 : 680}}rpx;" cursor-spacing="260"/> 152 value="{{form.phone}}" style="color:{{reminder ? '#E14553' : '#353535'}};width:{{reminder ? 400 : 680}}rpx;" cursor-spacing="260"/>
153 - <view bindtap="selectedValue" data-key="time" data-value="{{form.time}}" data-display="block"> 153 + <view bindtap="selectedValue" data-key="time" data-value="{{form.time}}" data-display="block" style="color:#199095">
154 <view style="font-size: 34rpx;height: 100rpx;line-height: 100rpx;" wx:if="{{hasUseDefDtime && form.time>0}}">{{defDtime[form.time]}}</view> 154 <view style="font-size: 34rpx;height: 100rpx;line-height: 100rpx;" wx:if="{{hasUseDefDtime && form.time>0}}">{{defDtime[form.time]}}</view>
155 <view style="font-size: 34rpx;height: 100rpx;line-height: 100rpx;" wx:else="">{{timePickerArray[form.time][timePickerIndex[form.time]]}}</view> 155 <view style="font-size: 34rpx;height: 100rpx;line-height: 100rpx;" wx:else="">{{timePickerArray[form.time][timePickerIndex[form.time]]}}</view>
156 </view> 156 </view>
@@ -88,7 +88,7 @@ Page({ @@ -88,7 +88,7 @@ Page({
88 }, 88 },
89 sendSalesmanMsg(e){ 89 sendSalesmanMsg(e){
90 let openid=util.attr(e,'openid') 90 let openid=util.attr(e,'openid')
91 - App.Reserve.SendSalesmanMsg({ 91 + App.Reserve.OperationalMessagePush({
92 openid:openid 92 openid:openid
93 }).then(res=>{ 93 }).then(res=>{
94 if(res.ret!=200){ 94 if(res.ret!=200){
1 <!--pages/book/setting/index.wxml--> 1 <!--pages/book/setting/index.wxml-->
2 <nav id="nav" backgroundColor="#199095" color="#fefefe">我的客户</nav> 2 <nav id="nav" backgroundColor="#199095" color="#fefefe">我的客户</nav>
3 -<view class="page"> 3 +<view class="pages">
4 <block wx:if="{{list.length>0}}"> 4 <block wx:if="{{list.length>0}}">
5 <view class="row flex-lr" wx:for="{{list}}" wx:key="list.key" > 5 <view class="row flex-lr" wx:for="{{list}}" wx:key="list.key" >
6 <view class="flex-ll"> 6 <view class="flex-ll">
@@ -9,7 +9,7 @@ @@ -9,7 +9,7 @@
9 </view> 9 </view>
10 <view class="nickname">{{item.nickname||''}}</view> 10 <view class="nickname">{{item.nickname||''}}</view>
11 </view> 11 </view>
12 - <view class="flex-rr optmsg" wx:if="{{hasSalesman}}" bindtap="sendSalesmanMsg"> 12 + <view class="flex-rr optmsg" wx:if="{{hasSalesman}}" bindtap="sendSalesmanMsg" data-openid="{{item.openid}}">
13 <view>发送消息</view> 13 <view>发送消息</view>
14 <view class="more"></view> 14 <view class="more"></view>
15 </view> 15 </view>
@@ -3,10 +3,11 @@ @@ -3,10 +3,11 @@
3 http://qn.colorcun.com/custom/lite-yd/image/icon-zk.png 3 http://qn.colorcun.com/custom/lite-yd/image/icon-zk.png
4 http://qn.colorcun.com/custom/lite-yd/image/icon-cz.png 4 http://qn.colorcun.com/custom/lite-yd/image/icon-cz.png
5 */ 5 */
6 -.page{ 6 +.pages{
7 width: 90%; 7 width: 90%;
8 - margin: 0 auto; 8 + margin: 0 auto 50rpx;
9 color: #353535; 9 color: #353535;
  10 + overflow-y: auto;
10 } 11 }
11 .row{ 12 .row{
12 font-size: 34rpx; 13 font-size: 34rpx;
@@ -42,7 +42,7 @@ Page({ @@ -42,7 +42,7 @@ Page({
42 }, 42 },
43 getlabellist:function(){ 43 getlabellist:function(){
44 App.User.GetCustomRemark({ 44 App.User.GetCustomRemark({
45 - uid:util.cache('enter_params')['manage_id'] 45 + uid:util.cache('enter_params')['manager_id']
46 }).then(res=>{ 46 }).then(res=>{
47 console.log(res) 47 console.log(res)
48 this.setData({ 48 this.setData({
@@ -55,7 +55,7 @@ Page({ @@ -55,7 +55,7 @@ Page({
55 }, 55 },
56 setlabel:function(id,flag){ 56 setlabel:function(id,flag){
57 App.User.GetCustomRemark({ 57 App.User.GetCustomRemark({
58 - uid:util.cache('enter_params')['manage_id'], 58 + uid:util.cache('enter_params')['manager_id'],
59 kid:id, 59 kid:id,
60 flag:flag, 60 flag:flag,
61 }).then(res=>{ 61 }).then(res=>{
@@ -77,7 +77,7 @@ Page({ @@ -77,7 +77,7 @@ Page({
77 //添加自定义标签 77 //添加自定义标签
78 addlabel:function(custom){ 78 addlabel:function(custom){
79 App.User.AddCustomRemark({ 79 App.User.AddCustomRemark({
80 - uid:util.cache('enter_params')['manage_id'], 80 + uid:util.cache('enter_params')['manager_id'],
81 custom:custom, 81 custom:custom,
82 }).then(res=>{ 82 }).then(res=>{
83 console.log(res) 83 console.log(res)
@@ -158,8 +158,7 @@ export default { @@ -158,8 +158,7 @@ export default {
158 'App.User.AddCustomRemark':null, 158 'App.User.AddCustomRemark':null,
159 159
160 //运营发送消息demo 160 //运营发送消息demo
161 - 'App.Reserve.SendSalesmanMsg':{ 161 + 'App.Reserve.OperationalMessagePush':{
162 silence: false, 162 silence: false,
163 - alias:'App.Reserve.SendSalesmanMsg',  
164 }, 163 },
165 } 164 }