This commit is contained in:
2025-05-15 23:15:57 +08:00
parent 723ceb5f6f
commit 900d8e8560
86 changed files with 2350 additions and 1905 deletions
+9 -8
View File
@@ -18,21 +18,20 @@ export default defineComponent(async () => {
function choose_job(child: IAlterInfo) {
return async () => {
if (child.comment == '首页') {
return window.open("https://dnftools.com","_blank")
return window.open('https://dnftools.com', '_blank')
}
if (child.name == 'sponsor') {
return window.open((child.url ?? ''),"_blank")
return window.open(child.url ?? '', '_blank')
}
if (child.open) {
const options = child.options ?? []
if (options.length > 0) {
return
} else {
return window.open('/character/' + (child.value || child.name), '_blank')
}
else{
return window.open("/character/" + (child.value || child.name),"_blank")
}
}
}
}
// router.push("/character/" + alter)
}
@@ -40,12 +39,14 @@ export default defineComponent(async () => {
// let checkTimer: NodeJS.Timeout
const adventure = await api.adventures()
return () => (
<Fragment>
<div class="bg-no-repeat h-auto min-h-full pt-8 pb-12 pl-4" style={`background-image: url('${getImageURL('home.jpg')}');background-size: 100% 100%;`}>
<div
class="bg-no-repeat h-auto min-h-full pt-8 pb-12 pl-4"
style={`background-image: url('${getImageURL('home.jpg')}');background-size: 100% 100%;`}
>
{renderList(adventure, (job) => (
<div class="flex flex-row">
<div