|
|
|
@ -2,7 +2,7 @@
|
|
|
|
|
* @Author: ch
|
|
|
|
|
* @Date: 2022-03-23 17:27:21
|
|
|
|
|
* @LastEditors: ch
|
|
|
|
|
* @LastEditTime: 2022-04-29 15:48:48
|
|
|
|
|
* @LastEditTime: 2022-04-29 17:01:20
|
|
|
|
|
* @Description: file content
|
|
|
|
|
-->
|
|
|
|
|
<template>
|
|
|
|
@ -24,7 +24,7 @@
|
|
|
|
|
</view>
|
|
|
|
|
<view class="select">
|
|
|
|
|
<Service></Service>
|
|
|
|
|
<u-cell label="选择" :value="curSku.name || '请选择规格'" :border="false" isLink @click="onShowSkuPopup(1)"></u-cell>
|
|
|
|
|
<u-cell v-if="stock > 0" label="选择" :value="curSku.name || '请选择规格'" :border="false" isLink @click="onShowSkuPopup(1)"></u-cell>
|
|
|
|
|
<SkuPopup v-model="curSku" :visible.sync="showSkuPopup" :mode="skuMode"
|
|
|
|
|
:goodsInfo="goods" :skuInfo="skuInfoData" :activityStatus="activityStatus">
|
|
|
|
|
</SkuPopup>
|
|
|
|
@ -32,6 +32,7 @@
|
|
|
|
|
<view class="goods-desc">
|
|
|
|
|
<mp-html :content="goods.detail"/>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="footer--not-stock" v-if="stock == 0">商品无库存啦~看看其他的吧</view>
|
|
|
|
|
<view class="footer">
|
|
|
|
|
<view class="footer--left">
|
|
|
|
|
<view class="icon service">客服</view>
|
|
|
|
@ -212,6 +213,16 @@ page{
|
|
|
|
|
border-top-right-radius: 24rpx;
|
|
|
|
|
background: $color-grey0;
|
|
|
|
|
box-shadow: 0 8rpx 80rpx 1px rgba(0, 0, 0, 0.1);
|
|
|
|
|
&--not-stock{
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 80rpx;
|
|
|
|
|
line-height: 80rpx;
|
|
|
|
|
background: rgba($color: #2E354E, $alpha: .5);
|
|
|
|
|
color: $color-grey0;
|
|
|
|
|
text-align: center;
|
|
|
|
|
position: fixed;
|
|
|
|
|
bottom: 206rpx;
|
|
|
|
|
}
|
|
|
|
|
&--left{
|
|
|
|
|
display: flex;
|
|
|
|
|
}
|
|
|
|
|