|
@@ -1,61 +1,98 @@
|
|
|
<mobile-main frameStyle="{{frameStyle}}" bind:back="back">
|
|
|
<view slot="info" class="container main">
|
|
|
- <form class="one" catchsubmit="onSubmit">
|
|
|
- <view class="one_1">
|
|
|
- <text class="text">课程标题:</text>
|
|
|
- <text class="text1">{{form.title||'暂无'}}</text>
|
|
|
+ <view class="one">
|
|
|
+ <s-tab tabs="{{tabs}}" bind:tabsChange="tabsChange"></s-tab>
|
|
|
+ </view>
|
|
|
+ <view class="two">
|
|
|
+ <view wx:if="{{tabs.active=='0'}}" class="a">
|
|
|
+ <scroll-view scroll-y="true" class="scroll-view">
|
|
|
+ <view class="list-scroll-view">
|
|
|
+ <form class="one" catchsubmit="onSubmit">
|
|
|
+ <view class="one_1">
|
|
|
+ <text class="text">课程标题:</text>
|
|
|
+ <text class="text1">{{form.title||'暂无'}}</text>
|
|
|
+ </view>
|
|
|
+ <view class="one_1">
|
|
|
+ <text class="text">学校名称:</text>
|
|
|
+ <text class="text1">{{form.zhSchool||'暂无'}}</text>
|
|
|
+ </view>
|
|
|
+ <view class="one_1">
|
|
|
+ <text class="text">人数上限:</text>
|
|
|
+ <text class="text1">{{form.limit||'暂无'}}人</text>
|
|
|
+ </view>
|
|
|
+ <view class="one_1">
|
|
|
+ <text class="text">开始时间:</text>
|
|
|
+ <text class="text1">{{form.time_start||'暂无'}}</text>
|
|
|
+ </view>
|
|
|
+ <view class="one_1">
|
|
|
+ <text class="text">结束时间:</text>
|
|
|
+ <text class="text1">{{form.time_end||'暂无'}}</text>
|
|
|
+ </view>
|
|
|
+ <view class="one_1">
|
|
|
+ <text class="text">状态:</text>
|
|
|
+ <text class="text1">{{form.zhStatus||'暂无'}}</text>
|
|
|
+ </view>
|
|
|
+ <view class="one_1">
|
|
|
+ <text class="text">课程费(元):</text>
|
|
|
+ <text class="text1">{{form.money||'暂无'}}</text>
|
|
|
+ </view>
|
|
|
+ <view class="one_1">
|
|
|
+ <text class="text">退款期限:</text>
|
|
|
+ <text class="text1">{{form.refund_hour||'暂无'}}</text>
|
|
|
+ </view>
|
|
|
+ <view class="one_1">
|
|
|
+ <text class="text">简介:</text>
|
|
|
+ <text class="text1">{{form.brief||'暂无'}}</text>
|
|
|
+ </view>
|
|
|
+ <view class="one_1" wx:if="{{form.type=='0'}}">
|
|
|
+ <text class="text">是否试课:</text>
|
|
|
+ <button type="primary" size="mini" bindtap="toClass">试课</button>
|
|
|
+ </view>
|
|
|
+ <view class="btn">
|
|
|
+ <button type="primary" size="mini" formType="submit">报名</button>
|
|
|
+ </view>
|
|
|
+ </form>
|
|
|
+ </view>
|
|
|
+ </scroll-view>
|
|
|
</view>
|
|
|
- <view class="one_1">
|
|
|
- <text class="text">学校名称:</text>
|
|
|
- <text class="text1">{{form.zhSchool||'暂无'}}</text>
|
|
|
+ <view wx:elif="{{tabs.active=='1'}}" class="b">
|
|
|
+ <scroll-view scroll-y="true" class="scroll-view" bindscrolltolower="toPage">
|
|
|
+ <view class="list-scroll-view">
|
|
|
+ <view class="list" wx:for="{{coach}}" wx:key="index">
|
|
|
+ <view class="name">{{item.coach_id_name||'暂无'}}</view>
|
|
|
+ <view class="other">
|
|
|
+ <view class="other_1">
|
|
|
+ <text>课程名称:</text>
|
|
|
+ <text>{{item.lesson_id_title||'暂无'}}</text>
|
|
|
+ </view>
|
|
|
+ <view class="other_1">
|
|
|
+ <text>所属学校:</text>
|
|
|
+ <text>{{item.school_id_name||'暂无'}}</text>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ </scroll-view>
|
|
|
</view>
|
|
|
- <view class="one_1">
|
|
|
- <text class="text">人数上限:</text>
|
|
|
- <text class="text1">{{form.limit||'暂无'}}人</text>
|
|
|
+ <view wx:elif="{{tabs.active=='2'}}" class="b">
|
|
|
+ <scroll-view scroll-y="true" class="scroll-view" bindscrolltolower="toPage">
|
|
|
+ <view class="list-scroll-view">
|
|
|
+ <view class="list" wx:for="{{student}}" wx:key="index">
|
|
|
+ <view class="name">{{item.student_id_name||'暂无'}}</view>
|
|
|
+ <view class="other">
|
|
|
+ <view class="other_1">
|
|
|
+ <text>是否试课:</text>
|
|
|
+ <text>{{item.is_try=='0'?'非试课':item.is_try=='1'?'试课':'暂无'}}</text>
|
|
|
+ </view>
|
|
|
+ <view class="other_1">
|
|
|
+ <text>所属学院:</text>
|
|
|
+ <text>{{item.school_id_name||'暂无'}}</text>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ </scroll-view>
|
|
|
</view>
|
|
|
- <view class="one_1">
|
|
|
- <text class="text">开始时间:</text>
|
|
|
- <text class="text1">{{form.time_start||'暂无'}}</text>
|
|
|
- </view>
|
|
|
- <view class="one_1">
|
|
|
- <text class="text">结束时间:</text>
|
|
|
- <text class="text1">{{form.time_end||'暂无'}}</text>
|
|
|
- </view>
|
|
|
- <view class="one_1">
|
|
|
- <text class="text">状态:</text>
|
|
|
- <text class="text1">{{form.zhStatus||'暂无'}}</text>
|
|
|
- </view>
|
|
|
- <view class="one_1">
|
|
|
- <text class="text">课程费(元):</text>
|
|
|
- <text class="text1">{{form.money||'暂无'}}</text>
|
|
|
- </view>
|
|
|
- <view class="one_1">
|
|
|
- <text class="text">退款期限:</text>
|
|
|
- <text class="text1">{{form.refund_hour||'暂无'}}</text>
|
|
|
- </view>
|
|
|
- <view class="one_1">
|
|
|
- <text class="text">简介:</text>
|
|
|
- <text class="text1">{{form.brief||'暂无'}}</text>
|
|
|
- </view>
|
|
|
- <view class="one_1" wx:if="{{coach&&coach.length>0}}">
|
|
|
- <text class="text">教练人员:</text>
|
|
|
- <view class="name">
|
|
|
- <text wx:for="{{coach}}" wx:key="item" class="text1 textOver">姓名:{{item.coach_id_name||'暂无'}}</text>
|
|
|
- </view>
|
|
|
- </view>
|
|
|
- <view class="one_1" wx:if="{{student&&student.length>0}}">
|
|
|
- <text class="text">学生人员:</text>
|
|
|
- <view class="name">
|
|
|
- <text wx:for="{{student}}" wx:key="item" class="text1 textOver">姓名:{{item.student_id_name||'暂无'}}</text>
|
|
|
- </view>
|
|
|
- </view>
|
|
|
- <view class="one_1" wx:if="{{form.type=='0'}}">
|
|
|
- <text class="text">是否试课:</text>
|
|
|
- <button type="primary" size="mini" bindtap="toClass">试课</button>
|
|
|
- </view>
|
|
|
- <view class="btn">
|
|
|
- <button type="primary" size="mini" formType="submit">报名</button>
|
|
|
- </view>
|
|
|
- </form>
|
|
|
+ </view>
|
|
|
</view>
|
|
|
</mobile-main>
|