Showing
5 changed files
with
51 additions
and
3 deletions
| @@ -18,7 +18,9 @@ | @@ -18,7 +18,9 @@ | ||
| 18 | <view class="money-number">{{activity.task.price}}</view> | 18 | <view class="money-number">{{activity.task.price}}</view> |
| 19 | <view class="money-dw">元</view> | 19 | <view class="money-dw">元</view> |
| 20 | </view> | 20 | </view> |
| 21 | - <navigator url="/pack-activity/pages/index?id={{activity.id}}" hover-class="navigator-hover"> | 21 | + <navigator url="/pack-activity/pages/index?id={{activity.id}}" |
| 22 | + bindtap="close" | ||
| 23 | + hover-class="navigator-hover"> | ||
| 22 | <view class="money-button flex-cc">开心收下</view> | 24 | <view class="money-button flex-cc">开心收下</view> |
| 23 | </navigator> | 25 | </navigator> |
| 24 | </view> | 26 | </view> |
| @@ -37,8 +37,8 @@ Component({ | @@ -37,8 +37,8 @@ Component({ | ||
| 37 | methods: { | 37 | methods: { |
| 38 | onpos(e){ | 38 | onpos(e){ |
| 39 | let location=e.detail | 39 | let location=e.detail |
| 40 | - //location.latitude=39.6242016100 | ||
| 41 | - //location.longitude=118.1174469000 | 40 | + location.latitude=39.6242016100 |
| 41 | + location.longitude=118.1174469000 | ||
| 42 | //console.log('hasActivity',location); | 42 | //console.log('hasActivity',location); |
| 43 | if(location.latitude && location.longitude){ | 43 | if(location.latitude && location.longitude){ |
| 44 | TSPOS.latitude.push(location.latitude) | 44 | TSPOS.latitude.push(location.latitude) |
| @@ -115,6 +115,9 @@ Page({ | @@ -115,6 +115,9 @@ Page({ | ||
| 115 | tid:tid, | 115 | tid:tid, |
| 116 | }).then(()=>{ | 116 | }).then(()=>{ |
| 117 | this.GetTaskInfos() | 117 | this.GetTaskInfos() |
| 118 | + wx.navigateTo({ | ||
| 119 | + url: path | ||
| 120 | + }) | ||
| 118 | }) | 121 | }) |
| 119 | }else if(task.status==1){ | 122 | }else if(task.status==1){ |
| 120 | wx.navigateTo({ | 123 | wx.navigateTo({ |
| @@ -11,6 +11,20 @@ | @@ -11,6 +11,20 @@ | ||
| 11 | </view> | 11 | </view> |
| 12 | </view> | 12 | </view> |
| 13 | <view class="pages"> | 13 | <view class="pages"> |
| 14 | + <view class="block-rev money"> | ||
| 15 | + <navigator url="/pack-activity/pages/money"> | ||
| 16 | + <view class="flex-lr title"> | ||
| 17 | + <view class="flex-ll"> | ||
| 18 | + <view class="money-icon"></view> | ||
| 19 | + <view class="money-title">我的余额</view> | ||
| 20 | + </view> | ||
| 21 | + <view class="flex-rr money-more"> | ||
| 22 | + <view>点击查看</view> | ||
| 23 | + <view class="more"></view> | ||
| 24 | + </view> | ||
| 25 | + </view> | ||
| 26 | + </navigator> | ||
| 27 | + </view> | ||
| 14 | <view class="block-rev"> | 28 | <view class="block-rev"> |
| 15 | <navigator url="/pages/me/list"> | 29 | <navigator url="/pages/me/list"> |
| 16 | <view class="title flex-lr"> | 30 | <view class="title flex-lr"> |
| @@ -45,6 +45,10 @@ image{ | @@ -45,6 +45,10 @@ image{ | ||
| 45 | border-radius:10rpx; | 45 | border-radius:10rpx; |
| 46 | margin-bottom: 20rpx; | 46 | margin-bottom: 20rpx; |
| 47 | } | 47 | } |
| 48 | +.block-rev.money{ | ||
| 49 | + height: 100rpx; | ||
| 50 | + | ||
| 51 | +} | ||
| 48 | .block-rev .title{ | 52 | .block-rev .title{ |
| 49 | box-sizing: border-box; | 53 | box-sizing: border-box; |
| 50 | height: 100rpx; | 54 | height: 100rpx; |
| @@ -149,4 +153,29 @@ image{ | @@ -149,4 +153,29 @@ image{ | ||
| 149 | background-size: 100%; | 153 | background-size: 100%; |
| 150 | background-image: url("http://qn.colorcun.com/custom/me/image/l2.png"); | 154 | background-image: url("http://qn.colorcun.com/custom/me/image/l2.png"); |
| 151 | margin-right: 20rpx; | 155 | margin-right: 20rpx; |
| 156 | +} | ||
| 157 | +.money-icon{ | ||
| 158 | + background-size: 100% 100%; | ||
| 159 | + width:120rpx; | ||
| 160 | + height: 48rpx; | ||
| 161 | + background:linear-gradient(347deg,rgba(192,163,105,1) 0%,rgba(252,210,167,1) 100%); | ||
| 162 | + margin-right: 20rpx; | ||
| 163 | + border-radius:10rpx; | ||
| 164 | +} | ||
| 165 | +.money-title{ | ||
| 166 | + height:42rpx; | ||
| 167 | + font-size:30rpx; | ||
| 168 | + font-weight:500; | ||
| 169 | + color:rgba(53,53,53,1); | ||
| 170 | + line-height:42rpx; | ||
| 171 | +} | ||
| 172 | +.money-more{ | ||
| 173 | + height: 34rpx; | ||
| 174 | + font-size:24rpx; | ||
| 175 | + font-weight:500; | ||
| 176 | + color:rgba(53,53,53,1); | ||
| 177 | + line-height:34rpx; | ||
| 178 | +} | ||
| 179 | +.money-more .more{ | ||
| 180 | + margin-left: 20rpx; | ||
| 152 | } | 181 | } |
-
Please register or login to post a comment