添加了划线价
This commit is contained in:
@@ -61,9 +61,10 @@ export default {
|
||||
margin-top: 10rpx;
|
||||
}
|
||||
.price{
|
||||
// display: flex;
|
||||
display: flex;
|
||||
// align-items: center;
|
||||
// justify-content: space-between;
|
||||
align-content: flex-end;
|
||||
justify-content: space-between;
|
||||
margin-top: 10rpx;
|
||||
> view:first-child{
|
||||
font-size: 26rpx;
|
||||
@@ -72,6 +73,7 @@ export default {
|
||||
}
|
||||
> view:last-child{
|
||||
font-size: 22rpx;
|
||||
height: 22rpx;
|
||||
color: #FDD360;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -72,6 +72,7 @@ export default {
|
||||
},
|
||||
getGoodsClassRecommend() {
|
||||
this.$u.api.getGoodsClassRecommend().then(res => {
|
||||
console.log(res)
|
||||
if (res.errCode == 0) {
|
||||
// 初始化 current
|
||||
this.current = 0;
|
||||
@@ -84,6 +85,8 @@ export default {
|
||||
page: page,
|
||||
gc_id: gc_id,
|
||||
})
|
||||
console.log(res)
|
||||
|
||||
// this.swiperCurrent = this.current;
|
||||
if (res.errCode == 0) {
|
||||
this.timer = true;
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
<view class="info">
|
||||
<text class="title u-line-2">{{ info.goods_name }}</text>
|
||||
<!-- <text class="jianjie u-line-1">{{ info.goods_advword }}</text> -->
|
||||
<text class="price">¥{{ info.goods_price }}</text>
|
||||
<text class="price">¥{{ info.goods_price }}<text style="font-size:22rpx;color:#999;text-decoration:line-through;display: inline-block;margin-left:20rpx"> ¥{{info.goods_marketprice}}</text></text>
|
||||
</view>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
Reference in New Issue
Block a user