Jelajahi Sumber

Merge branch '2025北京诚祥' of https://gogs.mtavip.com/wangguoyu/uniProject into 2025北京诚祥

tanxue 2 bulan lalu
induk
melakukan
4f1ab812bc
1 mengubah file dengan 3 tambahan dan 3 penghapusan
  1. 3 3
      pages/client/Kecheng/study.vue

+ 3 - 3
pages/client/Kecheng/study.vue

@@ -13,7 +13,7 @@
 			<view>{{zyName}} {{zyLevelName}}</view>
 		</view>
 		<view class="kc-info-box">
-			<view>时长:{{period}}分钟</view>
+			<view>时长:{{period}}</view>
 			<view>{{userCount}}人学习</view>
 		</view>
 		<!-- 大纲 -->
@@ -39,7 +39,7 @@
 		useUserCache
 	} from "@/utils/userCache.js"
 	import {
-		formatDuration
+		formatSecondsToCnhms
 	} from "@/utils/common.js"
 	import {
 		useKechengTools
@@ -257,7 +257,7 @@
 						zyLevelName,
 					} = res.data;
 					this.userCount = userCount;
-					this.period = formatDuration(period);
+					this.period = formatSecondsToCnhms(period,true);
 					this.name = name;
 					this.zyName = zyName;
 					this.zyLevelName = zyLevelName;