|
@@ -11,17 +11,17 @@
|
|
|
</swiper>
|
|
|
<!-- 商品标题 分享按钮 -->
|
|
|
<view class="grace-product-padding grace-space-between grace-flex-vcenter">
|
|
|
- <text class="grace-product-title grace-bold">{{product.name}}</text>
|
|
|
+ <text class="grace-product-title grace-bold">{{item.goods.name}}</text>
|
|
|
</view>
|
|
|
<!-- 价格 -->
|
|
|
<view class="grace-product-padding">
|
|
|
<view class="grace-nowrap grace-flex-vcenter">
|
|
|
- <text class="grace-product-price">¥{{product.price}}</text>
|
|
|
- <text class="grace-text grace-gray grace-line-through" style="margin-left:30rpx;">¥{{product.priceMarket}}</text>
|
|
|
+ <text class="grace-product-price">¥{{item.goods.price.min.price}}</text>
|
|
|
+ <text class="grace-text grace-gray grace-line-through" style="margin-left:30rpx;">¥{{item.goods.price.min.s_price}}</text>
|
|
|
</view>
|
|
|
<view class="grace-space-between grace-flex-vcenter">
|
|
|
- <text class="grace-text-small grace-gray">运费 ¥0.00</text>
|
|
|
- <text class="grace-text-small grace-gray">已售 21008 件</text>
|
|
|
+ <text class="grace-text-small grace-gray">运费 ¥{{item.goods.freight.price}}</text>
|
|
|
+ <text class="grace-text-small grace-gray">已售 {{item.goods.sell_num}} 件</text>
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class="grace-common-line"></view>
|
|
@@ -34,7 +34,7 @@
|
|
|
</view>
|
|
|
<!-- 详情 请根据项目情况自行改进 可以使用 富文本-->
|
|
|
<view class="grace-product-padding" :hidden="active == 1">
|
|
|
- <image class="grace-product-info-img" :src="item" mode="widthFix" v-for="(item,index) in product.imgs" :key="index"></image>
|
|
|
+ <dever-content :item="item.goods.content_array" :pics="item.goods.content_pic" :skeleton="false"></dever-content>
|
|
|
</view>
|
|
|
<!-- 评论区 -->
|
|
|
<view class="grace-comments grace-product-padding" :hidden="active == 0">
|
|
@@ -108,6 +108,7 @@
|
|
|
</template>
|
|
|
|
|
|
<script>
|
|
|
+import deverContent from '@/lib/dever/components/content.vue';
|
|
|
import gracePage from "@/lib/graceUI/components/gracePage.vue";
|
|
|
import graceNavBar from "@/lib/graceUI/components/graceNavBar.vue";
|
|
|
import graceBottomDialog from '@/lib/graceUI/components/graceBottomDialog.vue';
|
|
@@ -235,7 +236,7 @@ export default {
|
|
|
});
|
|
|
}
|
|
|
},
|
|
|
- components:{gracePage, graceNavBar, graceBottomDialog, graceSelectTags, graceNumberBox}
|
|
|
+ components:{deverContent, gracePage, graceNavBar, graceBottomDialog, graceSelectTags, graceNumberBox}
|
|
|
}
|
|
|
</script>
|
|
|
|