|
@@ -32,6 +32,30 @@
|
|
|
<div class="icon-blue">{{ index + 1 }}</div>
|
|
|
</template>
|
|
|
</van-cell>
|
|
|
+ <van-cell
|
|
|
+ v-if="query.title !== '地方专题'"
|
|
|
+ @click="
|
|
|
+ () => {
|
|
|
+ push({
|
|
|
+ name: 'classify',
|
|
|
+ query: {
|
|
|
+ ...query,
|
|
|
+ title: '地方专题',
|
|
|
+ path: 'selectDfQustionInfo',
|
|
|
+ sort: 4,
|
|
|
+ },
|
|
|
+ });
|
|
|
+ }
|
|
|
+ "
|
|
|
+ class="cell"
|
|
|
+ title="地方专题"
|
|
|
+ is-link
|
|
|
+ center
|
|
|
+ :border="false">
|
|
|
+ <template #icon>
|
|
|
+ <div class="icon-blue">{{ "地" }}</div>
|
|
|
+ </template>
|
|
|
+ </van-cell>
|
|
|
</div>
|
|
|
<div class="cell-box">
|
|
|
<van-cell
|
|
@@ -82,25 +106,30 @@ const classData = ref([]);
|
|
|
getTopicClass(query.path as string, {
|
|
|
...query,
|
|
|
excellIssueName: "必学",
|
|
|
-}).then(({data}) => {
|
|
|
+}).then(({ data }) => {
|
|
|
// res.data.data.shift();
|
|
|
- console.log(data)
|
|
|
+ console.log(data);
|
|
|
classDataLeft.value = data.data;
|
|
|
getTopicClass(query.path as string, {
|
|
|
...query,
|
|
|
excellIssueName: "新增",
|
|
|
}).then(({ data }) => {
|
|
|
-
|
|
|
// data.data.shift();
|
|
|
- classDataLeft.value = [...classDataLeft.value,...data.data];
|
|
|
+ classDataLeft.value = [...classDataLeft.value, ...data.data];
|
|
|
+ });
|
|
|
+ getTopicClass(query.path as string, {
|
|
|
+ ...query,
|
|
|
+ excellIssueName: "地方",
|
|
|
+ }).then(({ data }) => {
|
|
|
+ // data.data.shift();
|
|
|
+ classDataLeft.value = [...classDataLeft.value, ...data.data];
|
|
|
});
|
|
|
});
|
|
|
|
|
|
getTopicClass(query.path as string, {
|
|
|
...query,
|
|
|
excellIssueName: "选学",
|
|
|
-}).then(({data}) => {
|
|
|
-
|
|
|
+}).then(({ data }) => {
|
|
|
classDataRight.value = data.data;
|
|
|
});
|
|
|
</script>
|