1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192 |
- <!--index.wxml-->
- <view class="container">
- <!-- 标题 -->
- <tarbar id="tarbar"/>
- <!-- 内容 -->
- <view class="content">
- <scroll-view scroll-y="true" bindscroll="lower" scroll-with-animation="true" scroll-with-animation="true" enable-back-to-top="true">
- <!-- 我的 -->
- <view class="my {{navBtnSelectIdx == 0 ? '' : 'none'}}">
- <!-- 个人信息 -->
- <view class='message'>
- <view class='user'>
- <view class='head'>
- <image class="userinfo-avatar" src="{{data.users.headImgUrl}}" background-size="cover"></image>
- <view class='left'>
- <view class="name">
- {{data.users.wechatName}}
- <text class='LV'>LV.{{data.level}}</text>
- </view>
- <view class="student">
- 学号:
- <text>{{data.users.eid}}</text>
- </view>
- </view>
- </view>
- <view class='grade'>{{grade}}</view>
- </view>
- <view class='personal'>
- <view class="particulars">
- <text>登录天数</text>
- <text>{{data.users.loginDay}}</text>
- </view>
- <view class="particulars">
- <text>总时长</text>
- <text>{{time}}</text>
- </view>
- <view class="particulars">
- <text>当前排名</text>
- <text>{{data.scoreRank}}</text>
- </view>
- <view class="particulars">
- <text>超过用户</text>
- <text>{{data.proportion}}%</text>
- </view>
- </view>
- </view>
- <!-- 勋章 -->
- <view class="medal">
- <view class="title">
- <text>我的勋章</text>
- <text class="{{data.metalsList.length > 0 ? 'none' : ''}}">本周还没获得</text>
- </view>
- <view class="img">
- <view wx:for="{{data.metalsList}}" wx:key="{{item.id}}" >
- <image src="{{item.img}}"></image>
- <text>{{item.name}}</text>
- </view>
- </view>
- </view>
- <!-- 课模板 -->
- <view>
- <curriculum studyLog="{{ data.studyLog }}"/>
- </view>
- <!-- <view class='questions'>
- <scroll-view>
- <text class="{{questionsPreviewing ? 'adsorb' : ''}}">答疑</text>
- <view>
- </view>
- </scroll-view>
- </view>
- <view class='share'>
- <text class="{{questionsShare ? 'adsorb' : ''}}">分享</text>
- <view></view>
- </view> -->
- </view>
- <!-- 本周推荐 -->
- <!-- <view class="recommend {{navBtnSelectIdx == 1 ? '' : 'none'}}">
- <recommend recommendData="{{recommendData}}"/>
- </view> -->
- <!-- 科学艺术 -->
- <!-- <view class="art {{navBtnSelectIdx == 7 ? '' : 'none'}}">
- <one wx:if="{{share}}"
- productionData="{{oneData}}"
- title="作品分享"
- type="2"/>
- <art wx:else
- productionData="{{productionData}}"
- questionsData="{{questionsData}}"/>
- </view> -->
- </scroll-view>
- </view>
- </view>
|