monthDetail.wxml
5.8 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
<view class="register" wx:if="{{code}}" bindtap="hidecode">
<view class="registerwrap">
<image src="{{codeimg}}"></image>
</view>
</view>
<!-- 月子会所活动详情页面 -->
<import src="../../../wxParse/wxParse.wxml"/>
<view class='detail_head'>
<image class='detail_img' src='{{detailCon.pic}}'></image>
<view class='detail_witer'>
<view class='detail_title'>{{detailCon.title}}</view>
<view class='detail_free' wx:if="{{detailCon.money==0}}">免费</view>
<view class='detail_free' wx:else>{{detailCon.money}}</view>
<!-- begin:判断是否显示日期 -->
<view class='detail_flex' wx:if="{{talkpeople}}">
<view class='detail_date'>
<image class='date_img' src='http://bronet.ibaby88.cn/dicon12@2x.png'></image>
{{detailCon.start_time}}
</view>
<view class='detail_name' >主讲人:{{detailCon.talking}}</view>
</view>
<view class='detail_flex' wx:else>
<view class='detail_date'>
<image class='date_img' src='http://bronet.ibaby88.cn/dicon12@2x.png'></image>
{{detailCon.start_time}} - {{detailCon.end_time}}
</view>
</view>
</view>
</view>
<!-- begin:判断是活动或者微课 是否显示地址 -->
<view class='month_addres' wx:if="{{addrestatus}}" bindtap="gomap">
<view class='addres_img'><image src='http://bronet.ibaby88.cn/dicon10@2x.png'></image></view>
<view class='addres_box'>
<text class='addres_txt'>{{detailAddr.addr}}</text>
<image class='interest_arrow' src='http://bronet.ibaby88.cn/bicon08@2x.png'></image>
</view>
</view>
<view wx:else></view>
<view class='interest_box' bindtap='listTap'>
<view class='interest_right'>
<image class='interest_img' src='http://bronet.ibaby88.cn/dicon11@2x.png'></image>
<text class='interest_txt'>{{detailCon.interest}}兴趣 . {{detailCon.sign}}报名</text>
</view>
<!-- begin:判断条件,如果头像大于3 -->
<view class='interest_left' wx:if='{{imgCourse.length>=3}}'>
<view class='interest_menu'>
<view class='interest_pic' wx:for='{{imgCourse}}' wx:key="name">
<image src='{{item.pic}}'></image>
</view>
</view>
<view>...</view>
<image class='interest_arrow' src='http://bronet.ibaby88.cn/bicon08@2x.png'></image>
</view>
<!-- begin:否则 -->
<view class="intreimg" wx:else>
<view class='interest_menu interest_wid'>
<view class='interest_pic' wx:for='{{imgCourse}}' wx:key="name">
<image src='{{item.pic}}'></image>
</view>
</view>
<image class='interest_arrow' src='http://bronet.ibaby88.cn/bicon08@2x.png'></image>
</view>
</view>
<!-- begin:切换头部 -->
<view class='nav_head'>
<view class="nav_item {{currTab==0?'active':''}}" data-current="0" bindtap='clickTab'>
<text class="iconfont intro {{iconshow==true?'icon-qiqiu':''}}" data-current="0" bindtap='clickTab' wx:if="{{iconshow}}">活动介绍</text>
<text class="iconfont intro{{iconshow==true?'icon-qiqiu':''}}" data-current="0" bindtap='clickTab' wx:else>详情</text>
<!--<text wx:else>详情</text>-->
</view>
<view class="nav_item {{currTab==1?'active':''}}" data-current="1" bindtap='clickTab'>
<text class="iconfont {{iconshow==true?'icon-liaotian':''}}" data-current="1" bindtap='clickTab'></text>交流
</view>
</view>
<!-- begin:切换内容 -->
<view class='month_info' wx:if="{{currTab==0}}">
<template is="wxParse" data="{{wxParseData:article.nodes}}"/>
<!-- <image class='test_img' src='http://bronet.ibaby88.cn/cpic03@2x.png'></image> -->
<!-- begin:活动介绍底部 -->
<view class='foot_page'>
<view class='foot_info'>
<view class='foot_list' bindtap='cancelCollect' wx:if="{{isFocus}}">
<image class='coll_img' src='http://bronet.ibaby88.cn/bicon29@2x.png'></image>
<view class='foot_text'>收藏</view>
</view>
<view class='foot_list' bindtap='favoriteTab' wx:else>
<image class='coll_img' src='http://bronet.ibaby88.cn/bicon28@2x.png'></image>
<view class='foot_text'>收藏</view>
</view>
<view class='foot_list' >
<view class="meshare">
<image class='collect' src='http://bronet.ibaby88.cn/share.png' ></image>
<view class='foot_text sharetext' >分享</view>
</view>
<button class="sharebtn" open-type="share"></button>
</view>
</view>
<block wx:if="{{activeStau==1}}"><view class='foot_btn' bindtap='activityTap'>我要报名</view></block>
<block wx:if="{{activeStau==2}}">
<!-- <view class='foot_btn' bindtap='listenlesson'>我要听课</view> -->
<form bindsubmit="submit" report-submit='true' >
<view class='foot_btn'>
我要听课
<button form-type="submit" type="default" class="want"></button>
</view>
</form>
</block>
<block wx:if="{{activeStau==3}}"><view class='foot_btn'>已报名</view></block>
<block wx:if="{{activeStau==4}}"><view class='foot_btn' bindtap='lectureTap'>已报名,查看二维码</view></block>
</view>
</view>
<!-- begin:交流 -->
<view class='month_foot' wx:if="{{currTab==1}}">
<block wx:if="{{monthCon.length == 0}}">
<view class='month_pic'><image src='http://bronet.ibaby88.cn/nopic.png'></image></view>
<view class='month_txt'>暂无交流,来做第一个吧</view>
</block>
<view class='month_tab' wx:else>
<view class='month_box' wx:for="{{monthCon}}" wx:key="">
<view class='month_img'><image src='{{item.user_pic}}'></image></view>
<view class='month_menu'>
<view class='month_name'>{{item.user_name}}</view>
<view class='month_date'>{{item.create_time}}</view>
<view class='month_con'>{{item.content}}</view>
<view wx:if="{{item.is_commoned==2}}"></view>
<view wx:else class='comm_box'>平台回复:{{item.commoned}}</view>
</view>
</view>
</view>
<view class='warp_btn' bindtap='markTap'>发表点评</view>
</view>