|
|
|
<!--pages/topics/activity/activityDetail/index.wxml-->
|
|
|
|
<import src="../../../../components/wxParse/wxParse.wxml" />
|
|
|
|
<view class="container">
|
|
|
|
<view class="page_hd">
|
|
|
|
<view class="artice_title">{{title}}</view>
|
|
|
|
<view class="artice_info">
|
|
|
|
<text class="artice_origin">{{origin || ''}}</text>
|
|
|
|
<text class="artice_time">{{date || ''}}</text>
|
|
|
|
<image class="artice_collect" src="{{isStar ? star : unStar}}" bindtap="onClickCollect"></image>
|
|
|
|
</view>
|
|
|
|
<view class="artice_image" wx:if="{{image.length > 0}}">
|
|
|
|
<image class="title_image" src="{{image}}"></image>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
<!-- 打算赋能中心用这个,不过下面要删掉,用block试试?-->
|
|
|
|
<view class="page_bd {{showBtn ? 'page_bd_short':''}}">
|
|
|
|
<template is="wxParse" data="{{wxParseData:activity.nodes}}" />
|
|
|
|
</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>
|
|
|
|
<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>
|
|
|
|
<view class="del" data-index="{{index}}" data-id="{{item.id}}" catchtap="del">删除</view>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
<!--活动报名-->
|
|
|
|
<view class="page_footer">
|
|
|
|
<!-- <e-ibutton title="{{disable ? '已报名' : '在线报名'}}" bind:onTap="onlineSubmit" disable="{{disable}}"/> -->
|
|
|
|
<block wx:if="{{ flag == 0 }}">
|
|
|
|
<e-ibutton title="在线报名" bind:onTap="onlineSubmit" disable="{{disable}}" />
|
|
|
|
</block>
|
|
|
|
<block wx:if="{{ flag == 1 }}">
|
|
|
|
<e-ibutton title="取消报名" bind:onTap="cancelSignApi" disable="{{disable}}" />
|
|
|
|
</block>
|
|
|
|
<block wx:if="{{ flag == 2 }}">
|
|
|
|
<e-ibutton title="已报名" bind:onTap="onlineSubmit" disable="true" />
|
|
|
|
</block>
|
|
|
|
<block wx:if="{{ flag == 3 }}">
|
|
|
|
<e-ibutton title="在线报名" bind:onTap="onlineSubmit" disable="true" />
|
|
|
|
</block>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
<modal hidden="{{hiddenmodalput}}" confirm-text="提交" cancel-text="取消" bindcancel="cancel" bindconfirm="confirm">
|
|
|
|
<textarea bindinput="bingTextAreaInput" value="{{currentComment}}" maxlength="400" placeholder="请输入留言" />
|
|
|
|
</modal>
|