|
@@ -51,14 +51,15 @@
|
|
|
<view class="message-block">
|
|
<view class="message-block">
|
|
|
<view style="display: flex; justify-content: space-between;">
|
|
<view style="display: flex; justify-content: space-between;">
|
|
|
<view class="title2">{{activityComment.length === 0 ? "暂无问答" : "答疑区:"}}</view>
|
|
<view class="title2">{{activityComment.length === 0 ? "暂无问答" : "答疑区:"}}</view>
|
|
|
- <image class="like" src="/images/like/{{like ? 'heart' : 'hollowheart'}}.png" catchtap="toggleLike" />
|
|
|
|
|
|
|
+ <image wx:if="{{hasUserInfo}}" class="like" src="/images/like/{{like ? 'heart' : 'hollowheart'}}.png"
|
|
|
|
|
+ catchtap="toggleLike" />
|
|
|
</view>
|
|
</view>
|
|
|
<view class="card1" wx:for="{{activityComment}}" wx:for-item="comm" wx:key="_id">
|
|
<view class="card1" wx:for="{{activityComment}}" wx:for-item="comm" wx:key="_id">
|
|
|
<itemActivityComment comment="{{comm}}" />
|
|
<itemActivityComment comment="{{comm}}" />
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
|
|
|
|
|
|
- <view class="comment secondary-background-color">
|
|
|
|
|
|
|
+ <view wx:if="{{hasUserInfo}}" class="comment secondary-background-color">
|
|
|
<view class="comment-inside" style="display: flex; align-items: center;">
|
|
<view class="comment-inside" style="display: flex; align-items: center;">
|
|
|
<icon type="info" size="20" color="#B0B0B0"></icon>
|
|
<icon type="info" size="20" color="#B0B0B0"></icon>
|
|
|
<input class="comment-input" style="width: 550rpx;" model:value="{{commentText}}" placeholder="提问"
|
|
<input class="comment-input" style="width: 550rpx;" model:value="{{commentText}}" placeholder="提问"
|