refactor(components): 重构图片资源引用方式,使用动态路径

将静态图片路径改为从valueUrl动态获取,统一管理图片资源路径
添加新的SVG图标资源
修复BI组件401未授权时的登录跳转逻辑
优化签到组件图片资源路径
This commit is contained in:
DESKTOP-RQ919RC\Pc
2025-12-08 19:09:04 +08:00
parent 003b5992a5
commit 6ce06b133a
29 changed files with 268 additions and 187 deletions

View File

@@ -1,10 +1,10 @@
<div class="posts-box box-newest " :class="['boxtype-' + boxtype]">
<div v-if="boxtype == 'newest'" class="box-newest-head flexacenter">
<img class="icon" src="/img/newest-icon.png" alt="" />
<img class="icon" :src="valueUrl + '/img/newest-icon.png'" alt="" />
最新
</div>
<div v-else-if="boxtype == 'essence'" class="box-newest-head flexacenter">
<img class="icon" src="/img/essence.png" alt="" />
<img class="icon" :src="valueUrl + '/img/essence.png'" alt="" />
精华阅读
</div>
<div v-else class="slideshow-box">
@@ -18,7 +18,7 @@
<div class="slideshow-content flexflex">
<!-- newest 最新 -->
<div class="newest-side-box side-box">
<img class="bounding" src="/img/bounding-circle-green.svg" alt="" />
<img class="bounding" :src="valueUrl + '/img/bounding-circle-green.svg'" alt="" />
<div class="box">
<template v-for="(item, index) in latestList" :key="index">
<a v-if="item.title || item.content" class="item flexacenter vuehide"
@@ -32,7 +32,7 @@
<!-- essence 精选 -->
<div class="essence-side-box side-box">
<img class="bounding" src="/img/bounding-circle-blue.svg" alt="" />
<img class="bounding" :src="valueUrl + '/img/bounding-circle-blue.svg'" alt="" />
<div class="box">
<template v-for="(item, index) in topList" :key="index">
<a v-if="item.title || item.content" class="item flexacenter vuehide"