Commit d8b234c7d305a60836374750742b2f8887546239

Authored by wangfan
1 parent 086b465f

smsbatch

@@ -14,7 +14,7 @@ Component({ @@ -14,7 +14,7 @@ Component({
14 * 组件的初始数据 14 * 组件的初始数据
15 */ 15 */
16 data: { 16 data: {
17 - showGopay:true, 17 + showGopay:false,
18 }, 18 },
19 19
20 /** 20 /**
@@ -17,7 +17,7 @@ @@ -17,7 +17,7 @@
17 width: 100%; 17 width: 100%;
18 } 18 }
19 .showGopay .info{ 19 .showGopay .info{
20 - width: 65%; 20 + width: 80%;
21 line-height: 48rpx; 21 line-height: 48rpx;
22 margin-top: 68rpx; 22 margin-top: 68rpx;
23 margin-bottom: 84rpx; 23 margin-bottom: 84rpx;
@@ -65,7 +65,7 @@ Page({ @@ -65,7 +65,7 @@ Page({
65 this.SmsBatchList(); 65 this.SmsBatchList();
66 console.log('getApp().system',getApp().system); 66 console.log('getApp().system',getApp().system);
67 this.setData({ 67 this.setData({
68 - height:getApp().system.windowHeight-330 68 + height:getApp().system.windowHeight-330,
69 }) 69 })
70 }, 70 },
71 71
@@ -97,7 +97,7 @@ Page({ @@ -97,7 +97,7 @@ Page({
97 limit: this.limit, 97 limit: this.limit,
98 status:'-1,0,1', 98 status:'-1,0,1',
99 }).then(res => { 99 }).then(res => {
100 - let list = this.data.list; 100 + let list = [];
101 let dl=res.data.length; 101 let dl=res.data.length;
102 if (dl > 0) { 102 if (dl > 0) {
103 res.data.forEach(r => { 103 res.data.forEach(r => {
@@ -6,7 +6,8 @@ @@ -6,7 +6,8 @@
6 "userinfo":"/components/userinfo/userinfo", 6 "userinfo":"/components/userinfo/userinfo",
7 "nav":"/components/nav/nav", 7 "nav":"/components/nav/nav",
8 "formids":"/components/formids/formids", 8 "formids":"/components/formids/formids",
9 - "rows":"/components/book/smsbatch/rows" 9 + "rows":"/components/book/smsbatch/rows",
  10 + "service":"/components/book/smsbatch/service"
10 } 11 }
11 12
12 } 13 }
@@ -30,12 +30,6 @@ @@ -30,12 +30,6 @@
30 <view class="list-rows" wx:for="{{list}}" wx:key="list.key" style="width: 100%;"> 30 <view class="list-rows" wx:for="{{list}}" wx:key="list.key" style="width: 100%;">
31 <rows item="{{item}}"></rows> 31 <rows item="{{item}}"></rows>
32 </view> 32 </view>
33 - <view class="list-rows" wx:for="{{list}}" wx:key="list.key" style="width: 100%;">  
34 - <rows item="{{item}}"></rows>  
35 - </view>  
36 - <view class="list-rows" wx:for="{{list}}" wx:key="list.key" style="width: 100%;">  
37 - <rows item="{{item}}"></rows>  
38 - </view>  
39 </scroll-view> 33 </scroll-view>
40 </block> 34 </block>
41 <view wx:else="" class="list-rows">暂无短信记录</view> 35 <view wx:else="" class="list-rows">暂无短信记录</view>
@@ -45,7 +39,7 @@ @@ -45,7 +39,7 @@
45 <view class="bottom-opt flex-lr"> 39 <view class="bottom-opt flex-lr">
46 <view class="bottom-opt-but flex-cc"> 40 <view class="bottom-opt-but flex-cc">
47 <image src="http://qn.colorcun.com/custom/lite-yd/image/service.png"></image> 41 <image src="http://qn.colorcun.com/custom/lite-yd/image/service.png"></image>
48 - <view class="txt">电话咨询</view> 42 + <service><view class="txt">电话咨询</view></service>
49 </view> 43 </view>
50 <view class="bottom-opt-but flex-cc" bindtap="showQuestion"> 44 <view class="bottom-opt-but flex-cc" bindtap="showQuestion">
51 <image src="http://qn.colorcun.com/custom/lite-yd/image/question.png"></image> 45 <image src="http://qn.colorcun.com/custom/lite-yd/image/question.png"></image>
@@ -148,8 +148,8 @@ Page({ @@ -148,8 +148,8 @@ Page({
148 } 148 }
149 App.Reserve.SmsBatchUpdate(param).then(res=>{ 149 App.Reserve.SmsBatchUpdate(param).then(res=>{
150 this.options.id=res.data.id; 150 this.options.id=res.data.id;
151 - this.options.total=this.data.totalSms*this.reservePhones.length,  
152 - wx.redirect({ 151 + this.options.total=this.data.totalSms*this.reservePhones.length
  152 + wx.redirectTo({
153 url:util.http_build_query(this.options,'./result'), 153 url:util.http_build_query(this.options,'./result'),
154 }); 154 });
155 }); 155 });