From 8ce73d4bda8464d07b2a05b5bd20f1e2f387602c Mon Sep 17 00:00:00 2001 From: "34701892@qq.com" <34701892@qq.com> Date: Mon, 15 Sep 2025 20:09:46 +0800 Subject: [PATCH] =?UTF-8?q?refactor(=E7=BB=84=E4=BB=B6):=20=E4=BC=98?= =?UTF-8?q?=E5=8C=96=E4=BB=A3=E7=A0=81=E6=A0=BC=E5=BC=8F=E5=B9=B6=E7=A7=BB?= =?UTF-8?q?=E9=99=A4=E6=9C=AA=E4=BD=BF=E7=94=A8=E7=9A=84=E8=AF=84=E8=AE=BA?= =?UTF-8?q?=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 在articleList组件中格式化HTML结构并移除被注释的列表项内容 - 在搜索页面简化输入组件结构并调整登录验证逻辑 - 统一代码缩进和样式格式 --- src/components/articleList/index2.vue | 11 +++++---- src/pages/sreachReq/index.vue | 32 +++++++++------------------ 2 files changed, 17 insertions(+), 26 deletions(-) diff --git a/src/components/articleList/index2.vue b/src/components/articleList/index2.vue index 2b9b334..f058f63 100644 --- a/src/components/articleList/index2.vue +++ b/src/components/articleList/index2.vue @@ -18,15 +18,17 @@ - - + + - + @@ -160,6 +162,7 @@ const handleClick = (item: any) => { text-align: left; font-style: normal; } + .listItemTitle { // font-size: 32rpx; // font-size: var(--h1-font-size); diff --git a/src/pages/sreachReq/index.vue b/src/pages/sreachReq/index.vue index 5175721..fbc4d0e 100644 --- a/src/pages/sreachReq/index.vue +++ b/src/pages/sreachReq/index.vue @@ -20,19 +20,12 @@ - + - + 搜索 @@ -44,11 +37,7 @@ - @@ -62,7 +51,8 @@ - + @@ -152,14 +142,10 @@ const handleShowPay = (type) => { // 点击轮播图进入详情 const handleSwiperJump = (item: any) => { console.log("item ===>", item); - if (uni.getStorageSync("token")) { + if (Session.get("token")) { uni.navigateTo({ url: `/pages/detail/indexNewsInfo?id=${item.id}&type=${item.type}`, }); - } else { - uni.navigateTo({ - url: "/pages/login/indexMini", - }); } // if (item.needpay) { // // 需要先弹出订阅的弹框 @@ -309,11 +295,13 @@ onShow(() => { color: #828b92; } } + .back_icon { width: 50rpx; height: 50rpx; margin-left: 10rpx; } + .custom-bav-bar { width: 100%; height: 88rpx;