提交错题本2

This commit is contained in:
田岩
2025-08-30 10:20:49 +08:00
3 changed files with 7 additions and 5 deletions
+2
View File
@@ -29,7 +29,9 @@ 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'
+4 -4
View File
@@ -51,7 +51,7 @@
plain
class="tags-item"
size="mini"
:type="activeTag.includes('')?'primary':'info'"
:type="activeTag.length === 0?'primary':'info'"
@click="chooseTag({value:''})"
></uv-tags>
<uv-tags :text="item.label"
@@ -160,7 +160,7 @@ import { onShow } from "@dcloudio/uni-app"
const activeTab = ref('全部')
const activeCourseType = ref('')
const activePrdlineType = ref('')
const activeTag = ref([''])
const activeTag = ref([])
const courseTypeList = ref([])
const coursePrdlineList = ref([])
const tagsTree = ref([])
@@ -176,7 +176,7 @@ import { onShow } from "@dcloudio/uni-app"
const chooseTagPop = (item) => {
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))
+1 -1
View File
@@ -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%;
}