From e5a37372b8f8bda29365732c562400aa05a7d3a0 Mon Sep 17 00:00:00 2001
From: mkm <727897186@qq.com>
Date: Mon, 22 May 2023 09:42:01 +0800
Subject: [PATCH] 12
---
api/api.js | 3 +
pages.json | 29 +-
pages/index/index.vue | 2111 ++++------------------
pages/index/index_two.vue | 1757 ++++++++++++++++++
pages/nongKe/gather/select_warehouse.vue | 350 +++-
pages/store/home/index.vue | 5 +-
pages/users/login/index.vue | 3 +-
7 files changed, 2455 insertions(+), 1803 deletions(-)
create mode 100644 pages/index/index_two.vue
diff --git a/api/api.js b/api/api.js
index 316cb46..586a609 100644
--- a/api/api.js
+++ b/api/api.js
@@ -18,6 +18,9 @@ export function getProductSpuAPI(id) {
export function get_cloud_shop(street_code) {
return request.get(`city/get_cloud_shop?street_code=${street_code}`, {}, { noAuth: true });
}
+export function post_product_import(id) {
+ return request.post(`micro/product_import`,{ id: id }, { noAuth: true });
+}
/**
* 公共接口 ,优惠券接口 , 行业此讯 , 手机号码注册
*
diff --git a/pages.json b/pages.json
index 658635b..dc25e0a 100644
--- a/pages.json
+++ b/pages.json
@@ -1,7 +1,7 @@
{
"pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
{
- "path": "pages/home/index",
+ "path": "pages/index/index",
"style": {
"navigationBarTitleText": "首页",
"navigationStyle": "custom",
@@ -95,23 +95,7 @@
}
],
- "subPackages": [{
- "root": "pages/index",
- "name": "index",
- "pages": [{
- "path": "index",
- "style": {
- "navigationBarTitleText": "首页",
- "navigationStyle": "custom",
- // #ifdef APP-PLUS
- "enablePullDownRefresh": true,
- // #endif
- "app-plus": {
- "scrollIndicator": false //禁用原生导航栏
- }
- }
- }]
- },
+ "subPackages": [
{
"root": "pages/goods_cate",
"name": "goods_cate",
@@ -905,13 +889,6 @@
"navigationBarTitleText": "商户基本设置",
"enablePullDownRefresh": false
}
- }, {
- "path": "addGoods/addMyStore",
- "style": {
- "navigationBarTitleText": "",
- "enablePullDownRefresh": false
- }
-
}
]
},
@@ -1289,7 +1266,7 @@
"borderStyle": "white",
"backgroundColor": "#ffffff",
"list": [{
- "pagePath": "pages/home/index",
+ "pagePath": "pages/index/index",
"iconPath": "static/tabbar_icon/a.png",
"selectedIconPath": "static/tabbar_icon/a-a.png",
"text": "泸州"
diff --git a/pages/index/index.vue b/pages/index/index.vue
index 3011f4d..b869105 100644
--- a/pages/index/index.vue
+++ b/pages/index/index.vue
@@ -1,1757 +1,364 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{ hotTitle }}
-
-
-
-
-
- {{ loadTitle }}
-
-
-
-
-
-
-
-
-
-
- {{ item.cate_name }}
-
-
-
- 更多
-
-
-
-
-
-
-
-
-
-
-
- {{ item.store_name }}
-
-
-
- ¥
- {{ item.price }}
-
-
-
- {{ item.merchant.type_name }}
- 自营
-
- {{ item.product_type == 1 ? '秒杀' : item.product_type == 2 ? '预售' : item.product_type == 3 ? '助力' : item.product_type == 4 ? '拼团' : '' }}
-
- 领券
- 包邮
-
-
-
-
-
- {{ loadTitle }}
-
-
-
-
-
-
-
- 暂无商品,去看点什么吧
-
-
-
-
-
-
- {{beian_sn}}
-
-
- {{beian_sn}}
-
-
-
-
-
-
-
- 网络连接断开
-
- 请检查情况:
- · 在设置中是否已开启网络权限
- · 当前是否处于弱网环境
- · 版本是否过低,升级试试吧
-
- 重新连接
-
-
-
-
-
- 用户协议与隐私政策
-
- 请务必审慎阅读、充分理解“用户协议 与 隐私政策”各条款,包括但不限于:为了 向你提供即时通讯、内容分享等服务,我 们需要收集你的设备信息、操作日志等个
- 人信息。你可以在“设置”中查看、变更、 删除个人信息并管理你的授权。
-
- 你可以阅读
- 《用户协议》与《隐私政策》
- 了解 详细信息。如你同意,请点击“我同意”开始接受我们的服务。
-
-
- 我同意
- 随便逛逛
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {}">
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{item.title}}
+
+
+
+ {{item.author && item.author.nickname}}
+
+
+
+ {{item.count_start}}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
+
\ No newline at end of file
diff --git a/pages/index/index_two.vue b/pages/index/index_two.vue
new file mode 100644
index 0000000..3011f4d
--- /dev/null
+++ b/pages/index/index_two.vue
@@ -0,0 +1,1757 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ hotTitle }}
+
+
+
+
+
+ {{ loadTitle }}
+
+
+
+
+
+
+
+
+
+
+ {{ item.cate_name }}
+
+
+
+ 更多
+
+
+
+
+
+
+
+
+
+
+
+ {{ item.store_name }}
+
+
+
+ ¥
+ {{ item.price }}
+
+
+
+ {{ item.merchant.type_name }}
+ 自营
+
+ {{ item.product_type == 1 ? '秒杀' : item.product_type == 2 ? '预售' : item.product_type == 3 ? '助力' : item.product_type == 4 ? '拼团' : '' }}
+
+ 领券
+ 包邮
+
+
+
+
+
+ {{ loadTitle }}
+
+
+
+
+
+
+
+ 暂无商品,去看点什么吧
+
+
+
+
+
+
+ {{beian_sn}}
+
+
+ {{beian_sn}}
+
+
+
+
+
+
+
+ 网络连接断开
+
+ 请检查情况:
+ · 在设置中是否已开启网络权限
+ · 当前是否处于弱网环境
+ · 版本是否过低,升级试试吧
+
+ 重新连接
+
+
+
+
+
+ 用户协议与隐私政策
+
+ 请务必审慎阅读、充分理解“用户协议 与 隐私政策”各条款,包括但不限于:为了 向你提供即时通讯、内容分享等服务,我 们需要收集你的设备信息、操作日志等个
+ 人信息。你可以在“设置”中查看、变更、 删除个人信息并管理你的授权。
+
+ 你可以阅读
+ 《用户协议》与《隐私政策》
+ 了解 详细信息。如你同意,请点击“我同意”开始接受我们的服务。
+
+
+ 我同意
+ 随便逛逛
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {}">
+
+
+
+
+
diff --git a/pages/nongKe/gather/select_warehouse.vue b/pages/nongKe/gather/select_warehouse.vue
index 65e822a..20acd1a 100644
--- a/pages/nongKe/gather/select_warehouse.vue
+++ b/pages/nongKe/gather/select_warehouse.vue
@@ -9,20 +9,28 @@
-
-
-
-
-
-
-
- {{item.store_name}}
- 加入仓库
-
-
-
-
-
+
+
+
+
+
+
+
+ {{ item.store_name }}
+
+ {{item.merchant.type_name}}
+
+
+
+
+ ¥
+ {{ item.price }}
+
+ 加入仓库
+
+
+
+
@@ -45,7 +53,7 @@
-
+
@@ -64,7 +72,7 @@