Browse Source

来活动留言

master
slj 4 years ago
parent
commit
c666f6dae0
  1. 61
      pages/topics/activity/activityDetail/index.wxml

61
pages/topics/activity/activityDetail/index.wxml

@ -17,45 +17,42 @@
<template is="wxParse" data="{{wxParseData:activity.nodes}}" />
</view>
<!--留言列表-->
<block wx:if="{{commentList.length>0}}">
<view class="section_line"></view>
<view class="topic_comment">
<view class="topic_comment_top">
<view>活动留言</view>
<button class="commnetBtn" size="mini" bindtap="onTapComment">留言</button>
</view>
<!--留言列表-->
<view class="comment_info">
<view class="touch-item {{item.isTouchMove ? 'touch-move-active' : ''}}" data-index="{{index}}"
data-name="{{item.userName}}" bindtouchstart="touchstart" bindtouchmove="touchmove" wx:for="{{commentList}}"
wx:key="{{index}}">
<view class="comment_content">
<view class="comment_info_left">
<image class="comment_icon" src="{{item.commentAvator}}"></image>
</view>
<view class="comment_info_right">
<view class="comment_top">
<view class="comment_info_userName">{{item.userName}}</view>
<view class="goodIdeaIcon" wx:if="{{item.isGoldenIdea === 1}}">
<image style="width:100%;height:100%;" src="/images/topic/gidea.png"></image>
</view>
<view class="section_line"></view>
<view class="topic_comment">
<view class="topic_comment_top">
<view>活动留言</view>
<button class="commnetBtn" size="mini" bindtap="onTapComment">留言</button>
</view>
<!--留言列表-->
<view class="comment_info">
<view class="touch-item {{item.isTouchMove ? 'touch-move-active' : ''}}" data-index="{{index}}"
data-name="{{item.userName}}" bindtouchstart="touchstart" bindtouchmove="touchmove" wx:for="{{commentList}}"
wx:key="{{index}}">
<view class="comment_content">
<view class="comment_info_left">
<image class="comment_icon" src="{{item.commentAvator}}"></image>
</view>
<view class="comment_info_right">
<view class="comment_top">
<view class="comment_info_userName">{{item.userName}}</view>
<view class="goodIdeaIcon" wx:if="{{item.isGoldenIdea === 1}}">
<image style="width:100%;height:100%;" src="/images/topic/gidea.png"></image>
</view>
<view class="comment_info_detail">{{item.detail}}</view>
<view class="comment_info_time">
<view class="comment_info_time_left">{{item.time}}</view>
<view class="comment_info_time_right" bindtap="onClickPraise" data-item="{{item}}"
data-index='{{index}}'>
<view class="praiseNum">{{item.praiseNum}}</view>
<image class="praiseIcon" src="{{item.isSupport ==='0' ? unPraise : praise}}"></image>
</view>
</view>
<view class="comment_info_detail">{{item.detail}}</view>
<view class="comment_info_time">
<view class="comment_info_time_left">{{item.time}}</view>
<view class="comment_info_time_right" bindtap="onClickPraise" data-item="{{item}}" data-index='{{index}}'>
<view class="praiseNum">{{item.praiseNum}}</view>
<image class="praiseIcon" src="{{item.isSupport ==='0' ? unPraise : praise}}"></image>
</view>
</view>
</view>
<view class="del" data-index="{{index}}" data-id="{{item.id}}" catchtap="del">删除</view>
</view>
<view class="del" data-index="{{index}}" data-id="{{item.id}}" catchtap="del">删除</view>
</view>
</view>
</block>
</view>
<!--活动报名-->
<view class="page_footer">
<!-- <e-ibutton title="{{disable ? '已报名' : '在线报名'}}" bind:onTap="onlineSubmit" disable="{{disable}}"/> -->

Loading…
Cancel
Save