小程序1.0.2
7
app.json
@ -6,7 +6,6 @@
|
||||
"pages/loginModule/agreement/agreement",
|
||||
"pages/loginModule/privacyPolicy/privacyPolicy",
|
||||
"pages/personCenter/subCommissionSetting/subCommissionSetting",
|
||||
"pages/test/testVideo/testVideo",
|
||||
"pages/personCenter/withdrawal/withdrawal",
|
||||
"pages/personCenter/withdrawalAccount/withdrawalAccount",
|
||||
"pages/personCenter/accountSetting/accountSetting",
|
||||
@ -63,9 +62,9 @@
|
||||
"list": [
|
||||
{
|
||||
"pagePath": "pages/course/homepage/homepage",
|
||||
"text": "课程",
|
||||
"iconPath": "/static/course.png",
|
||||
"selectedIconPath": "/static/courseselected.png"
|
||||
"text": "主页",
|
||||
"iconPath": "/static/kc1.png",
|
||||
"selectedIconPath": "/static/kc2.png"
|
||||
},
|
||||
{
|
||||
"pagePath": "pages/personCenter/mine/mine",
|
||||
|
@ -31,7 +31,7 @@
|
||||
|
||||
<!-- 空状态(可选) -->
|
||||
<view wx:if="{{!courseList || courseList.length === 0}}" class="empty">
|
||||
<image class="empty-icon" src="./image/empty.png" mode="aspectFit"/>
|
||||
<image class="empty-icon" src="/static/empty.png" mode="aspectFit"/>
|
||||
<text class="empty-text">没找到相关课程,换个关键词试试~</text>
|
||||
</view>
|
||||
</scroll-view>
|
||||
|
Before Width: | Height: | Size: 124 B |
@ -55,8 +55,8 @@
|
||||
</view>
|
||||
|
||||
<!-- 空状态 -->
|
||||
<view wx:if="{{!courseList || courseList.length === 0}}" class="empty">
|
||||
<image class="empty-icon" src="./image/empty.png" mode="aspectFit"/>
|
||||
<view wx:if="{{!courseList || courseList.length == 0}}" class="empty">
|
||||
<image class="empty-icon" src="/static/empty.png" mode="aspectFit"/>
|
||||
<text class="empty-text">暂无课程,去看看其他分类吧~</text>
|
||||
</view>
|
||||
</scroll-view>
|
||||
|
Before Width: | Height: | Size: 145 KiB |
Before Width: | Height: | Size: 7.1 KiB |
Before Width: | Height: | Size: 454 KiB After Width: | Height: | Size: 15 KiB |
Before Width: | Height: | Size: 462 KiB After Width: | Height: | Size: 24 KiB |
Before Width: | Height: | Size: 445 KiB After Width: | Height: | Size: 7.6 KiB |
Before Width: | Height: | Size: 7.1 KiB |
@ -34,7 +34,7 @@
|
||||
|
||||
<!-- 空状态(可选) -->
|
||||
<view wx:if="{{!courseList || courseList.length === 0}}" class="empty">
|
||||
<image class="empty-icon" src="./images/empty.png" mode="aspectFit"/>
|
||||
<image class="empty-icon" src="/static/empty.png" mode="aspectFit"/>
|
||||
<text class="empty-text">没找到相关课程,换个关键词试试~</text>
|
||||
</view>
|
||||
</scroll-view>
|
||||
|
@ -46,6 +46,7 @@ Page({
|
||||
selectedSortField: selectedField,
|
||||
sortField: sortFieldsMap[selectedField], // 默认是 id
|
||||
});
|
||||
this.onSearch()
|
||||
},
|
||||
|
||||
// 选择排序顺序
|
||||
@ -55,6 +56,7 @@ Page({
|
||||
selectedSortOrder: selectedOrder === 'ascend' ? '升序' : '降序',
|
||||
sortOrder: selectedOrder,
|
||||
});
|
||||
this.onSearch()
|
||||
},
|
||||
|
||||
// 搜索按钮点击
|
||||
|
Before Width: | Height: | Size: 69 KiB |
Before Width: | Height: | Size: 56 KiB |
Before Width: | Height: | Size: 56 KiB |
Before Width: | Height: | Size: 56 KiB |
Before Width: | Height: | Size: 56 KiB |
Before Width: | Height: | Size: 2.1 KiB |
Before Width: | Height: | Size: 56 KiB |
Before Width: | Height: | Size: 4.7 KiB After Width: | Height: | Size: 4.5 KiB |
BIN
pages/personCenter/mine/images/dash2.png
Normal file
After Width: | Height: | Size: 4.7 KiB |
BIN
pages/personCenter/mine/images/jixiao.png
Normal file
After Width: | Height: | Size: 2.9 KiB |
Before Width: | Height: | Size: 56 KiB |
BIN
pages/personCenter/mine/images/ygpm.png
Normal file
After Width: | Height: | Size: 6.2 KiB |
BIN
pages/personCenter/mine/images/zgpm.png
Normal file
After Width: | Height: | Size: 5.0 KiB |
@ -257,21 +257,21 @@
|
||||
<view class="flex-col items-center equal-division-item_1 group_3" bindtap="checkPerformance">
|
||||
<image
|
||||
class="image_5"
|
||||
src="./images/zhijinxiangqing.png"
|
||||
src="./images/jixiao.png"
|
||||
/>
|
||||
<text class="font text_5 mt-6">{{title}}</text>
|
||||
</view>
|
||||
<view class="flex-col items-center equal-division-item_2 equal-division-item" bindtap="gotoSupervisorRank" data-userRole="{{ 'manager' }}">
|
||||
<image
|
||||
class="image_5"
|
||||
src="./images/tixianzhanghu.png"
|
||||
src="./images/zgpm.png"
|
||||
/>
|
||||
<text class="font text_6 mt-6">主管排名</text>
|
||||
</view>
|
||||
<view class="flex-col items-center equal-division-item_3 group_5" bindtap="gotoStaffRank" data-userRole="{{ 'supervisor' }}">
|
||||
<image
|
||||
class="image_5"
|
||||
src="./images/tixianjilu.png"
|
||||
src="./images/ygpm.png"
|
||||
/>
|
||||
<text class="font mt-6">员工排名</text>
|
||||
</view>
|
||||
|
Before Width: | Height: | Size: 145 KiB |
@ -1,41 +0,0 @@
|
||||
Page({
|
||||
/**
|
||||
* 页面的初始数据
|
||||
*/
|
||||
data: {
|
||||
|
||||
},
|
||||
videoPlay(){
|
||||
this.videoContext.play()
|
||||
},
|
||||
|
||||
videoPause() {
|
||||
this.videoContext.pause()
|
||||
},
|
||||
|
||||
videoPlayBackRate() {
|
||||
this.videoContext.playbackRate(1.5)
|
||||
},
|
||||
|
||||
videorequestFullScreen() {
|
||||
this.videoContext.requestFullScreen()
|
||||
},
|
||||
|
||||
videoSeek0() {
|
||||
this.videoContext.seek(0)
|
||||
},
|
||||
|
||||
bindInputBlur: function (e) {
|
||||
this.inputValue = e.detail.value
|
||||
},
|
||||
|
||||
bindSendDanmu: function () {
|
||||
this.videoContext.sendDanmu({
|
||||
text: this.inputValue,
|
||||
color:"#FFFFF"
|
||||
})
|
||||
},
|
||||
onReady: function () {
|
||||
this.videoContext = wx.createVideoContext('Video')
|
||||
}
|
||||
})
|
@ -1,3 +0,0 @@
|
||||
{
|
||||
"usingComponents": {}
|
||||
}
|
@ -1,8 +0,0 @@
|
||||
<video src="http://1.94.237.210:8848/test.mp4" id="Video" danmu-btn enable-danmu></video>
|
||||
<input placeholder="在这里输入你要发送的弹幕内容" bindblur="bindInputBlur"/>
|
||||
<button type="warn" bindtap="bindSendDanmu">发送弹幕</button>
|
||||
<button type="primary" size="mini" bindtap="videoPlay">播放</button>
|
||||
<button type="primary" size="mini" bindtap="videoPause">暂停</button>
|
||||
<button type="primary" size="mini" bindtap="videoPlayBackRate">1.25倍快进</button>
|
||||
<button type="primary" size="mini" bindtap="videorequestFullScreen">全屏</button>
|
||||
<button type="primary" size="mini" bindtap="videoSeek0">重新播放</button>
|
@ -1 +0,0 @@
|
||||
/* pages/test/testVideo/testVideo.wxss */
|
Before Width: | Height: | Size: 56 KiB |
Before Width: | Height: | Size: 4.3 KiB |
Before Width: | Height: | Size: 4.9 KiB |
Before Width: | Height: | Size: 7.1 KiB After Width: | Height: | Size: 7.1 KiB |
BIN
static/jd1.png
Before Width: | Height: | Size: 4.2 KiB |
BIN
static/jd2.png
Before Width: | Height: | Size: 7.0 KiB |
BIN
static/kc1.png
Normal file
After Width: | Height: | Size: 5.2 KiB |
BIN
static/logo.jpg
Before Width: | Height: | Size: 266 KiB After Width: | Height: | Size: 67 KiB |
BIN
static/wd1.png
Before Width: | Height: | Size: 6.2 KiB After Width: | Height: | Size: 6.8 KiB |
BIN
static/wd2.png
Before Width: | Height: | Size: 9.8 KiB After Width: | Height: | Size: 6.7 KiB |