This commit is contained in:
2025-06-13 21:01:33 +08:00
parent 376d9d5cfe
commit 88a8d119cf
15 changed files with 429 additions and 49 deletions

View File

@@ -16,6 +16,7 @@ import OpenTypeFun from "../../components/OpenTypeFun.js";
import XNoticeBar from "../../components/XNoticeBar.vue";
const showAddCustomer = ref(false);
const textContent = ref(null);
const advList = reactive([]);
const nav = [
{
@@ -94,13 +95,19 @@ onMounted(() => {
advList.length = 0;
advList.push(...data);
});
Api.system.getBarrageList().then(({data}) => {
textContent.value = '';
data.forEach((v, index) => {
textContent.value += `${index + 1}.${v}    `;
});
});
})
</script>
<template>
<!--首页-->
<XNav :show-back="false"></XNav>
<x-notice-bar></x-notice-bar>
<x-notice-bar :text="textContent" v-if="textContent"></x-notice-bar>
<add-customer-service-modal v-model:show="showAddCustomer"></add-customer-service-modal>