From 2b208f5dd658cfdd2217b99ec225b8e865cdf839 Mon Sep 17 00:00:00 2001 From: chenghuan Date: Tue, 24 Mar 2026 14:23:48 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E7=94=A8=E6=88=B7=E8=A7=82=E7=9C=8B?= =?UTF-8?q?=E6=97=B6=E9=95=BF=E4=B8=8A=E4=BC=A0=E5=92=8C=E7=BB=9F=E8=AE=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 在用户信息页面中,增加用户资料的显示,包括今日观看和总观看时长 - 优化课程详情页中视频组件的传递参数,确保课程ID和目录ID的正确传递 - 注释掉不必要的样式代码以提升可读性 --- manifest.json | 5 +- pages/course/chapterDetailAndorid.vue | 27 +- pages/mine/mine/index.vue | 47 +- pages/mine/userInfo/persData.vue | 1345 +------------------------ 4 files changed, 80 insertions(+), 1344 deletions(-) diff --git a/manifest.json b/manifest.json index 24389d3..754ff17 100644 --- a/manifest.json +++ b/manifest.json @@ -12,8 +12,8 @@ "src" : "图片路径" } ], - "versionName" : "2.0.43", - "versionCode" : 2043, + "versionName" : "2.0.45", + "versionCode" : 2045, "sassImplementationName" : "node-sass", "app-plus" : { "nvueCompiler" : "uni-app", @@ -63,6 +63,7 @@ "", "", "", + "", "", "", "", diff --git a/pages/course/chapterDetailAndorid.vue b/pages/course/chapterDetailAndorid.vue index 1b43b66..0e7ebce 100644 --- a/pages/course/chapterDetailAndorid.vue +++ b/pages/course/chapterDetailAndorid.vue @@ -17,7 +17,7 @@ @@ -934,9 +934,9 @@ } - .u-grid-list { - // height: 40rpx; - } + // .u-grid-list { + // // height: 40rpx; + // } .searchList { .item { @@ -1133,7 +1133,8 @@ button { font-size: 32rpx; - @include theme('btn_bg') color: #fff; + @include theme('btn_bg'); + color: #fff; height: 80rpx; line-height: 80rpx; border-radius: 50rpx; @@ -1236,11 +1237,11 @@ // align-items: center; } - .headImage { - // height: 400rpx !important; - } + // .headImage { + // // height: 400rpx !important; + // } - .commonDetailPage {} + // .commonDetailPage {} .curriulum_box { margin-top: 20rpx; @@ -1263,9 +1264,9 @@ } } - /deep/.titleItem { - // width: calc(100% - 120rpx) !important; - } + // /deep/.titleItem { + // // width: calc(100% - 120rpx) !important; + // } /deep/.scroll-view-item:nth-child(2n-1) { background-color: transparent !important; @@ -1396,7 +1397,7 @@ width: calc(100% - 150rpx) !important; .aui-text-danger { - display: inline-block; + // display: inline-block; float: right; } } diff --git a/pages/mine/mine/index.vue b/pages/mine/mine/index.vue index 4b914d2..6c78f23 100644 --- a/pages/mine/mine/index.vue +++ b/pages/mine/mine/index.vue @@ -29,7 +29,12 @@ + @@ -128,13 +139,14 @@ + + {{ hufenNumber }}湖分 + + @@ -483,6 +495,9 @@ if (this.userInfo.id != undefined) { this.$http.post("common/user/getUserInfo").then((res) => { this.userMes = res.result; + this.userMes.profile = res.des || ''; + this.userMes.todayWatch = res.todayWatch || ''; + this.userMes.totalWatch = res.totalWatch || ''; }); } }, @@ -636,15 +651,23 @@ view { .name { - width: 100%; + width: 90%; font-weight: bold; font-size: 32rpx; color: #6990c7 !important; + line-height: 1.2; + } + + .user-profile{ + font-size: 28rpx; + font-weight: normal; + display: inline-block; } .phone { font-size: 26rpx; color: #6990c7 !important; + margin: 6rpx 0; } .per_user_img { @@ -654,6 +677,12 @@ margin-left: 10rpx; vertical-align: super; } + + .watch-time { + margin-top: 6rpx; + display: inline-block; + margin-right: 10rpx; + } } } diff --git a/pages/mine/userInfo/persData.vue b/pages/mine/userInfo/persData.vue index 2f309d4..1fa8a64 100644 --- a/pages/mine/userInfo/persData.vue +++ b/pages/mine/userInfo/persData.vue @@ -3,387 +3,23 @@ - - - - {{ userData.avatar ? "更换头像" : "设置头像" }} - - - - - - - - - - - - - - {{ editModalTitle }} - - - - - - - - - - - - - 取消 - - + + -