瀏覽代碼

[爆款专区][修改]:[修改价格,多余为省略号]

tags/河北版C.8.1.01
meo 5 年之前
父節點
當前提交
7d9be8dfe5
共有 3 個檔案被更改,包括 9 行新增6 行删除
  1. +2
    -1
      components/hot/index.wxml
  2. +3
    -4
      components/hot/index.wxss
  3. +4
    -1
      pages/coupon/detail/index.wxss

+ 2
- 1
components/hot/index.wxml 查看文件

@@ -20,7 +20,8 @@
<view class='kjText'> <view class='kjText'>
<text class='title'>{{kData.title}}</text> <text class='title'>{{kData.title}}</text>
<text class='price'>¥{{kData.priceStr}}</text> <text class='price'>¥{{kData.priceStr}}</text>
<text class='sale'><text>¥</text>{{kData.salePriceStr}}</text>
<!-- <text class='sale'><text>¥</text>{{kData.salePriceStr}}</text> -->
<text class='sale'><text>¥</text>999999.585</text>
<view class=' btn btnk'>砍价</view> <view class=' btn btnk'>砍价</view>
</view> </view>
</view> </view>


+ 3
- 4
components/hot/index.wxss 查看文件

@@ -120,14 +120,13 @@
float: left; float: left;
} }
.sale{ .sale{
width: 140rpx;
font-size: 32rpx; font-size: 32rpx;
float: left; float: left;
margin-top: -8rpx; margin-top: -8rpx;
width: 128rpx;
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden; overflow: hidden;
text-overflow:ellipsis;
white-space:nowrap;

} }
.sale text{ .sale text{
font-size: 20rpx!important; font-size: 20rpx!important;


+ 4
- 1
pages/coupon/detail/index.wxss 查看文件

@@ -228,7 +228,7 @@ button::after {
position: relative; position: relative;
width: 100%; width: 100%;
background: #FFF; background: #FFF;
margin: 18rpx 0 18rpx;
margin: 18rpx 0 0;
} }


/* .posi>view:nth-child(2) text:nth-child(1) { /* .posi>view:nth-child(2) text:nth-child(1) {
@@ -308,6 +308,7 @@ button::after {
.notes { .notes {
width:100%; width:100%;
background: #FFF; background: #FFF;
padding-bottom: 30rpx;
} }
.active { .active {
opacity: 0.6; opacity: 0.6;
@@ -729,6 +730,8 @@ button::after {
line-height: 70rpx; line-height: 70rpx;
color: #999; color: #999;
font-size: 32rpx; font-size: 32rpx;
background: #fff;
margin-top: 30rpx;
} }


.presslimit { .presslimit {


Loading…
取消
儲存