Browse Source

Merge branch 'milestone-20250723-众筹' into milestone-20250722-众筹抽奖合并专用分支

milestone-20250723-众筹
宋杰 3 weeks ago
parent
commit
597c0c8867
  1. 14
      src/views/zhongchou/index.vue

14
src/views/zhongchou/index.vue

@ -199,7 +199,7 @@ async function fetchActivity() {
const totalPeople = 1500 // 1500 const totalPeople = 1500 // 1500
const currentCount = item.marketCount || 0 // const currentCount = item.marketCount || 0 //
//
//
if (currentCount >= totalPeople) { if (currentCount >= totalPeople) {
isCompleted.value = true // isCompleted.value = true //
usRemainingTime.value = 0 // 0 usRemainingTime.value = 0 // 0
@ -348,10 +348,6 @@ const getQueryVariable = (variable) => {
onMounted(() => { onMounted(() => {
showRulesModal.value = true showRulesModal.value = true
nextTick(() => { nextTick(() => {
//
fetchActivity()
updateProgressBarHeight()
updateProgressDisplay()
let token = ''; let token = '';
token = getQueryVariable('token') token = getQueryVariable('token')
localStorage.setItem('localToken', token); localStorage.setItem('localToken', token);
@ -361,6 +357,10 @@ onMounted(() => {
updateProgressBarHeight() updateProgressBarHeight()
}) })
}) })
//
fetchActivity()
updateProgressBarHeight()
updateProgressDisplay()
}) })
}) })
@ -374,7 +374,7 @@ onMounted(() => {
// } // }
const handleBoostClick = async (area) => { const handleBoostClick = async (area) => {
// 1500
// 1500
if (isCompleted.value) { if (isCompleted.value) {
return; return;
} }
@ -861,6 +861,7 @@ const hideRules = () => {
pointer-events: none; pointer-events: none;
/* 完全禁用鼠标事件 */ /* 完全禁用鼠标事件 */
} }
/* 修改悬浮效果,排除完成状态的按钮 */ /* 修改悬浮效果,排除完成状态的按钮 */
.boost-btn:not(.completed):hover { .boost-btn:not(.completed):hover {
background-size: 110%; background-size: 110%;
@ -870,6 +871,7 @@ const hideRules = () => {
.boost-btn:hover { .boost-btn:hover {
/* 移除此样式或注释掉 */ /* 移除此样式或注释掉 */
} }
/* 港股助力按钮 */ /* 港股助力按钮 */
/* .hk-boost-btn { /* .hk-boost-btn {
background-image: url('@/assets/img/zhongchou/助力港股.png'); background-image: url('@/assets/img/zhongchou/助力港股.png');

Loading…
Cancel
Save