From d252fb0d2f636ed86cbbbac425f991a66e9c5101 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E8=88=AA?= Date: Fri, 29 Aug 2025 11:48:12 +0800 Subject: [PATCH] fix: bug --- .env.development | 2 +- src/pages/course/index.vue | 8 ++++---- src/pages/index/dialog.vue | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.env.development b/.env.development index 97d27da0..53376642 100644 --- a/.env.development +++ b/.env.development @@ -29,7 +29,7 @@ VITE_APP_BASE_H5_API_Url = 'http://25.18.122.65:7001' # VITE_APP_BASE_H5_API_Url_TRAAPP = 'http://25.64.16.130:9601' VITE_APP_BASE_H5_API_Url_TRASTUDY = 'http://25.64.16.130:9602' -VITE_APP_BASE_H5_API_Url_TRAASK = 'http://25.64.16.144:9605' +# VITE_APP_BASE_H5_API_Url_TRAASK = 'http://25.64.16.144:9605' # 王洋洋 diff --git a/src/pages/course/index.vue b/src/pages/course/index.vue index 8e534140..52af9596 100644 --- a/src/pages/course/index.vue +++ b/src/pages/course/index.vue @@ -51,7 +51,7 @@ plain class="tags-item" size="mini" - :type="activeTag.includes('')?'primary':'info'" + :type="activeTag.length === 0?'primary':'info'" @click="chooseTag({value:''})" > { if(!item.value){ - activeTagPop.value = [''] + activeTagPop.value = [] return } activeTagPop.value = activeTagPop.value.filter((t=>!!t)) @@ -189,7 +189,7 @@ import { onShow } from "@dcloudio/uni-app" // 点击标签 const chooseTag = (item)=>{ if(!item.value){ - activeTag.value = [''] + activeTag.value = [] return } activeTag.value = activeTag.value.filter((t=>!!t)) diff --git a/src/pages/index/dialog.vue b/src/pages/index/dialog.vue index c9af491b..ce048ce6 100644 --- a/src/pages/index/dialog.vue +++ b/src/pages/index/dialog.vue @@ -707,7 +707,7 @@ } .top-bg { - background: linear-gradient(16deg, rgba(234, 246, 255, 0) 0%, #e6eafd 100%); + background: linear-gradient(0deg, rgba(234, 246, 255, 0) 0%, #e6eafd 100%); height: 480rpx; width: 100%; }