0.0.7 #11

Merged
Astrian merged 19 commits from dev into main 2025-06-25 03:25:25 +00:00
2 changed files with 42 additions and 1 deletions
Showing only changes of commit c262149d51 - Show all commits

View File

@ -9,6 +9,8 @@ import LeftArrowIcon from './assets/icons/leftarrow.vue'
import CorgIcon from './assets/icons/corg.vue'
import { watch } from 'vue'
import Updated from './components/updated.vue'
const presentPreferencePanel = ref(false)
const route = useRoute()
@ -21,6 +23,8 @@ watch(() => presentPreferencePanel, (value) => {
</script>
<template>
<Updated />
<div class="w-screen h-screen overflow-hidden bg-[#191919]">
<div class="flex flex-col w-full h-full overflow-y-auto">
<div class="py-8 px-4 md:px-8 w-screen bg-gradient-to-b from-[#00000080] to-transparent z-20 absolute top-0">
@ -77,4 +81,4 @@ watch(() => presentPreferencePanel, (value) => {
</div>
<PreferencePanel :present="presentPreferencePanel" @dismiss="presentPreferencePanel = false" />
</div>
</template>
</template>

View File

@ -0,0 +1,37 @@
<script lang="ts" setup>
import XIcon from '../assets/icons/x.vue'
import { computed } from 'vue'
const version = computed(() => {
try {
//
return chrome?.runtime?.getManifest?.()?.version || 'unknown'
} catch (error) {
return 'unknown'
}
})
</script>
<template>
<div class="absolute top-0 left-0 w-screen h-screen bg-neutral-700/30 flex justify-center items-center">
<div class="bg-neutral-900/80 shadow-[0_0_16px_0_rgba(0,0,0,0.5)] backdrop-blur-2xl border border-[#ffffff39] rounded-lg w-[60rem] h-3/4 relative overflow-y-auto text-white">
<div
class="flex justify-between items-center p-8 sticky top-0 bg-gradient-to-b from-neutral-900 to-neutral-900/0 z-10">
<div class="text-white text-2xl font-semibold">MSR Mod 已更新至 {{version}}</div>
<button
class="text-white w-9 h-9 bg-neutral-800/80 border border-[#ffffff39] rounded-full text-center backdrop-blur-3xl flex justify-center items-center transition-all duration-200 hover:bg-neutral-700/80"
@click="$emit('dismiss')">
<XIcon :size="4" />
</button>
</div>
<div class="flex flex-col gap-4 mb-8 px-8 text-lg">
<p>MSR Mod 现在有两种渠道接收错误及意见反馈如果你对 MSR Mod 有任何的意见建议或是想要回报错误及体验困惑之处欢迎前往 <a href="https://github.com/Astrian/msr-mod/issues" target="_blank" class="underline">GitHub Issue</a> <a href="https://discord.gg/QQUfeb2gzH" target="_blank" class="underline">Discord 社群</a> 向我们反馈如果你的意见或错误回报被接受我们会将其放入 <a href="https://trello.com/b/Ju1TRXla" target="_blank" class="underline">Trello 看板</a> 中进行跟踪敬请留意</p>
<ul class="list-disc list-inside">
<li>新增版本更新提示对话框将在 MSR Mod 更新后首次启动显示</li>
</ul>
</div>
</div>
</div>
</template>