From 6cb6d8ee06c886dc2a8079709a169c03652237ec Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E6=9D=A8=E8=B1=AA?= <781521347@qq.com>
Date: Thu, 16 Dec 2021 10:52:13 +0800
Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E4=BB=A3=E7=A0=81?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
api/knowledge.js | 11 +++-
api/user.js | 2 +-
pages.json | 3 +-
pages/Loading/index.vue | 10 ++--
pages/course/detail.vue | 49 ++++++++--------
pages/home/index.vue | 33 +++++------
pages/knowledge/detail.vue | 2 +-
pages/shop/GoodsClass/index.vue | 8 +--
pages/study/dabang.vue | 74 +++++++++++++++++-------
pages/study/editDabang.vue | 96 ++++++++++++++++++++++----------
pages/user/User/index.vue | 67 +++-------------------
pages/user/myCourses/index.vue | 2 +-
static/loading.gif | Bin 0 -> 3897 bytes
store/index.js | 5 +-
utils/index.js | 5 +-
utils/request.js | 2 +-
16 files changed, 204 insertions(+), 165 deletions(-)
create mode 100644 static/loading.gif
diff --git a/api/knowledge.js b/api/knowledge.js
index 040f275..d22c493 100644
--- a/api/knowledge.js
+++ b/api/knowledge.js
@@ -62,7 +62,7 @@ export function enterStudyList(data) {
* 获取榜单打榜进度
*/
export function myProgress(data) {
- return request.get("/StudyList/myProgress?studyListId="+data);
+ return request.get("/StudyList/myProgress",data);
}
/**
@@ -72,6 +72,13 @@ export function studyListPublish(data) {
return request.post("/StudyList/studyListPublish",data);
}
+/**
+ * 补卡打榜分享
+ */
+export function studyListRepublish(data) {
+ return request.post("/StudyList/studyListRepublish",data);
+}
+
/**
* 发布打榜点赞
*/
@@ -104,7 +111,7 @@ export function getCourseDetail(data) {
* 报名
*/
export function enterCourse(data) {
- return request.post("/user/enterCourse",data);
+ return request.post("/lession/enterCourse",data);
}
/**
diff --git a/api/user.js b/api/user.js
index 885a438..1d48d61 100644
--- a/api/user.js
+++ b/api/user.js
@@ -439,7 +439,7 @@ export function getRechargeApi() {
* 获取我的课程列表
* */
export function getMyCourseList(q) {
- return request.get('/Course/listCoursesByMemberId?type='+q)
+ return request.get('/lession/myLessionList?type='+q)
}
/*
diff --git a/pages.json b/pages.json
index bda8b40..3f73251 100644
--- a/pages.json
+++ b/pages.json
@@ -164,7 +164,8 @@
{
"path": "pages/user/User/index",
"style": {
- "navigationBarTitleText": "我的"
+ "navigationBarTitleText": "我的",
+ "enablePullDownRefresh": true
}
},
diff --git a/pages/Loading/index.vue b/pages/Loading/index.vue
index 3ab16d8..c5d46fd 100644
--- a/pages/Loading/index.vue
+++ b/pages/Loading/index.vue
@@ -1,7 +1,7 @@
-
+
@@ -23,13 +23,12 @@ export default {
return {}
},
onShow() {
- console.log('getUser',this.userInfo)
var url = handleQrCode()
if (!url) {
url = handleUrlParam(getCurrentPageUrlWithArgs())
}
- console.log(url)
- console.log('判断是否是分销')
+ // console.log(url)
+ // console.log('判断是否是分销')
// 判断是否是分销
if (url) {
let urlSpread = parseInt(url.spread)
@@ -109,7 +108,8 @@ export default {
}
#lottie {
- width: 35%;
+ width: 42rpx;
+ height: 42rpx;
display: block;
overflow: hidden;
transform: translate3d(0, 0, 0);
diff --git a/pages/course/detail.vue b/pages/course/detail.vue
index 03c9499..fd4ef20 100644
--- a/pages/course/detail.vue
+++ b/pages/course/detail.vue
@@ -50,7 +50,7 @@
课程简介
-
+
@@ -131,7 +131,6 @@
座位号:{{detail.seat}}