Commit 7dd3bae3dbf1ae9952d02fbd80af525ebbf5dc8e

Authored by yvan.ni
1 parent 487c480c

顶部样式的优化

components/diy_top_nav/diy_top_nav.wxml
... ... @@ -53,8 +53,8 @@
53 53 </view>
54 54 </view>
55 55 </view>
56   - <view wx:if="{{!istop}}" catchtap="nav_search" class="navl_minddle" style="margin: 0 {{navleft_pb}}px;">
57   - <icon type="search" size="28rpx" color="#898989" class="nav_search"/>
  56 + <view wx:if="{{!istop}}" catchtap="nav_search" class="navl_minddle ellipsis-1" style="margin: 0 {{navleft_pb}}px;display: block">
  57 + <icon type="search" size="28rpx" color="#898989" class="sear_fangda" />
58 58 <text>搜索更多商品</text>
59 59 </view>
60 60 <view wx:else ></view>
... ...
components/diy_top_nav/diy_top_nav.wxss
... ... @@ -128,4 +128,8 @@
128 128  
129 129 .tb_con{
130 130 position: absolute; bottom: 0; right: 24rpx; font-size: 18rpx;color: #333;
  131 +}
  132 +
  133 +.sear_fangda{
  134 + vertical-align: middle; margin-left:20rpx; margin-right:8rpx;position:relative; top: 10rpx;
131 135 }
132 136 \ No newline at end of file
... ...