mirror of
https://github.com/BTMuli/TeyvatGuide.git
synced 2025-12-18 10:18:14 +08:00
🎨 战绩页面基本就这样了
This commit is contained in:
@@ -10,6 +10,7 @@
|
||||
{{ data.name }}
|
||||
</div>
|
||||
<div class="tur-hs-title">
|
||||
<!-- canvas -->
|
||||
<img :src="data.comfortIcon" alt="comfort">
|
||||
{{ data.comfortName }}
|
||||
</div>
|
||||
@@ -39,7 +40,6 @@ interface TurHomeSubProps {
|
||||
}
|
||||
|
||||
const props = defineProps<TurHomeSubProps>();
|
||||
console.log(props.data);
|
||||
</script>
|
||||
<style lang="css" scoped>
|
||||
.tur-hs-box {
|
||||
|
||||
@@ -31,7 +31,8 @@ interface TurOverviewGridProps {
|
||||
|
||||
const props = defineProps<TurOverviewGridProps>();
|
||||
const data = computed(() =>
|
||||
JSON.parse(<string>props.modelValue) as TGApp.Sqlite.Record.Stats);
|
||||
JSON.parse(<string>props.modelValue) as TGApp.Sqlite.Record.Stats,
|
||||
);
|
||||
</script>
|
||||
<style lang="css" scoped>
|
||||
.tur-og-box {
|
||||
|
||||
@@ -53,7 +53,7 @@ onMounted(async () => {
|
||||
await listenOnTheme();
|
||||
});
|
||||
|
||||
async function listenOnTheme() {
|
||||
async function listenOnTheme () {
|
||||
await event.listen("readTheme", (e) => {
|
||||
const theme = e.payload as string;
|
||||
if (theme === "dark") {
|
||||
|
||||
Reference in New Issue
Block a user