郭宇琦 vor 3 Tagen
Ursprung
Commit
d83dfd3620
2 geänderte Dateien mit 4 neuen und 2 gelöschten Zeilen
  1. 2 1
      pages/index/index.css
  2. 2 1
      utils/util.js

+ 2 - 1
pages/index/index.css

@@ -193,7 +193,8 @@
 	font-weight: 600;
 	font-size: 28rpx;
 	color: #060809;
-	width: 220rpx;
+	min-width: 220rpx;
+	padding: 0 20rpx;
 	height: 62rpx;
 	justify-content: center;
 	align-items: center;

+ 2 - 1
utils/util.js

@@ -2,7 +2,8 @@ import dayjs from 'dayjs'
 import duration from 'dayjs/plugin/duration'
 dayjs.extend(duration);
 const systemInfo = uni.getSystemInfoSync();
-const Language = systemInfo.language == 'zh_CN' ? 'zh' : 'en' // 'zh' | 'en'
+// const Language = systemInfo.language == 'zh_CN' ? 'zh' : 'en' // 'zh' | 'en'
+const Language = 'en' // 'zh' | 'en'
 const formatTime = (date) => {
 	const year = date.getFullYear();
 	const month = date.getMonth() + 1;