Browse Source

提交代码

teacherMiniApp
杨豪 3 years ago
parent
commit
686b95baff
  1. 6
      pages.json
  2. 1
      pages/home/index.vue
  3. 2
      pages/serviceTeacher/addMember.vue
  4. 6
      pages/serviceTeacher/courseDetail.vue

6
pages.json

@ -3,7 +3,7 @@
{ {
"path": "pages/Loading/index", "path": "pages/Loading/index",
"style": { "style": {
"navigationBarTitleText": "禅易教育研究院" "navigationBarTitleText": "禅易服务"
} }
}, },
// { // {
@ -33,7 +33,7 @@
{ {
"path": "pages/home/index", "path": "pages/home/index",
"style": { "style": {
"navigationBarTitleText": "禅易教育研究院", "navigationBarTitleText": "禅易服务",
"enablePullDownRefresh": true "enablePullDownRefresh": true
} }
}, },
@ -67,7 +67,7 @@
// { // {
// "path": "pages/serviceTeacher/index", // "path": "pages/serviceTeacher/index",
// "style": { // "style": {
// "navigationBarTitleText": "禅易教育研究院" // "navigationBarTitleText": "禅易服务"
// } // }
// }, // },
// { // {

1
pages/home/index.vue

@ -61,6 +61,7 @@
onPullDownRefresh(){ onPullDownRefresh(){
this.courseList = [] this.courseList = []
this.page = 0 this.page = 0
this.loading = true
this.getList() this.getList()
}, },
onReachBottom(){ onReachBottom(){

2
pages/serviceTeacher/addMember.vue

@ -113,7 +113,7 @@
let data = { let data = {
keywords: this.keywords, keywords: this.keywords,
sort: 'uid,asc', sort: 'uid,asc',
page: this.page, page: 1,
size: 100 size: 100
} }
this.loadState = '正在加载中...' this.loadState = '正在加载中...'

6
pages/serviceTeacher/courseDetail.vue

@ -196,7 +196,7 @@
padding-bottom: 100rpx; padding-bottom: 100rpx;
.swiper-box{ .swiper-box{
width: 100%; width: 100%;
height: 340rpx; height: 600rpx;
image{ image{
width: 100%; width: 100%;
height: 100%; height: 100%;
@ -207,7 +207,7 @@
background: #F7F8FC; background: #F7F8FC;
border-radius: 60rpx 60rpx 0px 0px; border-radius: 60rpx 60rpx 0px 0px;
padding: 46rpx 40rpx; padding: 46rpx 40rpx;
margin-top: -55rpx; margin-top: -50rpx;
position: relative; position: relative;
.course-name-box{ .course-name-box{
margin-bottom: 24rpx; margin-bottom: 24rpx;
@ -231,7 +231,7 @@
font-size: 24rpx; font-size: 24rpx;
color: #333; color: #333;
line-height: 40rpx; line-height: 40rpx;
height: 126rpx; height: 114rpx;
overflow: hidden; overflow: hidden;
} }
} }

Loading…
Cancel
Save