coursePush.wxml
1.7 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
<!--packageLearningCenter/pages/coursePush/coursePush.wxml-->
<view class="container">
<view class="course-detail-box">
<view class="course-detail-img-box">
<image class="course-detail-img"
src="{{courseInfo._imageUrl}}"
mode="scaleToFill" />
<view class="tag">{{courseInfo._tagText}}</view>
</view>
<view class="course-detail-content">
<view class="course-title">
{{ courseInfo.title }}
</view>
<!-- 课程信息 -->
<view class="course-info">
<view class="info-label">
课程时长
</view>
<view class="info-value">
{{ (courseInfo.totalDuration || courseInfo.totalDuration === 0) ? courseInfo.totalDuration + 'min' : '-' }}
</view>
</view>
<view class="studied-box">
<image class="icon" src="{{IMG_URL}}studyCenter/all-amount.png"/>
<view class="text">{{courseInfo.learnTotal}}人已学习</view>
</view>
</view>
</view>
<view class="item-box">
<view class="label">推送人员<text class='required'>*</text></view>
<view class="value" bindtap="chooseSelect">
<text wx:if="{{orderObj.staffuuid.length}}" class="value-text">已选{{orderObj.staffuuid.length}}人</text>
<block wx:else>
<text class="placeholder">点击选择</text>
</block>
<image src="{{IMG_URL}}arrow.png" mode=""/>
</view>
</view>
<view class="footer-btn">
<view class="btn fixed-btn" bindtap="submit">提交</view>
</view>
</view>
<select-popup show="{{ showSelectPopup }}" multiple="{{true}}" options="{{ selectOptions }}" values="{{ selectValues }}" value="{{ selectValue }}" bindconfirm="handlePopupConfirm" labelKey="staffName" valueKey="staffuuid" height="80%" title="员工选择" allowSearch="{{true}}" bindcancel="hideSelectPopup"></select-popup>