| | |
| | | <view class="pl-item-info-data"> |
| | | <view class="pl-item-info-data-time">{{item.createDate }}</view> |
| | | <view class="pl-item-info-data-list"> |
| | | <view class="pl-item-info-data-list-item" @click="openTwo(item.id, item)"> |
| | | <image src="/static/icon/ic_reply2@2x.png" mode="widthFix"></image> |
| | | <view class="pl-item-info-data-list-item" > |
| | | <image src="/static/icon/ic_reply2@2x.png" mode="widthFix" @click="openTwo(item.id, item)"></image> |
| | | </view> |
| | | <view class="pl-item-info-data-list-item" @click.stop="dianzanpl(item)"> |
| | | <image src="/static/icon/dianzan.png" mode="widthFix" v-if="!item.zanStatus || item.zanStatus == 0"></image> |
| | | <image src="/static/icon/detail_ic_zan_sel@2x.png" mode="widthFix" v-else></image> |
| | | <text :style="{color: (!item.zanStatus || item.zanStatus == 0) ? '#AAAAAA' : '#004096'}">{{item.zanCount}}</text> |
| | | <view class="pl-item-info-data-list-item" > |
| | | <image src="/static/icon/dianzan.png" mode="widthFix" v-if="!item.zanStatus || item.zanStatus == 0" @click.stop="dianzanpl(item)"></image> |
| | | <image src="/static/icon/detail_ic_zan_sel@2x.png" mode="widthFix" v-else @click.stop="dianzanpl(item)"></image> |
| | | <text :style="{color: (!item.zanStatus || item.zanStatus == 0) ? '#AAAAAA' : '#004096'}" @click.stop="dianzanpl(item)">{{item.zanCount}}</text> |
| | | </view> |
| | | </view> |
| | | </view> |
| | |
| | | <view class="pl-item-info"> |
| | | <view class="pl-item-info-name">{{child.nikeName}}</view> |
| | | <view class="pl-item-info-content" v-if="child.content"> |
| | | <text v-if="child.replyMemberNikeName"> 回复<text style="color: #AAAAAA;margin-left: 6rpx;margin-right: 6rpx;">{{child.replyMemberNikeName}}</text>: </text> |
| | | {{child.content}} |
| | | </view> |
| | | <view class="pl-item-info-list" v-if="child.multifileList && child.multifileList.length > 0"> |
| | |
| | | export default { |
| | | components: { Login }, |
| | | computed: { |
| | | ...mapState(['userInfo', 'token']) |
| | | ...mapState(['userInfo', 'token','recshopid','recuserid']) |
| | | }, |
| | | data() { |
| | | return { |
| | |
| | | }, |
| | | // 二级评论 |
| | | openTwo(commentId, item) { |
| | | if (!this.userInfo) { |
| | | this.$refs.login.open() |
| | | return; |
| | | } |
| | | this.item = item |
| | | this.commentId = commentId |
| | | this.show1 = true |
| | |
| | | activityId: this.info.id, |
| | | content: this.value, |
| | | multifileList: this.multifileList, |
| | | // commentId: this.commentId, |
| | | commentId: this.commentId, |
| | | replyId: this.item ? this.item.id : null |
| | | }).then(res => { |
| | | if (res.code === 200) { |