123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102 |
- <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>
- <view class="one_1" wx:if="{{form.type_try=='0'&&user.type=='3'&&form.type=='0'&&form.sign=='0'}}">
- <text class="text">是否试课:</text>
- <button type="primary" size="mini" bindtap="toClass">试课</button>
- </view>
- <view class="btn" wx:if="{{user.type=='3'&&form.sign=='0'}}">
- <button type="primary" size="mini" formType="submit">报名</button>
- </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.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.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>
|