diff --git a/config/baseUrl.js b/config/baseUrl.js
index ee0be03..bb878b7 100644
--- a/config/baseUrl.js
+++ b/config/baseUrl.js
@@ -2,8 +2,8 @@ let baseUrl = "";
let socketUrl = "";
if (process.env.NODE_ENV === 'development') {
// 开发环境
- baseUrl = "http://192.168.110.100:9200/pb/"; // 张川川
- // baseUrl = "https://api.nuttyreading.com/"; // 线上正式
+ // baseUrl = "http://192.168.110.100:9200/pb/"; // 张川川
+ baseUrl = "https://api.nuttyreading.com/"; // 线上正式
} else if (process.env.NODE_ENV === 'production') {
// 生产环境11
//baseUrl = "http://192.168.110.100:9200/pb/"; // 张川川
diff --git a/config/requestConfig.js b/config/requestConfig.js
index 72c6f67..1a572f4 100644
--- a/config/requestConfig.js
+++ b/config/requestConfig.js
@@ -84,11 +84,12 @@ $http.getAliToken = function(callback) {
//请求开始拦截器
$http.requestStart = function(options) {
// console.log("请求开始", options);
- if (options.load && options.data.loadAnimate != 'none') {
+ const resData = options.data || {}
+ if (options.load && resData.loadAnimate != 'none') {
//打开加载动画
store.commit("setLoadingShow", true);
}
- if (options.data.loadAnimate == 'none') {
+ if (resData.loadAnimate == 'none') {
delete options.data.loadAnimate
}
// 图片、视频上传大小限制
diff --git a/manifest.json b/manifest.json
index 780c3c3..21221e6 100644
--- a/manifest.json
+++ b/manifest.json
@@ -13,8 +13,8 @@
"src" : "图片路径"
}
],
- "versionName" : "1.0.57",
- "versionCode" : 1057,
+ "versionName" : "1.0.58",
+ "versionCode" : 1058,
"app-plus" : {
"nvueCompiler" : "weex",
"compatible" : {
diff --git a/package-lock.json b/package-lock.json
index ce735ef..4f80c1c 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -9,7 +9,7 @@
"version": "3.4.5",
"license": "MIT",
"dependencies": {
- "edu-core": "file:../edu-core",
+ "edu-core": "git+https://git.nuttyreading.com/chenghuan/edu-core.git#v1.0.9",
"jquery": "^3.7.1",
"tcplayer.js": "^5.1.0"
},
@@ -19,6 +19,7 @@
},
"../edu-core": {
"version": "1.0.8",
+ "extraneous": true,
"license": "ISC",
"devDependencies": {}
},
@@ -73,8 +74,9 @@
"integrity": "sha512-6QvTW9mrGeIegrFXdtQi9pk7O/nSK6lSdXW2eqUspN5LWD7UTji2Fqw5V2YLjBpHEoU9Xl/eUWNpDeZvoyOv2w=="
},
"node_modules/edu-core": {
- "resolved": "../edu-core",
- "link": true
+ "version": "1.0.8",
+ "resolved": "git+https://git.nuttyreading.com/chenghuan/edu-core.git#f815e7660e0645ca4393205b30986c4bc7aa4d9f",
+ "license": "ISC"
},
"node_modules/es5-shim": {
"version": "4.6.7",
@@ -397,7 +399,8 @@
"integrity": "sha512-6QvTW9mrGeIegrFXdtQi9pk7O/nSK6lSdXW2eqUspN5LWD7UTji2Fqw5V2YLjBpHEoU9Xl/eUWNpDeZvoyOv2w=="
},
"edu-core": {
- "version": "file:../edu-core"
+ "version": "git+https://git.nuttyreading.com/chenghuan/edu-core.git#f815e7660e0645ca4393205b30986c4bc7aa4d9f",
+ "from": "edu-core@git+https://git.nuttyreading.com/chenghuan/edu-core.git#v1.0.9"
},
"es5-shim": {
"version": "4.6.7",
diff --git a/package.json b/package.json
index 87741e5..2ff84c8 100644
--- a/package.json
+++ b/package.json
@@ -21,7 +21,7 @@
},
"homepage": "https://github.com/dcloudio/hello-uniapp#readme",
"dependencies": {
- "edu-core": "file:../edu-core",
+ "edu-core": "git+https://git.nuttyreading.com/chenghuan/edu-core.git#v1.0.9",
"jquery": "^3.7.1",
"tcplayer.js": "^5.1.0"
},
diff --git a/pages/curriculum/order/curriculum/detail.vue b/pages/curriculum/order/curriculum/detail.vue
index 162595b..ef9f8ca 100644
--- a/pages/curriculum/order/curriculum/detail.vue
+++ b/pages/curriculum/order/curriculum/detail.vue
@@ -12,7 +12,7 @@
diff --git a/pages/mine/mine/index.vue b/pages/mine/mine/index.vue
index e6a514e..163ddab 100644
--- a/pages/mine/mine/index.vue
+++ b/pages/mine/mine/index.vue
@@ -65,9 +65,10 @@
- 昵称:{{ userMes.nickname ? userMes.nickname : "未设置" }}
+
+ {{ userMes.nickname ? userMes.nickname : "未设置" }}
+ ({{userMes.profile}})
+
+
+
{
this.userMes = res.result;
+ this.userMes.profile = res.des || '';
+ this.userMes.todayWatch = res.todayWatch || '';
+ this.userMes.totalWatch = res.totalWatch || '';
if (this.userMes.userVip) {
}
});
@@ -792,30 +801,39 @@ export default {
view {
.name {
- width: 100%;
- font-weight: bold;
- font-size: 32rpx;
- color: #333 !important;
- }
+ width: 100%;
+ font-weight: bold;
+ font-size: 32rpx;
+ color: #6990c7 !important;
+ line-height: 1.2;
+ margin-bottom: 6rpx;
+ }
+
+ .user-profile{
+ font-size: 28rpx;
+ font-weight: normal;
+ display: inline-block;
+ }
- .phone {
- font-weight: bold;
- font-size: 28rpx;
- color: #333;
- }
+ .phone {
+ font-size: 26rpx;
+ color: #6990c7 !important;
+ margin: 6rpx 0;
+ }
- .tong {
- color: #999;
- font-size: 25upx;
- }
+ .per_user_img {
+ display: inline-block;
+ width: 40upx;
+ height: 40upx;
+ margin-left: 10rpx;
+ vertical-align: super;
+ }
- .per_user_img {
- display: inline-block;
- width: 40upx;
- height: 40upx;
- margin-left: 10rpx;
- vertical-align: super;
- }
+ .watch-time {
+ margin-top: 10rpx;
+ display: inline-block;
+ margin-right: 10rpx;
+ }
}
}
@@ -1033,9 +1051,9 @@ export default {
background-color: transparent !important;
}
-uni-page-body {
- // background: #d8f8e4 !important;
-}
+// uni-page-body {
+// // background: #d8f8e4 !important;
+// }
.bg_top {
padding: 0 30rpx;
@@ -1406,8 +1424,8 @@ uni-page-body {
// margin-right: 10rpx;
}
- .zhanghu {
- }
+ // .zhanghu {
+ // }
.quanyi {
border-top: 1rpx solid #f2d494;
diff --git a/pages/mine/userInfo/persData.vue b/pages/mine/userInfo/persData.vue
index a1343ab..501676e 100644
--- a/pages/mine/userInfo/persData.vue
+++ b/pages/mine/userInfo/persData.vue
@@ -1,431 +1,23 @@
-
-
-
-
-
- {{ userData.avatar ? "更换头像" : "设置头像" }}
-
-
-
-
-
-
-
- {{
- userData[slotProps.row.indexValue] == 2 ? "女" : "男"
- }}
- 未设置
-
-
-
- {{ userData[slotProps.row.indexValue] }}
- 未设置
-
-
-
- {{ userData[slotProps.row.indexValue] }}
- 点击绑定
-
-
- {{
- userData[slotProps.row.indexValue] ? "更改密码" : "设置密码"
- }}
-
-
-
- {{ userData[slotProps.row.indexValue] }}
- 点击绑定
-
-
-
- {{ userData[slotProps.row.indexValue] }}
- 未设置
-
-
-
-
- {{
- slotProps.row.content
- }}
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{ editModalTitle }}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{ passNote }}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{ item.title }}
-
-
-
-
-
-
-
-
-
-
-
-
-
- 取消
-
-
-
-
-
+
+
+