feat: 更新组件样式和功能,优化路由链接和用户体验
refactor: 重构组件模板,统一使用相对路径和内部路由 style: 调整CSS样式,修复布局和间距问题 fix: 修复投票和offer组件链接错误问题 chore: 添加新图片资源并更新相关引用路径 perf: 移除调试日志,优化页面加载性能 docs: 更新组件注释和文档说明 test: 更新测试用例以适配新功能 ci: 调整构建配置以支持新资源文件 build: 更新依赖项以兼容新功能
This commit is contained in:
@@ -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="/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="/img/essence.png" alt="" />
|
||||
精华阅读
|
||||
</div>
|
||||
<div v-else class="slideshow-box">
|
||||
@@ -16,9 +16,9 @@
|
||||
<div class="slideshow-content flexflex">
|
||||
<!-- newest 最新 -->
|
||||
<div class="newest-side-box side-box">
|
||||
<img class="bounding" src="//framework.x-php.com/gter/image/gter/forum/assets/forum/bounding-circle-green.svg?v=5.2.91_202030101" alt="" />
|
||||
<img class="bounding" src="/img/bounding-circle-green.svg" alt="" />
|
||||
<div class="box">
|
||||
<a v-for="(item, index) in latestList" :key="index" class="item flexacenter vuehide" :href="'http://14.22.79.19:9551/?tpl=forum/details&uniqid=' + item.uniqid" target="_blank">
|
||||
<a v-for="(item, index) in latestList" :key="index" class="item flexacenter vuehide" :href="'/details/' + item.uniqid" target="_blank">
|
||||
<div class="dot dot-green"></div>
|
||||
<div class="text one-line-display">{{ item.title }}</div>
|
||||
</a>
|
||||
@@ -27,9 +27,9 @@
|
||||
|
||||
<!-- essence 精选 -->
|
||||
<div class="essence-side-box side-box">
|
||||
<img class="bounding" src="//framework.x-php.com/gter/image/gter/forum/assets/forum/bounding-circle-blue.svg?v=5.2.91_202030101" alt="" />
|
||||
<img class="bounding" src="/img/bounding-circle-blue.svg" alt="" />
|
||||
<div class="box">
|
||||
<a v-for="(item, index) in topList" :key="index" class="item flexacenter vuehide" :href="'http://14.22.79.19:9551/?tpl=forum/details&uniqid=' + item.uniqid" target="_blank">
|
||||
<a v-for="(item, index) in topList" :key="index" class="item flexacenter vuehide" :href="'/details/' + item.uniqid" target="_blank">
|
||||
<div class="dot"></div>
|
||||
<div class="text one-line-display">{{ item.title }}</div>
|
||||
</a>
|
||||
|
||||
Reference in New Issue
Block a user