Commit abff86b81fcbac9cdc29fb8ddb4265f973a98347
1 parent
3aee4dd6
修改评价和商品详情
Showing
4 changed files
with
10 additions
and
8 deletions
components/goods_list/goods_list.wxml
@@ -23,7 +23,7 @@ | @@ -23,7 +23,7 @@ | ||
23 | <view class="flex xc-wc"> | 23 | <view class="flex xc-wc"> |
24 | <view class="fs24">¥</view> | 24 | <view class="fs24">¥</view> |
25 | <view class="fs35">{{filter.toFix(item[card_field],2)}}</view> | 25 | <view class="fs35">{{filter.toFix(item[card_field],2)}}</view> |
26 | - <view class="card_bg"><image src="{{url}}/miniapp/images/plus/dj_icon.png"></image>{{card_name}}</view> | 26 | + <view class="card_bg"><image src="{{url}}/miniapp/images/plus/dj_icon.png"></image><text>{{card_name}}</text></view> |
27 | </view> | 27 | </view> |
28 | </view> | 28 | </view> |
29 | <view class="flex" style="line-height: 28rpx;" > | 29 | <view class="flex" style="line-height: 28rpx;" > |
components/goods_list/goods_list.wxss
@@ -151,6 +151,6 @@ color: #b9b9b9; | @@ -151,6 +151,6 @@ color: #b9b9b9; | ||
151 | } | 151 | } |
152 | 152 | ||
153 | .line_th{ text-decoration: line-through} | 153 | .line_th{ text-decoration: line-through} |
154 | -.card_bg {display: flex; width: 108rpx;height: 28rpx; align-items: center; border-radius: 26rpx; font-size: 19rpx; | 154 | +.card_bg {display: flex; padding: 0rpx 10rpx;height: 28rpx; align-items: center; border-radius: 26rpx; font-size: 19rpx;line-height: 28rpx; |
155 | background: #333; color: #fff; justify-content: center; margin-left: 2rpx;} | 155 | background: #333; color: #fff; justify-content: center; margin-left: 2rpx;} |
156 | .card_bg image{ width: 19rpx; height: 19rpx; margin-right: 1rpx;} | 156 | .card_bg image{ width: 19rpx; height: 19rpx; margin-right: 1rpx;} |
157 | \ No newline at end of file | 157 | \ No newline at end of file |
pages/goods/goodsInfo/goodsInfo.wxml
@@ -420,7 +420,7 @@ | @@ -420,7 +420,7 @@ | ||
420 | <image class="xc_comment-img" src="{{iurl}}/miniapp/images/star-red.png" wx:for="{{item.sum_rank}}" wx:key="{{index}}"></image> | 420 | <image class="xc_comment-img" src="{{iurl}}/miniapp/images/star-red.png" wx:for="{{item.sum_rank}}" wx:key="{{index}}"></image> |
421 | </view> | 421 | </view> |
422 | </view> | 422 | </view> |
423 | - <view class="xc_comment-font fs22 ellipsis-3"> | 423 | + <view class="xc_comment-font fs22 ellipsis-2"> |
424 | {{item.content?item.content:''}} | 424 | {{item.content?item.content:''}} |
425 | </view> | 425 | </view> |
426 | <view class="xc_comment-val"> | 426 | <view class="xc_comment-val"> |
pages/goods/goodsInfo/goodsInfo.wxss
@@ -1197,7 +1197,7 @@ left:31rpx;} | @@ -1197,7 +1197,7 @@ left:31rpx;} | ||
1197 | margin-right: 5rpx | 1197 | margin-right: 5rpx |
1198 | } | 1198 | } |
1199 | .xc_comment-font{ | 1199 | .xc_comment-font{ |
1200 | - height: 85rpx; | 1200 | + height: 65rpx; |
1201 | margin-left: 22rpx; | 1201 | margin-left: 22rpx; |
1202 | white-space:normal; | 1202 | white-space:normal; |
1203 | overflow: hidden; | 1203 | overflow: hidden; |
@@ -2222,8 +2222,10 @@ right:17rpx; top:55rpx; | @@ -2222,8 +2222,10 @@ right:17rpx; top:55rpx; | ||
2222 | .s_ms_bth{margin-top: 85rpx} | 2222 | .s_ms_bth{margin-top: 85rpx} |
2223 | 2223 | ||
2224 | .xc-pirces{ | 2224 | .xc-pirces{ |
2225 | - height:40rpx; | ||
2226 | - line-height:15rpx; | 2225 | + |
2226 | + line-height:25rpx; | ||
2227 | +margin-top: -13rpx; | ||
2228 | + | ||
2227 | } | 2229 | } |
2228 | 2230 | ||
2229 | .no_pj_list{text-align: center; width: 100%; color: #999; margin-top: 30rpx; display: inline-block; font-size: 28rpx} | 2231 | .no_pj_list{text-align: center; width: 100%; color: #999; margin-top: 30rpx; display: inline-block; font-size: 28rpx} |
@@ -2266,14 +2268,14 @@ right:17rpx; top:55rpx; | @@ -2266,14 +2268,14 @@ right:17rpx; top:55rpx; | ||
2266 | border-radius: 0rpx 20rpx 20rpx 0rpx; | 2268 | border-radius: 0rpx 20rpx 20rpx 0rpx; |
2267 | } | 2269 | } |
2268 | .grade-card-frame{ | 2270 | .grade-card-frame{ |
2269 | - width: 26%; | 2271 | + |
2270 | height:45rpx ; | 2272 | height:45rpx ; |
2271 | background: #3c300a; | 2273 | background: #3c300a; |
2272 | border-radius: 20rpx; | 2274 | border-radius: 20rpx; |
2273 | margin-top: 10px; | 2275 | margin-top: 10px; |
2274 | margin-left: 7rpx; | 2276 | margin-left: 7rpx; |
2275 | justify-content: center; | 2277 | justify-content: center; |
2276 | - padding: 0 10rpx; | 2278 | + padding: 0 15rpx; |
2277 | } | 2279 | } |
2278 | .grade-card-frame .img{ | 2280 | .grade-card-frame .img{ |
2279 | width: 24rpx; | 2281 | width: 24rpx; |