1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- <view class="container">
- <view class="card">
- <view class="top-img">
- <van-image width="700rpx" height="143rpx" fit="cover" src="/images/ic_score_bg.png" class="score-bg-img"/>
- <view class="score-tip">我的积分{{scoreInfos.length == 0 ? "(暂无积分)" : ""}}</view>
- <view class="score-btn-bg" bind:tap="toDetail">积分明细</view>
- <van-image width="48rpx" height="48rpx" fit="cover" src="/images/ic_score_tag.png" class="score-bg-tag"/>
- </view>
- <view class="score-item" wx:for="{{scoreInfos}}" wx:key="index">
- <view class="score-left">
- {{item.itemName || ''}}({{item.teamName || ''}})
- </view>
- <view class="score-right">
- {{item.surplusValue || '0'}}
- </view>
- </view>
- </view>
- <view class="card">
- <view class="score-course-img">
- <van-image width="256rpx" height="35rpx" fit="cover" src="/images/ic_score_course.png"/>
- </view>
- <van-tabs active="{{ active }}" bind:change="onChange" line-width="60rpx" line-height="5rpx" color='#FF4330'
- title-active-color="#FF4330" title-inactive-color="#666" sticky border="{{true}}">
- <van-tab title="{{item}}" wx:for="{{ ['兑换课程','已兑换课程']}}" wx:key="index">
- <edu-loadmore isEmpty="{{rows.length == 0}}" isRefresh="{{isRefresh}}" isLoading="{{isLoading}}"
- isComplete="{{noMore}}">
- <score-card wx:for="{{rows}}" wx:key="index" bind:score='toNewsDetail' item="{{score}}"
- isComplete="{{isComplete}}" wx:for-item="score"
- bind:card="toVideo"></score-card>
- </edu-loadmore>
- </van-tab>
- </van-tabs>
- <score-pop show="{{show}}" item="{{item}}" scoreInfos="{{scoreInfos}}" bind:pay="pay"/>
- </view>
- </view>
|