Commit e7a0f277498460d51714f57707c832d41b44b147

Authored by wangfan
1 parent 25a20f70

caixi

@@ -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 }
@@ -41,6 +41,7 @@ @@ -41,6 +41,7 @@
41 padding: 10rpx 3% 20rpx; 41 padding: 10rpx 3% 20rpx;
42 height: 270rpx; 42 height: 270rpx;
43 width: 94%; 43 width: 94%;
  44 + overflow: hidden;
44 } 45 }
45 .seller .name{ 46 .seller .name{
46 font-size: 32rpx; 47 font-size: 32rpx;
@@ -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(){