diff --git a/src/components.d.ts b/src/components.d.ts index 29aa1eb..35a3230 100644 --- a/src/components.d.ts +++ b/src/components.d.ts @@ -7,6 +7,7 @@ declare module '@vue/runtime-core' { export interface GlobalComponents { AButton: typeof import('@arco-design/web-vue')['Button'] ACascader: typeof import('@arco-design/web-vue')['Cascader'] + ACheckbox: typeof import('@arco-design/web-vue')['Checkbox'] ADescriptions: typeof import('@arco-design/web-vue')['Descriptions'] ADrawer: typeof import('@arco-design/web-vue')['Drawer'] AForm: typeof import('@arco-design/web-vue')['Form'] @@ -18,6 +19,7 @@ declare module '@vue/runtime-core' { ALink: typeof import('@arco-design/web-vue')['Link'] AMenu: typeof import('@arco-design/web-vue')['Menu'] AMenuItem: typeof import('@arco-design/web-vue')['MenuItem'] + ASelect: typeof import('@arco-design/web-vue')['Select'] ASpace: typeof import('@arco-design/web-vue')['Space'] ASubMenu: typeof import('@arco-design/web-vue')['SubMenu'] ATable: typeof import('@arco-design/web-vue')['Table'] diff --git a/src/pages/start/components/commuse.vue b/src/pages/start/components/commuse.vue index ea0b2a0..b86140f 100644 --- a/src/pages/start/components/commuse.vue +++ b/src/pages/start/components/commuse.vue @@ -1,8 +1,10 @@ @@ -73,29 +77,17 @@ function copyvalue() { 物品: - + 数量: - + 复制 - + 执行 @@ -113,7 +105,7 @@ function copyvalue() { color: #000; margin: 18px 0; - > div { + >div { &:nth-child(1) { width: 150px; text-align: right; diff --git a/src/pages/start/components/holyrelic.vue b/src/pages/start/components/holyrelic.vue index 088080d..e6057f1 100644 --- a/src/pages/start/components/holyrelic.vue +++ b/src/pages/start/components/holyrelic.vue @@ -6,7 +6,9 @@ import holyrelicname from './json/holyrelicname.json' import holyrelicnmain from './json/holyrelicnmain.json' import holyrelicx from './json/holyrelicnx.json' import { Message } from '@arco-design/web-vue' +import { useAppStore } from '@/store/modules/app' const { text, isSupported, copy } = useClipboard() +const appStore = useAppStore() var uid = ref('@') var holyrelicnamevalue = ref('') @@ -23,9 +25,8 @@ const value = computed(() => { xct = xct + ` ${k.value},${k.num}` } }) - return `giveart ${uid.value} ${holyrelicnamevalue.value} ${holyrelicnmainvalue.value}${xct} ${ - grade.value + 1 - }` + return `giveart ${uid.value} ${holyrelicnamevalue.value} ${holyrelicnmainvalue.value}${xct} ${grade.value + 1 + }` }) const options = reactive(holyrelicname) @@ -50,6 +51,7 @@ function copyvalue() { message.success(`已复制${value.value}`) } } +const send: any = inject("send") @@ -61,24 +63,12 @@ function copyvalue() { 圣遗物: - + 主属性: - + @@ -105,7 +95,7 @@ function copyvalue() { 复制 - + 执行 @@ -121,7 +111,7 @@ function copyvalue() { color: #000; margin: 18px 0; - > div { + >div { &:nth-child(1) { width: 150px; text-align: right; @@ -140,13 +130,15 @@ function copyvalue() { height: 300px; width: 100%; overflow-y: auto; + .smallho-item { margin: 10px 0; display: flex; justify-content: space-between; align-items: center; width: 90%; - > div { + + >div { &:nth-child(3) { width: 80px; } diff --git a/src/pages/start/components/monster.vue b/src/pages/start/components/monster.vue index 537c5ed..ed2b612 100644 --- a/src/pages/start/components/monster.vue +++ b/src/pages/start/components/monster.vue @@ -3,9 +3,11 @@ import { reactive, ref, computed } from 'vue' import { useClipboard } from '@vueuse/core' import { Message } from '@arco-design/web-vue' +import { useAppStore } from '@/store/modules/app' import monster from './json/monster.json' const { text, isSupported, copy } = useClipboard() +const appStore = useAppStore() var value2 = ref(21010101) var grade = ref(80) @@ -24,6 +26,7 @@ function copyvalue() { message.success(`已复制${value.value}`) } } +const send: any = inject("send") @@ -47,7 +50,7 @@ function copyvalue() { 复制 - + 执行 diff --git a/src/pages/start/components/other.vue b/src/pages/start/components/other.vue index 06934eb..dea0a55 100644 --- a/src/pages/start/components/other.vue +++ b/src/pages/start/components/other.vue @@ -3,8 +3,10 @@ import { reactive, ref, computed } from 'vue' import { useClipboard } from '@vueuse/core' import { Message } from '@arco-design/web-vue' +import { useAppStore } from '@/store/modules/app' const { text, isSupported, copy } = useClipboard() +const appStore = useAppStore() const options = reactive([ { @@ -45,6 +47,7 @@ function copyvalue(value: string) { message.success(`已复制${value}`) } } +const send: any = inject("send") @@ -56,7 +59,7 @@ function copyvalue(value: string) { 复制 - + 执行 @@ -66,13 +69,13 @@ function copyvalue(value: string) { width: 500px; margin: auto; - > div { + >div { margin: 10px 0; display: flex; align-items: center; color: #000; - > div { + >div { &:nth-child(1) { width: 130px; } diff --git a/src/pages/start/components/startnav.vue b/src/pages/start/components/startnav.vue index 65ad4d3..b111e8c 100644 --- a/src/pages/start/components/startnav.vue +++ b/src/pages/start/components/startnav.vue @@ -18,7 +18,7 @@ const datav = reactive([ { name: '其它', path: "/start/other" }, { name: '武器', path: "/start/weapon" }, { name: '物品', path: "/start/thing" }, - { name: '角色属性', path: "/start/role" }, + // { name: '角色属性', path: "/start/role" }, ]) const datav2 = reactive([ @@ -93,7 +93,7 @@ watch( - GCAuth + GCAuth-暂未实现功能 {{ item.name }} diff --git a/src/pages/start/components/thing.vue b/src/pages/start/components/thing.vue index 21157f5..6f5f9c0 100644 --- a/src/pages/start/components/thing.vue +++ b/src/pages/start/components/thing.vue @@ -3,8 +3,10 @@ import { reactive, ref, computed } from 'vue' import { useClipboard } from '@vueuse/core' import thing from './json/thing.json' +import { useAppStore } from '@/store/modules/app' import { Message } from '@arco-design/web-vue' const { text, isSupported, copy } = useClipboard() +const appStore = useAppStore() var value2 = ref() var value3 = ref('give') @@ -33,6 +35,7 @@ function copyvalue() { message.success(`已复制${value.value}`) } } +const send: any = inject("send") @@ -48,29 +51,17 @@ function copyvalue() { 物品: - + 数量: - + 复制 - + 执行 @@ -86,7 +77,7 @@ function copyvalue() { color: #000; margin: 18px 0; - > div { + >div { &:nth-child(1) { width: 150px; text-align: right; diff --git a/src/pages/start/components/weapon.vue b/src/pages/start/components/weapon.vue index ac5438c..662a53c 100644 --- a/src/pages/start/components/weapon.vue +++ b/src/pages/start/components/weapon.vue @@ -3,8 +3,10 @@ import { reactive, ref, computed } from 'vue' import { useClipboard } from '@vueuse/core' import { Message } from '@arco-design/web-vue' +import { useAppStore } from '@/store/modules/app' import weapon from './json/weapon.json' const { text, isSupported, copy } = useClipboard() +const appStore = useAppStore() var uid = ref("@") var value2 = ref(12510) @@ -23,6 +25,7 @@ function copyvalue() { Message.success(`已复制${value.value}`) } } +const send: any = inject("send") @@ -34,13 +37,7 @@ function copyvalue() { 武器: - + 数量: @@ -48,28 +45,16 @@ function copyvalue() { 等级: - + 精炼等级: - + 复制 - + 执行 @@ -85,7 +70,7 @@ function copyvalue() { color: #000; margin: 18px 0; - > div { + >div { &:nth-child(1) { width: 150px; text-align: right; diff --git a/src/pages/start/index.vue b/src/pages/start/index.vue index 1fc34a8..ce510a2 100644 --- a/src/pages/start/index.vue +++ b/src/pages/start/index.vue @@ -1,8 +1,24 @@