no message

This commit is contained in:
A1300399510
2024-05-16 16:49:10 +08:00
parent aa55e9b435
commit 34ad5520ea
21 changed files with 114 additions and 102 deletions

View File

@@ -45,9 +45,9 @@
</div>
<div class="tab-box flexcenter" :class="{ 'tab-list-fixed': tabListFixeState }">
<div class="tab-list flexacenter">
<div class="item flexcenter" :class="{ pitch: typePitch == null }" @click="cutType(null)">All</div>
<!-- <div class="item flexcenter" :class="{ pitch: typePitch == null }" @click="cutType(null)">All</div> -->
<template v-for="(item, index) in typeList" :key="index">
<div class="halving-line">|</div>
<div v-if="index !== 0" class="halving-line">|</div>
<div class="item flexcenter" :class="{ pitch: typePitch == it['id'] }" v-for="it in item" :key="it" @click="cutType(it.id)">{{ it["name"] }}</div>
</template>
</div>
@@ -1134,11 +1134,12 @@ export default {
// 获取分类数据 列表分类
const getListClass = () => {
typeList.value = []
$ajaxGET("/api/common/typeList").then(res => {
if (res.code != 200) return
let data = res.data
typeList.value = data
typeList.value.unshift([{ id: null, name: "All" }])
getPageHeight()
})
}