Helius
2021-03-11 a72aa4bb793ec765892406c842039a71b33215b1
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
<view class="detail_container">
 
    <swiper indicator-dots="true" autoplay="{{autoplay}}" interval="{{interval}}" duration="{{duration}}" indicator-active-color='#00C085' indicator-color='#BDD8D0'>
        <block wx:for="{{imgUrls}}" wx:key="key">
            <swiper-item>
                <image src="{{item}}" class="slide-image" mode="aspectFill"></image>
            </swiper-item>
        </block>
    </swiper>
 
    <view class="detail_section">
        <view class="detail_content">
            <view class="detail_top">
                <view class="detail-group">
                    <view class="detail-left">
                        <view class='detail_iprice'>{{activity.actName}}</view>
                        <view class='grey  author'>
                            <text class="nam">{{activity.actBeginTime}}</text>
                        </view>
                    </view>
                </view>
            </view>
        </view>
 
        <view class="joinForm">
            <form bindsubmit="formSubmit">
                <view wx:if="{{showModel==JOIN_STATUS_NOT_JOIN }}">
                    <view class="form-item" wx:for="{{activity.attributes}}" wx:key="id">
                        <text>{{item.attrName}}:</text>
                        <input name="{{item.attrName}}" />
                    </view>
                </view>
                <button formType="submit" wx:if="{{showModel==JOIN_STATUS_NOT_JOIN }}" class='detail_cart detail_pay_big cleanbtn btn-center'>报名参加</button>
                <button wx:if="{{showModel==JOIN_STATUS_Y }}" class='detail_cart detail_pay_big cleanbtn btn-center'>报名成功</button>
                <button wx:if="{{showModel==JOIN_STATUS_ING }}" class='detail_cart detail_pay_big cleanbtn btn-center'>报名确认中...</button>
                <view wx:if="{{showModel==JOIN_STATUS_N }}" class='detail_cart detail_pay_over cleanbtn'>报名失败</view>
                <view wx:if="{{showModel==JOIN_STATUS_END }}" class='detail_cart detail_pay_over cleanbtn'>活动结束</view>
            </form>
        </view>
 
        <!-- 图文说明 -->
        <view class='detail_imagetext'>
            <view class="imagetext_detail_box">
                <view class="tabs_content">
                    <view>
                        <rich-text class='price_content' nodes="{{activity.actContent}}"></rich-text>
                    </view>
                </view>
            </view>
        </view>
    </view>
</view>
 
 
 
<view class="popup-item" wx:if="{{shareShow}}">
    <view class='popup' bind:tap="popupTap" wx:if="{{popupShow}}"></view>
    <view class="pupup-bottom popup-content">
        <view class="share-container">
            <view class="hr"></view>
            <text class="share-text">分享到</text>
        </view>
        <view class="share-box">
            <button open-type="share" data-index="{{index}}" bind:tap="popupTap">
                <image src="/image/wx.png"></image>
                微信
            </button>
        </view>
        <view class="cancel padding" bind:tap="popupTap">取消</view>
    </view>
</view>
 
<!-- 回到首页 -->
<view class="index" bind:tap="goIndex" wx:if="{{isShare}}">
    <image src="/image/goIndex.png"></image>
</view>