提交 ecfb8cb1 作者: 吴佳伟

fix: 处理浏览次数图标模糊和首页热点新闻样式问题

上级 8da8aa34
...@@ -124,7 +124,7 @@ ...@@ -124,7 +124,7 @@
<view class="flex flex-row justify-between text-25 color-#686868"> <view class="flex flex-row justify-between text-25 color-#686868">
<text>{{ news.publishDate }}</text> <text>{{ news.publishDate }}</text>
<view class="mr-1 flex-center"> <view class="mr-1 flex-center">
<image class="mr-1 w-30 h-26" src="/static/images/news/views.png" /> <image class="mt-0.5 mr-1 w-30 h-26" src="/static/images/news/views.png" />
<view class="flex-center text-24 lh-24rpx">{{ news.viewCount }}</view> <view class="flex-center text-24 lh-24rpx">{{ news.viewCount }}</view>
</view> </view>
</view> </view>
......
...@@ -706,11 +706,11 @@ ...@@ -706,11 +706,11 @@
<view <view
v-for="news in pageData.newsItems" v-for="news in pageData.newsItems"
:key="news.id" :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)" @click="toNewsDetail(news)"
> >
<view class="w-70% flex flex-col justify-between" :class="news.image ? 'w-70%' : 'w-full'"> <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">{{ <view class="text-25 color-#686868">{{
dayjs(news.publishDate).format('YYYY年MM月DD日') dayjs(news.publishDate).format('YYYY年MM月DD日')
}}</view> }}</view>
......
src/static/images/news/views.png

379 Bytes | W: | H:

src/static/images/news/views.png

9.7 KB | W: | H:

src/static/images/news/views.png
src/static/images/news/views.png
src/static/images/news/views.png
src/static/images/news/views.png
  • 2-up
  • Swipe
  • Onion skin
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论