Browse Source

修改详情

master
453530270@qq.com 2 years ago
parent
commit
b04339a785
  1. 1
      pages/goods/detail.scss
  2. 20
      pages/goods/detail.vue

1
pages/goods/detail.scss

@ -3,6 +3,7 @@
// 110 - 18 + 4
padding-bottom: calc(constant(safe-area-inset-bottom) + 106rpx + 6rpx);
padding-bottom: calc(env(safe-area-inset-bottom) + 106rpx + 6rpx);
min-height: 100vh;
}
// 商品信息

20
pages/goods/detail.vue

@ -21,7 +21,7 @@
<view class="block-right dis-flex">
<!-- 销量 -->
<view class="goods-sales">
<text>已售{{ goods.goods_sales }}</text>
<text>销量{{ goods.goods_sales }}</text>
</view>
</view>
</view>
@ -30,20 +30,8 @@
<view class="goods-name flex-box">
<text class="twoline-hide">{{ goods.goods_name }}</text>
</view>
<!-- #ifdef MP-WEIXIN -->
<view class="goods-share__line"></view>
<view class="goods-share">
<button class="share-btn dis-flex flex-dir-column" open-type="share">
<text class="share__icon iconfont icon-fenxiang"></text>
<text class="f-24">分享</text>
</button>
</view>
<!-- #endif -->
</view>
<!-- 商品卖点 -->
<view v-if="goods.selling_point" class="info-item info-item_selling-point">
<text>{{ goods.selling_point }}</text>
</view>
</view>
<!-- 选择商品规格 -->
@ -230,10 +218,6 @@
<style>
page {
background: #fafafa;
}
.container{
min-height: 100vh;
}
</style>
<style lang="scss" scoped>

Loading…
Cancel
Save