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 @@