diff --git a/src/pages-sub/information/components/HighSchoolDetailHeader.vue b/src/pages-sub/information/components/HighSchoolDetailHeader.vue
index 1ca0937..bb75a32 100644
--- a/src/pages-sub/information/components/HighSchoolDetailHeader.vue
+++ b/src/pages-sub/information/components/HighSchoolDetailHeader.vue
@@ -66,7 +66,7 @@ onLoad(() => {
{{ new Date().getFullYear() - 1 }}招生计划完成率100%
{{ feature }}
+ v-for="feature in schoolDetail.tags.split(/[\s,,、]+/)" :key="feature">{{ feature }}
{{ schoolDetail.region }}·{{
schoolDetail.schoolNature }}
diff --git a/src/pages-sub/information/highSchool.vue b/src/pages-sub/information/highSchool.vue
index 85297c0..ab046c8 100644
--- a/src/pages-sub/information/highSchool.vue
+++ b/src/pages-sub/information/highSchool.vue
@@ -68,7 +68,7 @@ onLoad(() => {
})
})
-const paging = ref(null)
+const paging = ref(null)
const schoolList = ref([])
const queryList = (page: number, pageSize: number) => {
getBusHightSchoolList({
@@ -86,7 +86,7 @@ const queryList = (page: number, pageSize: number) => {
}
})
}
-const virtualListChange = (_vList) => {
+const virtualListChange = (_vList:any) => {
schoolList.value = _vList
}
diff --git a/src/pages-sub/information/middleSchool.vue b/src/pages-sub/information/middleSchool.vue
index beee1ef..bd85edd 100644
--- a/src/pages-sub/information/middleSchool.vue
+++ b/src/pages-sub/information/middleSchool.vue
@@ -24,8 +24,8 @@ definePage({
})
// #endif
-const tabs = ref([])
-const articles = ref([])
+const tabs = ref([])
+const articles = ref([])
const handleBack = () => {
uni.navigateBack({ delta: 1 })
}
@@ -44,7 +44,7 @@ const toDetailPage = (id: number) => {
const searchParams = ref({ keyword: "", activeTab: '' })
-const paging = ref(null)
+const paging = ref(null)
const queryList = (page: number, pageSize: number) => {
if (searchParams.value.activeTab === "") {
@@ -69,7 +69,7 @@ const queryList = (page: number, pageSize: number) => {
}
}
-const virtualListChange = (_vList) => {
+const virtualListChange = (_vList:any) => {
articles.value = _vList
}
diff --git a/src/pages-sub/information/quota.vue b/src/pages-sub/information/quota.vue
index 1c76e60..e4e31bf 100644
--- a/src/pages-sub/information/quota.vue
+++ b/src/pages-sub/information/quota.vue
@@ -29,9 +29,9 @@ const handleBack = () => {
}
const regionVisible = ref(false)
-const regions = ref([])
+const regions = ref<{label:string;value:string|number}[]>([])
-const schools = ref([])
+const schools = ref<{schoolName:string}[]>([])
const searchParams = ref({
keyword: "",
region: "",
diff --git a/src/pages-sub/information/rank.vue b/src/pages-sub/information/rank.vue
index 9aa44a5..e394c06 100644
--- a/src/pages-sub/information/rank.vue
+++ b/src/pages-sub/information/rank.vue
@@ -81,6 +81,14 @@ const handleChange = () => {
})
}
+const handleComplete = () => {
+ if(searchParams.value.score === '' || searchParams.value.score < minScore.value){
+ searchParams.value.score = minScore.value
+ } else if(searchParams.value.score > maxScore.value){
+ searchParams.value.score = maxScore.value
+ }
+}
+
onShow(() => {
Promise.all([
@@ -124,7 +132,7 @@ onShow(() => {
+ rootStyle="margin: 32rpx 30rpx 0;background-color:#fff;" root-class="pl-[30rpx]" @complete="handleComplete" @submit="handleChange" />
支持查询180-660分