|
@@ -1,2 +1,103 @@
|
|
|
-<!--pages/schAdmin/course/info.wxml-->
|
|
|
-<text>pages/schAdmin/course/info.wxml</text>
|
|
|
+<mobile-main frameStyle="{{frameStyle}}" bind:back="back">
|
|
|
+ <view slot="info" class="container main">
|
|
|
+ <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>
|
|
|
+ </form>
|
|
|
+ </view>
|
|
|
+ </scroll-view>
|
|
|
+ </view>
|
|
|
+ <view wx:elif="{{tabs.active=='1'}}" class="b">
|
|
|
+ <scroll-view scroll-y="true" class="scroll-view">
|
|
|
+ <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.is_sign=='0'?'未签到':item.is_sign=='1'?'已签到':'暂无'}}</text>
|
|
|
+ </view>
|
|
|
+ <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 wx:elif="{{tabs.active=='2'}}" class="b">
|
|
|
+ <scroll-view scroll-y="true" class="scroll-view">
|
|
|
+ <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.is_sign=='0'?'未签到':item.is_sign=='1'?'已签到':'暂无'}}</text>
|
|
|
+ </view>
|
|
|
+ <view class="other_1">
|
|
|
+ <text>缴费金额:</text>
|
|
|
+ <text>{{item.money||'0'}}元</text>
|
|
|
+ </view>
|
|
|
+ <view class="other_1">
|
|
|
+ <text>所属学院:</text>
|
|
|
+ <text>{{item.school_id_name||'暂无'}}</text>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ </scroll-view>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+</mobile-main>
|