Merge branch 'feature/refactor' of github.com:AUTO-MAS-Project/AUTO-MAS into feature/refactor
This commit is contained in:
@@ -67,17 +67,13 @@
|
|||||||
@finish="onCountdownFinish"
|
@finish="onCountdownFinish"
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<!-- 剩余时间小于两天时显示红色倒计时 -->
|
<!-- 剩余时间小于两天时显示炫彩倒计时 -->
|
||||||
<a-statistic-countdown
|
<a-statistic-countdown
|
||||||
v-else-if="getActivityTimeStatus(currentActivity.UtcExpireTime) === 'warning'"
|
v-else-if="getActivityTimeStatus(currentActivity.UtcExpireTime) === 'warning'"
|
||||||
title="当期活动剩余时间"
|
title="当期活动剩余时间"
|
||||||
:value="getCountdownValue(currentActivity.UtcExpireTime)"
|
:value="getCountdownValue(currentActivity.UtcExpireTime)"
|
||||||
format="活动时间仅剩 D 天 H 时 m 分 ss 秒 SSS 毫秒,请尽快完成喵~"
|
format="活动时间仅剩 D 天 H 时 m 分 ss 秒 SSS 毫秒,请尽快完成喵~"
|
||||||
:value-style="{
|
class="rainbow-text"
|
||||||
color: '#ff4d4f',
|
|
||||||
fontWeight: 'bold',
|
|
||||||
fontSize: '18px',
|
|
||||||
}"
|
|
||||||
@finish="onCountdownFinish"
|
@finish="onCountdownFinish"
|
||||||
/>
|
/>
|
||||||
|
|
||||||
@@ -731,6 +727,26 @@ onMounted(() => {
|
|||||||
gap: 16px;
|
gap: 16px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.rainbow-text {
|
||||||
|
font-weight: bold;
|
||||||
|
font-size: 18px;
|
||||||
|
background: linear-gradient(270deg, #ff4d4f, #fffa00, #00ffea, #ff4d4f, #ff4d4f);
|
||||||
|
background-size: 400% 400%;
|
||||||
|
color: transparent;
|
||||||
|
background-clip: text;
|
||||||
|
-webkit-background-clip: text;
|
||||||
|
animation: rainbow-move 4s linear infinite;
|
||||||
|
}
|
||||||
|
|
||||||
|
@keyframes rainbow-move {
|
||||||
|
0% {
|
||||||
|
background-position: 0% 50%;
|
||||||
|
}
|
||||||
|
100% {
|
||||||
|
background-position: 100% 50%;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/* 响应式设计 */
|
/* 响应式设计 */
|
||||||
@media (max-width: 1500px) {
|
@media (max-width: 1500px) {
|
||||||
.activity-list,
|
.activity-list,
|
||||||
|
|||||||
@@ -286,7 +286,7 @@ const schedulerTabs = ref<SchedulerTab[]>([
|
|||||||
closable: false,
|
closable: false,
|
||||||
status: '新建',
|
status: '新建',
|
||||||
selectedTaskId: null,
|
selectedTaskId: null,
|
||||||
selectedMode: null,
|
selectedMode: '自动代理' as TaskCreateIn.mode,
|
||||||
websocketId: null,
|
websocketId: null,
|
||||||
taskQueue: [],
|
taskQueue: [],
|
||||||
userQueue: [],
|
userQueue: [],
|
||||||
@@ -337,7 +337,7 @@ const addSchedulerTab = () => {
|
|||||||
closable: true,
|
closable: true,
|
||||||
status: '新建',
|
status: '新建',
|
||||||
selectedTaskId: null,
|
selectedTaskId: null,
|
||||||
selectedMode: null,
|
selectedMode: '自动代理' as TaskCreateIn.mode,
|
||||||
websocketId: null,
|
websocketId: null,
|
||||||
taskQueue: [],
|
taskQueue: [],
|
||||||
userQueue: [],
|
userQueue: [],
|
||||||
|
|||||||
Reference in New Issue
Block a user