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

1 line
8.8 KiB
Plaintext
Raw Normal View History

2024-05-15 17:54:48 +08:00
<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']}}"><block wx:for="{{questionnaireList}}" wx:for-item="item" wx:for-index="index"><block wx:if="{{item.type==2}}"><tn-form-item vue-id="{{('a93e3dc6-4-'+index)+','+('a93e3dc6-3')}}" label="{{index+1+'、'+item.title+'(单选题)'}}" prop="hobby" bind:__l="__l" vue-slots="{{['default']}}"><tn-checkbox-group bind:input="__e" vue-id="{{('a93e3dc6-5-'+index)+','+('a93e3dc6-4-'+index)}}" size="40" activeColor="#82B2FF" wrap="{{true}}" value="{{questionnaireList[index].topic}}" data-event-opts="{{[['^input',[['__set_model',['$0','topic','$event',[]],['questionnaireList.'+index+'']]]]]}}" bind:__l="__l" vue-slots="{{['default']}}"><block wx:for="{{item.option}}" wx:for-item="op" wx:for-index="opi"><tn-checkbox vue-id="{{('a93e3dc6-6-'+index+'-'+opi)+','+('a93e3dc6-5-'+index)}}" name="{{op.name}}" bind:__l="__l" vue-slots="{{['default']}}">{{''+op.name+"、"+op.val+''}}</tn-checkbox></block></tn-checkbox-group></tn-form-item></block><block wx:if="{{item.type==1}}"><tn-form-item vue-id="{{('a93e3dc6-7-'+index)+','+('a93e3dc6-3')}}" label="{{index+1+'、'+item.title+'(多选题)'}}" prop="danxuan" bind:__l="__l" vue-slots="{{['default']}}"><tn-radio-group bind:input="__e" vue-id="{{('a93e3dc6-8-'+index)+','+('a93e3dc6-7-'+index)}}" size="40" activeColor="#82B2FF" wrap="{{true}}" value="{{questionnaireList[index].topic}}" data-event-opts="{{[['^input',[['__set_model',['$0','topic','$event',[]],['questionnaireList.'+index+'']]]]]}}" bind:__l="__l" vue-slots="{{['default']}}"><block wx:for="{{item.option}}" wx:for-item="op" wx:for-index="opi"><tn-radio vue-id="{{('a93e3dc6-9-'+index+'-'+opi)+','+('a93e3dc6-8-'+index)}}" name="{{op.name}}" bind:__l="__l" vue-slots="{{['default']}}">{{''+op.name+"、"+op.