资讯内容样式
This commit is contained in:
parent
83df0dc001
commit
855f6ca3e6
|
|
@ -5,8 +5,8 @@
|
||||||
<view class="text-3xl font-medium">{{ newsData.title }}</view>
|
<view class="text-3xl font-medium">{{ newsData.title }}</view>
|
||||||
<view class="flex mt-[20rpx] text-xs">
|
<view class="flex mt-[20rpx] text-xs">
|
||||||
<view class="mr-[40rpx]" v-if="newsData.author">作者: {{ newsData.author }}</view>
|
<view class="mr-[40rpx]" v-if="newsData.author">作者: {{ newsData.author }}</view>
|
||||||
<view class="text-muted mr-[40rpx]">{{ newsData.createTime }}</view>
|
<view class="text-muted mr-[40rpx] flex-1">{{ newsData.createTime }}</view>
|
||||||
<view class="flex items-center text-muted">
|
<view class="flex items-center text-muted flex-none">
|
||||||
<image
|
<image
|
||||||
src="/static/images/icon/icon_visit.png"
|
src="/static/images/icon/icon_visit.png"
|
||||||
class="w-[30rpx] h-[30rpx]"
|
class="w-[30rpx] h-[30rpx]"
|
||||||
|
|
@ -17,10 +17,10 @@
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
<!-- 咨询内容 -->
|
<!-- 咨询内容 -->
|
||||||
<view class="news-detail-section bg-white p-[20rpx]">
|
<view class="news-detail-section bg-white p-[24rpx]">
|
||||||
<!-- 摘要 -->
|
<!-- 摘要 -->
|
||||||
<view class="summary p-[20rpx] text-base" v-if="newsData.summary">
|
<view class="summary p-[20rpx] text-base" v-if="newsData.summary">
|
||||||
摘要: {{ newsData.summary }}
|
<text class="font-medium">摘要: </text> {{ newsData.summary }}
|
||||||
</view>
|
</view>
|
||||||
<!-- 内容 -->
|
<!-- 内容 -->
|
||||||
<view class="mt-[20rpx]">
|
<view class="mt-[20rpx]">
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue