Fix(商品详情):需要根据不同模块来源显示商品不同信息
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
|
||||
<view class="wrapper">
|
||||
<!-- 原模块 -->
|
||||
<view class="change-section bg-white" v-if="source==='' || source==='famous' ">
|
||||
<view class="change-section bg-white" v-if="source !== 'pre' && source !== 'day' && source !== 'kill' && source !== 'spe'">
|
||||
<view class="introduce bold">{{ storeInfo.storeName }}</view>
|
||||
<rich-text class="subInfo" :nodes="storeInfo.storeInfo" v-if="storeInfo.storeInfo"/>
|
||||
<view class="share acea-row row-between row-middle" style="flex-wrap: nowrap;">
|
||||
@@ -883,7 +883,7 @@ export default {
|
||||
this.posterImageStatus = !this.posterImageStatus;
|
||||
this.posters = false;
|
||||
},
|
||||
//产品详情接口;
|
||||
// 产品详情接口
|
||||
productCon: function () {
|
||||
const from = this.location
|
||||
if (this.$deviceType == 'app') {
|
||||
@@ -901,7 +901,7 @@ export default {
|
||||
this.$set(this, 'storeInfo', data.storeInfo)
|
||||
this.isWenwan = data.isWenwan
|
||||
// 给 attr 赋值,将请求回来的规格赋值给 attr
|
||||
if (this.source === '' || this.source === 'famous') {
|
||||
if (this.source !== 'pre' && this.source !== 'day' && this.source !== 'kill' && this.source !== 'spe') {
|
||||
this.$set(this.attr, 'productAttr', data.productAttr)
|
||||
this.productValueArr = []
|
||||
for (const key in data.productValue) {
|
||||
|
||||
Reference in New Issue
Block a user