| | |
| | | <view> |
| | | <t-pull-down-refresh value="{{baseRefresh.value}}" loadingTexts="{{['下拉刷新', '松手刷新', '正在刷新', '刷新完成']}}" bind:refresh="onPullDownRefresh" bind:scroll="onScroll"> |
| | | <view class="container"> |
| | | <view class="bg"> |
| | | <image src="/static/images/personal/my-bg.png" mode="heightFix" class="image" /> |
| | | </view> |
| | | <t-pull-down-refresh value="{{baseRefresh.value}}" loadingProps="{{loadingProps}}" loadingTexts="{{['下拉刷新', '正在刷新', '刷新完成']}}" bind:refresh="onPullDownRefresh" bind:scroll="onScroll"> |
| | | <view style="width: 100%; height: {{barHeight}}px;"></view> |
| | | <view class="background {{ isWhite ? 'white':''}}" style="padding-top: {{barHeight}}px"> |
| | | <text class="text">个人中心</text> |
| | | </view> |
| | | <view class="home-page"> |
| | | <view class="bg"> |
| | | <image src="/static/images/personal/my-bg.png" mode="heightFix" class="image" /> |
| | | </view> |
| | | |
| | | <t-user-center-card userInfo="{{userInfo}}" isPhoneHide="{{true}}" name-class="custom-name-class" phone-class="custom-phone-class" avatar-class="customer-avatar-class" currAuthStep="{{currAuthStep}}" bind:gotoUserEditPage="gotoUserEditPage" bind:editUserType="editUserType" /> |
| | | <view class="content-wrapper"> |
| | | <view class="topBox"> |
| | | <view class="teacherBox"> |
| | | <view> |
| | | <view class="wait" wx:if="{{teacherState.state == 'WaitAudit'}}">等待审核</view> |
| | | <view class="yes" wx:if="{{teacherState.state == 'Normal'}}">已认证</view> |
| | | <view class="no" wx:if="{{teacherState.state == 'Reject'}}">已驳回</view> |
| | | <view class="wait" wx:if="{{teacherState.state == ''}}">待认证</view> |
| | | <view class="state wait" wx:if="{{teacherState.state == 'WaitAudit'}}">等待审核</view> |
| | | <view class="state yes" wx:if="{{teacherState.state == 'Normal'}}">已认证</view> |
| | | <view class="state no" wx:if="{{teacherState.state == 'Reject'}}">已驳回</view> |
| | | <view class="state wait" wx:if="{{teacherState.state == ''}}">待认证</view> |
| | | <view class="title"><text>教师认证</text> |
| | | <text class="change-info" wx:if="{{teacherState.state == ''}}" bindtap="toCertification">认证</text> |
| | | <text class="change-info" wx:if="{{teacherState.state == 'Normal' || teacherState.state == 'Reject'}}" bindtap="toCertification">修改</text> |
| | | </view> |
| | | </view> |
| | | <view class="line"></view> |
| | | <view> |
| | | <view bindtap="getIntegralList"> |
| | | <view>{{integral}}</view> |
| | | <view class="title">积分</view> |
| | | </view> |
| | |
| | | </view> |
| | | </view> |
| | | </t-popup> |
| | | <t-popup visible="{{visibleIntegral}}" bind:visible-change="onVisibleIntegralChange" placement="center"> |
| | | <view class="blockIntegral"> |
| | | <scroll-view class="srcolbox" scroll-y scroll-height-animation="true"> |
| | | <view class="block-content"> |
| | | <view class="tableHeader"> |
| | | <view class="lable">类型</view> |
| | | <view class="value">数量</view> |
| | | <view class="createDate">时间</view> |
| | | </view> |
| | | <view class="content-item" wx:for="{{recordList}}" wx:for-item="item" wx:for-index="index" wx:key="index"> |
| | | <view class="lable">{{item.type}}</view> |
| | | <view class="value yes" wx:if="item.value > 0">{{'+' + item.value}}</view> |
| | | <view class="value no" wx:else>{{item.value}}</view> |
| | | <view class="createDate">{{item.createDate ? item.createDate : '-'}}</view> |
| | | </view> |
| | | <view class="content-item"> |
| | | <view class="lable">总计</view> |
| | | <view class="value totle">{{integral}}</view> |
| | | <view class="createDate"></view> |
| | | </view> |
| | | </view> |
| | | </scroll-view> |
| | | <t-icon t-class="close-btn" name="close-circle" size="64rpx" color="#fff" bind:tap="onClose" /> |
| | | </view> |
| | | </t-popup> |
| | | |
| | | </view> |
| | | </t-pull-down-refresh> |
| | | </view> |