优化主题颜色

This commit is contained in:
A1300399510
2024-01-29 17:37:38 +08:00
parent 80c12aee49
commit e6cc4bf778
54 changed files with 331 additions and 307 deletions

View File

@@ -92,6 +92,7 @@ useHead({ script: [{ src: "https://app.gter.net/bottom?tpl=header&menukey=vote"
import { useRoute, useRouter } from "vue-router"
import { ElMessage } from "element-plus"
import { da } from "element-plus/es/locale"
const route = useRoute()
const router = useRouter()
@@ -100,8 +101,10 @@ let isNeedLogin = inject("isNeedLogin")
const goLogin = inject("goLogin")
let id = route.params.id
const uniqidEnd = id.charAt(id.length - 1)
const uniqidIndex = base62ToDecimal(uniqidEnd) % 6
// const uniqidEnd = id.charAt(id.length - 1)
// const uniqidIndex = base62ToDecimal(uniqidEnd) % 6
let uniqidIndex = ref(0)
onMounted(() => {
getDetails()
@@ -181,6 +184,9 @@ const getDetails = async () => {
let data = res.data
uniqidIndex.value = data.info?.id % 6
// console.log(uniqidIndex.value)
info.value = data["info"]
isvote.value = data["isvote"]
iscollection.value = data["iscollection"]
@@ -433,6 +439,7 @@ try {
option.value = data["option"]
isvote.value = data["isvote"]
seo.value = data.seo
uniqidIndex.value = data.info?.id % 6
})
}
} catch (error) {}
@@ -529,7 +536,7 @@ try {
color: #333;
margin-bottom: 30px;
word-wrap: break-word;
white-space: break-spaces
white-space: break-spaces;
}
.hint {