81 lines
2.2 KiB
Vue
81 lines
2.2 KiB
Vue
<template>
|
|
<div class="left-content">
|
|
<img class="qrcode" :src="logoUrl" alt="">
|
|
<div>长沙加零</div>
|
|
<div>17373135368</div>
|
|
</div>
|
|
<div class="right-content">
|
|
<div>{{ config.system }}</div>
|
|
<div>{{ config.partition }}</div>
|
|
<div>{{ config.hardDisk }}</div>
|
|
<div>{{ config.brand }}</div>
|
|
</div>
|
|
</template>
|
|
|
|
<script setup>
|
|
defineProps(['config']);
|
|
|
|
// 二维码图片路径:运行时拼接,避免被打包器当作模块导入
|
|
const logoUrl = '/qrcode.png';
|
|
</script>
|
|
|
|
<script>
|
|
export const formSchema = {
|
|
formItems: [
|
|
{
|
|
type: 'select',
|
|
label: '系统',
|
|
key: 'system',
|
|
options: [
|
|
{ label: 'win10', value: 'win10' },
|
|
{ label: 'win7', value: 'win7' },
|
|
{ label: 'win11', value: 'win11' }
|
|
]
|
|
},
|
|
{
|
|
type: 'select',
|
|
label: '分区',
|
|
key: 'partition',
|
|
options: [
|
|
{ label: 'MBR', value: 'MBR' },
|
|
{ label: 'GPT', value: 'GPT' }
|
|
]
|
|
},
|
|
{
|
|
type: 'select',
|
|
label: '硬盘',
|
|
key: 'hardDisk',
|
|
options: [
|
|
{ label: '120G', value: '120G' },
|
|
{ label: '128G', value: '128G' },
|
|
{ label: '256G', value: '256G' },
|
|
{ label: '240G', value: '240G' },
|
|
{ label: '512G', value: '512G' },
|
|
{ label: '480G', value: '480G' },
|
|
{ label: '1TB', value: '1TB' },
|
|
{ label: '960G', value: '960G' }
|
|
]
|
|
},
|
|
{
|
|
type: 'select',
|
|
label: '品牌',
|
|
key: 'brand',
|
|
options: [
|
|
{ label: '泽域', value: '泽域' },
|
|
{ label: '华鑫云', value: '华鑫云' },
|
|
{ label: '昂达', value: '昂达' },
|
|
{ label: '金士顿', value: '金士顿' },
|
|
{ label: '其它', value: '其它' }
|
|
]
|
|
}
|
|
]
|
|
};
|
|
|
|
export const initialValues = {
|
|
system: "win10",
|
|
partition: "MBR",
|
|
hardDisk: "256G",
|
|
brand: "泽域"
|
|
}
|
|
</script>
|