This commit is contained in:
weipengfei 2024-03-20 11:50:34 +08:00
parent 0a1844b19c
commit 4d003d43c1
2 changed files with 7 additions and 4 deletions

View File

@ -288,7 +288,7 @@
<view v-else class="product_content"> <view v-else class="product_content">
<view v-if="description.content && description.content.title" class="title">{{description.content.title}}</view> <view v-if="description.content && description.content.title" class="title">{{description.content.title}}</view>
<view v-if="description.content && description.content.image" class="pictures"> <view v-if="description.content && description.content.image" class="pictures">
<image v-for="(item,index) in description.content.image" :key="index" :src="item"></image> <image mode="widthFix" style="width: 100%;" v-for="(item,index) in description.content.image" :key="index" :src="item"></image>
</view> </view>
</view> </view>
</view> </view>

View File

@ -499,7 +499,8 @@
order: '', order: '',
keyword: '', keyword: '',
page: 1, page: 1,
limit: 30 limit: 30,
sale_type: 1
}, },
// //
select: { select: {
@ -639,6 +640,7 @@
this.diyActive = options.order || 0; this.diyActive = options.order || 0;
this.order = options.order; this.order = options.order;
this.preview = options.time ? true : false; this.preview = options.time ? true : false;
if(options.sale_type) this.where.sale_type = options.sale_type;
if (options.spid) { if (options.spid) {
this.currSpid = options.spid this.currSpid = options.spid
app.globalData.spid = options.spid; app.globalData.spid = options.spid;
@ -1051,7 +1053,7 @@
}, },
// //
goGoodsDetail(item) { goGoodsDetail(item) {
goShopDetail(item, this.uid).then(res => { goShopDetail(item, this.uid, this.where.sale_type).then(res => {
if (this.isLogin) { if (this.isLogin) {
initiateAssistApi(item.activity_id).then(res => { initiateAssistApi(item.activity_id).then(res => {
let id = res.data.product_assist_set_id; let id = res.data.product_assist_set_id;
@ -1095,7 +1097,8 @@
order: '', order: '',
keyword: '', keyword: '',
page: 1, page: 1,
limit: 30 limit: 30,
sale_type: this.where.sale_type
} }
}, },