Commit 56b201beda3892de60fe6e1372358d86bc03a7b1
1 parent
c715c79d
客服、扫一扫组件优化
Showing
2 changed files
with
6 additions
and
6 deletions
components/diy_scan/diy_scan.wxml
@@ -3,7 +3,7 @@ | @@ -3,7 +3,7 @@ | ||
3 | style="top:{{top}}px;left:{{left}}px; background-color:{{object.bg_color}}; opacity: 0.5 " bindtouchmove="setTouchMove"> | 3 | style="top:{{top}}px;left:{{left}}px; background-color:{{object.bg_color}}; opacity: 0.5 " bindtouchmove="setTouchMove"> |
4 | <view style="text-align: center;"> | 4 | <view style="text-align: center;"> |
5 | <image class="cs-img" src="{{object.img}}"></image> | 5 | <image class="cs-img" src="{{object.img}}"></image> |
6 | - <view class="s_title" wx:if="{{object.title!=''}}"> | 6 | + <view class="s_title" style="line-height: 14rpx;" wx:if="{{object.title!=''}}"> |
7 | <text wx:if="{{object.word_color}}" style="color:{{object.word_color}}">{{object.title}}</text> | 7 | <text wx:if="{{object.word_color}}" style="color:{{object.word_color}}">{{object.title}}</text> |
8 | <text wx:else >{{object.title}}</text> | 8 | <text wx:else >{{object.title}}</text> |
9 | </view> | 9 | </view> |
@@ -15,7 +15,7 @@ | @@ -15,7 +15,7 @@ | ||
15 | <view class="scan_view" disable-scroll="true" bindtap='getScancode' style="top:{{top}}px;left:{{left}}px;" bindtouchmove="setTouchMove"> | 15 | <view class="scan_view" disable-scroll="true" bindtap='getScancode' style="top:{{top}}px;left:{{left}}px;" bindtouchmove="setTouchMove"> |
16 | <view style="text-align: center;"> | 16 | <view style="text-align: center;"> |
17 | <image class="cs-img" src="{{object.img}}"></image> | 17 | <image class="cs-img" src="{{object.img}}"></image> |
18 | - <view class="s_title" wx:if="{{object.title!=''}}"> | 18 | + <view class="s_title" style="line-height: 14rpx;" wx:if="{{object.title!=''}}"> |
19 | <text wx:if="{{object.word_color}}" style="color:{{object.word_color}}">{{object.title}}</text> | 19 | <text wx:if="{{object.word_color}}" style="color:{{object.word_color}}">{{object.title}}</text> |
20 | <text wx:else>{{object.title}}</text> | 20 | <text wx:else>{{object.title}}</text> |
21 | </view> | 21 | </view> |
components/diy_service/diy_service.wxml
@@ -4,14 +4,14 @@ | @@ -4,14 +4,14 @@ | ||
4 | <view wx:if="{{userInfo}}" class="custom-service" bindtap="go_user" > | 4 | <view wx:if="{{userInfo}}" class="custom-service" bindtap="go_user" > |
5 | <view style="text-align: center;"> | 5 | <view style="text-align: center;"> |
6 | <image class="cs-img" src="{{object.img}}"></image> | 6 | <image class="cs-img" src="{{object.img}}"></image> |
7 | - <view class="s_title" wx:if="{{object.title!=''}}">{{object.title}}</view> | 7 | + <view class="s_title" style="line-height: 14rpx;" wx:if="{{object.title!=''}}">{{object.title}}</view> |
8 | </view> | 8 | </view> |
9 | </view> | 9 | </view> |
10 | 10 | ||
11 | <button wx:else class="custom-service" bindtap="click_contact" open-type="contact" session-from="wechat|{{userInfo.user_id}}|{{userInfo.nickname}}|{{userInfo.head_pic}}"> | 11 | <button wx:else class="custom-service" bindtap="click_contact" open-type="contact" session-from="wechat|{{userInfo.user_id}}|{{userInfo.nickname}}|{{userInfo.head_pic}}"> |
12 | <view style="text-align: center;"> | 12 | <view style="text-align: center;"> |
13 | <image class="cs-img" src="{{object.img}}"></image> | 13 | <image class="cs-img" src="{{object.img}}"></image> |
14 | - <view class="s_title" wx:if="{{object.title!=''}}">{{object.title}}</view> | 14 | + <view class="s_title" style="line-height: 14rpx;" wx:if="{{object.title!=''}}">{{object.title}}</view> |
15 | </view> | 15 | </view> |
16 | </button> | 16 | </button> |
17 | </block> | 17 | </block> |
@@ -20,7 +20,7 @@ | @@ -20,7 +20,7 @@ | ||
20 | <view class="custom-service cart-ico new_split" bindtap="con_weixin"> | 20 | <view class="custom-service cart-ico new_split" bindtap="con_weixin"> |
21 | <view style="text-align: center;"> | 21 | <view style="text-align: center;"> |
22 | <image class="cs-img" src="{{object.img}}"></image> | 22 | <image class="cs-img" src="{{object.img}}"></image> |
23 | - <view class="s_title" wx:if="{{object.title!=''}}">{{object.title}}</view> | 23 | + <view class="s_title" style="line-height: 14rpx;" wx:if="{{object.title!=''}}">{{object.title}}</view> |
24 | </view> | 24 | </view> |
25 | </view> | 25 | </view> |
26 | </block> | 26 | </block> |
@@ -29,7 +29,7 @@ | @@ -29,7 +29,7 @@ | ||
29 | <view class="custom-service cart-ico new_split" bindtap="contactService"> | 29 | <view class="custom-service cart-ico new_split" bindtap="contactService"> |
30 | <view style="text-align: center;"> | 30 | <view style="text-align: center;"> |
31 | <image class="cs-img" src="{{object.img}}"></image> | 31 | <image class="cs-img" src="{{object.img}}"></image> |
32 | - <view class="s_title" wx:if="{{object.title!=''}}">{{object.title}}</view> | 32 | + <view class="s_title" style="line-height: 14rpx;" wx:if="{{object.title!=''}}">{{object.title}}</view> |
33 | </view> | 33 | </view> |
34 | </view> | 34 | </view> |
35 | </block> | 35 | </block> |
36 | \ No newline at end of file | 36 | \ No newline at end of file |