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天后才可以从新走访

---
 admin/app/common/model/page/Page.php |  150 ++++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 150 insertions(+), 0 deletions(-)

diff --git a/admin/app/common/model/page/Page.php b/admin/app/common/model/page/Page.php
index 531c7f2..9c926e8 100644
--- a/admin/app/common/model/page/Page.php
+++ b/admin/app/common/model/page/Page.php
@@ -197,6 +197,65 @@
                 // '手动选择' => 默认数据
                 'data' => []
             ],
+            'hdzq' => [
+                'name' => '活动专区',
+                'type' => 'hdzq',
+                'group' => 'media',
+                'params' => [
+                    'source' => 'auto', // choice; auto
+                    'auto' => [
+                        'category' => '0',
+                        'showNum' => 6
+                    ]
+                ],
+                'style' => [
+                    'display' => '10',
+                    'textColor' => '#000000',
+                    'image' => self::$base_url . 'image/diy/hd.png',
+                    'background' => self::$base_url . 'image/diy/hdbg.png',
+
+                ],
+                // '自动获取' => 默认数据
+                'defaultData' => [
+                    [
+                        'title' => '此处显示标题',
+                    ],
+                    [
+                        'title' => '此处显示标题',
+                    ]
+                ],
+                // '手动选择' => 默认数据
+                'data' => []
+            ],
+            'gxpp' => [
+                'name' => '供需匹配',
+                'type' => 'gxpp',
+                'group' => 'media',
+                'params' => [
+                    'source' => 'auto', // choice; auto
+                    'auto' => [
+                        'category' => '0',
+                        'showNum' => 6
+                    ]
+                ],
+                'style' => [
+                    'display' => '10',
+                    'textColor' => '#000000',
+                    'image' => self::$base_url . 'image/diy/hd.png',
+                    'background' => self::$base_url . 'image/diy/hdbg.png',
+                ],
+                // '自动获取' => 默认数据
+                'defaultData' => [
+                    [
+                        'title' => '此处显示标题',
+                    ],
+                    [
+                        'title' => '此处显示标题',
+                    ]
+                ],
+                // '手动选择' => 默认数据
+                'data' => []
+            ],
             'special' => [
                 'name' => '头条快报',
                 'type' => 'special',
@@ -714,6 +773,97 @@
                     ],
                 ]
             ],
+            'groupBuy' => [
+                'name' => '团购',
+                'type' => 'groupBuy',
+                'group' => 'shop',
+                'params' => [
+                    'category' => 0,
+                    'merchantSort' => 'all',
+                    'product_num' => 3,
+                    'is_sort' => 1,
+                    'is_category' => 1,
+                    'is_filter' => 1
+                ],
+                'style' => ['background' => '#ffffff', 'background_active' => '#ffffff', 'text_active' => '#ef4f4f', 'show_type' => '2', 'server_score_image' => self::$base_url . 'image/diy/product/01.png'],
+                'data' => [
+                    [
+                        'name' => '商户名称',
+                        'ranking' => '1',
+                        'average_price' => '150',
+                        'distance' => '1km',
+                        'server_score' => '4.8',
+                        'server_score_text' => '超赞',
+                        'comment' => '3000',
+                        'max_reduce_price' => 5,
+                        'productList' => [
+                            [
+                                'product_name' => '商品名称',
+                                'product_price' => '100',
+                                'product_num' => '商品数量',
+                                'product_image' => self::$base_url . 'image/diy/product/01.png',
+                                'reduce_price' => '5',
+                            ],
+                            [
+                                'product_name' => '商品名称',
+                                'product_price' => '100',
+                                'product_num' => '商品数量',
+                                'product_image' => self::$base_url . 'image/diy/product/01.png',
+                                'reduce_price' => '5',
+                            ],
+                            [
+                                'product_name' => '商品名称',
+                                'product_price' => '100',
+                                'product_num' => '商品数量',
+                                'product_image' => self::$base_url . 'image/diy/product/01.png',
+                                'reduce_price' => '5',
+                            ],
+                            [
+                                'product_name' => '商品名称',
+                                'product_price' => '100',
+                                'product_num' => '商品数量',
+                                'product_image' => self::$base_url . 'image/diy/product/01.png',
+                                'reduce_price' => '5',
+                            ],
+                        ],
+                        'color' => '#666666'
+                    ],
+                    [
+                        'category_name' => '商户名称',
+                        'ranking' => '12',
+                        'distance' => '1.2km',
+                        'server_score' => '4.5',
+                        'server_score_text' => '非常棒',
+                        'average_price' => '160',
+                        'max_reduce_price' => 0,
+                        'comment' => '300',
+                        'productList' => [
+                            [
+                                'product_name' => '商品名称',
+                                'product_price' => '100',
+                                'product_num' => '商品数量',
+                                'product_image' => self::$base_url . 'image/diy/product/01.png',
+                                'reduce_price' => 0,
+                            ],
+                            [
+                                'product_name' => '商品名称',
+                                'product_price' => '100',
+                                'product_num' => '商品数量',
+                                'product_image' => self::$base_url . 'image/diy/product/01.png',
+                                'reduce_price' => 0,
+                            ],
+                        ],
+                        'color' => '#666666'
+                    ]
+                ], 'filter' => [
+                    ['label' => '距离优先', 'value' => 'distance', 'type' => 'normal'],
+                    ['label' => '销量优先', 'value' => 'sales', 'type' => 'normal'],
+                    ['label' => '评分优先', 'value' => 'score', 'type' => 'normal'],
+                    ['label' => '价格排序', 'value' => 'price', 'type' => 'price'],
+                    ['label' => '优惠力度', 'value' => 'discount', 'type' => 'normal'],
+                    ['label' => '评论最多', 'value' => 'comment', 'type' => 'normal']
+                ]
+            ],
         ];
     }
 

--
Gitblit v1.9.2