闫增涛
2024-02-23 fdfb3ca757ecd6c396632ed276ff354671d3a7e5
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<view class="comments-card-item wr-class">
  <view class="comments-card-item-container">
    <view class="comments-title">
      <view class="comments-card-item-userImg">
        <t-image t-class="userImg" src="{{userHeadUrl}}" />
      </view>
      <view class="userName">{{userName}}</view>
      <text class="commentTime">{{commentTime}}</text>
    </view>
    <view class="comments-info">
      <view class="rate">
        <t-rate value="{{commentScore}}" size="14" gap="2" color="{{['#ffc51c', '#ddd']}}" />
      </view>
      <view class="goods-info-text" wx:if="{{goodsDetailInfo}}">{{goodsDetailInfo}}</view>
    </view>
    <view class="comments-card-item-container-content">
      <view class="content-text" hidden="{{showContent}}"> {{commentContent}} </view>
    </view>
    <view class="comments-card-item-container-image" wx:if="{{commentResources.length > 0}}">
      <images-videos resources="{{commentResources}}" />
    </view>
    <view class="comments-card-reply" wx:if="{{sellerReply}}">
      <text class="prefix">店家回复:</text>
      <text class="content">{{sellerReply}}</text>
    </view>
  </view>
</view>