<view><cu-custom vue-id="bae1c640-1" isBack="{{false}}" bind:__l="__l"></cu-custom><view class="main"><view class="main-top"><view class="title flex justify-between"><view>{{user.nickName||'未更新用户信息'}}</view><text data-event-opts="{{[['tap',[['goto',['setting']]]]]}}" class="cuIcon-settings lg text-gray" bindtap="__e"></text></view><view class="user"><view class="user-info flex"><image class="avatar" mode="scaleToFill" src="{{user.avatarUrl||defaultAvatar}}"></image><view class="study-info"><view data-event-opts="{{[['tap',[['switchStudent',['$event']]]]]}}" class="user-name" bindtap="__e">{{''+(kid_info.name?kid_info.name+'-'+kid_info.school_name:'切换学生')+''}}<text data-event-opts="{{[['tap',[['login',['$event']]]]]}}" class="iconfont margin-left-xs" style="font-size:18px;" bindtap="__e">{{isLogin?'':''}}</text></view><view class="user-learn">{{"已学习"+info.parent_data.learn_day+"天"}}</view></view></view><block wx:if="{{isLogin}}"><view class="user-relative flex justify-between"><block wx:for="{{courseRelates}}" wx:for-item="relate" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['goto',['$0'],[[['courseRelates','',index,'page']]]]]]]}}" class="course-item" style="{{('background:'+relate.background)}}" bindtap="__e"><text class="iconfont back-img" style="font-size:32px;">{{relate.icon}}</text><view class="text-df">{{relate.name}}</view></view></block></view></block><block wx:else><view class="user-relative flex justify-between"><block wx:for="{{courses}}" wx:for-item="course" wx:for-index="index" wx:key="index"><view class="course-item relate-item" style="{{('background:'+course.background)}}"><text class="iconfont back-img" style="font-size:40px;">{{course.icon}}</text><view class="text-lg">{{course.title}}</view><view class="text-xxl margin-top-xs">{{course.name}}</view></view></block></view></block></view><view class="order"><view class="order-title solid-bottom">我的订单</view><view class="order-info flex justify-between"><block wx:for="{{menuList}}" wx:for-item="order" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['toOrder',[index]]]]]}}" bindtap="__e"><view class="order-image"><text class="iconfont text-student" style="font-size:32px;">{{order.icon}}</text></view>{{''+order.title+''}}</view></block></view></view></view><view class="margin cu-list box-shadow menu margin-top-lg bg-white"><view data-event-opts="{{[['tap',[['goto',['classCart']]]]]}}" class="cu-item arrow" bindtap="__e"><text class="cuIcon-cart lg text-gray" style="font-size:18px;"></text><view class="content margin-left-sm"><text class="text-black">购物车</text></view><view class="action"></view></view><view data-event-opts="{{[['tap',[['goto',['message']]]]]}}" class="cu-item arrow" bindtap="__e"><text class="cuIcon-message lg text-gray" style="font-size:18px;"></text><view class="content margin-left-sm"><text class="text-black">消息中心</text></view><view class="action"></view></view><view data-event-opts="{{[['tap',[['goto',['onlineService']]]]]}}" class="cu-item arrow" bindtap="__e"><text class="iconfont text-gray" style="font-size:18px;"></text><view class="content margin-left-sm"><text class="text-black">在线客服</text></view></view></view></view><mp-tabbar vue-id="bae1c640-2" outerSelected="{{2}}" bind:__l="__l"></mp-tabbar><view data-event-opts="{{[['tap',[['hideModal',['$event']]]]]}}" class="{{['cu-modal drawer-modal justify-start',modalName=='showStudent'?'show':'']}}" bindtap="__e"><view data-event-opts="{{[['tap',[['',['$event']]]]]}}" class="cu-dialog basis-lg" style="{{'top:'+(topHeader+'px')+';'+('height:'+('calc(100vh - '+topHeader+'px)')+';')}}" catchtap="__e"><view class="student-list padding-left"><block wx:for="{{students}}" wx:for-item="student" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['chooseKid',['$0'],[[['students','',index,'id']]]]]]]}}" class="student margin-top-sm" bindtap="__e"><view class="flex align-center"><image class="avatar md" mode="scaleToFill" src="{{defaultAvatar}}"></image><view class="margin-left-sm">{{student.name}}</view><block wx:if="{{kid===student.id}}"><text class="cuIcon-check text-student margin-left" style="font-size:22px;"></text></block></view><view class="flex"><view class="cu-tag line-green margin-top-xs">{{''+(student.school_name?student.school_name:'')+"-"+student.grade_name+"-"+student.class_name+''}}</view></view></view></block></view></view></view></view>