101 lines
3.8 KiB
Plaintext
101 lines
3.8 KiB
Plaintext
<!--packageC/Myshaky/enrollEnter/enrollEnter.wxml-->
|
|
<view class='photoBox'>
|
|
<image src="{{list.thumb}}" mode="aspectFill"></image>
|
|
</view>
|
|
<view class='titleBox'>
|
|
<view class="moneyTime">
|
|
<view wx:if='{{mf}}'>免费</view>
|
|
<view wx:else>¥{{list.cash}}</view>
|
|
<view class="endTime">{{minlisTime}}截止</view>
|
|
</view>
|
|
<view class="activityTitle">
|
|
{{list.title}}
|
|
</view>
|
|
<view class="weStatus">
|
|
<view class="ks">
|
|
<view wx:if="{{nowTime > list.registration_time && nowTime < list.registration_end_time}}">报名中</view>
|
|
<view wx:if="{{nowTime < list.registration_time }}">待开始</view>
|
|
<view wx:if="{{nowTime > list.registration_end_time }}">报名结束</view>
|
|
</view>
|
|
<view class="staNum">已报名
|
|
<text>{{count}}</text>/{{list.limit}}</view>
|
|
</view>
|
|
</view>
|
|
<view class="activityDetails">
|
|
<view class="boxA">
|
|
<van-icon name="clock-o" size="28rpx;" color="#999999;"></van-icon>
|
|
<view class="boxAtit">{{list.start_time}}至{{list.end_time}}</view>
|
|
</view>
|
|
<view class="boxA" catchtap="goToAdress">
|
|
<van-icon name="location-o" size="28rpx;" color="#999999;"></van-icon>
|
|
<view class="boxAtit">{{list.city_name}}{{list.district_name}}{{list.address}}</view>
|
|
</view>
|
|
<view class="boxB" bindtap="goJs" id="{{list.has_one_lecturer.member_id}}" data-id="{{list.has_one_lecturer.id}}" wx:if="{{list.has_one_lecturer}}">
|
|
<view class="boxLeft" >
|
|
<icon class="iconfont icon-detail_teacher"></icon>
|
|
<view>{{list.has_one_lecturer.real_name}}</view>
|
|
</view>
|
|
<van-icon name="arrow" size="28rpx;" color="#999999;"></van-icon>
|
|
</view>
|
|
<view class="boxA" wx:if="{{list.has_one_lecturer}}">
|
|
<van-icon name="phone-o" size="28rpx;" color="#999999;"></van-icon>
|
|
<view class="boxAtit">{{list.has_one_lecturer.mobile}}</view>
|
|
</view>
|
|
</view>
|
|
<view class="conditionBox" wx:if="{{nowTime > list.registration_time }}">
|
|
<view class="conTop">
|
|
<view class="topLeft">报名情况</view>
|
|
<view class="topRight" bindtap="gobmqk" data-id="{{activity_id}}">
|
|
<text>查看更多</text>
|
|
<van-icon name="arrow" size="28rpx;" color="#999999;"></van-icon>
|
|
</view>
|
|
</view>
|
|
<view class="userHead" wx:if="{{iswu}}">
|
|
<view class="userBoxTwo" >
|
|
暂无报名
|
|
</view>
|
|
</view>
|
|
<view class="userHead" wx:else>
|
|
<view class="userBox" wx:for="{{datalist.data}}" wx:key="index">
|
|
<view class="userphoto">
|
|
<image src="{{item.has_one_member.avatar}}"></image>
|
|
</view>
|
|
<view class="username">{{item.has_one_member.nickname}}</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<view class="recommendBox">
|
|
<view class="rectitle">活动详情</view>
|
|
<view style="margin:0 28rpx;">
|
|
<mp-html content="{{list.content}}" ></mp-html>
|
|
</view>
|
|
</view>
|
|
<view class="navBottom">
|
|
<view class="navLeft">
|
|
<view class="LeftBox">
|
|
<view class="shouye" catchtap="goshouye">
|
|
<van-icon name="wap-home" size="38rpx"></van-icon>
|
|
<text>首页</text>
|
|
</view>
|
|
<view class="shouye" catchtap="goMyind" catchtap="goMy">
|
|
<van-icon name="contact" size="38rpx"></van-icon>
|
|
<text>我的</text>
|
|
</view>
|
|
<view class="shouye" catchtap="goGz" id="{{goGzid}}">
|
|
<van-icon name="like-o" size="38rpx" wx:if='{{guanz == 0}}'></van-icon>
|
|
<van-icon name="like" size="38rpx" class="vanye" wx:if="{{guanz == 1}}"></van-icon>
|
|
<text>{{guanz == '0'?"关注":"已关注"}}</text>
|
|
</view>
|
|
</view>
|
|
|
|
</view>
|
|
<view class="navRight sOne" wx:if="{{nowTime < list.registration_time }}">
|
|
报名待开始
|
|
</view>
|
|
<view class="navRight sOne" wx:if="{{nowTime > list.registration_end_time }}">
|
|
报名已结束
|
|
</view>
|
|
<view class="navRight sTwo" wx:if="{{nowTime > list.registration_time && nowTime < list.registration_end_time}}" bindtap='goBm' id="{{list.id}}">
|
|
立即报名
|
|
</view>
|
|
</view> |