Commit e3f6b4b9 by wjw

ww--门店详情UI修改

parent 8b5e0a9f
...@@ -127,7 +127,7 @@ Page({ ...@@ -127,7 +127,7 @@ Page({
case 5: case 5:
this.queryActivity() this.queryActivity()
this.setData({ this.setData({
commodityTitle: '拾光花坊', commodityTitle: '能量补给站',
winCommodityMenu: true winCommodityMenu: true
}) })
break break
......
...@@ -166,19 +166,12 @@ ...@@ -166,19 +166,12 @@
</view> </view>
</view> </view>
</view> </view>
<!-- 能量补给站 -->
<view class="commodity-menu col" wx:if="{{winCommodityMenu}}" bindtap="onBuySnacks" data-id="{{5}}"> <view class="commodity-menu col" wx:if="{{winCommodityMenu}}">
<image class="commodity-menu-bg" src="{{resourcesBase + 'play/service/service-flower.png'}}"></image> <view class="commodity-menu-title row con-b align-e">
<view> <text>{{commodityTitle}}</text>
<image class="commodity-menu-icon" src="{{imageBase + 'icon/food.png'}}"></image>
</view>
<view>
<text>能量补给站</text>
</view>
<view class="row align-c">
<text>饮品预订</text>
<image src="{{imageBase + 'more-w.png'}}"></image>
</view> </view>
<image src="{{resourcesBase + 'play/service/service-flower.png'}}" bindtap="onBuySnacks" data-id="{{5}}"></image>
</view> </view>
<!-- 简介,评价 --> <!-- 简介,评价 -->
......
...@@ -337,12 +337,18 @@ ...@@ -337,12 +337,18 @@
font-weight: 400; font-weight: 400;
line-height: 44rpx; line-height: 44rpx;
color: #15191F; color: #15191F;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
} }
.movie-card-item-title text:nth-child(1) { .movie-card-item-title text:nth-child(1) {
font-size: 26rpx; font-size: 26rpx;
font-weight: 400; font-weight: 400;
line-height: 37rpx; line-height: 37rpx;
color: #fff; color: #fff;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
} }
.commodity-card-item-title text:nth-child(2) { .commodity-card-item-title text:nth-child(2) {
...@@ -385,47 +391,21 @@ ...@@ -385,47 +391,21 @@
/* 能量补给跳转 */ /* 能量补给跳转 */
.commodity-menu { .commodity-menu {
position: relative;
width: 750rpx; width: 750rpx;
height: 256rpx;
margin-top: 80rpx;
padding: 0 40rpx; padding: 0 40rpx;
margin-top: 80rpx;
border-radius: 4rpx; border-radius: 4rpx;
overflow: hidden;
}
.commodity-menu-bg {
position: absolute;
z-index: -1;
width: 670rpx;
height: 256rpx;
background: #999999;
} }
.commodity-menu-icon { .commodity-menu-title text:nth-child(1) {
margin: 48rpx 0 0 54rpx; font-size: 40rpx;
width: 56rpx; font-weight: 800;
height: 56rpx;
}
.commodity-menu view:nth-child(3) {
margin: 16rpx 0 0 50rpx;
font-size: 30rpx;
color: #FFFFFF;
line-height: 42rpx;
} }
.commodity-menu view:nth-child(4) { .commodity-menu image{
margin: 8rpx 0 0 50rpx; width: 670rpx;
font-size: 26rpx; height: 256rpx;
color: #FFFFFF; margin-top: 48rpx;
line-height: 40rpx;
}
.commodity-menu view:nth-child(4) image {
margin-left: 16rpx;
width: 32rpx;
height: 32rpx;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment