123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 |
- <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="btn-group">
- <view class="btn btn-t">
- <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="btn btn-b">
- <view class="score-btn-bg" bind:tap="toRule">积分规则</view>
- <van-image width="48rpx" height="48rpx" fit="cover" src="/images/ic_rule_tag.png" class="score-bg-tag" />
- </view>
- </view>
- </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="card1">
- <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>
|