|
@@ -1,9 +1,9 @@
|
|
|
<!--pages/coursePublish/coursePublish.wxml-->
|
|
|
-<view>
|
|
|
- <view class="course-container">
|
|
|
+<view class="course-container">
|
|
|
+ <view>
|
|
|
<text class="course-title">授课科目*</text>
|
|
|
<view class="course-list">
|
|
|
- <text class="course">主教</text>
|
|
|
+ <text class="course">课程类别:</text>
|
|
|
<view class="course-cho">
|
|
|
<text>请选择</text>
|
|
|
<image class="iconImg" src="../../images/down.png"></image>
|
|
@@ -18,7 +18,7 @@
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class="course-list">
|
|
|
- <text class="course">辅教</text>
|
|
|
+ <text class="course">详细课程:</text>
|
|
|
<view class="course-cho">
|
|
|
<text>请选择</text>
|
|
|
<image class="iconImg" src="../../images/down.png"></image>
|
|
@@ -33,8 +33,17 @@
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
+ <!-- 辅导方式 -->
|
|
|
+ <view class="techporsiton" bindtap="toChosedTeachPosition">
|
|
|
+ <view>授课方式*:</view>
|
|
|
+ <view class="teachporsition-option">
|
|
|
+ <view>{{teachPosition || '请选择'}}</view>
|
|
|
+ <view class="iconfont icon-xiangxia"></view>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ <!-- 授课时间 -->
|
|
|
<view>
|
|
|
- <text class="tr-title">授课时间*</text>
|
|
|
+ <view class="tr-title">授课时间*:</view>
|
|
|
<view class="tr-container">
|
|
|
<view class="tr_1">
|
|
|
<text class="th_0" decode="true">    </text>
|
|
@@ -47,52 +56,66 @@
|
|
|
<text class="th_2">周日</text>
|
|
|
</view>
|
|
|
<view class="tr_2">
|
|
|
- <checkbox-group>
|
|
|
+ <checkbox-group bindchange="chechboxChangeAM">
|
|
|
<view class="th2_0">上午</view>
|
|
|
- <checkbox class="th2_1"></checkbox>
|
|
|
- <checkbox class="th2_1"></checkbox>
|
|
|
- <checkbox class="th2_1"></checkbox>
|
|
|
- <checkbox class="th2_1"></checkbox>
|
|
|
- <checkbox class="th2_1"></checkbox>
|
|
|
- <checkbox class="th2_1"></checkbox>
|
|
|
- <checkbox class="th2_2"></checkbox>
|
|
|
+ <label wx:for="{{timeAM}}" wx:key="index">
|
|
|
+ <checkbox class="th2_1" value="{{item.value}}"></checkbox>
|
|
|
+ </label>
|
|
|
</checkbox-group>
|
|
|
</view>
|
|
|
<view class="tr_2">
|
|
|
- <checkbox-group>
|
|
|
+ <checkbox-group bindchange="chechboxChangePM">
|
|
|
<view class="th2_0">下午</view>
|
|
|
- <checkbox class="th2_1"></checkbox>
|
|
|
- <checkbox class="th2_1"></checkbox>
|
|
|
- <checkbox class="th2_1"></checkbox>
|
|
|
- <checkbox class="th2_1"></checkbox>
|
|
|
- <checkbox class="th2_1"></checkbox>
|
|
|
- <checkbox class="th2_1"></checkbox>
|
|
|
- <checkbox class="th2_2"></checkbox>
|
|
|
+ <label wx:for="{{timePM}}" wx:key="index">
|
|
|
+ <checkbox class="th2_1" value="{{item.value}}"></checkbox>
|
|
|
+ </label>
|
|
|
</checkbox-group>
|
|
|
</view>
|
|
|
<view class="tr_2">
|
|
|
- <checkbox-group>
|
|
|
+ <checkbox-group bindchange="chechboxChangeEvening">
|
|
|
<view class="th2_0">晚上</view>
|
|
|
- <checkbox class="th2_1"></checkbox>
|
|
|
- <checkbox class="th2_1"></checkbox>
|
|
|
- <checkbox class="th2_1"></checkbox>
|
|
|
- <checkbox class="th2_1"></checkbox>
|
|
|
- <checkbox class="th2_1"></checkbox>
|
|
|
- <checkbox class="th2_1"></checkbox>
|
|
|
- <checkbox class="th2_2"></checkbox>
|
|
|
+ <label wx:for="{{timeEvening}}" wx:key="index">
|
|
|
+ <checkbox class="th2_1" value="{{item.value}}"></checkbox>
|
|
|
+ </label>
|
|
|
</checkbox-group>
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
-
|
|
|
+ <!-- 成功经验 -->
|
|
|
<view class="suc-exap">
|
|
|
- <text>成功经验*</text>
|
|
|
- <textarea class="case" name="成功案例" id="" cols="30" rows="10" maxlength="120"></textarea>
|
|
|
+ <text>成功经验*:</text>
|
|
|
+ <textarea class="case" name="成功案例" id="" cols="30" rows="10" maxlength="120" bindinput="getSuccess"></textarea>
|
|
|
</view>
|
|
|
+ <!-- 自我介绍 -->
|
|
|
<view class="suc-exap">
|
|
|
- <text>自我介绍*</text>
|
|
|
- <textarea class="case" name="成功案例" id="" cols="30" rows="10" maxlength="120"></textarea>
|
|
|
+ <text>自我介绍*:</text>
|
|
|
+ <textarea class="case" name="成功案例" id="" cols="30" rows="10" maxlength="120" bindinput="getSelfIntroduction"></textarea>
|
|
|
</view>
|
|
|
|
|
|
</view>
|
|
|
-<button class="subBtn" type="primary">发布课程</button>
|
|
|
+<!-- 课程发布提交按钮 -->
|
|
|
+<button class="subBtn" type="primary" bindtap="toPublisCourse">发布课程</button>
|
|
|
+<!-- 底部空白区域,为了增加间隔效果,避免提交按钮完全贴着底边 -->
|
|
|
+<view class="blank"></view>
|
|
|
+
|
|
|
+
|
|
|
+<!-- 以下是弹窗选区部分 -->
|
|
|
+<!-- 课程类别 -->
|
|
|
+
|
|
|
+
|
|
|
+<!-- 授课方式选项 -->
|
|
|
+<view wx:if="{{chosedTeachPosition}}">
|
|
|
+ <!-- 空白区(背景) -->
|
|
|
+ <view class="mask" bindtap="hiddenTeachPosition"></view>
|
|
|
+ <!-- 内容区 -->
|
|
|
+ <view class="options-wrapper">
|
|
|
+ <view class="chooseContent-title">
|
|
|
+ <view bindtap="hiddenTeachPosition">取消</view>
|
|
|
+ <view bindtap="confirmTeachPosition">确定</view>
|
|
|
+ </view>
|
|
|
+ <view class="chooseContent" wx:for="{{teachPositions}}" wx:key="key" bindtap="onTeachPosition" data-index="{{index}}">
|
|
|
+ <view style="position: absolute;left: 40rpx;">{{item.opType}}</view>
|
|
|
+ <image style="position: absolute;right: 40rpx;" src="{{item.chosed?'/images/selected.png':'/images/selectNull.png'}}"></image>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+</view>
|