1
0
Code Issues Pull Requests Packages Projects Releases Wiki Activity GitHub Gitee

bugfix 小程序 商品列表页面划线价零售价写反了

This commit is contained in:
程序员小墨 2023-04-18 23:03:52 +08:00
parent e0d1406ecd
commit 68217b81dc
4 changed files with 538 additions and 528 deletions

File diff suppressed because it is too large Load Diff

View File

@ -7,16 +7,16 @@
<view class="good-card-info"> <view class="good-card-info">
<!-- <text class="good-title line-wrap">{{ goodinfo.goodsName }}</text> --> <!-- <text class="good-title line-wrap">{{ goodinfo.goodsName }}</text> -->
<text class="good-title line-wrap">{{ goodinfo.brief }}</text> <text class="good-title line-wrap">{{ goodinfo.brief }}</text>
<view class="good-price good-price-counter">
<!-- 原价 -->
<view class="good-price-symbol">¥</view>
<view class="good-price-number">{{ goodinfo.counterPrice }}</view>
</view>
<view class="good-price good-price-retail"> <view class="good-price good-price-retail">
<!-- 售价 --> <!-- 售价 -->
<view style="height:0.12em;" class="good-price-line"></view>
<view class="good-price-symbol">¥</view> <view class="good-price-symbol">¥</view>
<view class="good-price-number">{{ goodinfo.retailPrice }}</view> <view class="good-price-number">{{ goodinfo.retailPrice }}</view>
</view> </view>
<view class="good-price good-price-counter">
<!-- 原价 -->
<view style="height:0.12em;" class="good-price-line"></view>
<view class="good-price-symbol">¥</view>
<view class="good-price-number">{{ goodinfo.counterPrice }}</view>
</view>
</view> </view>
</view> </view>

View File

@ -52,12 +52,12 @@
position: relative; position: relative;
} }
.good-price-counter { .good-price-retail {
color: #fa4126; color: #fa4126;
font-size: 36rpx; font-size: 36rpx;
} }
.good-price-retail { .good-price-counter {
color: #bbbbbb; color: #bbbbbb;
font-size: 24rpx; font-size: 24rpx;
margin: 0 0 0 8rpx; margin: 0 0 0 8rpx;

View File

@ -3,7 +3,7 @@
"projectname": "weixin-miniprogram", "projectname": "weixin-miniprogram",
"setting": { "setting": {
"compileHotReLoad": true, "compileHotReLoad": true,
"urlCheck": false, "urlCheck": true,
"bigPackageSizeSupport": true "bigPackageSizeSupport": true
} }
} }