Showing
4 changed files
with
11 additions
and
0 deletions
| @@ -13,6 +13,7 @@ | @@ -13,6 +13,7 @@ | ||
| 13 | bindtap="active" data-index="{{index}}" | 13 | bindtap="active" data-index="{{index}}" |
| 14 | wx:for="{{multiArray[0]}}" wx:key="multiArray.key"> | 14 | wx:for="{{multiArray[0]}}" wx:key="multiArray.key"> |
| 15 | {{item}} | 15 | {{item}} |
| 16 | + <cover-image class="number" wx:if="{{index>=1 && index<4}}" src="http://qn.colorcun.com/reserve/images/cx{{index}}.png"></cover-image> | ||
| 16 | </cover-view> | 17 | </cover-view> |
| 17 | </cover-view> | 18 | </cover-view> |
| 18 | </cover-view> | 19 | </cover-view> |
| @@ -35,9 +35,17 @@ | @@ -35,9 +35,17 @@ | ||
| 35 | font-size: 24rpx; | 35 | font-size: 24rpx; |
| 36 | text-align: center; | 36 | text-align: center; |
| 37 | margin-bottom: 30rpx; | 37 | margin-bottom: 30rpx; |
| 38 | + position: relative; | ||
| 38 | } | 39 | } |
| 39 | .item.active{ | 40 | .item.active{ |
| 40 | background-color: #ECC49C; | 41 | background-color: #ECC49C; |
| 41 | color:#8B5318; | 42 | color:#8B5318; |
| 42 | font-weight: 900; | 43 | font-weight: 900; |
| 44 | +} | ||
| 45 | +.item .number{ | ||
| 46 | + width: 30rpx; | ||
| 47 | + height: 26rpx; | ||
| 48 | + position: absolute; | ||
| 49 | + top:0; | ||
| 50 | + left: 0; | ||
| 43 | } | 51 | } |
| @@ -110,6 +110,7 @@ Page({ | @@ -110,6 +110,7 @@ Page({ | ||
| 110 | onShareAppMessage: function () { | 110 | onShareAppMessage: function () { |
| 111 | return { | 111 | return { |
| 112 | title:'请客订包间,就上一键订', | 112 | title:'请客订包间,就上一键订', |
| 113 | + imageUrl:'http://qn.colorcun.com/t1111.png', | ||
| 113 | } | 114 | } |
| 114 | }, | 115 | }, |
| 115 | reserve(){ | 116 | reserve(){ |
-
Please register or login to post a comment