From 25609a79cb872fbf756ed5cb63e5307258ccffbe Mon Sep 17 00:00:00 2001 From: gongfuxiang Date: Fri, 23 Aug 2024 16:03:12 +0800 Subject: [PATCH] =?UTF-8?q?=E9=97=AE=E7=AD=94=E9=A6=96=E9=A1=B5=E6=94=AF?= =?UTF-8?q?=E6=8C=81=E8=BD=AE=E6=92=AD=E5=B1=95=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- App.vue | 4 +- common/css/page.css | 3 ++ components/no-data/no-data.vue | 6 ++- pages/plugins/ask/index/index.css | 10 +--- pages/plugins/ask/index/index.vue | 80 +++++++++++++++++++------------ 5 files changed, 60 insertions(+), 43 deletions(-) diff --git a/App.vue b/App.vue index dfb03325..9644c50a 100644 --- a/App.vue +++ b/App.vue @@ -7,10 +7,10 @@ data: { // 基础配置 // 数据接口请求地址 - 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/', // 系统类型(默认default、如额外独立小程序、可与程序分身插件实现不同主体小程序及支付独立) system_type: 'default', diff --git a/common/css/page.css b/common/css/page.css index 0988dd60..0348f308 100644 --- a/common/css/page.css +++ b/common/css/page.css @@ -225,6 +225,9 @@ button:before { .pr { position: relative; } +.ps { + position: sticky; +} .z-i { z-index: 1 !important; } diff --git a/components/no-data/no-data.vue b/components/no-data/no-data.vue index 3e70354f..f724c5f4 100644 --- a/components/no-data/no-data.vue +++ b/components/no-data/no-data.vue @@ -54,7 +54,7 @@ {{title}} - + @@ -137,6 +137,10 @@ propIsHeader: { type: Boolean, default: false, + }, + propLoadingLogoTop: { + type: String, + default: '50%', } }, // 页面被展示 diff --git a/pages/plugins/ask/index/index.css b/pages/plugins/ask/index/index.css index f823f54f..71801947 100644 --- a/pages/plugins/ask/index/index.css +++ b/pages/plugins/ask/index/index.css @@ -1,13 +1,5 @@ -.avatar { - width: 35rpx; - height: 35rpx; -} - .scroll-box { - height: calc(100vh - 174rpx - var(--status-bar-height)); - /* #ifdef H5 */ - height: calc(100vh - 174rpx); - /* #endif */ + height: calc(100vh - 40px); } .status .ask-status { diff --git a/pages/plugins/ask/index/index.vue b/pages/plugins/ask/index/index.vue index 9c43f59d..bfa3d12e 100644 --- a/pages/plugins/ask/index/index.vue +++ b/pages/plugins/ask/index/index.vue @@ -1,45 +1,51 @@