Commit 0699bc0c2db65ef293169bd48160b679a86113c5

Authored by vking
1 parent 162ab881

3.有“包间预订”的商家详情,地址后面有电话,可以拨打电话;这部分有可能会影响我们之前设置的地址展示字数,如果有影响,将字数展示的宽度调窄)

... ... @@ -140,8 +140,8 @@ Page({
path:path,
}
},
reserveEvent(){
if(this.data.hasOnlineReserve){
reserveEvent(e){
if(this.data.hasOnlineReserve && util.attr(e,'act')!='phone'){
return this.setData({
activeTab:'reserve'
})
... ...
... ... @@ -54,7 +54,19 @@
<text class="label_text" >{{seller.label_cstr}}</text>
</view>
</view>
<view class="addr flex-lr" bindtap="lookLocation">
<view class="addr flex-lr" wx:if="{{hasOnlineReserve}}" >
<view class="addr-view" bindtap="lookLocation">
<view class="addr-text flex-ll">
<image src="http://qn.colorcun.com/custom/lite-online/image/%E5%AE%9A%E4%BD%8D.png"></image>
<view class="text">{{seller.real_address||seller.map_address}}</view>
</view>
<view class="addr-long">{{seller.distanceStr?'距您'+seller.distanceStr:''}}</view>
</view>
<formids class="flex-vc" bindclick="reserveEvent" data-act="phone">
<view class="more more-phone"></view>
</formids>
</view>
<view class="addr flex-lr" bindtap="lookLocation" wx:else="" >
<view class="addr-view">
<view class="addr-text flex-ll">
<image src="http://qn.colorcun.com/custom/lite-online/image/%E5%AE%9A%E4%BD%8D.png"></image>
... ...
... ... @@ -32,7 +32,6 @@
font-size: 36rpx;
line-height: 50rpx;
margin-bottom: 20rpx;
overflow: hidden;
}
.base .ping,.base .peitao{
height: 40rpx;
... ... @@ -397,6 +396,7 @@
min-width: 135rpx;
margin-left: 120rpx;
text-align: right;
white-space: nowrap;
}
.name-info-text{
margin-right: 20rpx;
... ... @@ -521,3 +521,12 @@
width: calc(100% - 60rpx);
margin: 0 auto;
}
.more-phone{
width: 158rpx;
min-width: 158rpx;
border-left: 2rpx solid #E0E0E0;
height: 70rpx;
background-size: 40rpx 36rpx;
background-position: center center;
background-image: url("https://qn.colorcun.com/reserve/images/sphone.png");
}
... ...