小程序1.0.2

This commit is contained in:
2025-08-15 15:19:05 +08:00
parent e0684ec229
commit 342e97d5d6
41 changed files with 12 additions and 64 deletions

View File

@ -6,7 +6,6 @@
"pages/loginModule/agreement/agreement", "pages/loginModule/agreement/agreement",
"pages/loginModule/privacyPolicy/privacyPolicy", "pages/loginModule/privacyPolicy/privacyPolicy",
"pages/personCenter/subCommissionSetting/subCommissionSetting", "pages/personCenter/subCommissionSetting/subCommissionSetting",
"pages/test/testVideo/testVideo",
"pages/personCenter/withdrawal/withdrawal", "pages/personCenter/withdrawal/withdrawal",
"pages/personCenter/withdrawalAccount/withdrawalAccount", "pages/personCenter/withdrawalAccount/withdrawalAccount",
"pages/personCenter/accountSetting/accountSetting", "pages/personCenter/accountSetting/accountSetting",
@ -63,9 +62,9 @@
"list": [ "list": [
{ {
"pagePath": "pages/course/homepage/homepage", "pagePath": "pages/course/homepage/homepage",
"text": "课程", "text": "主页",
"iconPath": "/static/course.png", "iconPath": "/static/kc1.png",
"selectedIconPath": "/static/courseselected.png" "selectedIconPath": "/static/kc2.png"
}, },
{ {
"pagePath": "pages/personCenter/mine/mine", "pagePath": "pages/personCenter/mine/mine",

View File

@ -31,7 +31,7 @@
<!-- 空状态(可选) --> <!-- 空状态(可选) -->
<view wx:if="{{!courseList || courseList.length === 0}}" class="empty"> <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> <text class="empty-text">没找到相关课程,换个关键词试试~</text>
</view> </view>
</scroll-view> </scroll-view>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 124 B

View File

@ -55,8 +55,8 @@
</view> </view>
<!-- 空状态 --> <!-- 空状态 -->
<view wx:if="{{!courseList || courseList.length === 0}}" class="empty"> <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> <text class="empty-text">暂无课程,去看看其他分类吧~</text>
</view> </view>
</scroll-view> </scroll-view>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 145 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 454 KiB

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 462 KiB

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 445 KiB

After

Width:  |  Height:  |  Size: 7.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.1 KiB

View File

@ -34,7 +34,7 @@
<!-- 空状态(可选) --> <!-- 空状态(可选) -->
<view wx:if="{{!courseList || courseList.length === 0}}" class="empty"> <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> <text class="empty-text">没找到相关课程,换个关键词试试~</text>
</view> </view>
</scroll-view> </scroll-view>

View File

@ -46,6 +46,7 @@ Page({
selectedSortField: selectedField, selectedSortField: selectedField,
sortField: sortFieldsMap[selectedField], // 默认是 id sortField: sortFieldsMap[selectedField], // 默认是 id
}); });
this.onSearch()
}, },
// 选择排序顺序 // 选择排序顺序
@ -55,6 +56,7 @@ Page({
selectedSortOrder: selectedOrder === 'ascend' ? '升序' : '降序', selectedSortOrder: selectedOrder === 'ascend' ? '升序' : '降序',
sortOrder: selectedOrder, sortOrder: selectedOrder,
}); });
this.onSearch()
}, },
// 搜索按钮点击 // 搜索按钮点击

Binary file not shown.

Before

Width:  |  Height:  |  Size: 69 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 56 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 56 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 56 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 56 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 56 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.7 KiB

After

Width:  |  Height:  |  Size: 4.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 56 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.0 KiB

View File

@ -257,21 +257,21 @@
<view class="flex-col items-center equal-division-item_1 group_3" bindtap="checkPerformance"> <view class="flex-col items-center equal-division-item_1 group_3" bindtap="checkPerformance">
<image <image
class="image_5" class="image_5"
src="./images/zhijinxiangqing.png" src="./images/jixiao.png"
/> />
<text class="font text_5 mt-6">{{title}}</text> <text class="font text_5 mt-6">{{title}}</text>
</view> </view>
<view class="flex-col items-center equal-division-item_2 equal-division-item" bindtap="gotoSupervisorRank" data-userRole="{{ 'manager' }}"> <view class="flex-col items-center equal-division-item_2 equal-division-item" bindtap="gotoSupervisorRank" data-userRole="{{ 'manager' }}">
<image <image
class="image_5" class="image_5"
src="./images/tixianzhanghu.png" src="./images/zgpm.png"
/> />
<text class="font text_6 mt-6">主管排名</text> <text class="font text_6 mt-6">主管排名</text>
</view> </view>
<view class="flex-col items-center equal-division-item_3 group_5" bindtap="gotoStaffRank" data-userRole="{{ 'supervisor' }}"> <view class="flex-col items-center equal-division-item_3 group_5" bindtap="gotoStaffRank" data-userRole="{{ 'supervisor' }}">
<image <image
class="image_5" class="image_5"
src="./images/tixianjilu.png" src="./images/ygpm.png"
/> />
<text class="font mt-6">员工排名</text> <text class="font mt-6">员工排名</text>
</view> </view>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 145 KiB

View File

@ -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')
}
})

View File

@ -1,3 +0,0 @@
{
"usingComponents": {}
}

View File

@ -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>

View File

@ -1 +0,0 @@
/* pages/test/testVideo/testVideo.wxss */

Binary file not shown.

Before

Width:  |  Height:  |  Size: 56 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.9 KiB

View File

Before

Width:  |  Height:  |  Size: 7.1 KiB

After

Width:  |  Height:  |  Size: 7.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.0 KiB

BIN
static/kc1.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 266 KiB

After

Width:  |  Height:  |  Size: 67 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.2 KiB

After

Width:  |  Height:  |  Size: 6.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.8 KiB

After

Width:  |  Height:  |  Size: 6.7 KiB