diff --git a/manifest.json b/manifest.json
index 1877855..4fadfc2 100644
--- a/manifest.json
+++ b/manifest.json
@@ -74,14 +74,14 @@
"https" : false,
"proxy" : {
"/systemapi" : {
- "target" : "https://u-pre.boe.com",
+ "target" : "https://u.boe.com",
"changeOrigin" : true,
"secure" : false,
"pathRewrite" : {}
},
// "^/systemapi" : ""
"/userbasic" : {
- "target" : "https://u-pre.boe.com",
+ "target" : "https://u.boe.com",
"changeOrigin" : true,
"secure" : false,
"pathRewrite" : {
@@ -89,7 +89,7 @@
}
},
"/manageApi" : {
- "target" : "https://u-pre.boe.com",
+ "target" : "https://u.boe.com",
"changeOrigin" : true,
"secure" : false,
"pathRewrite" : {
@@ -97,7 +97,7 @@
}
},
"/uboeApi" : {
- "target" : "https://u-pre.boe.com",
+ "target" : "https://u.boe.com",
"changeOrigin" : true,
"secure" : false,
"pathRewrite" : {
@@ -106,7 +106,7 @@
},
"/statApi" : {
// 目标代理服务器地址
- "target" : "https://u-pre.boe.com",
+ "target" : "https://u.boe.com",
"changeOrigin" : true,
"logLevel" : "debug",
"secure" : false,
@@ -115,7 +115,7 @@
// "^/statApi" : ""
"/socialApi" : {
// 目标代理服务器地址
- "target" : "https://u-pre.boe.com",
+ "target" : "https://u.boe.com",
"changeOrigin" : true,
"logLevel" : "debug",
"secure" : false,
diff --git a/package-lock.json b/package-lock.json
index c43807e..bc6e590 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -1,6 +1,5 @@
{
- "name": "trunk",
- "lockfileVersion": 2,
- "requires": true,
- "packages": {}
+ "name": "mobile",
+ "version": "1.0.0",
+ "lockfileVersion": 1
}
diff --git a/package.json b/package.json
index 80e4f21..a167ffa 100644
--- a/package.json
+++ b/package.json
@@ -14,29 +14,25 @@
"author": "",
"license": "ISC",
"uni-app": {
- "scripts": {
- "h5:testing": {
- "BROWSER": "Chrome",
- "title": "build:testing",
- "env": {
- "UNI_PLATFORM": "h5",
- "ENV_TYPE": "testing"
- },
- "define": {
-
- }
- },
- "h5:preview": {
- "BROWSER": "Chrome",
- "title": "build:preview",
- "env": {
- "UNI_PLATFORM": "h5",
- "ENV_TYPE": "preview"
- },
- "define": {
-
- }
- }
- }
- }
+ "scripts": {
+ "h5:testing": {
+ "BROWSER": "Chrome",
+ "title": "build:testing",
+ "env": {
+ "UNI_PLATFORM": "h5",
+ "ENV_TYPE": "testing"
+ },
+ "define": {}
+ },
+ "h5:preview": {
+ "BROWSER": "Chrome",
+ "title": "build:preview",
+ "env": {
+ "UNI_PLATFORM": "h5",
+ "ENV_TYPE": "preview"
+ },
+ "define": {}
+ }
+ }
+ }
}
diff --git a/pages/study/courseStudy.vue b/pages/study/courseStudy.vue
index 6113e79..db7bd07 100644
--- a/pages/study/courseStudy.vue
+++ b/pages/study/courseStudy.vue
@@ -4,7 +4,7 @@
-
+
@@ -117,6 +117,7 @@
+ 目录
简介
评论
@@ -428,6 +429,7 @@
export default {
data(){
return{
+ isShowPdt: true,
progressData: 0,
contentTypeV: '',
trueFalse: true,
@@ -777,6 +779,7 @@
});
},
playContent(con,conIndex,catIndex){
+ this.isShowPdt = true
//对于需要控制学习顺序的
if(conIndex!=undefined && catIndex!=undefined) {
if(this.courseInfo.orderStudy) {
@@ -1028,6 +1031,11 @@
}
},
+ goTop(){
+ window.scrollTo(0, 0);
+ this.showAllCatalog()
+ this.isShowPdt = false
+ },
changeTab(idx){
this.tabIndex=idx;
},
@@ -1037,6 +1045,7 @@
},
closeAllCatalog(){
this.catalogShow=false;
+ this.isShowPdt = true
//定位目录
},
openScore(){
diff --git a/unpackage/dist/build/h5/index.html b/unpackage/dist/build/h5/index.html
index 9d35dce..12ad271 100644
--- a/unpackage/dist/build/h5/index.html
+++ b/unpackage/dist/build/h5/index.html
@@ -19,4 +19,4 @@
hm.src = "https://hm.baidu.com/hm.js?ea89f02dca369037a73c5e3907e2c14a";
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(hm, s);
- })();