feat: antd菜单模块迁移

This commit is contained in:
hw
2025-11-03 14:04:00 +08:00
parent 8f5c928ab1
commit 3e826de4aa
54 changed files with 3781 additions and 54 deletions

View File

@@ -0,0 +1 @@
export { default } from './main.vue';

View File

@@ -0,0 +1,62 @@
<!--
微信消息 - 定位TODO @Dhb52 目前未启用
-->
<script lang="ts" setup>
import { Col, Row } from 'ant-design-vue';
defineOptions({ name: 'WxLocation' });
const props = defineProps({
locationX: {
required: true,
type: Number,
},
locationY: {
required: true,
type: Number,
},
label: {
// 地名
required: true,
type: String,
},
qqMapKey: {
// QQ 地图的密钥 https://lbs.qq.com/service/staticV2/staticGuide/staticDoc
required: false,
type: String,
default: 'TVDBZ-TDILD-4ON4B-PFDZA-RNLKH-VVF6E', // 需要自定义
},
});
defineExpose({
locationX: props.locationX,
locationY: props.locationY,
label: props.label,
qqMapKey: props.qqMapKey,
});
</script>
<template>
<div>
<a
target="_blank"
:href="`https://map.qq.com/?type=marker&isopeninfowin=1&markertype=1&pointx=${
locationY
}&pointy=${locationX}&name=${label}&ref=yudao`"
>
<Col>
<Row>
<img
:src="`https://apis.map.qq.com/ws/staticmap/v2/?zoom=10&markers=color:blue|label:A|${
locationX
},${locationY}&key=${qqMapKey}&size=250*180`"
/>
</Row>
<Row>
<Icon icon="ep:location" />
{{ label }}
</Row>
</Col>
</a>
</div>
</template>