diff --git a/change/@zhishuyun-hub-8ef393bb-8bf8-4e7c-b165-250df21c65ac.json b/change/@zhishuyun-hub-8ef393bb-8bf8-4e7c-b165-250df21c65ac.json new file mode 100644 index 0000000..84c70db --- /dev/null +++ b/change/@zhishuyun-hub-8ef393bb-8bf8-4e7c-b165-250df21c65ac.json @@ -0,0 +1,7 @@ +{ + "type": "minor", + "comment": "add auth modal", + "packageName": "@zhishuyun/hub", + "email": "cqc@cuiqingcai.com", + "dependentChangeType": "patch" +} diff --git a/src/App.vue b/src/App.vue index c3040eb..3b139f4 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,6 +1,7 @@ @@ -9,10 +10,12 @@ import { defineComponent } from 'vue'; import { ElConfigProvider } from 'element-plus'; import zhCn from 'element-plus/dist/locale/zh-cn.mjs'; import { getDomain, getPath, setCookie } from './utils'; +import AuthPanel from './components/common/AuthPanel.vue'; export default defineComponent({ components: { - ElConfigProvider + ElConfigProvider, + AuthPanel }, data() { return { diff --git a/src/components/chat/InputBox.vue b/src/components/chat/InputBox.vue index c9da824..2c7be77 100644 --- a/src/components/chat/InputBox.vue +++ b/src/components/chat/InputBox.vue @@ -184,7 +184,7 @@ export default defineComponent({ } .btn { display: block; - z-index: 10000; + z-index: 100; cursor: pointer; position: absolute; top: 7px; diff --git a/src/components/common/AuthPanel.vue b/src/components/common/AuthPanel.vue new file mode 100644 index 0000000..f0b6192 --- /dev/null +++ b/src/components/common/AuthPanel.vue @@ -0,0 +1,60 @@ +