Commit 096e49952c1438b253b7ccadd492d22a8a318aca
1 parent
52be705b
商品分享改版
Showing
2 changed files
with
18 additions
and
4 deletions
pages/goods/categoryList/categoryList.wxml
| ... | ... | @@ -10,7 +10,11 @@ |
| 10 | 10 | </view> |
| 11 | 11 | </view> |
| 12 | 12 | |
| 13 | -<view class="search-box" bindtap="goseach"> | |
| 13 | +<view class="search-box flex-center" bindtap="goseach"> | |
| 14 | + <view class="share-height t-c"> | |
| 15 | + <image class="share-black-img"src="../../../images/share_black.png"></image> | |
| 16 | + <view class="fs24">分享</view> | |
| 17 | + </view> | |
| 14 | 18 | <view class="search-inner"> |
| 15 | 19 | <view class="search-img"> |
| 16 | 20 | <image class="wh100" src="{{iurl}}/miniapp/images/search.png"></image> | ... | ... |
pages/goods/categoryList/categoryList.wxss
| ... | ... | @@ -46,12 +46,12 @@ swiper{ |
| 46 | 46 | display: flex; |
| 47 | 47 | align-items: center; |
| 48 | 48 | margin: 0rpx 30rpx; |
| 49 | - width: 675rpx; | |
| 49 | + width: 600rpx; | |
| 50 | 50 | height: 58rpx; |
| 51 | 51 | border-radius: 29rpx; |
| 52 | 52 | background-color: #fff; |
| 53 | 53 | position: relative; |
| 54 | - top:15rpx; | |
| 54 | + | |
| 55 | 55 | } |
| 56 | 56 | |
| 57 | 57 | .search-img { |
| ... | ... | @@ -151,4 +151,14 @@ swiper{ |
| 151 | 151 | .user-name { |
| 152 | 152 | padding-left: 30rpx; |
| 153 | 153 | } |
| 154 | -.fenlei-list{z-index: -1;} | |
| 155 | 154 | \ No newline at end of file |
| 155 | +.fenlei-list{z-index: -1;} | |
| 156 | + | |
| 157 | +/* 分享样式*/ | |
| 158 | +.share-height{ | |
| 159 | + line-height: 30rpx; | |
| 160 | + | |
| 161 | +} | |
| 162 | +.share-black-img{ | |
| 163 | + width:50rpx; | |
| 164 | + height: 40rpx; | |
| 165 | +} | |
| 156 | 166 | \ No newline at end of file | ... | ... |