1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- <wxs src="../../utils/filter.wxs" module="filters" />
- <view class="pkResult">
- <view class="title">{{victory.userRead.title}}</view>
- <view class="time">{{filters.formatDate(pkRecord.gmtCreated,1)}}</view>
- <view class="body">
- <view class="left {{equal?'equal':''}}">
- <image src="{{victory.user.avatar}}" class="avatar avatarL" />
- <view class="bodyTitle textOver">{{victory.user.nickName||victory.user.eid}}</view>
- <view class="bodyScore" wx:if="{{victory.userReadExtend.businessType!=2}}">{{victory.userRead.score}}分
- </view>
- <image src="{{vState?'/static/work.png':'/static/play-big.png'}}" class="bodyPlay" bindtap="playAudio"
- data-type="victory" />
- <progress percent="{{vProgress}}" stroke-width="4" class="progress" style="margin-right:48rpx;" />
- <view class="duration">
- <view class="start">{{vStart}}</view>
- <view class="end">{{vEnd}}</view>
- </view>
- </view>
- <view class="right {{equal?'equalRight':''}}">
- <image src="{{defeated.user.avatar}}" class="avatar avatarR" />
- <view class="bodyTitle textOver">{{defeated.user.nickName||defeated.user.eid}}</view>
- <view class="bodyScore" wx:if="{{victory.userReadExtend.businessType!=2}}">{{defeated.userRead.score}}分
- </view>
- <image src="{{dState?'/static/work.png':'/static/play-big.png'}}" class="bodyPlay" bindtap="playAudio"
- data-type="defeated" />
- <progress percent="{{dProgress}}" stroke-width="4" class="progress" />
- <view class="duration">
- <view class="start">{{dStart}}</view>
- <view class="end">{{dEnd}}</view>
- </view>
- </view>
- </view>
- <view class="footer" wx:if="{{!isplayback}}">
- <view class="stBtn" bindtap="result" data-type="reading">重新挑战</view>
- <button class="resetBtn btn" open-type="share">
- 分享战绩
- </button>
- </view>
- <view class="footer" wx:else>
- <view class="stBtn" bindtap="result" data-type="wantPlay">我也要玩</view>
- <view class="btn" bindtap="result" data-type="index">回到首页</view>
- </view>
- </view>
- <canvas id='share' type="2d"> </canvas>
|