From a4b3ee325c7354579d495bc74a777e494e5ec38c Mon Sep 17 00:00:00 2001
From: quanwei <419654421@qq.com>
Date: Fri, 06 Feb 2026 18:18:44 +0800
Subject: [PATCH] 商品可以价格面议 选择走访时显示输入走访企业名 分会添加活动时要总会审核 分类添加人数限制,添加活动选择了填写人数限制的分类时活动名额下显示该分类人数限制为15 同一个企业30天内只能走访一次,在30天内走访同一个企业时提示该企业已被走访xx天后才可以从新走访
---
mobile/pages/shop/shop_list.vue | 18 ++++++++++++++++--
1 files changed, 16 insertions(+), 2 deletions(-)
diff --git a/mobile/pages/shop/shop_list.vue b/mobile/pages/shop/shop_list.vue
index 39f522a..a05497d 100644
--- a/mobile/pages/shop/shop_list.vue
+++ b/mobile/pages/shop/shop_list.vue
@@ -76,7 +76,8 @@
<image :src="item1.image[0].file_path"></image>
</view>
<view class="shop_list_body_item_product_item_price">
- <view class="f22 red">¥
+ <view class="f22 red" v-if="item1.is_price_negotiable">价格面议</view>
+ <view class="f22 red" v-else>¥
<text class="f32">
{{item1.product_price}}
</text>
@@ -164,11 +165,22 @@
mounted() {
this.init();
this._freshing = false;
+
this.restoreData();
// 获取分类 by lyzflash
this.getCategory();
/*获取订单列表*/
this.getData();
+ },
+ onLoad(option) {
+ let self = this;
+ if( option.category_id){
+ self.category.forEach(function(index,item){
+ if(item.category_id==option.category_id){
+ self.tabChange(index)
+ }
+ })
+ }
},
methods: {
/*初始化*/
@@ -220,6 +232,7 @@
page: page || 1,
list_rows: list_rows,
sortType: self.type_active,
+ supplier_type: 10,
name: self.keyWord,
category_id: self.category_id // 分类id by lyzflash
}, (res) => {
@@ -247,7 +260,7 @@
/*获取分类*/
getCategory() {
let self = this;
- self._post('supplier.index/category', {}, (res) => {
+ self._post('supplier.index/category', {category_type:10}, (res) => {
self.category = res.data.category;
})
},
@@ -287,6 +300,7 @@
//跳转店铺首页
goto_shop(shop_supplier_id) {
+ uni.setStorageSync('shop_supplier_id',shop_supplier_id)
this.gotoPage('/pages/shop/shop?shop_supplier_id=' + shop_supplier_id);
},
//跳转商品页面
--
Gitblit v1.9.2