Commit 32eb8d8290fdaabf5ed16359992f3fc0d6309516

Authored by taiyuan
1 parent 70b5e9d5

搜索框组件修改

components/diy_searchbox/diy_searchbox.wxml
... ... @@ -20,7 +20,7 @@
20 20 <view class="item">2121</view>
21 21 <view class="item">2121</view>
22 22 <view class="item">2121</view>
23   - <view class="clear">清除</view>
  23 + <view class="clear">清除搜索历史</view>
24 24 </view>
25 25 </view>
26 26  
... ... @@ -52,7 +52,7 @@
52 52 <view class="item">2121</view>
53 53 <view class="item">2121</view>
54 54 <view class="item">2121</view>
55   - <view class="clear">清除</view>
  55 + <view class="clear">清除搜索历史</view>
56 56 </view>
57 57 <!-- wx:if="{{inputShowed}}" -->
58 58  
... ...
components/diy_searchbox/diy_searchbox.wxss
... ... @@ -113,12 +113,13 @@
113 113 .his_str {
114 114 position: absolute;
115 115 width: 600rpx;
116   - top: 76rpx;
  116 + top: 74rpx;
117 117 z-index: 999;
118 118 color: black;
119 119 background-color: white;
120 120 border: 2rpx solid #f0f0f0;
121 121 box-sizing: border-box;
  122 + border-radius: 0 0 12rpx 12rpx;
122 123 }
123 124  
124 125 .his_str.his_str1 {
... ... @@ -139,8 +140,8 @@
139 140  
140 141 .item {
141 142 padding: 0 20rpx;
142   - border-bottom: 2rpx solid #f0f0f0;
143   - line-height: 60rpx;
  143 + /* border-bottom: 2rpx solid #f0f0f0; */
  144 + line-height: 70rpx;
144 145 }
145 146 /* .item ~ .item {
146 147 border-top: 2rpx solid #f0f0f0;
... ... @@ -149,7 +150,9 @@
149 150 .clear {
150 151 text-align: right;
151 152 padding: 0 20rpx;
152   - line-height: 60rpx;
  153 + line-height: 70rpx;
  154 + color: #FF5B5A;
  155 + font-size: 26rpx;
153 156 }
154 157  
155 158 /* .w100 {
... ...