|
@@ -1,12 +1,7 @@
|
|
|
<!--pages/user/my_comment/index.wxml-->
|
|
|
<view class='container'>
|
|
|
<view class='comment_body'>
|
|
|
- <view class='nav_bar'>
|
|
|
- <view class='nav_bar_txt'>已评论</view>
|
|
|
- <view class='nav_bar_icon'>
|
|
|
- <text class='iconfont icon-search'></text>
|
|
|
- </view>
|
|
|
- </view>
|
|
|
+
|
|
|
<view class='comment_con'>
|
|
|
<view class="weui-tab__panel">
|
|
|
<view class="weui-tab__content">
|
|
@@ -14,39 +9,39 @@
|
|
|
<view data-id='{{item.exhibition.id}}' data-product="{{item.exhibition.hasProduct}}" bindtap='tapTodetail' class='weui-tab__content_item'>
|
|
|
<view class="fdkk-cells">
|
|
|
<view class="weui-cell">
|
|
|
- <view class="weui-cell__hd">
|
|
|
- <image class='comment_avatar' mode='aspectFill' src='{{item.avatarUrl||defaultImg}}'></image>
|
|
|
- </view>
|
|
|
- <view class="weui-cell__bd">
|
|
|
- <view class='comment_name'>{{item.nickName}}</view>
|
|
|
- <view class='comment_time'>点评了展览</view>
|
|
|
- </view>
|
|
|
- <view class="weui-cell__ft">
|
|
|
+ <view class='comment-user'>
|
|
|
+ <view class="weui-cell__hd">
|
|
|
+ <image class='comment_avatar' mode='aspectFill' src='{{ item.avatarUrl||defaultImg}}'></image>
|
|
|
+ </view>
|
|
|
+ <view class="weui-cell__bd">
|
|
|
+ <view class='comment_name'>{{item.nickName}}</view>
|
|
|
+ <view class='comment_time'>点评了展览</view>
|
|
|
+ </view>
|
|
|
</view>
|
|
|
+ <view class="weui-cell__ft">{{item.dateTimeDeatil}}</view>
|
|
|
</view>
|
|
|
<view class="weui-panel__bd">
|
|
|
<view class="weui-media-box weui-media-box_appmsg">
|
|
|
<view class="weui-media-box__bd weui-media-box__bd_in-appmsg">
|
|
|
<view class="weui-media-box__title weui-flex">
|
|
|
- <!-- <view class="weui-flex__item title-txt">{{item.orderItems[0].productName}}</view> -->
|
|
|
</view>
|
|
|
<view class="comment_content">
|
|
|
{{item.comment}}
|
|
|
</view>
|
|
|
<view class="comment_exhibition">
|
|
|
- <image class='comment_image' src="{{item.exhibition.imageUrl||defaultImg}}" mode='aspectFill'></image>
|
|
|
+ <view class='comment_image_warpper'>
|
|
|
+ <image class='comment_image' src="{{ imgServer + item.exhibition.imageUrl||defaultImg}}" mode='aspectFill' ></image>
|
|
|
+ </view>
|
|
|
<view class='comment_exhibition_info'>
|
|
|
<view class='comment_exhibition_info_title'>{{item.exhibition.name}}</view>
|
|
|
<view class='comment_exhibition_info_txt'>{{item.exhibition.pavilionName}}</view>
|
|
|
- <view style='display:flex;align-items: center'>
|
|
|
+ <view style='display:flex;align-items: center; flex: 1;'>
|
|
|
<image wx:for="{{item.imgObj}}" wx:key="index" class="comment-img__item" mode='aspectFill' src="{{item.img}}"></image>
|
|
|
- <text class='soreSty'>{{item.exhibition.score||'0.0'}}</text>
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class="comment-dec " bindtap='' data-idx="{{index}}" data-type="{{item.hasLike}}" data-id="{{item.id}}">
|
|
|
- <text>{{item.dateTimeDeatil}}</text>
|
|
|
- <text class="iconfont icon-zan {{item.hasLike?'icon-zan_active':''}}"><text style='margin-left:10rpx;'>{{item.likeCount}}</text></text>
|
|
|
+
|
|
|
</view>
|
|
|
</view>
|
|
|
<view>
|
|
@@ -64,10 +59,10 @@
|
|
|
<view class="weui-loading"></view>
|
|
|
<view class="weui-loadmore__tips">正在加载</view>
|
|
|
</view>
|
|
|
- <view class='noDataClass' hidden='{{myComment.length>0||loading}}'>
|
|
|
- <image class='no_exhibitionImg' mode='aspectFit' src='{{noExhibitionImg}}'></image>
|
|
|
- <view class="tips">
|
|
|
- 暂无评论信息
|
|
|
- </view>
|
|
|
- </view>
|
|
|
+
|
|
|
+ <view class='noCollection' wx:if="{{myComment.length < 1}}" >
|
|
|
+ {{myBrowsed.length}}
|
|
|
+ <image src='{{noCollectionImg}}'></image>
|
|
|
+ <text>没有更多的记录</text>
|
|
|
+ </view>
|
|
|
</view>
|