This commit is contained in:
2025-10-22 13:06:50 +08:00
parent 192f00c069
commit e7f3cc7c65
12 changed files with 17368 additions and 19576 deletions

View File

@@ -6,14 +6,12 @@
"request": 15000
},
"transformPx": false,
"icons" : [
{
"icons": [{
"sizes": "分辨率192x192",
"src": "图片路径"
}
],
"versionName" : "2.0.26",
"versionCode" : 2026,
}],
"versionName": "2.0.27",
"versionCode": 2027,
"app-plus": {
"nvueCompiler": "uni-app",
"compatible": {
@@ -439,4 +437,3 @@
}
}
//

6764
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -554,7 +554,7 @@
{
"path": "pages/course/vipCourse",
"style": {
"navigationBarTitleText": "超V课程",
"navigationBarTitleText": "免费课程",
"enablePullDownRefresh": false
}
},

View File

@@ -2,7 +2,7 @@
<view>
<!-- 公共组件-每个页面必须引入 -->
<public-module></public-module>
<z-nav-bar title="超V专享课程"></z-nav-bar>
<z-nav-bar title="免费课程"></z-nav-bar>
<view class="learnBox box" >
<view class="newBox">
<view class="item flexbox" v-for="(item, index) in courseList" :key="index" @click="onPageJump('/pages/course/courseDetail',item.id, item.title)">
@@ -102,7 +102,7 @@
this.status = 1
this.flag = false
$http.request({
url: "medical/course/getCourseByVip",
url: "medical/course/getFreeCourse",
method: "POST", // POST、GET、PUT、DELETE具体说明查看官方文档
data: {
"limit": 12,
@@ -114,18 +114,22 @@
})
.then(res => {
if (res.code == 0) {
if (res.data.records.length > 0) {
var list = res.data.records
console.log('res.code at line 116:', res)
if (res.courseList.length > 0) {
var list = res.courseList
this.courseList = this.courseList.concat(list)
if(res.data.pages > this.page){
this.status = 0
}else{
// if(res.data.pages > this.page){
// this.status = 0
// }else{
this.status = 2
}
} else if(this.page > 1){
this.status = 2 // 加载完成
// }
// } else if(this.page > 1){
// this.status = 2 // 加载完成
// }else{
// this.status = 3 // 暂无数据
// }
}else{
this.status = 3 // 暂无数据
this.status = 3
}
console.log('status',this.status)
}

View File

@@ -50,8 +50,9 @@
class="item flexbox"
@click="onPageJump('/pages/course/vipCourse')"
>
<image src="../../static/my_06.png" mode="aspectFit"></image>
<text>超V专享</text>
<!-- ../../static/my_06.png -->
<image src="../../static/my_05.png" mode="aspectFit"></image>
<text>免费课程</text>
</div>
<!-- <div class="item flexbox" @click="onPageJump()">
<image src="../../static/my_03.png" mode="aspectFit"></image>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long