diff --git a/pages/study/dabang.vue b/pages/study/dabang.vue
index c16d0bb..00fe3e6 100644
--- a/pages/study/dabang.vue
+++ b/pages/study/dabang.vue
@@ -79,7 +79,7 @@
-
+
@@ -91,7 +91,7 @@
完成打榜{{item.finishNum}}项
- {{item.integral}}积分
+ 累计打榜{{item.counts}}天
@@ -130,11 +130,15 @@
});
},
getProgress(){
+ uni.showLoading({
+ title: "正在加载中..."
+ })
myProgress(this.studyId).then((res)=>{
if(res.success){
res.data.studyListDto.listStartTime = res.data.studyListDto.listStartTime.split(" ")[0];
res.data.studyListDto.listEndTime = res.data.studyListDto.listEndTime.split(" ")[0]
this.detail = res.data;
+ uni.hideLoading()
uni.stopPullDownRefresh();
}
})
@@ -378,7 +382,7 @@
}
.name{
- width: 62%;
+ width: 60%;
}
.rank-img{
width: 50rpx;
diff --git a/pages/user/User/index.vue b/pages/user/User/index.vue
index 6b0f461..126d6fb 100644
--- a/pages/user/User/index.vue
+++ b/pages/user/User/index.vue
@@ -235,7 +235,7 @@ export default {
Authorization,
},
props: {},
- data: function() {
+ data() {
return {
MyMenus: [],
switchActive: false,
@@ -533,15 +533,12 @@ export default {
},
onShow() {
if (this.$store.getters.token) {
- //
- // uni.showLoading({
- // title: '加载中',
- // })
this.$store.dispatch('getUser', true)
// this.MenuUser()
this.isWeixin = isWeixin()
}
},
+
onHide() {
console.log('离开用户中心')
this.updateAuthorizationPage(false)
diff --git a/pages/user/myBangdan/index.vue b/pages/user/myBangdan/index.vue
index 00dd7f4..4f81882 100644
--- a/pages/user/myBangdan/index.vue
+++ b/pages/user/myBangdan/index.vue
@@ -41,6 +41,9 @@
onLoad(){
this.getList()
},
+ onPullDownRefresh() {
+ this.getList()
+ },
methods:{
getList(){
uni.showLoading({
@@ -51,6 +54,7 @@
if(res.success){
this.studyList = res.data
}
+ uni.stopPullDownRefresh()
})
},
toDabang(id){
diff --git a/pages/user/myCourses/index.vue b/pages/user/myCourses/index.vue
index 0516b6c..374a718 100644
--- a/pages/user/myCourses/index.vue
+++ b/pages/user/myCourses/index.vue
@@ -68,6 +68,9 @@
onLoad(){
this.getList()
},
+ onPullDownRefresh() {
+ this.getList()
+ },
methods:{
getList(){
uni.showLoading({
@@ -78,6 +81,7 @@
if(res.success){
this.courseList = res.data
}
+ uni.stopPullDownRefresh()
})
},
tabClick(idx){
diff --git a/static/close-btn.png b/static/close-btn.png
new file mode 100644
index 0000000..d5c1e28
Binary files /dev/null and b/static/close-btn.png differ
diff --git a/static/content-bg.png b/static/content-bg.png
new file mode 100644
index 0000000..be1c162
Binary files /dev/null and b/static/content-bg.png differ
diff --git a/static/course-icon1.png b/static/course-icon1.png
index a3d9976..25e689b 100644
Binary files a/static/course-icon1.png and b/static/course-icon1.png differ
diff --git a/static/course-icon2.png b/static/course-icon2.png
index 479b5d9..41d9aeb 100644
Binary files a/static/course-icon2.png and b/static/course-icon2.png differ
diff --git a/static/course-icon3.png b/static/course-icon3.png
index dd855e0..8c82c61 100644
Binary files a/static/course-icon3.png and b/static/course-icon3.png differ
diff --git a/static/course-icon4.png b/static/course-icon4.png
index 8dfac54..c97c9f9 100644
Binary files a/static/course-icon4.png and b/static/course-icon4.png differ
diff --git a/static/course-icon5.png b/static/course-icon5.png
new file mode 100644
index 0000000..08ed8fc
Binary files /dev/null and b/static/course-icon5.png differ
diff --git a/static/ercode-download.png b/static/ercode-download.png
new file mode 100644
index 0000000..95cce00
Binary files /dev/null and b/static/ercode-download.png differ
diff --git a/static/signup-success.png b/static/signup-success.png
new file mode 100644
index 0000000..e01c671
Binary files /dev/null and b/static/signup-success.png differ
diff --git a/static/蒙版组 39@2x.png b/static/蒙版组 39@2x.png
new file mode 100644
index 0000000..73e6bd7
Binary files /dev/null and b/static/蒙版组 39@2x.png differ
diff --git a/utils/index.js b/utils/index.js
index 644dc2b..31c9d7f 100644
--- a/utils/index.js
+++ b/utils/index.js
@@ -1118,7 +1118,6 @@ export function chooseImages(callback) {
},
})
}
-
},
})
}
diff --git a/utils/request.js b/utils/request.js
index a57b9b2..0e3a1d2 100644
--- a/utils/request.js
+++ b/utils/request.js
@@ -63,6 +63,7 @@ function baseRequest(options) {
options.headers = {
...options.headers,
+ version: '2.0',
}
if (options.login === true) {