yunshangxie/unpackage/dist/dev/mp-weixin/pages/index/event_info.wxml

1 line
7.2 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<view style="letter-spacing:1rpx;"><tn-nav-bar vue-id="a93e3dc6-1" isBack="{{false}}" backTitle bottomShadow="{{true}}" backgroundColor="#FFFFFF" bind:__l="__l" vue-slots="{{['default']}}"><view class="custom-nav tn-flex tn-flex-col-center tn-flex-row-between"><view class="tn-flex tn-flex-col-center tn-flex-row-left"><view data-event-opts="{{[['tap',[['goBack']]]]}}" style="padding-left:15rpx;" bindtap="__e"><text class="tn-icon-left" style="font-size:40rpx;"></text></view><view class="tn-margin-top" style="text-shadow:1rpx 0 0 #FFF, 0 1rpx 0 #FFF, -1rpx 0 0 #FFF , 0 -1rpx 0 #FFF;"><tn-tabs vue-id="{{('a93e3dc6-2')+','+('a93e3dc6-1')}}" list="{{[{name:'活动详情'}]}}" current="{{topCurrent}}" activeColor="#000" bold="{{false}}" fontSize="{{36}}" bind:__l="__l"></tn-tabs></view></view></view></tn-nav-bar><view style="{{'padding-top:'+(vuex_custom_bar_height+'px')+';'}}"><image style="width:100%;" src="{{apiImgUrl+info.activity_image}}" mode="widthFix"></image><view style="padding:20rpx 30rpx;"><view style="font-size:30rpx;font-weight:600;">{{info.activity_name}}</view><view style="margin-top:40rpx;"><view><text style="color:#26BB71;">●</text><text style="margin-left:10rpx;font-weight:600;">开始时间:</text><text style="color:#979797;">{{info.activity_start_time}}</text></view><view style="margin:15rpx 0rpx;"><text style="color:#BE7E28;">●</text><text style="margin-left:10rpx;font-weight:600;">结束时间:</text><text style="color:#979797;">{{info.activity_end_time}}</text></view><view><text style="color:#DB5022;">●</text><text style="margin-left:10rpx;font-weight:600;">活动地点:</text><text style="color:#979797;">{{info.activity_location}}</text></view></view><view style="margin-top:60rpx;font-size:32rpx;font-weight:600;">活动介绍</view><view><view class="ks_html" style="line-height:50rpx;margin-top:20rpx;"><view class="_div"><rich-text nodes="{{info.activity_content}}"></rich-text></view></view></view><block wx:if="{{info.activity_type==1||info.activity_type==3}}"><view style="height:180rpx;"></view></block><block wx:if="{{info.activity_type==2}}"><view style="padding-bottom:180rpx;"><view style="margin-top:60rpx;font-size:32rpx;font-weight:600;">问卷问题</view><tn-form class="vue-ref" vue-id="a93e3dc6-3" labelPosition="top" model="{{form}}" data-ref="form" bind:__l="__l" vue-slots="{{['default']}}"><tn-form-item vue-id="{{('a93e3dc6-4')+','+('a93e3dc6-3')}}" label="1.问题xxxx多选题" prop="hobby" bind:__l="__l" vue-slots="{{['default']}}"><tn-checkbox-group bind:input="__e" vue-id="{{('a93e3dc6-5')+','+('a93e3dc6-4')}}" size="40" activeColor="#82B2FF" wrap="{{true}}" value="{{form.hobby}}" data-event-opts="{{[['^input',[['__set_model',['$0','hobby','$event',[]],['form']]]]]}}" bind:__l="__l" vue-slots="{{['default']}}"><tn-checkbox vue-id="{{('a93e3dc6-6')+','+('a93e3dc6-5')}}" name="10" bind:__l="__l" vue-slots="{{['default']}}">A:选项1</tn-checkbox><tn-checkbox vue-id="{{('a93e3dc6-7')+','+('a93e3dc6-5')}}" name="5" bind:__l="__l" vue-slots="{{['default']}}">B:选项2</tn-checkbox><tn-checkbox vue-id="{{('a93e3dc6-8')+','+('a93e3dc6-5')}}" name="6" bind:__l="__l" vue-slots="{{['default']}}">C:选项3</tn-checkbox><tn-checkbox vue-id="{{('a93e3dc6-9')+','+('a93e3dc6-5')}}" name="7" bind:__l="__l" vue-slots="{{['default']}}">D:选项4</tn-checkbox></tn-checkbox-group></tn-form-item><tn-form-item vue-id="{{('a93e3dc6-10')+','+('a93e3dc6-3')}}" label="2.问题xxxx单选题" prop="danxuan" bind:__l="__l" vue-slots="{{['default']}}"><tn-radio-group bind:input="__e" vue-id="{{('a93e3dc6-11')+','+('a93e3dc6-10')}}" size="40" activeColor="#82B2FF" wrap="{{true}}" value="{{form.danxuan}}" data-event-opts="{{[['^input',[['__set_model',['$0','danxuan','$event',[]],['form']]]]]}}" bind:__l="__l" vue-slots="{{['default']}}"><tn-radio vue-id="{{('a93e3dc6-12')+','+('a93e3dc6-11')}}" name="3" bind:__l="__l" vue-slots="{{['default']}}">A、选项1</tn-radio><tn-radio vue-id="{{('a93e3dc6-13')+','+('a93e3dc6-11')}}" name="8" bind:__l="__l" vue-slots="{{['default']}}">B、选项2</tn-radio></tn-radio-group></tn-form-item><tn-form-item vue-id="{{('a93e3dc6-14')+','+('a93e3dc6-3')}}" label="3.问题xxxx问答题" prop="wenda" bind:__l="__l" vue-slots="{{['default']}}"><tn-input bind:input="__e" vue-id="{{('a93e3dc6-15')+','+('a93e3dc6-14')}}" placeholder="请填写答案" type="textarea" value="{{form.wenda}}" data-event-opts="{{[['^input',[['__set_model',['$0','wenda','$event',[]],['form']]]]]}}" bind:__l="__l"></tn-input></tn-form-item></tn-form></view></block></view></view><view style="position:fixed;bottom:30rpx;width:100%;"><block wx:if="{{info.activity_type==1}}"><view style="text-align:center;padding:0 30rpx;"><block wx:if="{{info.type=='未开始'}}"><button class="mmy" hover-class="none" data-event-opts="{{[['tap',[['application_add',['$event']]]]]}}" bindtap="__e">确认报名</button></block><block wx:if="{{info.type=='已结束'||info.type=='进行中'}}"><button class="mmy" hover-class="none" disabled="{{true}}">报名已结束</button></block></view></block><block wx:if="{{info.activity_type==2}}"><view style="text-align:center;padding:0 30rpx;"><block wx:if="{{info.type=='进行中'}}"><button class="mmy" hover-class="none" data-event-opts="{{[['tap',[['application_add',['$event']]]]]}}" bindtap="__e">确认提交</button></block><block wx:if="{{info.type=='已结束'}}"><button class="mmy" hover-class="none" disabled="{{true}}">问卷已结束</button></block></view></block><block wx:if="{{info.activity_type==3}}"><view style="text-align:center;padding:0 30rpx;"><block wx:if="{{info.type=='进行中'}}"><button class="mmy" hover-class="none" data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" bindtap="__e">我要捐助</button></block><block wx:if="{{info.type=='已结束'}}"><button class="mmy" hover-class="none" disabled="{{true}}">捐助已结束</button></block></view></block></view><tn-modal bind:input="__e" vue-id="a93e3dc6-16" custom="{{true}}" value="{{juanMod}}" data-event-opts="{{[['^input',[['__set_model',['','juanMod','$event',[]]]]]]}}" bind:__l="__l" vue-slots="{{['default']}}"><view style="padding:20rpx;text-align:center;font-size:40rpx;">感谢您的捐助</view><tn-form vue-id="{{('a93e3dc6-17')+','+('a93e3dc6-16')}}" labelWidth="{{180}}" bind:__l="__l" vue-slots="{{['default']}}"><tn-form-item vue-id="{{('a93e3dc6-18')+','+('a93e3dc6-17')}}" label="捐助金额" bind:__l="__l" vue-slots="{{['default']}}"><tn-input bind:input="__e" vue-id="{{('a93e3dc6-19')+','+('a93e3dc6-18')}}" type="decimal" placeholder="请填写捐助金额" value="{{money}}" data-event-opts="{{[['^input',[['__set_model',['','money','$event',[]]]]]]}}" bind:__l="__l"></tn-input></tn-form-item></tn-form><view class="tn-flex tn-flex-row-center" style="margin-top:50rpx;"><tn-button vue-id="{{('a93e3dc6-20')+','+('a93e3dc6-16')}}" backgroundColor="#E6E6E6" fontColor="#838383" data-event-opts="{{[['^click',[['e1']]]]}}" bind:click="__e" bind:__l="__l" vue-slots="{{['default']}}">我再想想</tn-button><tn-button style="margin-left:70rpx;" vue-id="{{('a93e3dc6-21')+','+('a93e3dc6-16')}}" backgroundColor="#28B93D" fontColor="#ffffff" data-event-opts="{{[['^click',[['juanzhuDo']]]]}}" bind:click="__e" bind:__l="__l" vue-slots="{{['default']}}">确定捐助</tn-button></view></tn-modal></view>