Commit 12924d1ee057c65f27e110380db05561706969d2

Authored by vking
1 parent 89ff7dbd

deatil style

@@ -4,7 +4,7 @@ @@ -4,7 +4,7 @@
4 <image mode="aspectFill" 4 <image mode="aspectFill"
5 src="{{seller.seller_image?seller.seller_image+'?imageView2/2/w/320/interlace/0/q/100':'http://qn.colorcun.com/reserve/images/3x/%E6%9A%82%E6%97%A0.png'}}"></image> 5 src="{{seller.seller_image?seller.seller_image+'?imageView2/2/w/320/interlace/0/q/100':'http://qn.colorcun.com/reserve/images/3x/%E6%9A%82%E6%97%A0.png'}}"></image>
6 <view class="room_num" wx:if="{{false}}">{{seller.room_num}}个包间</view> 6 <view class="room_num" wx:if="{{false}}">{{seller.room_num}}个包间</view>
7 - <view class="room_num hasBrand Semibold" wx:if="{{hasBrand}}">优选餐厅</view> 7 + <view class="room_num hasBrand Semibold" wx:if="{{hasBrand && seller.brand}}">{{seller.brand.name}}</view>
8 </view> 8 </view>
9 <view class="info flex-tb"> 9 <view class="info flex-tb">
10 <view style="max-width: 100%;width: 100%;"> 10 <view style="max-width: 100%;width: 100%;">
@@ -25,9 +25,9 @@ @@ -25,9 +25,9 @@
25 <view class="seller"> 25 <view class="seller">
26 <view class="base"> 26 <view class="base">
27 <view class="name Semibold flex-lr"> 27 <view class="name Semibold flex-lr">
28 - <view class="name-info flex-ll">  
29 - <view>{{seller.sellername}}</view>  
30 - <view class="flex-ll broad" wx:if="{{seller.brand}}"> 28 + <view class="name-info">
  29 + {{seller.sellername}}
  30 + <view class="broad" wx:if="{{true||seller.brand}}">
31 <view class="broad-1"></view> 31 <view class="broad-1"></view>
32 <view class="broad-2">{{seller.brand.name}}</view> 32 <view class="broad-2">{{seller.brand.name}}</view>
33 <view class="broad-3"></view> 33 <view class="broad-3"></view>
@@ -30,7 +30,6 @@ @@ -30,7 +30,6 @@
30 } 30 }
31 .base .name{ 31 .base .name{
32 font-size: 36rpx; 32 font-size: 36rpx;
33 - height: 50rpx;  
34 line-height: 50rpx; 33 line-height: 50rpx;
35 margin-bottom: 20rpx; 34 margin-bottom: 20rpx;
36 overflow: hidden; 35 overflow: hidden;
@@ -382,15 +381,22 @@ @@ -382,15 +381,22 @@
382 .average{ 381 .average{
383 color: #C0A369; 382 color: #C0A369;
384 min-width: 135rpx; 383 min-width: 135rpx;
  384 + margin-left: 120rpx;
  385 +}
  386 +.name-info-text{
  387 + margin-right: 20rpx;
  388 + float: left;
385 } 389 }
386 .broad{ 390 .broad{
387 - margin: 4rpx 0 0 20rpx; 391 + display: inline-block;
  392 + height: 28rpx;
388 } 393 }
389 .broad-1{ 394 .broad-1{
390 background-image: url("https://qn.colorcun.com/reserve/images/p0.png"); 395 background-image: url("https://qn.colorcun.com/reserve/images/p0.png");
391 width: 14rpx; 396 width: 14rpx;
392 height: 34rpx; 397 height: 34rpx;
393 background-size: 100% 100%; 398 background-size: 100% 100%;
  399 + float: left;
394 } 400 }
395 .broad-2{ 401 .broad-2{
396 background-image: url("https://qn.colorcun.com/reserve/images/p2.png"); 402 background-image: url("https://qn.colorcun.com/reserve/images/p2.png");
@@ -398,15 +404,15 @@ @@ -398,15 +404,15 @@
398 background-size: 100% 100%; 404 background-size: 100% 100%;
399 font-size: 20rpx; 405 font-size: 20rpx;
400 color: #FFFFFF; 406 color: #FFFFFF;
401 - line-height: 28rpx;  
402 - background-repeat: no-repeat;  
403 - background-repeat: repeat-x; 407 + line-height: 34rpx;
  408 + float: left;
404 } 409 }
405 .broad-3{ 410 .broad-3{
406 background-image: url("https://qn.colorcun.com/reserve/images/p3.png"); 411 background-image: url("https://qn.colorcun.com/reserve/images/p3.png");
407 width: 14rpx; 412 width: 14rpx;
408 height: 34rpx; 413 height: 34rpx;
409 background-size: 100% 100%; 414 background-size: 100% 100%;
  415 + float: left;
410 } 416 }
411 417
412 .label_c{ 418 .label_c{
@@ -111,6 +111,9 @@ Page({ @@ -111,6 +111,9 @@ Page({
111 cai_jiu_bao.push(seller.cate[0]) 111 cai_jiu_bao.push(seller.cate[0])
112 } 112 }
113 cai_jiu_bao.push(seller.is_belt_wine==1?'不可带酒水':'可自带酒水'); 113 cai_jiu_bao.push(seller.is_belt_wine==1?'不可带酒水':'可自带酒水');
  114 + if(seller.is_parking==1){
  115 + cai_jiu_bao.push('停车场')
  116 + }
114 if(seller.room_num>0){ 117 if(seller.room_num>0){
115 cai_jiu_bao.push(seller.room_num+'个包间') 118 cai_jiu_bao.push(seller.room_num+'个包间')
116 } 119 }
@@ -121,7 +124,7 @@ Page({ @@ -121,7 +124,7 @@ Page({
121 tags.push(l.name) 124 tags.push(l.name)
122 }) 125 })
123 } 126 }
124 - tags=tags.join(' | ') 127 + tags=tags.join(' | ')
125 if(!tags){ 128 if(!tags){
126 ph=ph-tagsHeight/2 129 ph=ph-tagsHeight/2
127 tagsHeight=0 130 tagsHeight=0