|
|
@ -41,11 +41,12 @@ |
|
|
|
<view class="iconfont icon-jiantou"></view> |
|
|
|
<view class="iconfont icon-jiantou"></view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<div class="attribute acea-row row-between-wrapper"> |
|
|
|
<div class="attribute acea-row row-between-wrapper"> |
|
|
|
<div> |
|
|
|
<div> |
|
|
|
运费:<span class="atterTxt">{{ tempName }}</span> |
|
|
|
运费: |
|
|
|
|
|
|
|
<span class="atterTxt">{{ tempName }}</span> |
|
|
|
|
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<view class="attribute acea-row row-between-wrapper" @click="selecAttrTap"> |
|
|
|
<view class="attribute acea-row row-between-wrapper" @click="selecAttrTap"> |
|
|
|
<view> |
|
|
|
<view> |
|
|
@ -274,8 +275,7 @@ export default { |
|
|
|
systemStore: {}, |
|
|
|
systemStore: {}, |
|
|
|
qqmapsdk: null, |
|
|
|
qqmapsdk: null, |
|
|
|
productConClass: "product-con", |
|
|
|
productConClass: "product-con", |
|
|
|
tempName: '全国包邮' |
|
|
|
tempName: "全国包邮" |
|
|
|
|
|
|
|
|
|
|
|
}; |
|
|
|
}; |
|
|
|
}, |
|
|
|
}, |
|
|
|
computed: mapGetters(["isLogin", "location"]), |
|
|
|
computed: mapGetters(["isLogin", "location"]), |
|
|
@ -354,7 +354,12 @@ export default { |
|
|
|
uni.showLoading({ title: "加载中", mask: true }); |
|
|
|
uni.showLoading({ title: "加载中", mask: true }); |
|
|
|
getProductDetail(that.id, from) |
|
|
|
getProductDetail(that.id, from) |
|
|
|
.then(res => { |
|
|
|
.then(res => { |
|
|
|
|
|
|
|
res.data.storeInfo.description.replace( |
|
|
|
|
|
|
|
/\<img/gi, |
|
|
|
|
|
|
|
'<img style="max-width:100%;height:auto;"' |
|
|
|
|
|
|
|
); |
|
|
|
console.log(res); |
|
|
|
console.log(res); |
|
|
|
|
|
|
|
|
|
|
|
that.$set(that, "storeInfo", res.data.storeInfo); |
|
|
|
that.$set(that, "storeInfo", res.data.storeInfo); |
|
|
|
// 给 attr 赋值,将请求回来的规格赋值给 attr |
|
|
|
// 给 attr 赋值,将请求回来的规格赋值给 attr |
|
|
|
that.$set(that.attr, "productAttr", res.data.productAttr); |
|
|
|
that.$set(that.attr, "productAttr", res.data.productAttr); |
|
|
|