From 06be1c7ccc7533612e4cc7b0e730080d0dd3d2a1 Mon Sep 17 00:00:00 2001
From: quanwei <419654421@qq.com>
Date: Fri, 16 Jan 2026 11:43:36 +0800
Subject: [PATCH] 商品可以赠送优惠券 商品属性增加团购 入驻商家增加实物和团购选项 团购和实物商户分类分开 增加团购商家页面 后台添加页面增加团购组件
---
mobile/pages/shop/shop_list.vue | 11 ++++++-----
1 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/mobile/pages/shop/shop_list.vue b/mobile/pages/shop/shop_list.vue
index f71802b..d43467e 100644
--- a/mobile/pages/shop/shop_list.vue
+++ b/mobile/pages/shop/shop_list.vue
@@ -48,15 +48,15 @@
</view>
<view class="shop_list_body_item_shop_info">
<view class="h1 title">{{item.name}}</view>
- <view class="h3 brand address-row">主营:{{item.category_name}}</view>
+ <!-- <view class="h3 brand address-row">主营:{{item.category_name}}</view> -->
<view class="h3 address-row">
<text class="address-text">地址:{{item.address}}</text>
</view>
<!-- <view class="h3 sales">销量{{item.product_sales}}件<text class="ml10 mr10">|</text>{{item.fav_count}}人关注</view> -->
</view>
<view class="shop_list_body_item_shop_others">
- <view class="f26 gray3 collect">店铺评分</view>
- <view><text class="redEe f32 fb">{{item.server_score}}</text></view>
+ <!-- <view class="f26 gray3 collect">店铺评分</view>
+ <view><text class="redEe f32 fb">{{item.server_score}}</text></view> -->
<view class="action-buttons">
<view @click.stop="contactShop(item)">
<text class="iconfont icon icon-002dianhua action-btn contact-btn"></text>
@@ -220,6 +220,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 +248,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 +288,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);
},
//跳转商品页面
@@ -607,7 +609,6 @@
width: 100%;
min-height: 150rpx;
display: flex;
- align-items: center;
justify-content: space-between;
margin-bottom: 10rpx;
}
--
Gitblit v1.9.2