市北人才赋能平台 --小程序端
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

75 lines
3.5 KiB

4 years ago
<!--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>
<!--留言列表-->
4 years ago
<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>
4 years ago
</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>
4 years ago
</view>
</view>
</view>
</view>
4 years ago
<view class="del" data-index="{{index}}" data-id="{{item.id}}" catchtap="del">删除</view>
4 years ago
</view>
</view>
4 years ago
</view>
4 years ago
<!--活动报名-->
<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}}" />
4 years ago
</block>
<block wx:if="{{ flag == 1 }}">
<e-ibutton title="取消报名" bind:onTap="cancelSignApi" disable="{{disable}}" />
4 years ago
</block>
<block wx:if="{{ flag == 2 }}">
<e-ibutton title="已报名" bind:onTap="onlineSubmit" disable="true" />
4 years ago
</block>
<block wx:if="{{ flag == 3 }}">
<e-ibutton title="在线报名" bind:onTap="onlineSubmit" disable="true" />
4 years ago
</block>
</view>
</view>
<modal hidden="{{hiddenmodalput}}" confirm-text="提交" cancel-text="取消" bindcancel="cancel" bindconfirm="confirm">
<textarea bindinput="bingTextAreaInput" value="{{currentComment}}" maxlength="400" placeholder="请输入留言" />
4 years ago
</modal>