From cb56c7af2f35a892d936367c1860be3a600eb4d2 Mon Sep 17 00:00:00 2001 From: gongfuxiang Date: Thu, 16 Mar 2023 11:23:48 +0800 Subject: [PATCH] =?UTF-8?q?=E8=BD=AE=E6=92=AD=E5=85=BC=E5=AE=B9iphone?= =?UTF-8?q?=E5=9C=86=E8=A7=92=E5=A4=B1=E6=95=88=E9=97=AE=E9=A2=98=E3=80=81?= =?UTF-8?q?=E7=94=A8=E6=88=B7=E4=B8=AD=E5=BF=83=E8=8F=9C=E5=8D=95=E6=94=AF?= =?UTF-8?q?=E6=8C=81=E5=88=97=E8=A1=A8=E5=B1=95=E7=A4=BA=E6=A8=A1=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- App.vue | 31 +++++---- components/icon-nav/icon-nav.vue | 5 +- components/quick-nav/quick-nav.vue | 35 ++++++---- components/slider/slider.vue | 14 ++-- pages/user/user.css | 1 - pages/user/user.vue | 101 +++++++++++++++++++---------- 6 files changed, 115 insertions(+), 72 deletions(-) diff --git a/App.vue b/App.vue index f332c986..70fce237 100644 --- a/App.vue +++ b/App.vue @@ -46,7 +46,9 @@ // 分类页面商品列表模式一级分类使用图标类型(0 大图片, 1 icon图标) category_goods_model_icon_type: 0, // 强制使用文字作为logo(默认后台站点设置手机端图片logo->当前指定logo->后台手机管理小程序配置名称->站点设置中的站点名称) - is_logo_use_text: 0, + is_logo_use_text: 0, + // 用户中心菜单展示模式(0 九方格, 1 列表) + user_center_nav_show_model_type: 0, // tabbar页面 tabbar_pages: [ "/pages/index/index", @@ -57,7 +59,7 @@ // 请求地址 request_url: 'https://d1.shopxo.vip/', // 静态资源地址(如系统根目录不在public目录下面请在静态地址后面加public目录、如:https://d1.shopxo.vip/public/) - static_url: 'http://shopxo.com/', + static_url: 'https://d1.shopxo.vip/', // 系统类型(默认default、如额外独立小程序、可与程序分身插件实现不同主体小程序及支付独立) system_type: 'default', // 基础信息 @@ -1245,43 +1247,46 @@ px_to_rpx(value) { return ((value || 0) == 0) ? 0 : parseInt(value) * 750 / parseInt(this.get_system_info('windowWidth', 0)); }, - + // 终端类型 application_client() { var type = ''; // #ifdef APP type = 'app'; - //#endif + // #endif + // #ifdef H5 + type = 'h5'; + // #endif // #ifdef MP type = 'mp'; - //#endif + // #endif return type; }, - + // 终端类型值 application_client_type() { var value = ''; // #ifdef MP-WEIXIN value = 'weixin'; - //#endif + // #endif // #ifdef MP-ALIPAY value = 'alipay'; - //#endif + // #endif // #ifdef MP-BAIDU value = 'baidu'; - //#endif + // #endif // #ifdef MP-QQ value = 'qq'; - //#endif + // #endif // #ifdef MP-TOUTIAO value = 'toutiao'; - //#endif + // #endif // #ifdef MP-KUAISHOU value = 'kuaishou'; - //#endif + // #endif // #ifdef H5 value = 'h5'; - //#endif + // #endif return value; }, diff --git a/components/icon-nav/icon-nav.vue b/components/icon-nav/icon-nav.vue index 028856fb..e85a5e1e 100644 --- a/components/icon-nav/icon-nav.vue +++ b/components/icon-nav/icon-nav.vue @@ -44,12 +44,11 @@ border-radius: 50%; padding: 20rpx; text-align: center; - width: 50rpx; - height: 50rpx; margin: 0 auto; -webkit-box-shadow: 0 2px 12px rgb(226 226 226 / 95%); box-shadow: 0 2px 12px rgb(226 226 226 / 95%); - } + } + .icon-nav-list .item .item-content, .icon-nav-list .item image { width: 50rpx !important; height: 50rpx !important; diff --git a/components/quick-nav/quick-nav.vue b/components/quick-nav/quick-nav.vue index 2bf5d1cb..604574e5 100644 --- a/components/quick-nav/quick-nav.vue +++ b/components/quick-nav/quick-nav.vue @@ -17,10 +17,10 @@ - - - - + + + + {{item.name}} @@ -202,23 +202,34 @@ .nav-data-list .item { width: calc(25% - 60rpx); float: left; - padding: 30rpx; + padding: 30rpx; + /* #ifdef H5 */ + cursor: pointer; + /* #endif */ } .nav-data-list .item-content { border-radius: 50%; padding: 20rpx; text-align: center; - width: 70rpx; - height: 70rpx; margin: 0 auto; -webkit-box-shadow: 0 2px 12px rgb(226 226 226 / 95%); box-shadow: 0 2px 12px rgb(226 226 226 / 95%); - } + } + .nav-data-list .item-content, .nav-data-list .item image { - width: 60rpx !important; - height: 60rpx !important; - margin-top: 5rpx; - } + width: 70rpx !important; + height: 70rpx !important; + } + .nav-data-list .item .item-exposed { + padding: 0; + -webkit-box-shadow: none; + box-shadow: none; + } + .nav-data-list .item .item-exposed, + .nav-data-list .item .item-exposed image { + width: 110rpx !important; + height: 110rpx !important; + } .nav-data-list .item .title { margin-top: 10rpx; font-size: 28rpx !important; diff --git a/components/slider/slider.vue b/components/slider/slider.vue index 5d1aaad9..e6273e16 100644 --- a/components/slider/slider.vue +++ b/components/slider/slider.vue @@ -1,6 +1,6 @@ -