This commit is contained in:
2025-08-13 14:53:35 +08:00
parent 1f5f069988
commit b2009403d8
13 changed files with 761 additions and 282 deletions

View File

@@ -1,5 +1,5 @@
<template>
<view class="hb-comment" style="height: 80vh">
<view class="hb-comment" style="height: 60vh">
<!-- 阅读数-start -->
<!-- 阅读数-end -->
@@ -169,21 +169,22 @@
<image v-if="user.icon"
:src="user.icon"
style="
width: 70rpx;
height: 70rpx;
width: 60rpx;
height: 60rpx;
margin: 0 8rpx;
display: block;
border-radius: 70rpx;
border-radius: 60rpx;
margin-top: 4rpx;
"
/>
<image v-else
src="/static/icon/noIcon.png"
style="
width: 70rpx;
height: 70rpx;
width: 60rpx;
height: 60rpx;
margin: 0 8rpx;
display: block;
border-radius: 70rpx;
border-radius: 60rpx;margin-top: 4rpx;
"
/>
@@ -193,7 +194,7 @@
width: calc(100% - 100rpx);
margin-right: 20rpx;
position: relative;
padding: 20rpx 20rpx;
padding: 14rpx 20rpx;
border-radius: 10rpx;
"
>
@@ -214,7 +215,7 @@
:style="{ bottom: keyboardHeight + 'px' }"
v-if="showInput"
>
<view style="overflow: hidden; margin-bottom: 12rpx"
<view style="overflow: hidden; margin-bottom: 4rpx;font-size: 26rpx"
><text
@click="
showInput = false;
@@ -229,7 +230,7 @@
<view>
<textarea
auto-height
style="max-height: 200rpx; overflow-y: auto; padding: 20rpx"
style="max-height: 200rpx; overflow-y: auto; padding: 14rpx"
v-model="commentContent"
class="comment-input"
maxlength="-1"
@@ -708,7 +709,7 @@ export default {
}
.comment-none {
padding: 16rpx 0;
padding: 4rpx 0;
width: 100%;
// text-align: center;
color: #999999;
@@ -785,7 +786,7 @@ export default {
left: 0;
width: 100%;
// display: flex;
padding: 10px;
padding: 10rpx;
background-color: #fff;
border-top: 1px solid #eee;
box-sizing: border-box;