Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
basic-uniapp-v3
概览
概览
详情
活动
周期分析
版本库
存储库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
问题
0
议题
0
列表
看板
标记
里程碑
合并请求
1
合并请求
1
CI / CD
CI / CD
流水线
作业
日程表
图表
维基
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
Basic
basic-uniapp-v3
Commits
ecfb8cb1
提交
ecfb8cb1
authored
11月 28, 2025
作者:
吴佳伟
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
fix: 处理浏览次数图标模糊和首页热点新闻样式问题
上级
8da8aa34
显示空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
3 行增加
和
3 行删除
+3
-3
index.vue
src/pages/news/index.vue
+1
-1
shouye.vue
src/pages/shouye/shouye.vue
+2
-2
views.png
src/static/images/news/views.png
+0
-0
没有找到文件。
src/pages/news/index.vue
浏览文件 @
ecfb8cb1
...
...
@@ -124,7 +124,7 @@
<view
class=
"flex flex-row justify-between text-25 color-#686868"
>
<text>
{{
news
.
publishDate
}}
</text>
<view
class=
"mr-1 flex-center"
>
<image
class=
"mr-1 w-30 h-26"
src=
"/static/images/news/views.png"
/>
<image
class=
"m
t-0.5 m
r-1 w-30 h-26"
src=
"/static/images/news/views.png"
/>
<view
class=
"flex-center text-24 lh-24rpx"
>
{{
news
.
viewCount
}}
</view>
</view>
</view>
...
...
src/pages/shouye/shouye.vue
浏览文件 @
ecfb8cb1
...
...
@@ -706,11 +706,11 @@
<view
v-for=
"news in pageData.newsItems"
:key=
"news.id"
class=
"w-full h-
110
flex flex-row justify-around p-2"
class=
"w-full h-
auto
flex flex-row justify-around p-2"
@
click=
"toNewsDetail(news)"
>
<view
class=
"w-70% flex flex-col justify-between"
:class=
"news.image ? 'w-70%' : 'w-full'"
>
<view
class=
"text-25 color-#333333"
>
{{
news
.
title
}}
</view>
<view
class=
"text-25 color-#333333
mb-1
"
>
{{
news
.
title
}}
</view>
<view
class=
"text-25 color-#686868"
>
{{
dayjs
(
news
.
publishDate
).
format
(
'YYYY年MM月DD日'
)
}}
</view>
...
...
src/static/images/news/views.png
查看替换文件 @
8da8aa34
浏览文件 @
ecfb8cb1
379 Bytes
|
W:
|
H:
9.7 KB
|
W:
|
H:
2-up
Swipe
Onion skin
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论