tijiao
This commit is contained in:
@@ -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
6764
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -554,7 +554,7 @@
|
||||
{
|
||||
"path": "pages/course/vipCourse",
|
||||
"style": {
|
||||
"navigationBarTitleText": "超V课程",
|
||||
"navigationBarTitleText": "免费课程",
|
||||
"enablePullDownRefresh": false
|
||||
}
|
||||
},
|
||||
|
||||
@@ -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)
|
||||
}
|
||||
|
||||
@@ -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
16
unpackage/dist/build/app-plus/app-service.js
vendored
16
unpackage/dist/build/app-plus/app-service.js
vendored
File diff suppressed because one or more lines are too long
6
unpackage/dist/build/app-plus/app-view.js
vendored
6
unpackage/dist/build/app-plus/app-view.js
vendored
File diff suppressed because one or more lines are too long
2
unpackage/dist/build/app-plus/manifest.json
vendored
2
unpackage/dist/build/app-plus/manifest.json
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
11004
unpackage/dist/dev/app-plus/app-service.js
vendored
11004
unpackage/dist/dev/app-plus/app-service.js
vendored
File diff suppressed because one or more lines are too long
18236
unpackage/dist/dev/app-plus/app-view.js
vendored
18236
unpackage/dist/dev/app-plus/app-view.js
vendored
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user