Commit 641b4cf48f00ef5f6d4b6cf8d9d280dd29356ede

Authored by vking
1 parent e1c26990

call phone

1 <!--components/actionSheet/phone.wxml--> 1 <!--components/actionSheet/phone.wxml-->
2 -<view class="mask" wx:if="{{!actionSheetHidden}}"catchtap="catchtap"> 2 +<view class="mask" wx:if="{{!actionSheetHidden}}"catchtap="hide">
3 <view class="action-sheet flex-vc"> 3 <view class="action-sheet flex-vc">
4 - <view class="title">拨打电话</view>  
5 <view class="action-sheet-item-block"> 4 <view class="action-sheet-item-block">
6 <view class="action-sheet-item flex-cc" 5 <view class="action-sheet-item flex-cc"
7 wx:if="{{hasOnlineReserve}}" 6 wx:if="{{hasOnlineReserve}}"
8 bindtap="bindItemTap" data-value="reserve" data-index="reserve"> 7 bindtap="bindItemTap" data-value="reserve" data-index="reserve">
9 - 立即在线预订  
10 - <view class="tuijian">推荐</view> 8 + <view class="tuijian">荐</view>立即在线预订
11 </view> 9 </view>
12 <block wx:for="{{items}}" wx:key="itemskey"> 10 <block wx:for="{{items}}" wx:key="itemskey">
13 <view class="action-sheet-item flex-cc" bindtap="bindItemTap" data-value="{{item}}" data-index="{{index}}"> 11 <view class="action-sheet-item flex-cc" bindtap="bindItemTap" data-value="{{item}}" data-index="{{index}}">
14 - {{item}} 12 + <view class="p2"></view>{{item}}
15 </view> 13 </view>
16 </block> 14 </block>
17 </view> 15 </view>
@@ -10,7 +10,7 @@ @@ -10,7 +10,7 @@
10 bottom: 0; 10 bottom: 0;
11 width: 100%; 11 width: 100%;
12 box-sizing: border-box; 12 box-sizing: border-box;
13 - padding: 30rpx 0; 13 + padding: 0 0 30rpx;
14 } 14 }
15 .title{ 15 .title{
16 height:50rpx; 16 height:50rpx;
@@ -36,7 +36,6 @@ @@ -36,7 +36,6 @@
36 } 36 }
37 .action-sheet-item:last-child{ 37 .action-sheet-item:last-child{
38 border-bottom-width: 0; 38 border-bottom-width: 0;
39 - padding-top: 20rpx;  
40 } 39 }
41 .action-sheet-cancel{ 40 .action-sheet-cancel{
42 height:84rpx; 41 height:84rpx;
@@ -52,11 +51,11 @@ @@ -52,11 +51,11 @@
52 line-height:84rpx; 51 line-height:84rpx;
53 } 52 }
54 .tuijian{ 53 .tuijian{
55 - background-image: url("http://nosqn.colorcun.com/phone/tuijian.png"); 54 + background-image: url("http://nosqn.colorcun.com/p1.png");
56 background-size: 100% 100%; 55 background-size: 100% 100%;
57 - width: 54rpx; 56 + width: 34rpx;
58 height: 34rpx; 57 height: 34rpx;
59 - margin-left: 16rpx; 58 + margin-right:16rpx;
60 59
61 font-size:20rpx; 60 font-size:20rpx;
62 font-family:PingFangSC-Semibold,PingFang SC; 61 font-family:PingFangSC-Semibold,PingFang SC;
@@ -65,5 +64,12 @@ @@ -65,5 +64,12 @@
65 line-height:28rpx; 64 line-height:28rpx;
66 65
67 text-align: center; 66 text-align: center;
68 - margin-top: 10rpx; 67 + margin-top: 6rpx;
69 } 68 }
  69 +.p2{
  70 + background-image: url("http://nosqn.colorcun.com/p2.png");
  71 + background-size: 100% 100%;
  72 + width: 40rpx;
  73 + height: 36rpx;
  74 + margin-right: 12rpx;
  75 +}