mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-mobile.git
synced 2025-12-09 02:46:46 +08:00
提交
This commit is contained in:
@@ -71,7 +71,7 @@
|
||||
<text style="color: #00aaff;word-break: normal; " v-if="an.content.length>minTextLen" @click="changeIsAll(an)">{{an.isAll?' 收起':' 全文'}}</text>
|
||||
</view>
|
||||
<view class="comment-btns">
|
||||
<view style="margin-left: 10px"><time-show :time="an.sysCreateTime"></time-show></view>
|
||||
<view><time-show :time="an.sysCreateTime"></time-show></view>
|
||||
<view class="" style="display: flex;">
|
||||
<view style="font-size: 12px;color: #999999;line-height: 50upx;" @click="openReply(an,{})">
|
||||
<image style="width: 32upx;height: 32upx;vertical-align: middle;margin-right: 10upx;" src="../../static/images/icon/bar-comment.png" size="24"></image>回复
|
||||
@@ -104,9 +104,7 @@
|
||||
<text style="padding-left: 16upx;padding-top: 6upx;color: #979797;">回复</text>
|
||||
<text style="padding-left: 16upx;padding-top: 6upx;font-size: 26upx;">{{ele.replayName}}</text>
|
||||
</view>
|
||||
<view class="comment-time">
|
||||
<time-show :time="ele.sysCreateTime"></time-show>
|
||||
</view>
|
||||
|
||||
</view>
|
||||
<view class="comment-body">
|
||||
<view class="comment-content" style="word-break: break-all;white-space: pre-wrap;">
|
||||
@@ -114,12 +112,29 @@
|
||||
<text style="color: #00aaff; white-space: nowrap;" v-if="ele.content.length>minTextLen" @click="changeIsAll(ele)">{{ele.isAll?' 收起':' 全文'}}</text>
|
||||
</view>
|
||||
<view class="comment-btns">
|
||||
<view>
|
||||
<view class="comment-time">
|
||||
<time-show :time="ele.sysCreateTime"></time-show>
|
||||
</view>
|
||||
<view class="" style="display: flex;">
|
||||
<view style="font-size: 12px;color: #999999;line-height: 50upx;" @click="openReply(ele,an)">
|
||||
<image style="width: 32upx;height: 32upx;vertical-align: middle;margin-right: 10upx;" src="../../static/images/icon/bar-comment.png" size="24"></image>回复
|
||||
</view>
|
||||
<view v-if="!ele.isPraise" style="font-size: 12px;color: #999999;line-height: 50upx;margin-left: 40upx;" @click="addPraise(anidx)">
|
||||
<image style="width: 32upx;height: 32upx;vertical-align: middle;margin-right: 10upx;" src="../../static/images/icon/bar-praise.png" size="24"></image>
|
||||
<text> {{ele.praises}}</text>
|
||||
</view>
|
||||
<view v-if="ele.isPraise" style="font-size: 12px;color: #999999;line-height: 50upx;margin-left: 40upx;" @click="removePraise(anidx)">
|
||||
<image style="width: 32upx;height: 32upx;vertical-align: middle;margin-right: 10upx;" src="../../static/images/icon/bar-praise-active.png" size="24"></image>
|
||||
<text style="color: #387DF7;"> {{ele.praises}}</text>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<!-- <view>
|
||||
<u-icon @click="openReply(ele,an)" name="chat" color="#979797" size="18" label="回复"></u-icon>
|
||||
</view>
|
||||
<view>
|
||||
<u-icon v-if="userInfo.aid==ele.sysCreateAid" @click="openBtns(ele,replyIndex)" name="more-dot-fill" size="20"></u-icon>
|
||||
</view>
|
||||
</view> -->
|
||||
</view>
|
||||
<!--评论的二级显示-->
|
||||
<view v-if="ele.answers && ele.answers.length!=0" class="comment-replys">
|
||||
@@ -130,9 +145,7 @@
|
||||
<text style="padding-left: 16upx;padding-top: 6upx;color: #979797;">回复</text>
|
||||
<text style="padding-left: 16upx;padding-top: 6upx;font-size: 26upx;">{{row.replayName}}</text>
|
||||
</view>
|
||||
<view class="comment-time">
|
||||
<time-show :time="row.sysCreateTime"></time-show>
|
||||
</view>
|
||||
|
||||
</view>
|
||||
<view class="comment-body">
|
||||
<view class="comment-content" style="word-break: break-all;white-space: pre-wrap;">
|
||||
@@ -140,12 +153,23 @@
|
||||
<text style="color: #00aaff; white-space: nowrap;" v-if="row.content.length>minTextLen" @click="changeIsAll(row)">{{row.isAll?' 收起':' 全文'}}</text>
|
||||
</view>
|
||||
<view class="comment-btns">
|
||||
<view>
|
||||
<view class="comment-time">
|
||||
<time-show :time="row.sysCreateTime"></time-show>
|
||||
</view>
|
||||
<view v-if="!row.isPraise" style="font-size: 12px;color: #999999;line-height: 50upx;margin-left: 40upx;" @click="addPraise(anidx)">
|
||||
<image style="width: 32upx;height: 32upx;vertical-align: middle;margin-right: 10upx;" src="../../static/images/icon/bar-praise.png" size="24"></image>
|
||||
<text> {{row.praises}}</text>
|
||||
</view>
|
||||
<view v-if="row.isPraise" style="font-size: 12px;color: #999999;line-height: 50upx;margin-left: 40upx;" @click="removePraise(anidx)">
|
||||
<image style="width: 32upx;height: 32upx;vertical-align: middle;margin-right: 10upx;" src="../../static/images/icon/bar-praise-active.png" size="24"></image>
|
||||
<text style="color: #387DF7;"> {{row.praises}}</text>
|
||||
</view>
|
||||
<!-- <view>
|
||||
<u-icon @click="openReply(row,ele)" name="chat" color="#979797" size="18" label="回复"></u-icon>
|
||||
</view>
|
||||
<view>
|
||||
<u-icon v-if="userInfo.aid==row.sysCreateAid" @click="openBtns(row,rowIdx)" name="more-dot-fill" size="20"></u-icon>
|
||||
</view>
|
||||
</view> -->
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
Reference in New Issue
Block a user