This commit is contained in:
cc_zbp 2023-05-18 17:41:44 +08:00
parent 45b48cf7d3
commit 7287705856
2 changed files with 12 additions and 10 deletions

View File

@ -4,8 +4,8 @@
<u-empty :show="jurisdiction" marginTop="260" mode="permission" :text="emptyText" <u-empty :show="jurisdiction" marginTop="260" mode="permission" :text="emptyText"
icon="http://cdn.uviewui.com/uview/empty/permission.png"></u-empty> icon="http://cdn.uviewui.com/uview/empty/permission.png"></u-empty>
<block v-if="isLogin"> <block v-if="isLogin">
<!-- <view class="special_work com" v-if="userInfoData.mer_info.type_id === 12"> --> <view class="special_work com" v-if="userInfoData.mer_info.type_id === 12">
<view class="special_work com" v-if="true"> <!-- <view class="special_work com" v-if="true"> -->
<view class="title">市级供应链</view> <view class="title">市级供应链</view>
<view class="content"> <view class="content">
<view class="examine" @click="navigator(`/pages/nongKe/supply_chain/goods_list?merid=${mer_id}`)"> <view class="examine" @click="navigator(`/pages/nongKe/supply_chain/goods_list?merid=${mer_id}`)">
@ -38,8 +38,8 @@
</view> </view>
</view> </view>
<!-- <view class="business com" v-if="userInfoData.mer_info.type_id === 10"> --> <view class="business com" v-if="userInfoData.mer_info.type_id === 10">
<view class="business com" v-if="true"> <!-- <view class="business com" v-if="true"> -->
<view class="special_work com"> <view class="special_work com">
<view class="title">我的店铺</view> <view class="title">我的店铺</view>
<view class="content "> <view class="content ">
@ -99,8 +99,8 @@
<!-- <gatherBusiness :userInfoData="userInfoData" /> --> <!-- <gatherBusiness :userInfoData="userInfoData" /> -->
</view> </view>
<!-- <view class="business com" v-if="userInfoData.mer_info.type_id === 11"> --> <view class="business com" v-if="userInfoData.mer_info.type_id === 11">
<view class="business com" v-if="true"> <!-- <view class="business com" v-if="true"> -->
<view class="special_work com"> <view class="special_work com">
<view class="title">里海云仓</view> <view class="title">里海云仓</view>
<view class="content "> <view class="content ">

View File

@ -156,8 +156,7 @@
</view> </view>
<view class="pro-box" :class="'styleType'+store_street_theme"> <view class="pro-box" :class="'styleType'+store_street_theme">
<navigator :url="`/pages/goods_details/index?id=${itemn.product_id}`" hover-class="none" <navigator :url="`/pages/goods_details/index?id=${itemn.product_id}`" hover-class="none"
class="pro-item" v-for="(itemn,indexn) in item.recommend" :key='indexn' class="pro-item" v-for="(itemn,indexn) in item.recommend.slice(0,3)" :key='indexn'>
v-if="item.recommend.length<=3">
<view class="picture"> <view class="picture">
<image :src="itemn.image"></image> <image :src="itemn.image"></image>
<view v-if="itemn.border_pic" :style="{ backgroundImage: `url(${itemn.border_pic})` }" <view v-if="itemn.border_pic" :style="{ backgroundImage: `url(${itemn.border_pic})` }"
@ -253,7 +252,8 @@
limit: 10, limit: 10,
order: '', order: '',
category_id: '', category_id: '',
type_id: '' type_id: '',
street_id: ''
}, },
storeKey: 0, storeKey: 0,
storeScroll: true, storeScroll: true,
@ -272,6 +272,7 @@
}; };
}, },
onLoad(options) { onLoad(options) {
this.sotreParam.street_id = options.street_id
this.sotreParam.type_id = options.type_id this.sotreParam.type_id = options.type_id
this.sotreParam.type_id = options.type_id && options.type_id.split(',').toString() || '' this.sotreParam.type_id = options.type_id && options.type_id.split(',').toString() || ''
this.sotreParam.category_id = options.cate_id && options.cate_id.split(',').toString() || '' this.sotreParam.category_id = options.cate_id && options.cate_id.split(',').toString() || ''
@ -456,7 +457,8 @@
limit: 10, limit: 10,
order: this.sotreParam.order, order: this.sotreParam.order,
category_id: this.sotreParam.category_id, category_id: this.sotreParam.category_id,
type_id: this.sotreParam.type_id type_id: this.sotreParam.type_id,
street_id: this.sotreParam.street_id
} }
if (this.latitude) { if (this.latitude) {
rqData.location = this.latitude + ',' + this.longitude rqData.location = this.latitude + ',' + this.longitude