优化界面
This commit is contained in:
@@ -50,7 +50,7 @@
|
||||
</div>
|
||||
</template>
|
||||
<div v-if="todayLoading" class="home-today-loading">
|
||||
<el-icon class="is-loading"><Loading /></el-icon>
|
||||
<el-icon class="is-loading"><LoaderCircle /></el-icon>
|
||||
</div>
|
||||
<div v-else-if="todayModels.length === 0" class="home-today-empty">
|
||||
暂无新增
|
||||
@@ -75,7 +75,7 @@
|
||||
</div>
|
||||
</template>
|
||||
<div v-if="todayLoading" class="home-today-loading">
|
||||
<el-icon class="is-loading"><Loading /></el-icon>
|
||||
<el-icon class="is-loading"><LoaderCircle /></el-icon>
|
||||
</div>
|
||||
<div v-else-if="todayOtas.length === 0" class="home-today-empty">
|
||||
暂无新增
|
||||
@@ -97,7 +97,7 @@
|
||||
<script setup>
|
||||
import { computed, ref, onMounted } from 'vue'
|
||||
import { useRouter } from 'vue-router'
|
||||
import { House, Collection, List, Document, Share, Upload, Loading, Tools } from '@element-plus/icons-vue'
|
||||
import { House, Layers, List, FileText, Share2, Upload, LoaderCircle, ToolCase } from '@lucide/vue'
|
||||
import { getUser } from '@/utils/auth'
|
||||
import { getTodayStats } from '@/api/dashboard'
|
||||
|
||||
@@ -111,11 +111,11 @@ const todayModels = ref([])
|
||||
const todayOtas = ref([])
|
||||
|
||||
const quickLinks = [
|
||||
{ path: '/brand', title: '耳机品牌管理', desc: '维护耳机品牌信息', icon: Collection, colorClass: 'icon-cyan' },
|
||||
{ path: '/brand', title: '耳机品牌管理', desc: '维护耳机品牌信息', icon: Layers, colorClass: 'icon-cyan' },
|
||||
{ path: '/model', title: '耳机型号管理', desc: '维护耳机型号与配置', icon: List, colorClass: 'icon-coral' },
|
||||
{ path: '/ota', title: 'OTA 管理', desc: '固件升级包管理', icon: Document, colorClass: 'icon-cyan' },
|
||||
{ path: '/share-code/log', title: '分享日志', desc: '查看分享码使用记录', icon: Share, colorClass: 'icon-coral' },
|
||||
{ path: '/toolbox/luxsin-controller', title: 'Luxsin 控制器', desc: '局域网设备数据同步', icon: Tools, colorClass: 'icon-cyan' }
|
||||
{ path: '/ota', title: 'OTA 管理', desc: '固件升级包管理', icon: FileText, colorClass: 'icon-cyan' },
|
||||
{ path: '/share-code/log', title: '分享日志', desc: '查看分享码使用记录', icon: Share2, colorClass: 'icon-coral' },
|
||||
{ path: '/toolbox/luxsin-controller', title: 'Luxsin 控制器', desc: '局域网设备数据同步', icon: ToolCase, colorClass: 'icon-cyan' }
|
||||
]
|
||||
|
||||
function formatTime(isoStr) {
|
||||
|
||||
Reference in New Issue
Block a user