improve: 优化展示

This commit is contained in:
From-wh 2023-02-18 09:57:58 +08:00
parent 4503c866b0
commit c3f5a39cb2
3 changed files with 6 additions and 8 deletions

View File

@ -50,7 +50,7 @@
@click="checkType(item)">
<view>{{item.title}}</view>
<view class="new">{{$t(`¥`)}}<text class="num">{{item.pre_price | moneyFormat}}</text></view>
<view v-if="item.type === 'free'" class="info">{{$t(`试用`)}}{{item.vip_day}}{{$t(`天.`)}}</view>
<view v-if="item.type === 'free'" class="info">{{$t(`试用`)}}{{item.vip_day}}{{$t(`天`)}}</view>
<view v-else class="old">{{$t(`¥`)}}{{item.price | moneyFormat}}</view>
</view>
</scroll-view>

View File

@ -757,10 +757,10 @@
summary: that.storeInfo.store_info,
imageUrl: that.storeInfo.small_image,
success: function(res) {
uni.showToast({
title: that.$t(`分享成功`),
icon: "success",
});
// uni.showToast({
// title: that.$t(`分享成功`),
// icon: "success",
// });
that.posters = false;
},
fail: function(err) {

View File

@ -59,12 +59,10 @@
<newGoods :dataConfig="goodList.cc" @click.native="bindEdit('goodList', 'cc')"></newGoods>
<!-- 精品推荐 -->
<!-- <mBanner :dataConfig="swiperBg.cc" @click.native="bindEdit('swiperBg','cc')"></mBanner> -->
<!-- <titles :dataConfig="titles.default" :sty="'off'" @click.native="bindEdit('titles','default')"></titles> -->
<!-- 商品轮播 -->
<!-- <customerService :dataConfig="customerService.default" @click.native="bindEdit('customerService','default')"></customerService> -->
<!-- 促销单品 -->
<!-- 精选单品 -->
<promotion :dataConfig="goodList.dd" @click.native="bindEdit('goodList', 'dd')"></promotion>
<!-- 商品分类 -->
<tabNav class="sticky-box" :style="'top:' + isTop + 'px;'" :dataConfig="tabNav.default"