From 9b97bf7193d8f30e747d0508b7d6636531d1d2d4 Mon Sep 17 00:00:00 2001
From: sws <1141121512@qq.com>
Date: Fri, 15 Sep 2023 17:10:50 +0800
Subject: [PATCH] =?UTF-8?q?1.=E8=B4=AD=E7=89=A9=E8=BD=A6=E4=BC=98=E5=8C=96?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
App.vue | 8 +-
components/cart/cart.vue | 167 ++--
components/icon-nav/icon-nav.vue | 3 +-
components/popup/popup.vue | 325 +++----
pages.json | 2 +-
pages/goods-category/goods-category.css | 28 +-
pages/goods-category/goods-category.vue | 14 +-
pages/index/index.vue | 1161 +++++++++++------------
8 files changed, 869 insertions(+), 839 deletions(-)
diff --git a/App.vue b/App.vue
index 2f204a43..531b0c29 100644
--- a/App.vue
+++ b/App.vue
@@ -67,11 +67,11 @@ export default {
// tabbar页面
tabbar_pages: ["/pages/index/index", "/pages/goods-category/goods-category", "/pages/cart/cart", "/pages/user/user"],
// 请求地址
- // request_url: 'https://d1.shopxo.vip/',
- request_url: "http://shopxo.com/",
+ request_url: "https://d1.shopxo.vip/",
+ // request_url: "http://shopxo.com/",
// 静态资源地址(如系统根目录不在public目录下面请在静态地址后面加public目录、如:https://d1.shopxo.vip/public/)
- // static_url: 'https://d1.shopxo.vip/',
- static_url: "http://shopxo.com/",
+ static_url: "https://d1.shopxo.vip/",
+ // static_url: "http://shopxo.com/",
// 系统类型(默认default、如额外独立小程序、可与程序分身插件实现不同主体小程序及支付独立)
system_type: "default",
// 基础信息
diff --git a/components/cart/cart.vue b/components/cart/cart.vue
index bc89a27e..2e874252 100644
--- a/components/cart/cart.vue
+++ b/components/cart/cart.vue
@@ -59,44 +59,6 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 删除
- 全选
-
-
- 合计:
-
- {{ currency_symbol }}
- {{ total_price }}
-
-
-
-
-
-
-
@@ -134,6 +96,45 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 删除
+ 全选
+
+
+ 合计:
+
+ {{ currency_symbol }}
+ {{ total_price }}
+
+
+
+
+
+
+
+
@@ -821,10 +866,16 @@ export default {
* 商品列表
*/
.scroll-box.active {
+ height: calc(100vh - 125rpx);
+ /* 125rpx */
+ /* #ifdef H5 */
height: calc(100vh - 224rpx);
+ /* #endif */
}
.scroll-box {
+ /* #ifdef H5 */
height: calc(100vh - 100rpx);
+ /* #endif */
}
.cart-goods-title {
@@ -912,7 +963,7 @@ export default {
position: fixed;
z-index: 2;
left: 0;
- bottom: 0;
+ bottom: 0rpx;
/* #ifdef H5 || APP */
bottom: var(--window-bottom);
/* #endif */
diff --git a/components/icon-nav/icon-nav.vue b/components/icon-nav/icon-nav.vue
index 68e3a85c..7d32c0c4 100644
--- a/components/icon-nav/icon-nav.vue
+++ b/components/icon-nav/icon-nav.vue
@@ -1,6 +1,6 @@
-
+
@@ -66,7 +66,6 @@ export default {
\ No newline at end of file
+.popup-bar {
+ /* #ifdef H5 || APP */
+ bottom: var(--window-bottom) !important;
+ /* #endif */
+}
+
diff --git a/pages.json b/pages.json
index 45e1d323..437f22e3 100644
--- a/pages.json
+++ b/pages.json
@@ -31,7 +31,7 @@
"titlePenetrate": "YES",
"navigationBarTitleText": "",
// #endif
- "enablePullDownRefresh": true
+ "enablePullDownRefresh": false
}
},
{
diff --git a/pages/goods-category/goods-category.css b/pages/goods-category/goods-category.css
index 0c6b4eb6..4241a366 100644
--- a/pages/goods-category/goods-category.css
+++ b/pages/goods-category/goods-category.css
@@ -2,13 +2,15 @@
* 头部背景
*/
.goods-top-bg {
- height: 280rpx;
+ height: 286rpx;
+ background-color: #f5f5f5;
}
.goods-top-search-bg {
- height: 138rpx;
- /* #ifdef H5 || APP */
- height: 98rpx;
+ background-color: red;
+ height: 144rpx;
+ /* #ifdef H5 */
+ height: 104rpx !important;
/* #endif */
}
@@ -23,14 +25,24 @@
/* #ifdef H5 || MP-TOUTIAO || APP */
padding-right: 20rpx;
/* #endif */
- padding-bottom: 10px;
+ /* #ifdef H5 */
+ padding-top: 20rpx !important;
+ /* #endif */
+ padding-bottom: 20rpx;
+ height: 64rpx;
z-index: 101;
}
.category-content {
- height: calc(100vh - 68px);
+ height: calc(100vh - 142rpx);
/* #ifdef H5 || APP */
- height: calc(100vh - 99px) !important;
+ height: calc(100vh - 210rpx) !important;
+ /* #endif */
+}
+
+.nav-more-top {
+ /* #ifdef H5 || APP */
+ top: 135rpx !important;
/* #endif */
}
@@ -302,7 +314,7 @@
width: calc(100% - 40rpx);
left: auto;
bottom: 20rpx;
- z-index: 6;
+ z-index: 2;
max-width: calc(800px - 40rpx);
margin-left: 20rpx;
background: linear-gradient(132deg, #EBEBEB 0%, #F7F7F7 100%);
diff --git a/pages/goods-category/goods-category.vue b/pages/goods-category/goods-category.vue
index 08b2d4ed..06448699 100644
--- a/pages/goods-category/goods-category.vue
+++ b/pages/goods-category/goods-category.vue
@@ -6,7 +6,7 @@
-
+
@@ -20,7 +20,7 @@
-
+
@@ -54,7 +54,7 @@
-
+
@@ -338,7 +338,7 @@
-
+
@@ -440,7 +440,6 @@ export default {
plugins_label_data: null,
theme_color: app.globalData.get_theme_color(),
popup_status: false,
- popup_top: "138rpx",
};
},
@@ -478,11 +477,6 @@ export default {
this.$refs.user_base.init("goods-category");
}
},
-
- // 下拉刷新
- onPullDownRefresh() {
- this.init();
- },
created() {
// #ifdef H5 || APP
this.popup_top = "98rpx";
diff --git a/pages/index/index.vue b/pages/index/index.vue
index d160403c..c0b36131 100644
--- a/pages/index/index.vue
+++ b/pages/index/index.vue
@@ -1,645 +1,616 @@
-
-
-
-
-
-
-
-
-
-
-
- {{application_title}}
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+ {{ application_title }}
+
+
+
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
+
+
+
+
-
-
+
+
+ 最新资讯
+
+
+
+
+ [{{ item.article_category_name }}]
+ {{ item.title }}
+
+
+
+
+
-
-
-
- 最新资讯
-
-
-
-
-
- [{{item.article_category_name}}]
- {{item.title}}
-
-
-
-
-
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+ 更多
+
+
+
-
-
-
-
-
-
-
-
-
- 更多
-
-
-
+
+
+
+
-
-
-
-
+
+
+
+ {{ plugins_realstore_data.base.home_data_list_title }}
+ 更多
+
+
+
-
-
-
- {{plugins_realstore_data.base.home_data_list_title}}
- 更多
-
-
-
+
+
+
+ {{ plugins_shop_data.base.home_data_list_title }}
+ 更多
+
+
+
-
-
-
- {{plugins_shop_data.base.home_data_list_title}}
- 更多
-
-
-
+
+
+
+ {{ plugins_binding_data.base.home_data_list_title }}
+ 更多
+
+
+
-
-
-
- {{plugins_binding_data.base.home_data_list_title}}
- 更多
-
-
-
+
+
+
+
-
-
-
-
+
+
+
+
+
+
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ floor.name }}
+ {{ floor.describe }}
+
+ 更多
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
- {{floor.name}}
- {{floor.describe}}
-
- 更多
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
-
-
-
-
-
-
-
+
+
-
-
+
+
+
+
+ {{ plugins_salerecords_data.base.home_bottom_title || "最新购买" }}
+ {{ plugins_salerecords_data.base.home_bottom_desc }}
+
+
+
+
+
+
+
+
+
+ {{ item.user.user_name_view }}
+ -{{ item.user.province }}
+
+
+
+
+ {{ item.title }}
+
+
+
+ {{ item.add_time }}
+
+
+
+
+
+
+
+
+
-
-
-
-
- {{plugins_salerecords_data.base.home_bottom_title || '最新购买'}}
- {{plugins_salerecords_data.base.home_bottom_desc}}
-
-
-
-
-
-
-
-
-
-
- {{item.user.user_name_view}}
- -{{item.user.province}}
-
-
-
-
-
- {{item.title}}
-
-
-
- {{item.add_time}}
-
-
-
-
-
-
-
-
-
+
+
-
-
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
+
+
+
+
-
-
-
-
+
+
-
-
+
+
+
+
+
-
-
-
-
-
+
+
-
-
+
+
-
-
-
-
-
-
+
+
+
\ No newline at end of file
+@import "./index.css";
+