Showing
8 changed files
with
37 additions
and
20 deletions
| ... | ... | @@ -20,11 +20,11 @@ |
| 20 | 20 | </view> |
| 21 | 21 | <view class="content1"> |
| 22 | 22 | <view class="con1"> |
| 23 | - <view class="top">培训时间:</view> | |
| 23 | + <view class="top">会议时间:</view> | |
| 24 | 24 | <view class="bot">{{con.dateDetail}}</view> |
| 25 | 25 | </view> |
| 26 | 26 | <view class="con1"> |
| 27 | - <view class="top">培训地点:</view> | |
| 27 | + <view class="top">会议地点:</view> | |
| 28 | 28 | <view class="bot">{{con.local}}</view> |
| 29 | 29 | </view> |
| 30 | 30 | </view> | ... | ... |
| ... | ... | @@ -8,7 +8,7 @@ Page({ |
| 8 | 8 | data: { |
| 9 | 9 | skey: '', |
| 10 | 10 | meng: true, |
| 11 | - xiala: false, | |
| 11 | + xiala: true, | |
| 12 | 12 | index1: '', |
| 13 | 13 | num: '', |
| 14 | 14 | list: [ |
| ... | ... | @@ -106,7 +106,11 @@ Page({ |
| 106 | 106 | limit: 6 |
| 107 | 107 | }, |
| 108 | 108 | success: function (res) { |
| 109 | - console.log('res',res.data) | |
| 109 | + if (res.data.data.length < 8) { | |
| 110 | + that.setData({ | |
| 111 | + xiala: false, | |
| 112 | + }) | |
| 113 | + } | |
| 110 | 114 | that.setData({ |
| 111 | 115 | list:res.data.data, |
| 112 | 116 | num: res.data.data.length | ... | ... |
| ... | ... | @@ -10,6 +10,7 @@ Page({ |
| 10 | 10 | meng: true, |
| 11 | 11 | countTotal:'', |
| 12 | 12 | countTotal1:'', |
| 13 | + xiala: true, | |
| 13 | 14 | index1: '', |
| 14 | 15 | num: '', |
| 15 | 16 | // qqq:true, |
| ... | ... | @@ -197,15 +198,11 @@ Page({ |
| 197 | 198 | limit: 8 |
| 198 | 199 | }, |
| 199 | 200 | success: function (res) { |
| 200 | - // for(var x in res.data.data){ | |
| 201 | - // if(x<9){ | |
| 202 | - // var qqq = that.data.qqq | |
| 203 | - // that.setData({ | |
| 204 | - // qqq: false | |
| 205 | - // }) | |
| 206 | - // } | |
| 207 | - // } | |
| 208 | - console.log('res', res.data.countTotal) | |
| 201 | + if (res.data.data.length < 8) { | |
| 202 | + that.setData({ | |
| 203 | + xiala: false, | |
| 204 | + }) | |
| 205 | + } | |
| 209 | 206 | that.setData({ |
| 210 | 207 | countTotal1: res.data.countTotal |
| 211 | 208 | }) | ... | ... |
| ... | ... | @@ -157,7 +157,11 @@ Page({ |
| 157 | 157 | limit: 8 |
| 158 | 158 | }, |
| 159 | 159 | success: function (res) { |
| 160 | - console.log('list', res.data) | |
| 160 | + if (res.data.data.length < 8) { | |
| 161 | + that.setData({ | |
| 162 | + xiala: false, | |
| 163 | + }) | |
| 164 | + } | |
| 161 | 165 | that.setData({ |
| 162 | 166 | countTotal: res.data.data.countTotal, |
| 163 | 167 | list: res.data.data, | ... | ... |
| ... | ... | @@ -10,6 +10,7 @@ Page({ |
| 10 | 10 | skey: '', |
| 11 | 11 | meng: true, |
| 12 | 12 | toubu: 'true', |
| 13 | + xiala: true, | |
| 13 | 14 | list: '', |
| 14 | 15 | index1: '', |
| 15 | 16 | num: '', |
| ... | ... | @@ -137,7 +138,11 @@ Page({ |
| 137 | 138 | // id:'1' |
| 138 | 139 | }, |
| 139 | 140 | success: function (res) { |
| 140 | - console.log('con', res.data) | |
| 141 | + if (res.data.data.length < 8) { | |
| 142 | + that.setData({ | |
| 143 | + xiala: false, | |
| 144 | + }) | |
| 145 | + } | |
| 141 | 146 | if (res.data.countTotal < 10) { |
| 142 | 147 | that.setData({ |
| 143 | 148 | toubu: false | ... | ... |
| ... | ... | @@ -8,7 +8,7 @@ Page({ |
| 8 | 8 | data: { |
| 9 | 9 | currentTab:'0', |
| 10 | 10 | skey: '', |
| 11 | - xiala: false, | |
| 11 | + xiala: true, | |
| 12 | 12 | meng: true, |
| 13 | 13 | index1: '', |
| 14 | 14 | num: '', |
| ... | ... | @@ -129,6 +129,11 @@ Page({ |
| 129 | 129 | // id:'1' |
| 130 | 130 | }, |
| 131 | 131 | success: function (res) { |
| 132 | + if (res.data.data.length < 8) { | |
| 133 | + that.setData({ | |
| 134 | + xiala: false, | |
| 135 | + }) | |
| 136 | + } | |
| 132 | 137 | that.setData({ |
| 133 | 138 | list: res.data.data, |
| 134 | 139 | num: res.data.data.length | ... | ... |
| ... | ... | @@ -9,7 +9,7 @@ Page({ |
| 9 | 9 | currentTab: 0, |
| 10 | 10 | toubu: true, |
| 11 | 11 | skey: '', |
| 12 | - xiala:'', | |
| 12 | + xiala: true, | |
| 13 | 13 | meng: true, |
| 14 | 14 | index1: '', |
| 15 | 15 | num: '', |
| ... | ... | @@ -132,6 +132,11 @@ Page({ |
| 132 | 132 | // id:'1' |
| 133 | 133 | }, |
| 134 | 134 | success: function (res) { |
| 135 | + if (res.data.data.length < 8) { | |
| 136 | + that.setData({ | |
| 137 | + xiala: false, | |
| 138 | + }) | |
| 139 | + } | |
| 135 | 140 | if (res.data.countTotal < 10) { |
| 136 | 141 | that.setData({ |
| 137 | 142 | toubu: false, |
| ... | ... | @@ -140,7 +145,6 @@ Page({ |
| 140 | 145 | that.setData({ |
| 141 | 146 | list: res.data.data, |
| 142 | 147 | num: res.data.data.length, |
| 143 | - xiala: true, | |
| 144 | 148 | animate:'zoomIn animated' |
| 145 | 149 | }) |
| 146 | 150 | } | ... | ... |
Please
register
or
login
to post a comment