Commit 8f243d11dd7889b38a17b8db07cd3a2b45c03ab9
1 parent
0e1b6dcc
分销小店样式调整
Showing
2 changed files
with
3 additions
and
3 deletions
packageA/pages/distribution/shop/shop.wxml
@@ -44,7 +44,7 @@ | @@ -44,7 +44,7 @@ | ||
44 | <view class="flex ai-center fs26 bg-white pd20"> | 44 | <view class="flex ai-center fs26 bg-white pd20"> |
45 | <text class="pdr20 c-a iconfont icon-fenlei" catch:tap="goto" data-url="/packageC/pages/goods/distributionCategoryList/index"></text> | 45 | <text class="pdr20 c-a iconfont icon-fenlei" catch:tap="goto" data-url="/packageC/pages/goods/distributionCategoryList/index"></text> |
46 | <view class="input-container f1"> | 46 | <view class="input-container f1"> |
47 | - <input class="input" type="text" value="{{inputVal}}" placeholder="请输入商品关键字" confirm-type="search" bindfocus="inputFocus" bindblur="inputBlur" bindinput="input" bindconfirm="search" /> | 47 | + <input class="input" type="text" value="{{inputVal}}" placeholder="请输入商品关键字" placeholder-style="color:#aaa;" confirm-type="search" bindfocus="inputFocus" bindblur="inputBlur" bindinput="input" bindconfirm="search" /> |
48 | <text class="iconfont icon-guanbi" hidden="{{!isInputFocus}}" catchtap="inputClear"></text> | 48 | <text class="iconfont icon-guanbi" hidden="{{!isInputFocus}}" catchtap="inputClear"></text> |
49 | <!-- 搜索输入框聚焦时显示关闭按钮,否则隐藏关闭按钮 --> | 49 | <!-- 搜索输入框聚焦时显示关闭按钮,否则隐藏关闭按钮 --> |
50 | </view> | 50 | </view> |
packageA/pages/distribution/shop/shop.wxss
@@ -45,14 +45,14 @@ page { | @@ -45,14 +45,14 @@ page { | ||
45 | position: absolute; | 45 | position: absolute; |
46 | top: 50%; | 46 | top: 50%; |
47 | left: 16rpx; | 47 | left: 16rpx; |
48 | - transform: translateY(-40%); | 48 | + transform: translateY(-50%); |
49 | color: #aaa; | 49 | color: #aaa; |
50 | } | 50 | } |
51 | .input-container .icon-guanbi { | 51 | .input-container .icon-guanbi { |
52 | position: absolute; | 52 | position: absolute; |
53 | top: 50%; | 53 | top: 50%; |
54 | right: 16rpx; | 54 | right: 16rpx; |
55 | - transform: translateY(-40%); | 55 | + transform: translateY(-50%); |
56 | font-size: 28rpx; | 56 | font-size: 28rpx; |
57 | color: #aaa; | 57 | color: #aaa; |
58 | padding: 10rpx; | 58 | padding: 10rpx; |