dev
@@ -13,9 +13,8 @@
|
||||
</template>
|
||||
|
||||
<script lang="ts" setup name="EquList">
|
||||
import { getImageURL } from '@/utils/images'
|
||||
import { useVModel } from '@vueuse/core'
|
||||
import { useInfoStore, useConfigStore } from '@/stores'
|
||||
import { useInfoStore } from '@/stores'
|
||||
|
||||
const props = defineProps({
|
||||
part: {
|
||||
@@ -29,7 +28,7 @@ const infoStore = useInfoStore()
|
||||
const infoStyle = (part: string) => {
|
||||
let x = 15
|
||||
let y = 5
|
||||
let index = infoStore.avatarParts.findIndex((p) => p == part)
|
||||
const index = infoStore.avatarParts.findIndex((p) => p == part)
|
||||
// if (index == 13) {
|
||||
// index -= 7
|
||||
// } else if (index >= 5 && index <= 12) {
|
||||
|
||||
|
After Width: | Height: | Size: 172 B |
|
After Width: | Height: | Size: 108 B |
|
After Width: | Height: | Size: 119 B |
|
After Width: | Height: | Size: 132 B |
|
After Width: | Height: | Size: 118 B |
|
After Width: | Height: | Size: 130 B |
|
After Width: | Height: | Size: 84 KiB |
|
After Width: | Height: | Size: 1.7 KiB |
|
After Width: | Height: | Size: 1.8 KiB |
|
After Width: | Height: | Size: 1.6 KiB |
|
After Width: | Height: | Size: 1.8 KiB |
@@ -0,0 +1,21 @@
|
||||
<template>
|
||||
<div class="pos-relative w-248px h-full" :class="props.withBg ? 'emblem-bg' : ''"></div>
|
||||
</template>
|
||||
|
||||
<script lang="ts" setup name="EmblemList">
|
||||
const props = defineProps({
|
||||
withBg: {
|
||||
type: Boolean,
|
||||
default: true,
|
||||
},
|
||||
detail: {
|
||||
type: Object as PropType<Record<string, any>>,
|
||||
},
|
||||
})
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
.emblem-bg {
|
||||
background-image: url(../Images/head.png);
|
||||
}
|
||||
</style>
|
||||