Commit fbedea5ce8f4a21cdc790dc0e6f9c06427a6dd1a
1 parent
8b675721
样式页面修改
Showing
4 changed files
with
14 additions
and
9 deletions
components/goods_list/goods_list.wxss
@@ -37,8 +37,9 @@ color: #b9b9b9; | @@ -37,8 +37,9 @@ color: #b9b9b9; | ||
37 | -webkit-line-clamp: 2; | 37 | -webkit-line-clamp: 2; |
38 | } | 38 | } |
39 | .goods_name{ | 39 | .goods_name{ |
40 | - height: 70rpx; | 40 | + height: 62rpx; |
41 | margin-top: 6rpx; | 41 | margin-top: 6rpx; |
42 | + line-height: 30rpx | ||
42 | } | 43 | } |
43 | .hang { | 44 | .hang { |
44 | width: 100%; | 45 | width: 100%; |
pages/activity/pind_list/pind_list.wxml
@@ -44,7 +44,7 @@ | @@ -44,7 +44,7 @@ | ||
44 | <view class="goods-num"style="margin-top:{{type==0?'70rpx':'40rpx'}}"> | 44 | <view class="goods-num"style="margin-top:{{type==0?'70rpx':'40rpx'}}"> |
45 | <view> | 45 | <view> |
46 | 46 | ||
47 | - <view class="fs40 flex xc-top15 {{type==1?'red-co ai-bas':'blue_c'}}"> | 47 | + <view class="fs40 flex xc-top15 {{type==1?'red-co ai-bas':'blue_c xc-lihe42 ai-bas'}}"> |
48 | <text class="fs28 {{type==0?'martop13':''}}">¥</text> | 48 | <text class="fs28 {{type==0?'martop13':''}}">¥</text> |
49 | <text style="margin-left:-5rpx">{{item.price}}</text> | 49 | <text style="margin-left:-5rpx">{{item.price}}</text> |
50 | <span class="underline {{type==0?'martop18':''}}">零售价¥{{item.market_price}}</span> | 50 | <span class="underline {{type==0?'martop18':''}}">零售价¥{{item.market_price}}</span> |
pages/activity/pind_list/pind_list.wxss
@@ -78,13 +78,13 @@ page{ | @@ -78,13 +78,13 @@ page{ | ||
78 | } | 78 | } |
79 | 79 | ||
80 | .goods-num { | 80 | .goods-num { |
81 | - height: 50rpx; | 81 | + height: 60rpx; |
82 | display: flex; | 82 | display: flex; |
83 | justify-content: space-between; | 83 | justify-content: space-between; |
84 | -margin-top: 10rpx; | 84 | + margin-top: 10rpx; |
85 | font-size: 24rpx; | 85 | font-size: 24rpx; |
86 | color: #999; | 86 | color: #999; |
87 | - | 87 | + align-items: center; |
88 | } | 88 | } |
89 | 89 | ||
90 | .goods-num .co-red { | 90 | .goods-num .co-red { |
@@ -176,7 +176,7 @@ width:33rpx;height:28rpx;border-radius: 8rpx;margin-left: -2rpx; | @@ -176,7 +176,7 @@ width:33rpx;height:28rpx;border-radius: 8rpx;margin-left: -2rpx; | ||
176 | } | 176 | } |
177 | .xc-top15{ | 177 | .xc-top15{ |
178 | padding-top: 15rpx; | 178 | padding-top: 15rpx; |
179 | - margin-top: 4rpx; | 179 | + margin-top: 6rpx; |
180 | } | 180 | } |
181 | .people-img{ | 181 | .people-img{ |
182 | width:20rpx;height:20rpx | 182 | width:20rpx;height:20rpx |
@@ -185,10 +185,14 @@ width:33rpx;height:28rpx;border-radius: 8rpx;margin-left: -2rpx; | @@ -185,10 +185,14 @@ width:33rpx;height:28rpx;border-radius: 8rpx;margin-left: -2rpx; | ||
185 | margin-left: 10rpx; | 185 | margin-left: 10rpx; |
186 | } | 186 | } |
187 | .martop13{ | 187 | .martop13{ |
188 | -margin-top: 13rpx; | 188 | +margin-top:4rpx; |
189 | 189 | ||
190 | } | 190 | } |
191 | .martop18{ | 191 | .martop18{ |
192 | -margin-top: 18rpx; | 192 | +margin-top: 8rpx; |
193 | 193 | ||
194 | +} | ||
195 | +.xc-lihe42{ | ||
196 | + height: 60rpx; | ||
197 | + | ||
194 | } | 198 | } |
195 | \ No newline at end of file | 199 | \ No newline at end of file |
pages/index/index/index.wxss
@@ -499,7 +499,7 @@ margin-top: 10rpx; | @@ -499,7 +499,7 @@ margin-top: 10rpx; | ||
499 | } | 499 | } |
500 | .xc-top15{ | 500 | .xc-top15{ |
501 | padding-top: 15rpx; | 501 | padding-top: 15rpx; |
502 | - margin-top: 43rpx; | 502 | + margin-top: 25rpx; |
503 | } | 503 | } |
504 | .underline { | 504 | .underline { |
505 | text-decoration: line-through; color:#999999; font-size: 20rpx; margin-left: 5rpx;margin-top: 5rpx; | 505 | text-decoration: line-through; color:#999999; font-size: 20rpx; margin-left: 5rpx;margin-top: 5rpx; |