Files
fitness_walk_nwnu/.codex-dev/mp-weixin/pages/activity/checkIn.wxml
T
2026-09-08 20:28:54 +08:00

1 line
8.7 KiB
Plaintext

<view class="container data-v-216f0b46"><view data-event-opts="{{[['tap',[['back',['$event']]]]]}}" class="back data-v-216f0b46" style="{{('top:'+(systemInfo.statusBarHeight+5)+'px')}}" bindtap="__e"><u-icon class="back-icon data-v-216f0b46" vue-id="0c72de80-1" label="返回" color="#000" labelColor="#000" name="arrow-left" bind:__l="__l"></u-icon></view><viwe class="map_container data-v-216f0b46" vue-id="0c72de80-2" bind:__l="__l" vue-slots="{{['default']}}"><map class="map data-v-216f0b46" id="map" enable-3D="{{true}}" longitude="{{longitude}}" latitude="{{latitude}}" markers="{{markers}}" polyline="{{polyline}}" circles="{{circles}}" show-location="{{true}}" show-compass="{{true}}" show-scale="{{true}}" scale="18"></map><view class="map_extra data-v-216f0b46"><block wx:if="{{activityData.punchFinishAfter==='cert'&&activityData.completionCertificateCover}}"><view data-event-opts="{{[['tap',[['goCert',['$event']]]]]}}" class="map_extra_item data-v-216f0b46" style="height:auto;display:flex;flex-direction:column;color:#081776;" bindtap="__e"><u-icon vue-id="{{('0c72de80-3')+','+('0c72de80-2')}}" name="integral-fill" color="#081776" size="20" class="data-v-216f0b46" bind:__l="__l"></u-icon><text style="font-size:28rpx;" class="data-v-216f0b46">完赛证书</text></view></block><block wx:if="{{activityData.punchFinishAfter==='gift_voucher'&&giftVoucherReady}}"><view data-event-opts="{{[['tap',[['goGiftVoucher',['$event']]]]]}}" class="map_gift_voucher map_extra_item data-v-216f0b46" bindtap="__e"><u-icon vue-id="{{('0c72de80-4')+','+('0c72de80-2')}}" name="integral-fill" color="{{giftVoucherReady?'#081776':'#969799'}}" size="20" class="data-v-216f0b46" bind:__l="__l"></u-icon></view></block><block wx:if="{{activityData.punchFinishAfter==='gift_voucher'&&!giftVoucherReady}}"><view class="map_gift_voucher map_extra_item map_extra_item-disabled data-v-216f0b46"><u-icon vue-id="{{('0c72de80-5')+','+('0c72de80-2')}}" name="integral-fill" color="#969799" size="20" class="data-v-216f0b46" bind:__l="__l"></u-icon></view></block><view data-event-opts="{{[['tap',[['moveToMyLocation',['$event']]]]]}}" class="map_location map_extra_item data-v-216f0b46" bindtap="__e"><u-icon vue-id="{{('0c72de80-6')+','+('0c72de80-2')}}" name="map" color="#081776" size="20" class="data-v-216f0b46" bind:__l="__l"></u-icon></view></view></viwe><view class="step_container data-v-216f0b46"><view class="step data-v-216f0b46"><view class="step_top data-v-216f0b46"><block wx:for="{{pts}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="step-top-item data-v-216f0b46"><text style="{{('color: '+(item.checked?'#07c160':'#969799')+' ')}}" class="data-v-216f0b46">{{item.name}}</text></view></block></view><view class="step_bottom data-v-216f0b46"><view class="step_bottom_line data-v-216f0b46"><block wx:for="{{$root.g1-1}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="step_bottom_line_item data-v-216f0b46" style="{{('width: calc(100% / '+($root.g0-1)+' - 30px)')}}"></view></block></view><block wx:for="{{$root.l0}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="step_bottom_item data-v-216f0b46"><block wx:if="{{!item.g2}}"><u-icon vue-id="{{'0c72de80-7-'+index}}" color="#969799" name="checkmark-circle" class="data-v-216f0b46" bind:__l="__l"></u-icon></block><block wx:else><u-icon vue-id="{{'0c72de80-8-'+index}}" name="checkmark-circle-fill" color="#07c160" class="data-v-216f0b46" bind:__l="__l"></u-icon></block></view></block></view></view><view class="bottom_button data-v-216f0b46"><u-button vue-id="0c72de80-9" type="success" disabled="{{checkInButtonDisabled}}" hairline="{{true}}" color="#081776" throttleTime="1000" shape="circle" data-event-opts="{{[['^click',[['checkIn']]]]}}" bind:click="__e" class="data-v-216f0b46" bind:__l="__l" vue-slots="{{['default']}}">{{''+buttonText+''}}</u-button></view></view><u-popup vue-id="0c72de80-10" round="{{20}}" border-radius="20" show="{{knowLedgeCardShow}}" closeOnClickOverlay="{{true}}" mode="center" data-event-opts="{{[['^close',[['e0']]]]}}" bind:close="__e" class="data-v-216f0b46" bind:__l="__l" vue-slots="{{['default']}}"><view class="popupsContent data-v-216f0b46"><image style="width:300px;height:440px;display:block;" src="{{knowLedgeCardPic}}" mode="aspectFill" class="data-v-216f0b46"></image><view class="knowLedgeCheckInButton data-v-216f0b46"><u-button vue-id="{{('0c72de80-11')+','+('0c72de80-10')}}" type="success" disabled="{{checkInButtonDisabled}}" hairline="{{true}}" color="#081776" throttleTime="1000" shape="circle" data-event-opts="{{[['^click',[['addCheckInRecord']]]]}}" bind:click="__e" class="data-v-216f0b46" bind:__l="__l" vue-slots="{{['default']}}">{{''+buttonText+''}}</u-button></view></view></u-popup><u-popup vue-id="0c72de80-12" customStyle="background-color:transparent" round="{{20}}" border-radius="20" show="{{certShow}}" closeOnClickOverlay="{{true}}" mode="center" data-event-opts="{{[['^close',[['e1']]]]}}" bind:close="__e" class="data-v-216f0b46" bind:__l="__l" vue-slots="{{['default']}}"><view class="cert_container data-v-216f0b46"><view class="link-wrap data-v-216f0b46"><image style="width:100%;height:100%;" src="{{activityData.completionCertificateCover}}" mode="aspectFill" class="data-v-216f0b46"></image></view><view class="info data-v-216f0b46"><view class="info_item data-v-216f0b46"><view class="label data-v-216f0b46"><view class="data-v-216f0b46">姓名:</view><view class="data-v-216f0b46">NAME</view></view><view class="content data-v-216f0b46">{{userInfo.username}}</view></view><view class="info_item data-v-216f0b46"><view class="label data-v-216f0b46"><view class="data-v-216f0b46">性别:</view><view class="data-v-216f0b46">GENDER</view></view><view class="content data-v-216f0b46">{{userInfo.sex}}</view></view><view class="info_item data-v-216f0b46"><view class="label data-v-216f0b46"><text class="data-v-216f0b46">组别:</text><text class="data-v-216f0b46">GROUP</text></view><view class="content data-v-216f0b46">{{activityData.branchActivityName}}</view></view></view><view class="bottom data-v-216f0b46"><u-button vue-id="{{('0c72de80-13')+','+('0c72de80-12')}}" type="success" hairline="{{true}}" color="#081776" throttleTime="2000" shape="circle" data-event-opts="{{[['^tap',[['goLottery']]]]}}" bind:tap="__e" class="data-v-216f0b46" bind:__l="__l" vue-slots="{{['default']}}">去抽奖</u-button><u-button vue-id="{{('0c72de80-14')+','+('0c72de80-12')}}" type="error" hairline="{{true}}" shape="circle" data-event-opts="{{[['^tap',[['e2']]]]}}" bind:tap="__e" class="data-v-216f0b46" bind:__l="__l" vue-slots="{{['default']}}">关闭</u-button></view></view></u-popup><u-popup vue-id="0c72de80-15" round="{{20}}" border-radius="20" closeable="{{true}}" show="{{answerShow}}" closeOnClickOverlay="{{true}}" mode="bottom" data-event-opts="{{[['^close',[['e3']]]]}}" bind:close="__e" class="data-v-216f0b46" bind:__l="__l" vue-slots="{{['default']}}"><view class="answerContent data-v-216f0b46" style="padding:100rpx 30rpx;"><block wx:for="{{$root.l2}}" wx:for-item="issue" wx:for-index="issueIndex"><view class="data-v-216f0b46"><view class="issue-title data-v-216f0b46"><rich-text nodes="{{issue.$orig.iname}}"></rich-text></view><view class="issue-option data-v-216f0b46"><block wx:for="{{issue.l1}}" wx:for-item="wor" wx:for-index="__i0__" wx:key="wid"><view data-event-opts="{{[['tap',[['issueOptionItemClick',['$0','$1',issueIndex],[[['currentPointIssues','',issueIndex],['wors','wid',wor.$orig.wid]],[['currentPointIssues','',issueIndex]]]]]]]}}" class="{{['issue-option-item','data-v-216f0b46',(wor.g3)?'issue-option-item-active':'']}}" bindtap="__e">{{''+wor.$orig.wtxt+''}}<block wx:if="{{wor.g4}}"><u-icon vue-id="{{('0c72de80-16-'+issueIndex+'-'+__i0__)+','+('0c72de80-15')}}" name="checkmark-circle" bold="{{true}}" color="#081776" class="data-v-216f0b46" bind:__l="__l"></u-icon></block></view></block></view><block wx:if="{{showAnswerWrap}}"><view class="issue-correct data-v-216f0b46"><block wx:if="{{issue.m0}}"><u-alert vue-id="{{('0c72de80-17-'+issueIndex)+','+('0c72de80-15')}}" title="提示" type="success" description="恭喜您回答正确" class="data-v-216f0b46" bind:__l="__l"></u-alert></block><block wx:else><u-alert vue-id="{{('0c72de80-18-'+issueIndex)+','+('0c72de80-15')}}" title="提示" type="error" description="{{'回答错误;正确答案'+issue.g5}}" class="data-v-216f0b46" bind:__l="__l"></u-alert></block></view></block></view></block><view class="data-v-216f0b46"><block wx:if="{{$root.g6}}"><u-button vue-id="{{('0c72de80-19')+','+('0c72de80-15')}}" type="success" hairline="{{true}}" color="#081776" throttleTime="3000" shape="circle" data-event-opts="{{[['^click',[['answerSubmit']]]]}}" bind:click="__e" class="data-v-216f0b46" bind:__l="__l" vue-slots="{{['default']}}">提交</u-button></block></view></view></u-popup></view>