Commit 3f8a8a3f2d304699f7c48cc9735099940e000117

Authored by vking
1 parent 208f0066

距离展示调整

... ... @@ -14,10 +14,12 @@
<view class="ActivityShort" wx:if="{{hasActivityShort && seller.activity.length>0}}"></view>
</view>
<view wx:if="{{hasSlogan && seller.slogan}}" class="slogan">“{{seller.slogan}}”</view>
<view class="text flex-ll" wx:if="{{seller.cate.length>0}}">
<view class="text-item" wx:for="{{seller.cate}}" wx:if="{{index<3}}">{{item.name}}</view>
</view>
<view class="text flex-ll">
<view class="text-item" wx:if="{{seller.cate[0].name}}">{{seller.cate[0].name}}</view>
<view class="text-item" wx:if="{{seller.room_num>0}}">{{seller.room_num}}个包间</view>
<view class="text-item" wx:if="{{seller.distance>=0 && seller.distance!==''}}">{{hasSuggestion?'距搜索地':''}}{{util.distance(seller.distance_centre||seller.distance)}}</view>
<view class="text-item" wx:if="{{seller.distance>=0 && seller.distance!==''}}">{{hasSuggestion?'距搜索地':'距您'}}{{util.distance(seller.distance_centre||seller.distance)}}</view>
</view>
<view wx:if="{{hasStat}}" class="stat">
<stat stat="{{seller.score}}"></stat>
... ...
... ... @@ -52,9 +52,9 @@
overflow: hidden;
}
.seller .name{
font-size: 32rpx;
height: 44rpx;
line-height: 44rpx;
font-size: 34rpx;
height: 48rpx;
line-height: 48rpx;
overflow: hidden;
white-space:nowrap;
width: 100%;
... ... @@ -68,10 +68,10 @@
overflow: hidden;
}
.seller .text{
font-size: 28rpx;
font-size: 24rpx;
color: #999999;
height: 40rpx;
line-height: 40rpx;
height: 34rpx;
line-height: 34rpx;
margin-top: 10rpx;
overflow: hidden;
white-space:nowrap;
... ... @@ -80,8 +80,8 @@
text-indent: 10rpx;
border-left: 2rpx solid #999999;
padding-right: 10rpx;
height: 30rpx;
line-height: 30rpx;
height: 24rpx;
line-height: 24rpx;
overflow: hidden;
white-space:nowrap;
}
... ... @@ -124,12 +124,14 @@
.activity{
color: #F05522;
margin-top: 10rpx;
height: 34rpx;
line-height: 34rpx;
}
.activity .activity-item{
font-size: 24rpx;
height: 36rpx;
height: 24rpx;
padding: 0 10rpx 0;
line-height: 36rpx;
line-height: 24rpx;
overflow: hidden;
max-height: 36rpx;
border-radius: 6rpx;
... ...