Showing
4 changed files
with
12 additions
and
3 deletions
| @@ -107,5 +107,10 @@ Component({ | @@ -107,5 +107,10 @@ Component({ | ||
| 107 | tagsChange(e){ | 107 | tagsChange(e){ |
| 108 | this.triggerEvent('event',{type:'tagsChange',e:e}) | 108 | this.triggerEvent('event',{type:'tagsChange',e:e}) |
| 109 | }, | 109 | }, |
| 110 | + gotoDetail(e){ | ||
| 111 | + wx.navigateTo({ | ||
| 112 | + url:'/pages/reserve/detail?id='+util.attr(e,'sid') | ||
| 113 | + }) | ||
| 114 | + }, | ||
| 110 | } | 115 | } |
| 111 | }) | 116 | }) |
| @@ -28,11 +28,11 @@ | @@ -28,11 +28,11 @@ | ||
| 28 | </block> | 28 | </block> |
| 29 | </cover-view> | 29 | </cover-view> |
| 30 | <cover-view class="list" catchtap="" style="top:{{statusBarHeight+titleBarHeight+30}}px;"> | 30 | <cover-view class="list" catchtap="" style="top:{{statusBarHeight+titleBarHeight+30}}px;"> |
| 31 | - <cover-view class="seller" id="seller-{{item.id}}" wx:for="{{markers}}" wx:key="markers.key"> | 31 | + <cover-view class="seller" bindtap="gotoDetail" data-sid="{{item.id}}" wx:for="{{markers}}" wx:key="markers.key"> |
| 32 | <sb-tr seller="{{item}}" hasActivityTags="{{true}}"></sb-tr> | 32 | <sb-tr seller="{{item}}" hasActivityTags="{{true}}"></sb-tr> |
| 33 | </cover-view> | 33 | </cover-view> |
| 34 | - <cover-view class="seller flex-vc" style="font-size: 28rpx;color:#999;" bindtap="{{hasMore?'getListMore':''}}"> | ||
| 35 | - {{hasMore?'点击加载更多商家':'没有更多商家了'}} | 34 | + <cover-view class="seller flex-vc" style="width: 100%; height: 60rpx;" bindtap="{{hasMore?'getListMore':''}}"> |
| 35 | + <cover-view style="font-size: 28rpx;color:#999; ">{{hasMore?'点击加载更多商家':'没有更多商家了'}}</cover-view> | ||
| 36 | </cover-view> | 36 | </cover-view> |
| 37 | </cover-view> | 37 | </cover-view> |
| 38 | </cover-view> | 38 | </cover-view> |
| @@ -32,6 +32,8 @@ | @@ -32,6 +32,8 @@ | ||
| 32 | border-radius: 30rpx; | 32 | border-radius: 30rpx; |
| 33 | line-height: 60rpx; | 33 | line-height: 60rpx; |
| 34 | color:#C28C56; | 34 | color:#C28C56; |
| 35 | + box-shadow: 0 4rpx 8rpx 0 #E0E0E0; | ||
| 36 | + border: 2rpx solid #E0E0E0; | ||
| 35 | } | 37 | } |
| 36 | .searchList .icon{ | 38 | .searchList .icon{ |
| 37 | min-width: 24rpx; | 39 | min-width: 24rpx; |
| @@ -94,6 +94,7 @@ | @@ -94,6 +94,7 @@ | ||
| 94 | width: 140rpx; | 94 | width: 140rpx; |
| 95 | height: 50rpx; | 95 | height: 50rpx; |
| 96 | background:linear-gradient(to bottom, #838383, #4C4C4C); | 96 | background:linear-gradient(to bottom, #838383, #4C4C4C); |
| 97 | + background-color:#636363 ; | ||
| 97 | border-radius: 26rpx; | 98 | border-radius: 26rpx; |
| 98 | font-size: 26rpx; | 99 | font-size: 26rpx; |
| 99 | color: #F0CEA1; | 100 | color: #F0CEA1; |
| @@ -129,6 +130,7 @@ | @@ -129,6 +130,7 @@ | ||
| 129 | overflow: hidden; | 130 | overflow: hidden; |
| 130 | white-space:nowrap; | 131 | white-space:nowrap; |
| 131 | background: linear-gradient(to right, #F98E47, #F05522); | 132 | background: linear-gradient(to right, #F98E47, #F05522); |
| 133 | + background-color: #F37236; | ||
| 132 | text-shadow:0 2rpx 6rpx #C51B41; | 134 | text-shadow:0 2rpx 6rpx #C51B41; |
| 133 | color:#F8E6C4; | 135 | color:#F8E6C4; |
| 134 | } | 136 | } |
-
Please register or login to post a comment