From 327a1765554cefe4cf248f5466df5dc2badeee97 Mon Sep 17 00:00:00 2001 From: lz-ui Date: Sun, 28 Sep 2025 11:53:00 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/assets/styles/reset.scss | 20 +++++++++++++- src/utils/timer.js | 6 +++++ src/views/login.vue | 6 ++--- .../components/basketball.vue | 25 +++++++++++------ .../eventAnalysisReport/components/soccer.vue | 27 ++++++++++++------- src/views/tc/eventAnalysisReport/detail.vue | 4 +-- src/views/tc/eventAnalysisReport/index.vue | 22 ++++++++++++--- .../tc/videoScript/components/basketball.vue | 25 +++++++++++------ .../tc/videoScript/components/soccer.vue | 25 +++++++++++------ src/views/tc/videoScript/detail.vue | 4 +-- 10 files changed, 120 insertions(+), 44 deletions(-) create mode 100644 src/utils/timer.js diff --git a/src/assets/styles/reset.scss b/src/assets/styles/reset.scss index 5df6e02..2530f14 100644 --- a/src/assets/styles/reset.scss +++ b/src/assets/styles/reset.scss @@ -146,4 +146,22 @@ .el-message-box__message{ color: var(--el-text-color-primary); } -} \ No newline at end of file +} + +/* 体彩操作栏 */ +.tc-view-time{ + display: inline-block; + padding: 4px 10px; + line-height: 15px; + border-radius: 4px; + background: #fff3d9; + color: #c9993e; + font-size: 12px; + cursor: pointer; + width: 75px; +} +.tc-view-time-disabled{ + background: #eaf2fe; + color: #c0c4cc; + cursor: not-allowed; +} \ No newline at end of file diff --git a/src/utils/timer.js b/src/utils/timer.js new file mode 100644 index 0000000..6972b5d --- /dev/null +++ b/src/utils/timer.js @@ -0,0 +1,6 @@ +import dayjs from 'dayjs' + + +export function timerToStr(t = null, f = 'YYYY-MM-DD-HH-mm-ss') { + return dayjs(t).format(f) +} \ No newline at end of file diff --git a/src/views/login.vue b/src/views/login.vue index 8e7b4c9..247145a 100644 --- a/src/views/login.vue +++ b/src/views/login.vue @@ -77,9 +77,9 @@ const router = useRouter() const { proxy } = getCurrentInstance() const loginForm = ref({ - username: "admin", - password: "admin123", - rememberMe: false, + username: "", + password: "", + rememberMe: true, code: "", uuid: "" }) diff --git a/src/views/tc/eventAnalysisReport/components/basketball.vue b/src/views/tc/eventAnalysisReport/components/basketball.vue index 9de6b5f..d4c4d12 100644 --- a/src/views/tc/eventAnalysisReport/components/basketball.vue +++ b/src/views/tc/eventAnalysisReport/components/basketball.vue @@ -52,9 +52,13 @@ @@ -72,6 +76,7 @@ + \ No newline at end of file diff --git a/src/views/tc/eventAnalysisReport/detail.vue b/src/views/tc/eventAnalysisReport/detail.vue index 4499e21..4facf3c 100644 --- a/src/views/tc/eventAnalysisReport/detail.vue +++ b/src/views/tc/eventAnalysisReport/detail.vue @@ -2,9 +2,9 @@
- + {{ data && data.reportTime }}
diff --git a/src/views/tc/eventAnalysisReport/index.vue b/src/views/tc/eventAnalysisReport/index.vue index 3b5e9ab..cb3384f 100644 --- a/src/views/tc/eventAnalysisReport/index.vue +++ b/src/views/tc/eventAnalysisReport/index.vue @@ -8,13 +8,29 @@ diff --git a/src/views/tc/videoScript/components/basketball.vue b/src/views/tc/videoScript/components/basketball.vue index 2764bfb..f0a7fd7 100644 --- a/src/views/tc/videoScript/components/basketball.vue +++ b/src/views/tc/videoScript/components/basketball.vue @@ -48,9 +48,13 @@ @@ -68,6 +72,7 @@