36 lines
1.4 KiB
Plaintext
36 lines
1.4 KiB
Plaintext
<view class="page">
|
|||
|
|
<view class="card profile" hover-class="pressed" bindtap="goProfile">
|
||
|
|
<image wx:if="{{avatarUrl}}" class="avatar" src="{{avatarUrl}}" mode="aspectFill" />
|
||
|
|
<view wx:else class="avatar letter">{{letter}}</view>
|
||
|
|
<view class="who">
|
||
|
|
<text class="name">{{nickName || '微信用户'}}</text>
|
||
|
|
<text class="edit">点击编辑资料</text>
|
||
|
|
</view>
|
||
|
|
</view>
|
||
|
|
|
||
|
|
<view class="card block">
|
||
|
|
<text class="heading">我的报名</text>
|
||
|
|
<view wx:if="{{!signups.length}}" class="empty">暂无报名记录,去首页报名吧</view>
|
||
|
|
<view wx:for="{{signups}}" wx:key="id" class="item">
|
||
|
|
<view class="item-main">
|
||
|
|
<text class="item-title">{{item.activityTitle}}</text>
|
||
|
|
<text class="item-sub">{{nickName || item.name}} · {{item.phone}}</text>
|
||
|
|
</view>
|
||
|
|
<text class="tag {{item.checkedIn ? 'on' : ''}}">{{item.checkedIn ? '已签到' : '未签到'}}</text>
|
||
|
|
</view>
|
||
|
|
</view>
|
||
|
|
|
||
|
|
<view class="card block">
|
||
|
|
<text class="heading">签到记录</text>
|
||
|
|
<view wx:if="{{!checkins.length}}" class="empty">暂无签到记录</view>
|
||
|
|
<view wx:for="{{checkins}}" wx:key="id" class="item">
|
||
|
|
<view class="item-main">
|
||
|
|
<text class="item-title">{{item.activityTitle}}</text>
|
||
|
|
<text class="item-sub">已签到</text>
|
||
|
|
</view>
|
||
|
|
</view>
|
||
|
|
</view>
|
||
|
|
|
||
|
|
<view class="scan" hover-class="scan-pressed" bindtap="checkin">模拟现场扫码签到</view>
|
||
|
|
</view>
|