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.

82 lines
3.8 KiB

3 years ago
<!--pages/activity/detail/index.wxml-->
<view class="activityDetail-page">
<view class="activity-info-box">
<view class="activity-banner">
<image src="{{activityDetail.images}}" mode="widthFix"></image>
</view>
<view class="activity-title line2">{{activityDetail.name}}</view>
<view class="activity-tips-box acea-row">
<view class="price">¥{{activityDetail.price}}/人</view>
<view class="tips acea-row">
<view class="{{activityDetail.status == 3 ? 'default-btn' : 'tip-item'}}" wx:for='{{activityDetail.flag}}' wx:key="index">{{item}}</view>
</view>
</view>
<view class="step-box">
<wux-steps current="{{ current }}">
<wux-step title="筹备中" content="{{activityDetail.time1}}"></wux-step>
<wux-step title="报名中" content="{{activityDetail.time2}}"></wux-step>
<wux-step title="待举办" content="{{activityDetail.time3}}"></wux-step>
<wux-step title="已结束" content="{{activityDetail.time4}}"></wux-step>
</wux-steps>
</view>
<view class="activity-info">
<view class="info-item">
<view class="label">活动举办时间:</view>
<view class="info">{{activityDetail.activityStartTime}} 至 {{activityDetail.activityEndTime}}</view>
</view>
<view class="info-item">
<view class="label">报名截止时间:</view>
<view class="info">{{activityDetail.applyEndTime}}</view>
</view>
<view class="info-item" bindtap="openMap">
<view class="label">活动举办地址:</view>
<view class="info">{{activityDetail.address}}</view>
</view>
<view class="info-item">
<view class="label">参加人数限制:</view>
<view class="info">{{activityDetail.users.length}}/{{activityDetail.limit}}</view>
</view>
</view>
</view>
<!-- <view class="company-info-box acea-row row-middle">
<view class="company-logo">
<image src="{{activityDetail.publisherVo.image}}"></image>
</view>
<view class="company-info">
<view class="company-name">{{activityDetail.publisherVo.name}}</view>
<view class="company-des line2">{{activityDetail.publisherVo.desc}}</view>
</view>
</view> -->
<view class="activity-des-box">
<view class="title2">活动简介</view>
<text class="line2">{{activityDetail.desc}}</text>
<view class="see-detail acea-row row-center-wrapper" bindtap="toDescribe">查看详情 <image src="../../../images/arror-r-s.png"></image></view>
</view>
<view class="info-item join-box">
<view class="label" style="margin-right:0;">最近参与人:</view>
<view class="info headerImg-info" wx:if="{{activityDetail.users.length > 0}}">
<image src="{{item.avatar}}" wx:for="{{activityDetail.users}}" wx:key="index"></image>
</view>
<view class="info headerImg-info" wx:else>快分享给好友,一起报名参与吧!</view>
</view>
<view class="handle-box acea-row row-middle row-between">
<view class="acea-row">
<view class="call-box acea-row row-middle" bindtap="call">
<image src="../../../images/phone.png"></image>
<text>拨号</text>
</view>
<view class="call-box acea-row row-middle" bindtap="collect">
<image src="../../../images/collect.png"></image>
<text>{{activityDetail.collect ? '已收藏':'收藏'}}</text>
</view>
</view>
<view class="handle-btn-box">
<!-- <view class="cancel-btn">取消报名</view> -->
<view class="cancel-btn" wx:if="{{activityDetail.status == 2}}">报名截止</view>
<view class="cancel-btn" wx:if="{{activityDetail.status == 3}}">活动结束</view>
<view class="cancel-btn" wx:if="{{activityDetail.status == 0}}">等待报名</view>
<view class="cancel-btn signIn-btn" bindtap="toSignPage" wx:if="{{activityDetail.status == 1}}">立即报名</view>
</view>
</view>
</view>