123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111 |
- <view wx:if="{{isFirst===1}}" class="supermama">
- <view class="load" style='display:{{loaddisplay}}'>
- <image class="loadimg" style='display:{{loaddisplay}}' src='https://yuesuo.yueguanjia.com/MiniProgram/images/timg.gif'></image>
- </view>
- <view class="view-page">
- <navbar page-name="超人妈妈学院"></navbar>
- <!-- 头部部分 -->
- <view class='page-content' style='height:calc(100vh - {{navH}}px)'>
- <view class="super_head">
- <!-- 人员信息 -->
- <view class="flex headTop">
- <view class="flex headLeft">
- <image class="headImg" src="{{info.avatar_url}}" lazy-load></image>
- <view class="mamaInfo">
- <view class="ys-font16 name">{{nickName}}</view>
- <view class="week">{{info.stage=='P01'?'孕期':'育儿期'}}第{{info.stage_step}}{{info.stage=='P01'?'周':'月'}}</view>
- </view>
- </view>
- <view class="headRight">
- <view class="ys-font12 title">奖学金</view>
- <view class="ys-font14 number">
- <text>{{info.scholarships||0}}</text>
- <image class="jb-icon" src="https://yuesuo.yueguanjia.com/MiniProgram/images/jinbi.png" />
- </view>
- </view>
- </view>
- <!-- 进度条 -->
- <view class="headProgress">
- <view class="proImgView" wx:for="{{info.present_received.length}}" wx:key="index">
- <image data-ind="{{index}}" bindtap="openGift" class="proImg" src="{{info.present_received[index].received ? stepIconO:stepIcon}}"></image>
- </view>
- <view class="isPro" bindtap="goRule">
- <view class="bgPro"></view>
- <view class="coverPro" style="width:{{process}}%"></view>
- <view class="coverPro coverProT" style="left:{{process+10}}%;font-size: 20rpx; width: 80rpx;">{{info.credit}}学分</view>
- </view>
- <view class="textPro">
- <view class="ys-font10 coverInfo {{(info.present_received[index].received)&&(currentmama==index+1)?'active':''}}" wx:for="{{info.present_received}}" wx:key="id">
- <view class="getNum">{{item.value}}</view>
- <view>{{item.name}}</view>
- </view>
- </view>
- </view>
- </view>
- <!-- 课程部分 -->
- <view class="cla ing">
- <text class="ys-font16 task">待完成任务</text>
- <text class="taskNum">{{taskNum.all}}</text>
- <!-- 常规课 -->
- <view wx:if="{{taskNum.college_core > 0}}" class="isKeCheng">
- <block wx:for="{{info.college_core}}" wx:if="{{item.status!='已完成'}}" wx:key="index">
- <regularCourse obj="{{item}}" />
- </block>
- </view>
- <!-- 活动课 -->
- <view wx:if="{{taskNum.college_practice > 0}}" class="isKeCheng">
- <block wx:for="{{info.college_practice}}" wx:if="{{item.status!='已完成'&&item.learningStatus!='已过期'}}" wx:key="index">
- <practicalCourse obj="{{item}}" />
- </block>
- </view>
- <!-- 体验课 -->
- <view wx:if="{{taskNum.college_experience > 0}}" class="isKeCheng">
- <block wx:for="{{info.college_experience}}" wx:if="{{item.status!='已完成'}}" wx:key="index">
- <experienceClass obj="{{item}}" />
- </block>
- </view>
- </view>
- <view class="cla ed" wx:if="{{taskEnd.all > 0}}">
- <text class="ys-font16 task">已完结课程</text>
- <!-- 常规课 -->
- <view wx:if="{{taskEnd.college_core > 0}}" class="isKeCheng">
- <block wx:for="{{info.college_core}}" wx:if="{{item.status=='已完成'}}" wx:key="index">
- <regularCourse obj="{{item}}" />
- </block>
- </view>
- <!-- 活动课 -->
- <view wx:if="{{taskEnd.college_practice > 0}}" class="isKeCheng">
- <block wx:for="{{info.college_practice}}" wx:if="{{item.status=='已完成'||item.learningStatus=='已过期'}}" wx:key="index">
- <practicalCourse obj="{{item}}" />
- </block>
- </view>
- <!-- 体验课 -->
- <view wx:if="{{taskEnd.college_experience > 0}}" class="isKeCheng">
- <block wx:for="{{info.college_experience}}" wx:if="{{item.status=='已完成'}}" wx:key="index">
- <experienceClass obj="{{item}}" />
- </block>
- </view>
- </view>
- </view>
- <!-- 礼物弹窗 -->
- <creditAlert wx:if="{{showGift}}" bindcloseGift="closeGift" isReady="{{giftData.isReady}}" obj="{{giftData}}" />
- <image wx:if="{{(!isSet&&info.stage=='B01'&&info.stage_step<2)||(!isSet&&info.stage=='P01'&&info.stage_step>35)}}"
- bindtap="babyBorn" class="babyBorn" src='https://yuesuo.yueguanjia.com/college/s2.png'></image>
- <image class="xysz" bindtap="goRule" src='https://yuesuo.yueguanjia.com/college/s3.png'></image>
- <tabbar _tabBarInd="{{2}}" />
- </view>
- </view>
- <view wx:else class="isFirst">
- <view class="view-page">
- <navbar page-name="超人妈妈学院"></navbar>
- <view class='page-content' style='height:calc(100vh - {{navH}}px)'>
- <view class="imgbox">
- <image class="supetmamaimg" mode="widthFix" src='https://yuesuo.yueguanjia.com/college/index.jpg'></image>
- <button class="startFirstButton" bindtap="setNotFirst">立即加入</button>
- </view>
- </view>
- <tabbar _tabBarInd="{{2}}" />
- </view>
- </view>
|