Browse Source

[券列表][修改][数据过长展示样式]

tags/河北版C.8.1.01
hurui 5 years ago
parent
commit
0c1fb9e382
4 changed files with 17 additions and 17 deletions
  1. +8
    -3
      components/coupons/index.wxss
  2. +0
    -2
      pages/index/searchbar/detail/index.wxss
  3. +3
    -3
      pages/spellGroup/spellGroup.wxml
  4. +6
    -9
      pages/spellGroup/spellGroup.wxss

+ 8
- 3
components/coupons/index.wxss View File

@@ -59,13 +59,18 @@
} }


.price { .price {
font-size: 40rpx;
font-size: 36rpx;
font-family: PingFang-SC-Bold; font-family: PingFang-SC-Bold;
font-weight: bold; font-weight: bold;
line-height: 44rpx; line-height: 44rpx;
margin-left: 16rpx; margin-left: 16rpx;
padding-top: 16rpx; padding-top: 16rpx;
color: #FD832D; color: #FD832D;
width: 60%;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;

} }
.rmb{ .rmb{
font-size: 24rpx!important; font-size: 24rpx!important;
@@ -80,7 +85,7 @@
white-space: nowrap; white-space: nowrap;
text-overflow: ellipsis; text-overflow: ellipsis;
font-size: 28rpx; font-size: 28rpx;
line-height: 30rpx;
line-height: 32rpx;
padding-top: 20rpx; padding-top: 20rpx;
padding-left: 10rpx; padding-left: 10rpx;
color: #333; color: #333;
@@ -114,7 +119,7 @@


.coupons-btn { .coupons-btn {
position: absolute; position: absolute;
bottom: 16rpx;
bottom: 14rpx;
right: 24rpx; right: 24rpx;
} }




+ 0
- 2
pages/index/searchbar/detail/index.wxss View File

@@ -343,10 +343,8 @@ page{
margin: 30rpx auto 0; margin: 30rpx auto 0;
} }
.swiperactive text{ .swiperactive text{
/* margin: 30rpx auto 0; */
display:left; display:left;
text-align:center; text-align:center;
color: #999;
} }
.modal { .modal {
width: 100%; width: 100%;


+ 3
- 3
pages/spellGroup/spellGroup.wxml View File

@@ -28,10 +28,10 @@
</view> </view>
<view class='price'> <view class='price'>
<view class='price01'> <view class='price01'>
<view class='price-unit'>¥</view>
<view class='price-numHr'>{{item.salePriceStr}}</view>
<text class='price-unit'>¥</text>
<text class='price-numHr'>{{item.salePriceStr}}232322323</text>
<text class='price02'>¥{{item.priceStr}}232322323</text>
</view> </view>
<view class='price02'>¥{{item.priceStr}}</view>
<view class='right-button'>去拼团</view> <view class='right-button'>去拼团</view>
</view> </view>
</view> </view>


+ 6
- 9
pages/spellGroup/spellGroup.wxss View File

@@ -139,17 +139,20 @@ image{
text-align: center; text-align: center;
} }
.content .price{ .content .price{
overflow: hidden;
/* margin-top: 10rpx; */
margin-bottom: 20rpx; margin-bottom: 20rpx;
display: flex;
justify-content: space-between;
} }
.content .price01{ .content .price01{
display: inline;
font-size:50rpx; font-size:50rpx;
font-family:PingFang-SC-Medium; font-family:PingFang-SC-Medium;
font-weight:500; font-weight:500;
color:#FD782D; color:#FD782D;
line-height:44rpx; line-height:44rpx;
width: 50%;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
} }
.content .price02{ .content .price02{
display: inline-block; display: inline-block;
@@ -174,16 +177,11 @@ image{
line-height: 30rpx; line-height: 30rpx;
} }
.content .price-numHr{ .content .price-numHr{
display: inline-block;
font-size: 40rpx; font-size: 40rpx;
overflow:hidden;
text-overflow:ellipsis;
white-space:nowrap;
line-height: 32rpx; line-height: 32rpx;
} }


.content .price-unit{ .content .price-unit{
display: inline;
font-size:24rpx; font-size:24rpx;
} }
.right-button{ .right-button{
@@ -197,7 +195,6 @@ image{
text-align: center; text-align: center;
color:rgba(255,255,255,1); color:rgba(255,255,255,1);
line-height:50rpx; line-height:50rpx;
float: right;
} }
.right-text{ .right-text{
font-size:22rpx; font-size:22rpx;


Loading…
Cancel
Save