Commit e81e96e9f9ed9f9cdecf27e3f4aa5a56ac658b98

Authored by vking
1 parent a47e844e

taocan ui fix

1 <!--components/2.0/taocan/lists.wxml--> 1 <!--components/2.0/taocan/lists.wxml-->
2 <block wx:if="{{lists.length>0}}"> 2 <block wx:if="{{lists.length>0}}">
3 - <view class="view padding-lg bg-white padding-bottom-sm"> 3 + <view class="view padding-lg bg-white padding-bottom-sm text-black">
4 <view class="view text-bold text-xxl margin-bottom">超值套餐</view> 4 <view class="view text-bold text-xxl margin-bottom">超值套餐</view>
5 <block wx:for="{{lists}}" wx:key="lists"> 5 <block wx:for="{{lists}}" wx:key="lists">
6 <card detail="{{item}}" wx:if="{{index<rowLimit}}"></card> 6 <card detail="{{item}}" wx:if="{{index<rowLimit}}"></card>
@@ -4,7 +4,7 @@ @@ -4,7 +4,7 @@
4 <view class="header view flex align-center" bindtap="clickSeller"> 4 <view class="header view flex align-center" bindtap="clickSeller">
5 <view class="view avatar margin-right-sm" style="background-image: url('{{order_info.seller_image}}?imageView2/2/w/320')"></view> 5 <view class="view avatar margin-right-sm" style="background-image: url('{{order_info.seller_image}}?imageView2/2/w/320')"></view>
6 <view class="flex-treble"> 6 <view class="flex-treble">
7 - <view class="txt-32-h text-cut" style="margin-bottom: 2rpx;">{{order_info.sellername}}</view> 7 + <view class="txt-32-h text-cut text-bold" style="margin-bottom: 2rpx;">{{order_info.sellername}}</view>
8 <view class="txt-24-h text-gray text-cut">{{order_info.real_address||order_info.map_address}}</view> 8 <view class="txt-24-h text-gray text-cut">{{order_info.real_address||order_info.map_address}}</view>
9 </view> 9 </view>
10 <view class="view txt-28-h {{order_info.status==2?'text-blue':'bg-white'}}" wx:if="{{hasTopStatus}}">{{order_info.status_tips.status}}</view> 10 <view class="view txt-28-h {{order_info.status==2?'text-blue':'bg-white'}}" wx:if="{{hasTopStatus}}">{{order_info.status_tips.status}}</view>
@@ -14,20 +14,20 @@ @@ -14,20 +14,20 @@
14 <view class="thumb margin-right-lg" style="background-image: url('{{foods_info.main_url}}?imageView2/2/w/320')"></view> 14 <view class="thumb margin-right-lg" style="background-image: url('{{foods_info.main_url}}?imageView2/2/w/320')"></view>
15 <view class="flex flex-direction justify-between"> 15 <view class="flex flex-direction justify-between">
16 <view class="flex align-center"> 16 <view class="flex align-center">
17 - <view class="bg-white label txt-20-h">套餐名称</view>  
18 - <view class="txt-28-h margin-left-lg">{{foods_info.name}}</view> 17 + <view class="view bg-white label txt-20-h flex align-center justify-center">套餐名称</view>
  18 + <view class="view txt-28-h margin-left-lg">{{foods_info.name}}</view>
19 </view> 19 </view>
20 <view class="flex align-center"> 20 <view class="flex align-center">
21 - <view class="bg-white label txt-20-h">套餐数量</view>  
22 - <view class="txt-28-h margin-left-lg">1份</view> 21 + <view class="view bg-white label txt-20-h flex align-center justify-center">套餐数量</view>
  22 + <view class="view txt-28-h margin-left-lg">1份</view>
23 </view> 23 </view>
24 <view class="flex align-center" wx:if="{{order_info.status==2}}"> 24 <view class="flex align-center" wx:if="{{order_info.status==2}}">
25 - <view class="bg-white label txt-20-h">有效期限</view>  
26 - <view class="txt-28-h margin-left-lg">{{util.unixtoTime(foods_info.eff_time_end,'YYYY-MM-DD')}}</view> 25 + <view class="view bg-white label txt-20-h flex align-center justify-center">有效期限</view>
  26 + <view class="view txt-28-h margin-left-lg">{{util.unixtoTime(foods_info.eff_time_end,'YYYY-MM-DD')}}</view>
27 </view> 27 </view>
28 <view class="flex align-center"> 28 <view class="flex align-center">
29 - <view class="bg-white label txt-20-h">套餐价格</view>  
30 - <view class="txt-28-h margin-left-lg">¥{{foods_info.sale_price}}</view> 29 + <view class="view bg-white label txt-20-h flex align-center justify-center">套餐价格</view>
  30 + <view class="view txt-28-h margin-left-lg">¥{{foods_info.sale_price}}</view>
31 </view> 31 </view>
32 </view> 32 </view>
33 </view> 33 </view>
@@ -12,8 +12,8 @@ @@ -12,8 +12,8 @@
12 border-radius: 50%; 12 border-radius: 50%;
13 } 13 }
14 .phone{ 14 .phone{
15 - width: 28rpx;  
16 - height: 35rpx; 15 + width: 40rpx;
  16 + height: 40rpx;
17 background-image: url("http://nosqn.colorcun.com/taocan/1%20%2810%29.png"); 17 background-image: url("http://nosqn.colorcun.com/taocan/1%20%2810%29.png");
18 } 18 }
19 .thumb{ 19 .thumb{
@@ -19,7 +19,7 @@ @@ -19,7 +19,7 @@
19 height: 50rpx; 19 height: 50rpx;
20 font-size: 36rpx; 20 font-size: 36rpx;
21 font-family: PingFangSC-Medium, PingFang SC; 21 font-family: PingFangSC-Medium, PingFang SC;
22 - font-weight: 500; 22 + font-weight: bold;
23 color: #333333; 23 color: #333333;
24 line-height: 50rpx; 24 line-height: 50rpx;
25 } 25 }
@@ -56,6 +56,7 @@ @@ -56,6 +56,7 @@
56 color:#42A5FF; 56 color:#42A5FF;
57 background-color: #E6F3FF; 57 background-color: #E6F3FF;
58 border-color: #E6F3FF; 58 border-color: #E6F3FF;
  59 + font-weight: bold;
59 } 60 }
60 61
61 .empry{ 62 .empry{
@@ -203,7 +203,7 @@ @@ -203,7 +203,7 @@
203 </view> 203 </view>
204 <view class="reserve reserve-click flex-vc"> 204 <view class="reserve reserve-click flex-vc">
205 <formids class="flex-vc" bindclick="reserveEvent" id="reserve-button"> 205 <formids class="flex-vc" bindclick="reserveEvent" id="reserve-button">
206 - <view class="text">订包间</view> 206 + <view class="text Semibold">订包间</view>
207 </formids> 207 </formids>
208 </view> 208 </view>
209 209
@@ -3,7 +3,7 @@ @@ -3,7 +3,7 @@
3 <nav hasHome>套餐详情</nav> 3 <nav hasHome>套餐详情</nav>
4 <swiper 4 <swiper
5 display-multiple-items="3" 5 display-multiple-items="3"
6 - class="view margin-left-lg header" 6 + class="view margin-left-lg header text-black"
7 bindchange="swiperChange" 7 bindchange="swiperChange"
8 current="{{current}}" 8 current="{{current}}"
9 style="height: 80rpx;"> 9 style="height: 80rpx;">
@@ -11,13 +11,13 @@ @@ -11,13 +11,13 @@
11 <swiper-item 11 <swiper-item
12 bindtap="touchTab" data-id="{{item.id}}" data-index="{{index}}" 12 bindtap="touchTab" data-id="{{item.id}}" data-index="{{index}}"
13 class="swiper-item {{activityId==item.id?'active':''}} flex align-center"> 13 class="swiper-item {{activityId==item.id?'active':''}} flex align-center">
14 - <view class="txt-28-h text-cut" style="width: 220rpx;height: 50rpx;"> 14 + <view class="txt-32-h text-cut" style="width: 220rpx;height: 56rpx;">
15 <text class="swiper-item-txt">{{item.name}}</text> 15 <text class="swiper-item-txt">{{item.name}}</text>
16 </view> 16 </view>
17 </swiper-item> 17 </swiper-item>
18 </block> 18 </block>
19 </swiper> 19 </swiper>
20 -<view class="view" style="padding-bottom: 150rpx;padding-top: 80rpx;"> 20 +<view class="view" style="padding-bottom: 150rpx;padding-top: 70rpx;">
21 <view class="view box margin-lr margin-top-lg margin-bottom-sm padding"> 21 <view class="view box margin-lr margin-top-lg margin-bottom-sm padding">
22 <view class="view txt-40-h text-bold">{{packs[activityId].name}}</view> 22 <view class="view txt-40-h text-bold">{{packs[activityId].name}}</view>
23 <view class="view flex align-end"> 23 <view class="view flex align-end">
@@ -49,7 +49,7 @@ @@ -49,7 +49,7 @@
49 <image src="{{packs[activityId].detail_url}}" style="width:100%;border-radius: 10rpx;" mode="widthFix"></image> 49 <image src="{{packs[activityId].detail_url}}" style="width:100%;border-radius: 10rpx;" mode="widthFix"></image>
50 </view> 50 </view>
51 <view class="view box margin-lr margin-top-sm margin-bottom-sm"> 51 <view class="view box margin-lr margin-top-sm margin-bottom-sm">
52 - <view class="txt-30-h padding solid-bottom">购买须知</view> 52 + <view class="txt-30-h padding solid-bottom text-bold">购买须知</view>
53 <view class="view padding block"> 53 <view class="view padding block">
54 <view class="flex align-center margin-bottom-sm"> 54 <view class="flex align-center margin-bottom-sm">
55 <view class="dot"></view> 55 <view class="dot"></view>
@@ -25,6 +25,7 @@ @@ -25,6 +25,7 @@
25 } 25 }
26 .huaxian{ 26 .huaxian{
27 position: relative; 27 position: relative;
  28 + color:#cccccc;
28 } 29 }
29 .huaxian:after{ 30 .huaxian:after{
30 position: absolute; 31 position: absolute;
@@ -4,17 +4,20 @@ @@ -4,17 +4,20 @@
4 <nav backgroundColor="rgba(0,0,0,0)" color="#ffffff"></nav> 4 <nav backgroundColor="rgba(0,0,0,0)" color="#ffffff"></nav>
5 <view class="view padding-lr padding-bottom-lg" style="position: relative"> 5 <view class="view padding-lr padding-bottom-lg" style="position: relative">
6 <view class="text-white txt-40-h text-bold margin-top-sm">{{order_tips.status}}</view> 6 <view class="text-white txt-40-h text-bold margin-top-sm">{{order_tips.status}}</view>
7 - <view class="text-white txt-28-h text-bold margin-bottom-lg" style="margin-top: 6rpx;">{{order_tips.info}}</view> 7 + <view class="text-white txt-28-h margin-bottom-lg" style="margin-top: 6rpx;">{{order_tips.info}}</view>
8 <subject foods_info="{{foods_info}}" order_info="{{order_info}}" wx:if="{{order_info}}"> 8 <subject foods_info="{{foods_info}}" order_info="{{order_info}}" wx:if="{{order_info}}">
9 <view class="view flex flex-direction justify-center align-center margin-top-lg"> 9 <view class="view flex flex-direction justify-center align-center margin-top-lg">
10 - <view class="Medium txt-28-h {{order_info.status==2?'':'overline'}}">券码:{{order_info.id}}</view>  
11 - <image src="{{qrcode?qrcode:'http://nosqn.colorcun.com/taocan/1%20%2813%29.png'}}" mode="heightFix" style="height: 340rpx;max-width: 365rpx;"></image> 10 + <view class="text-bold txt-28-h {{order_info.status==2?'':'overline'}}">券码:{{order_info.id}}</view>
  11 + <image src="{{qrcode?qrcode:'http://nosqn.colorcun.com/taocan/1%20%2813%29.png'}}"
  12 + class="margin-tb-lg"
  13 + mode="heightFix" style="height: 340rpx;max-width: 365rpx;" ></image>
  14 + <view wx:if="{{order_info.status==2}}" class="text-bold txt-30-h text-blue">请将此码出示给店员</view>
12 </view> 15 </view>
13 </subject> 16 </subject>
14 <navigator url="/pages/reserve/detail?id={{order_info.sid}}&activeTab=reserve"> 17 <navigator url="/pages/reserve/detail?id={{order_info.sid}}&activeTab=reserve">
15 <view class="view card flex margin-tb-sm padding-lg justify-between"> 18 <view class="view card flex margin-tb-sm padding-lg justify-between">
16 <view class="view text-bold txt-32-h">您还可以预订包间</view> 19 <view class="view text-bold txt-32-h">您还可以预订包间</view>
17 - <view class="view bg-blue-blue round" style="padding: 8rpx 20rpx;">订包间</view> 20 + <view class="view bg-blue-blue round text-bold" style="padding: 8rpx 20rpx;">订包间</view>
18 </view> 21 </view>
19 </navigator> 22 </navigator>
20 <view class="view card"> 23 <view class="view card">
@@ -12,6 +12,7 @@ @@ -12,6 +12,7 @@
12 } 12 }
13 .huaxian{ 13 .huaxian{
14 position: relative; 14 position: relative;
  15 + color:#cccccc;
15 } 16 }
16 .huaxian:after{ 17 .huaxian:after{
17 position: absolute; 18 position: absolute;