update uniapp

This commit is contained in:
linfeng 2023-07-10 09:54:54 +08:00
parent 61496447b3
commit 2148b37358
2 changed files with 2 additions and 9 deletions

View File

@ -64,7 +64,7 @@
<block v-if="postDetail.isCollection"> <block v-if="postDetail.isCollection">
<view class="p-item" @click="cancelCollection"> <view class="p-item" @click="cancelCollection">
<text class="iconfont icon-lujing" style="color: #d81e06;"></text> <text class="iconfont icon-lujing" style="color: #d81e06;"></text>
<text>{{ postDetail.collectionCount }}</text> <text>{{ postDetail.collectionCount}}</text>
</view> </view>
</block> </block>
<block v-else> <block v-else>
@ -75,7 +75,7 @@
</block> </block>
<view class="p-item" @click="focus = true"> <view class="p-item" @click="focus = true">
<text class="iconfont icon-pinglun"></text> <text class="iconfont icon-pinglun"></text>
<text>{{ postDetail.commentCount }}</text> <text>{{ postDetail.commentCount || 0 }}</text>
</view> </view>
<view class="p-item" @click="showShare = true"> <view class="p-item" @click="showShare = true">
<text class="iconfont icon-forward"></text> <text class="iconfont icon-forward"></text>
@ -742,11 +742,6 @@
} }
} }
video {
width: 100%;
}
.post-text { .post-text {
white-space: pre-wrap; white-space: pre-wrap;
} }

View File

@ -283,9 +283,7 @@
margin-right: 10rpx; margin-right: 10rpx;
} }
} }
.title-desc { .title-desc {
// margin-left: 30rpx;
margin: auto; margin: auto;
font-size: 32rpx; font-size: 32rpx;
color: #565656; color: #565656;