no message
parent
cbabff2de5
commit
f75c3f4d98
Binary file not shown.
|
Before Width: | Height: | Size: 4.1 KiB After Width: | Height: | Size: 5.3 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 2.5 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 3.4 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 3.3 KiB |
|
|
@ -15,12 +15,13 @@ import { useLoadComponent } from './load'
|
||||||
|
|
||||||
const componentPlugin = useComponentPlugin({ codeEditorComponet: CodeEditor })
|
const componentPlugin = useComponentPlugin({ codeEditorComponet: CodeEditor })
|
||||||
const AsyncComponent = useLoadComponent()
|
const AsyncComponent = useLoadComponent()
|
||||||
|
import ElementPlus from 'element-plus'
|
||||||
|
import 'element-plus/dist/index.css'
|
||||||
const app = createApp(App)
|
const app = createApp(App)
|
||||||
app.use(router)
|
app.use(router)
|
||||||
app.use(Directive)
|
app.use(Directive)
|
||||||
app.use(AsyncComponent)
|
app.use(AsyncComponent)
|
||||||
|
app.use(ElementPlus)
|
||||||
// 注册状态管理器
|
// 注册状态管理器
|
||||||
app.use(store)
|
app.use(store)
|
||||||
app.use(componentPlugin)
|
app.use(componentPlugin)
|
||||||
|
|
|
||||||
|
|
@ -64,7 +64,7 @@
|
||||||
"husky": "^7.0.4",
|
"husky": "^7.0.4",
|
||||||
"less": "^4.2.0",
|
"less": "^4.2.0",
|
||||||
"mockjs": "^1.1.0",
|
"mockjs": "^1.1.0",
|
||||||
|
"element-plus":"^2.4.3",
|
||||||
"postcss": "^8.4.28",
|
"postcss": "^8.4.28",
|
||||||
"postcss-html": "^1.5.0",
|
"postcss-html": "^1.5.0",
|
||||||
"postcss-less": "^6.0.0",
|
"postcss-less": "^6.0.0",
|
||||||
|
|
|
||||||
116
pnpm-lock.yaml
116
pnpm-lock.yaml
|
|
@ -117,6 +117,9 @@ importers:
|
||||||
autoprefixer:
|
autoprefixer:
|
||||||
specifier: ^10.4.15
|
specifier: ^10.4.15
|
||||||
version: 10.4.15(postcss@8.4.28)
|
version: 10.4.15(postcss@8.4.28)
|
||||||
|
element-plus:
|
||||||
|
specifier: ^2.4.3
|
||||||
|
version: 2.4.3(vue@3.3.4)
|
||||||
eslint:
|
eslint:
|
||||||
specifier: ^7.32.0
|
specifier: ^7.32.0
|
||||||
version: 7.32.0
|
version: 7.32.0
|
||||||
|
|
@ -749,6 +752,19 @@ packages:
|
||||||
postcss-selector-parser: 6.0.13
|
postcss-selector-parser: 6.0.13
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
|
/@ctrl/tinycolor@3.6.1:
|
||||||
|
resolution: {integrity: sha512-SITSV6aIXsuVNV3f3O0f2n/cgyEDWoSqtZMYiAmcsYHydcKrOz3gUxB/iXd/Qf08+IZX4KpgNbvUdMBmWz+kcA==}
|
||||||
|
engines: {node: '>=10'}
|
||||||
|
dev: true
|
||||||
|
|
||||||
|
/@element-plus/icons-vue@2.3.1(vue@3.3.4):
|
||||||
|
resolution: {integrity: sha512-XxVUZv48RZAd87ucGS48jPf6pKu0yV5UCg9f4FFwtrYxXOwWuVJo6wOvSLKEoMQKjv8GsX/mhP6UsC1lRwbUWg==}
|
||||||
|
peerDependencies:
|
||||||
|
vue: ^3.2.0
|
||||||
|
dependencies:
|
||||||
|
vue: 3.3.4
|
||||||
|
dev: true
|
||||||
|
|
||||||
/@emotion/hash@0.8.0:
|
/@emotion/hash@0.8.0:
|
||||||
resolution: {integrity: sha512-kBJtf7PH6aWwZ6fka3zQ0p6SBYzx4fl1LoZXE2RrnYST9Xljm7WfKJrU4g/Xr3Beg72MLrp1AWNUmuYJTL7Cow==}
|
resolution: {integrity: sha512-kBJtf7PH6aWwZ6fka3zQ0p6SBYzx4fl1LoZXE2RrnYST9Xljm7WfKJrU4g/Xr3Beg72MLrp1AWNUmuYJTL7Cow==}
|
||||||
dev: false
|
dev: false
|
||||||
|
|
@ -965,6 +981,23 @@ packages:
|
||||||
- supports-color
|
- supports-color
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
|
/@floating-ui/core@1.5.2:
|
||||||
|
resolution: {integrity: sha512-Ii3MrfY/GAIN3OhXNzpCKaLxHQfJF9qvwq/kEJYdqDxeIHa01K8sldugal6TmeeXl+WMvhv9cnVzUTaFFJF09A==}
|
||||||
|
dependencies:
|
||||||
|
'@floating-ui/utils': 0.1.6
|
||||||
|
dev: true
|
||||||
|
|
||||||
|
/@floating-ui/dom@1.5.3:
|
||||||
|
resolution: {integrity: sha512-ClAbQnEqJAKCJOEbbLo5IUlZHkNszqhuxS4fHAVxRPXPya6Ysf2G8KypnYcOTpx6I8xcgF9bbHb6g/2KpbV8qA==}
|
||||||
|
dependencies:
|
||||||
|
'@floating-ui/core': 1.5.2
|
||||||
|
'@floating-ui/utils': 0.1.6
|
||||||
|
dev: true
|
||||||
|
|
||||||
|
/@floating-ui/utils@0.1.6:
|
||||||
|
resolution: {integrity: sha512-OfX7E2oUDYxtBvsuS4e/jSn4Q9Qb6DzgeYtsAdkPZ47znpoNsMgZw0+tVijiv3uGNR6dgNlty6r9rzIzHjtd/A==}
|
||||||
|
dev: true
|
||||||
|
|
||||||
/@humanwhocodes/config-array@0.5.0:
|
/@humanwhocodes/config-array@0.5.0:
|
||||||
resolution: {integrity: sha512-FagtKFz74XrTl7y6HCzQpwDfXP0yhxe9lHLD1UZxjvZIcbyRz8zTFF/yYNfSfzU414eDwZ1SrO0Qvtyf+wFMQg==}
|
resolution: {integrity: sha512-FagtKFz74XrTl7y6HCzQpwDfXP0yhxe9lHLD1UZxjvZIcbyRz8zTFF/yYNfSfzU414eDwZ1SrO0Qvtyf+wFMQg==}
|
||||||
engines: {node: '>=10.10.0'}
|
engines: {node: '>=10.10.0'}
|
||||||
|
|
@ -1102,6 +1135,10 @@ packages:
|
||||||
picomatch: 2.3.1
|
picomatch: 2.3.1
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
|
/@sxzz/popperjs-es@2.11.7:
|
||||||
|
resolution: {integrity: sha512-Ccy0NlLkzr0Ex2FKvh2X+OyERHXJ88XJ1MXtsI9y9fGexlaXaVTPzBCRBwIxFkORuOb+uBqeu+RqnpgYTEZRUQ==}
|
||||||
|
dev: true
|
||||||
|
|
||||||
/@types/codemirror@5.60.8:
|
/@types/codemirror@5.60.8:
|
||||||
resolution: {integrity: sha512-VjFgDF/eB+Aklcy15TtOTLQeMjTo07k7KAjql8OK5Dirr7a6sJY4T1uVBDuTVG9VEmn1uUsohOpYnVfgC6/jyw==}
|
resolution: {integrity: sha512-VjFgDF/eB+Aklcy15TtOTLQeMjTo07k7KAjql8OK5Dirr7a6sJY4T1uVBDuTVG9VEmn1uUsohOpYnVfgC6/jyw==}
|
||||||
dependencies:
|
dependencies:
|
||||||
|
|
@ -1180,6 +1217,10 @@ packages:
|
||||||
resolution: {integrity: sha512-Kf1w9NE5HEgGxCRyIcRXR/ZYtDv0V8FVPtYHwLxl0O+maGX0erE77pQlD0gpP+/KByMZ87mOA79SjifhSB3PjQ==}
|
resolution: {integrity: sha512-Kf1w9NE5HEgGxCRyIcRXR/ZYtDv0V8FVPtYHwLxl0O+maGX0erE77pQlD0gpP+/KByMZ87mOA79SjifhSB3PjQ==}
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
|
/@types/web-bluetooth@0.0.16:
|
||||||
|
resolution: {integrity: sha512-oh8q2Zc32S6gd/j50GowEjKLoOVOwHP/bWVjKJInBwQqdOYMdPrf1oVlelTlyfFK3CKxL1uahMDAr+vy8T7yMQ==}
|
||||||
|
dev: true
|
||||||
|
|
||||||
/@typescript-eslint/eslint-plugin@4.33.0(@typescript-eslint/parser@4.33.0)(eslint@7.32.0)(typescript@4.9.5):
|
/@typescript-eslint/eslint-plugin@4.33.0(@typescript-eslint/parser@4.33.0)(eslint@7.32.0)(typescript@4.9.5):
|
||||||
resolution: {integrity: sha512-aINiAxGVdOl1eJyVjaWn/YcVAq4Gi/Yo35qHGCnqbWVz61g39D0h23veY/MA0rFFGfxK7TySg2uwDeNv+JgVpg==}
|
resolution: {integrity: sha512-aINiAxGVdOl1eJyVjaWn/YcVAq4Gi/Yo35qHGCnqbWVz61g39D0h23veY/MA0rFFGfxK7TySg2uwDeNv+JgVpg==}
|
||||||
engines: {node: ^10.12.0 || >=12.0.0}
|
engines: {node: ^10.12.0 || >=12.0.0}
|
||||||
|
|
@ -1508,6 +1549,31 @@ packages:
|
||||||
- typescript
|
- typescript
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
|
/@vueuse/core@9.13.0(vue@3.3.4):
|
||||||
|
resolution: {integrity: sha512-pujnclbeHWxxPRqXWmdkKV5OX4Wk4YeK7wusHqRwU0Q7EFusHoqNA/aPhB6KCh9hEqJkLAJo7bb0Lh9b+OIVzw==}
|
||||||
|
dependencies:
|
||||||
|
'@types/web-bluetooth': 0.0.16
|
||||||
|
'@vueuse/metadata': 9.13.0
|
||||||
|
'@vueuse/shared': 9.13.0(vue@3.3.4)
|
||||||
|
vue-demi: 0.14.5(vue@3.3.4)
|
||||||
|
transitivePeerDependencies:
|
||||||
|
- '@vue/composition-api'
|
||||||
|
- vue
|
||||||
|
dev: true
|
||||||
|
|
||||||
|
/@vueuse/metadata@9.13.0:
|
||||||
|
resolution: {integrity: sha512-gdU7TKNAUVlXXLbaF+ZCfte8BjRJQWPCa2J55+7/h+yDtzw3vOoGQDRXzI6pyKyo6bXFT5/QoPE4hAknExjRLQ==}
|
||||||
|
dev: true
|
||||||
|
|
||||||
|
/@vueuse/shared@9.13.0(vue@3.3.4):
|
||||||
|
resolution: {integrity: sha512-UrnhU+Cnufu4S6JLCPZnkWh0WwZGUp72ktOF2DFptMlOs3TOdVv8xJN53zhHGARmVOsz5KqOls09+J1NR6sBKw==}
|
||||||
|
dependencies:
|
||||||
|
vue-demi: 0.14.5(vue@3.3.4)
|
||||||
|
transitivePeerDependencies:
|
||||||
|
- '@vue/composition-api'
|
||||||
|
- vue
|
||||||
|
dev: true
|
||||||
|
|
||||||
/@xicons/utils@0.1.4:
|
/@xicons/utils@0.1.4:
|
||||||
resolution: {integrity: sha512-uXxKDLz9abr80yJC05XSTq6wlyFcdW+N/1IYJkeHjzzXVc4VQ0sEYMoMMTjAH7HQBOyOkzOB4pf5NGF72lwa8Q==}
|
resolution: {integrity: sha512-uXxKDLz9abr80yJC05XSTq6wlyFcdW+N/1IYJkeHjzzXVc4VQ0sEYMoMMTjAH7HQBOyOkzOB4pf5NGF72lwa8Q==}
|
||||||
dependencies:
|
dependencies:
|
||||||
|
|
@ -1686,7 +1752,6 @@ packages:
|
||||||
|
|
||||||
/async-validator@4.2.5:
|
/async-validator@4.2.5:
|
||||||
resolution: {integrity: sha512-7HhHjtERjqlNbZtqNqy2rckN/SpOOlmDliet+lP7k+eKZEjPk3DgyeU9lIXLdeLz0uBbbVp+9Qdow9wJWgwwfg==}
|
resolution: {integrity: sha512-7HhHjtERjqlNbZtqNqy2rckN/SpOOlmDliet+lP7k+eKZEjPk3DgyeU9lIXLdeLz0uBbbVp+9Qdow9wJWgwwfg==}
|
||||||
dev: false
|
|
||||||
|
|
||||||
/autoprefixer@10.4.15(postcss@8.4.28):
|
/autoprefixer@10.4.15(postcss@8.4.28):
|
||||||
resolution: {integrity: sha512-KCuPB8ZCIqFdA4HwKXsvz7j6gvSDNhDP7WnUjBleRkKjPdvCmHFuQ77ocavI8FT6NdvlBnE2UFr2H4Mycn8Vew==}
|
resolution: {integrity: sha512-KCuPB8ZCIqFdA4HwKXsvz7j6gvSDNhDP7WnUjBleRkKjPdvCmHFuQ77ocavI8FT6NdvlBnE2UFr2H4Mycn8Vew==}
|
||||||
|
|
@ -1985,7 +2050,6 @@ packages:
|
||||||
|
|
||||||
/dayjs@1.11.9:
|
/dayjs@1.11.9:
|
||||||
resolution: {integrity: sha512-QvzAURSbQ0pKdIye2txOzNaHmxtUBXerpY0FJsFXUMKbIZeFm5ht1LS/jFsrncjnmtv8HsG0W2g6c0zUjZWmpA==}
|
resolution: {integrity: sha512-QvzAURSbQ0pKdIye2txOzNaHmxtUBXerpY0FJsFXUMKbIZeFm5ht1LS/jFsrncjnmtv8HsG0W2g6c0zUjZWmpA==}
|
||||||
dev: false
|
|
||||||
|
|
||||||
/de-indent@1.0.2:
|
/de-indent@1.0.2:
|
||||||
resolution: {integrity: sha512-e/1zu3xH5MQryN2zdVaF0OrdNLUbvWxzMbi+iNA6Bky7l1RoP8a2fIbRocyHclXt/arDrrR6lL3TqFD9pMQTsg==}
|
resolution: {integrity: sha512-e/1zu3xH5MQryN2zdVaF0OrdNLUbvWxzMbi+iNA6Bky7l1RoP8a2fIbRocyHclXt/arDrrR6lL3TqFD9pMQTsg==}
|
||||||
|
|
@ -2137,6 +2201,31 @@ packages:
|
||||||
resolution: {integrity: sha512-qeXC3Zbykq44RCrBa4kr8v/dWzYJA8rAwpyh9Qd+NKWoJfjG5vvJqy9XOJ9H4P/lqulZBCgUWAYi+FeK5AuJ8g==}
|
resolution: {integrity: sha512-qeXC3Zbykq44RCrBa4kr8v/dWzYJA8rAwpyh9Qd+NKWoJfjG5vvJqy9XOJ9H4P/lqulZBCgUWAYi+FeK5AuJ8g==}
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
|
/element-plus@2.4.3(vue@3.3.4):
|
||||||
|
resolution: {integrity: sha512-b3q26j+lM4SBqiyzw8HybybGnP2pk4MWgrnzzzYW5qKQUgV6EG1Zg7nMCfgCVccI8tNvZoTiUHb2mFaiB9qT8w==}
|
||||||
|
peerDependencies:
|
||||||
|
vue: ^3.2.0
|
||||||
|
dependencies:
|
||||||
|
'@ctrl/tinycolor': 3.6.1
|
||||||
|
'@element-plus/icons-vue': 2.3.1(vue@3.3.4)
|
||||||
|
'@floating-ui/dom': 1.5.3
|
||||||
|
'@popperjs/core': /@sxzz/popperjs-es@2.11.7
|
||||||
|
'@types/lodash': 4.14.197
|
||||||
|
'@types/lodash-es': 4.17.8
|
||||||
|
'@vueuse/core': 9.13.0(vue@3.3.4)
|
||||||
|
async-validator: 4.2.5
|
||||||
|
dayjs: 1.11.9
|
||||||
|
escape-html: 1.0.3
|
||||||
|
lodash: 4.17.21
|
||||||
|
lodash-es: 4.17.21
|
||||||
|
lodash-unified: 1.0.3(@types/lodash-es@4.17.8)(lodash-es@4.17.21)(lodash@4.17.21)
|
||||||
|
memoize-one: 6.0.0
|
||||||
|
normalize-wheel-es: 1.2.0
|
||||||
|
vue: 3.3.4
|
||||||
|
transitivePeerDependencies:
|
||||||
|
- '@vue/composition-api'
|
||||||
|
dev: true
|
||||||
|
|
||||||
/emoji-regex@8.0.0:
|
/emoji-regex@8.0.0:
|
||||||
resolution: {integrity: sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==}
|
resolution: {integrity: sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==}
|
||||||
dev: true
|
dev: true
|
||||||
|
|
@ -2496,7 +2585,6 @@ packages:
|
||||||
|
|
||||||
/escape-html@1.0.3:
|
/escape-html@1.0.3:
|
||||||
resolution: {integrity: sha512-NiSupZ4OeuGwr68lGIeym/ksIZMJodUGOSCZ/FSnTxcrekbvqrgdUxlJOMpijaKZVjAJrWrGs/6Jy8OMuyj9ow==}
|
resolution: {integrity: sha512-NiSupZ4OeuGwr68lGIeym/ksIZMJodUGOSCZ/FSnTxcrekbvqrgdUxlJOMpijaKZVjAJrWrGs/6Jy8OMuyj9ow==}
|
||||||
dev: false
|
|
||||||
|
|
||||||
/escape-string-regexp@1.0.5:
|
/escape-string-regexp@1.0.5:
|
||||||
resolution: {integrity: sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==}
|
resolution: {integrity: sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==}
|
||||||
|
|
@ -3543,7 +3631,18 @@ packages:
|
||||||
|
|
||||||
/lodash-es@4.17.21:
|
/lodash-es@4.17.21:
|
||||||
resolution: {integrity: sha512-mKnC+QJ9pWVzv+C4/U3rRsHapFfHvQFoFB92e52xeyGMcX6/OlIl78je1u8vePzYZSkkogMPJ2yjxxsb89cxyw==}
|
resolution: {integrity: sha512-mKnC+QJ9pWVzv+C4/U3rRsHapFfHvQFoFB92e52xeyGMcX6/OlIl78je1u8vePzYZSkkogMPJ2yjxxsb89cxyw==}
|
||||||
dev: false
|
|
||||||
|
/lodash-unified@1.0.3(@types/lodash-es@4.17.8)(lodash-es@4.17.21)(lodash@4.17.21):
|
||||||
|
resolution: {integrity: sha512-WK9qSozxXOD7ZJQlpSqOT+om2ZfcT4yO+03FuzAHD0wF6S0l0090LRPDx3vhTTLZ8cFKpBn+IOcVXK6qOcIlfQ==}
|
||||||
|
peerDependencies:
|
||||||
|
'@types/lodash-es': '*'
|
||||||
|
lodash: '*'
|
||||||
|
lodash-es: '*'
|
||||||
|
dependencies:
|
||||||
|
'@types/lodash-es': 4.17.8
|
||||||
|
lodash: 4.17.21
|
||||||
|
lodash-es: 4.17.21
|
||||||
|
dev: true
|
||||||
|
|
||||||
/lodash.merge@4.6.2:
|
/lodash.merge@4.6.2:
|
||||||
resolution: {integrity: sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==}
|
resolution: {integrity: sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==}
|
||||||
|
|
@ -3617,6 +3716,10 @@ packages:
|
||||||
resolution: {integrity: sha512-/sKlQJCBYVY9Ers9hqzKou4H6V5UWc/M59TH2dvkt+84itfnq7uFOMLpOiOS4ujvHP4etln18fmIxA5R5fll0g==}
|
resolution: {integrity: sha512-/sKlQJCBYVY9Ers9hqzKou4H6V5UWc/M59TH2dvkt+84itfnq7uFOMLpOiOS4ujvHP4etln18fmIxA5R5fll0g==}
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
|
/memoize-one@6.0.0:
|
||||||
|
resolution: {integrity: sha512-rkpe71W0N0c0Xz6QD0eJETuWAJGnJ9afsl1srmwPrI+yBCkge5EycXXbYRyvL29zZVUWQCY7InPRCv3GDXuZNw==}
|
||||||
|
dev: true
|
||||||
|
|
||||||
/meow@10.1.5:
|
/meow@10.1.5:
|
||||||
resolution: {integrity: sha512-/d+PQ4GKmGvM9Bee/DPa8z3mXs/pkvJE2KEThngVNOqtmljC6K7NMPxtc2JeZYTmpWb9k/TmxjeL18ez3h7vCw==}
|
resolution: {integrity: sha512-/d+PQ4GKmGvM9Bee/DPa8z3mXs/pkvJE2KEThngVNOqtmljC6K7NMPxtc2JeZYTmpWb9k/TmxjeL18ez3h7vCw==}
|
||||||
engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0}
|
engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0}
|
||||||
|
|
@ -3787,6 +3890,10 @@ packages:
|
||||||
engines: {node: '>=0.10.0'}
|
engines: {node: '>=0.10.0'}
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
|
/normalize-wheel-es@1.2.0:
|
||||||
|
resolution: {integrity: sha512-Wj7+EJQ8mSuXr2iWfnujrimU35R2W4FAErEyTmJoJ7ucwTn2hOUSsRehMb5RSYkxXGTM7Y9QpvPmp++w5ftoJw==}
|
||||||
|
dev: true
|
||||||
|
|
||||||
/nprogress@0.2.0:
|
/nprogress@0.2.0:
|
||||||
resolution: {integrity: sha512-I19aIingLgR1fmhftnbWWO3dXc0hSxqHQHQb3H8m+K3TnEn/iSeTZZOyvKXWqQESMwuUVnatlCnZdLBZZt2VSA==}
|
resolution: {integrity: sha512-I19aIingLgR1fmhftnbWWO3dXc0hSxqHQHQb3H8m+K3TnEn/iSeTZZOyvKXWqQESMwuUVnatlCnZdLBZZt2VSA==}
|
||||||
dev: false
|
dev: false
|
||||||
|
|
@ -4930,7 +5037,6 @@ packages:
|
||||||
optional: true
|
optional: true
|
||||||
dependencies:
|
dependencies:
|
||||||
vue: 3.3.4
|
vue: 3.3.4
|
||||||
dev: false
|
|
||||||
|
|
||||||
/vue-eslint-parser@7.11.0(eslint@7.32.0):
|
/vue-eslint-parser@7.11.0(eslint@7.32.0):
|
||||||
resolution: {integrity: sha512-qh3VhDLeh773wjgNTl7ss0VejY9bMMa0GoDG2fQVyDzRFdiU3L7fw74tWZDHNQXdZqxO3EveQroa9ct39D2nqg==}
|
resolution: {integrity: sha512-qh3VhDLeh773wjgNTl7ss0VejY9bMMa0GoDG2fQVyDzRFdiU3L7fw74tWZDHNQXdZqxO3EveQroa9ct39D2nqg==}
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,14 @@
|
||||||
<template>
|
<template>
|
||||||
|
|
||||||
<div ref="kuwei" v-resize="resizeHandler">
|
<div ref="kuwei" v-resize="resizeHandler">
|
||||||
<div class="title">{{layoutList.data.movieName}}</div>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<div class="title" plain @click="open2">
|
||||||
|
{{layoutList.data.movieName}}
|
||||||
|
</div>
|
||||||
<div v-for="(item, index) in layoutList.data.seatList"
|
<div v-for="(item, index) in layoutList.data.seatList"
|
||||||
:key="item.id"
|
:key="item.id"
|
||||||
:style="{
|
:style="{
|
||||||
|
|
@ -13,36 +20,79 @@
|
||||||
top: (item.gCol) * propValue.base.boxWidithGap + 'px',
|
top: (item.gCol) * propValue.base.boxWidithGap + 'px',
|
||||||
}"
|
}"
|
||||||
>
|
>
|
||||||
<img
|
|
||||||
|
|
||||||
|
<el-popover
|
||||||
v-if="item.type==0"
|
v-if="item.type==0"
|
||||||
|
placement="top-start"
|
||||||
|
:title="item.id"
|
||||||
|
trigger="hover"
|
||||||
|
:content="item.code"
|
||||||
|
>
|
||||||
|
<template #reference>
|
||||||
|
<el-image
|
||||||
class="seatImg0Class"
|
class="seatImg0Class"
|
||||||
:seatId="item.id"
|
:seatId="item.id"
|
||||||
:seatIndex="index"
|
:seatIndex="index"
|
||||||
background-attachment="fixed"
|
:src="img_kong"
|
||||||
/>
|
/>
|
||||||
<img
|
</template>
|
||||||
|
</el-popover>
|
||||||
|
|
||||||
|
<el-popover
|
||||||
v-if="item.type==1"
|
v-if="item.type==1"
|
||||||
|
placement="top-start"
|
||||||
|
:title="item.id"
|
||||||
|
trigger="hover"
|
||||||
|
:content="item.code"
|
||||||
|
>
|
||||||
|
<template #reference>
|
||||||
|
<el-image
|
||||||
class="seatImg1Class"
|
class="seatImg1Class"
|
||||||
:seatId="item.id"
|
:seatId="item.id"
|
||||||
:seatIndex="index"
|
:seatIndex="index"
|
||||||
src="@/assets/kuwei/130.png"
|
:src="img_130"
|
||||||
/>
|
/>
|
||||||
<img
|
</template>
|
||||||
|
</el-popover>
|
||||||
|
|
||||||
|
<el-popover
|
||||||
v-if="item.type==2"
|
v-if="item.type==2"
|
||||||
|
placement="top-start"
|
||||||
|
:title="item.id"
|
||||||
|
trigger="hover"
|
||||||
|
:content="item.code"
|
||||||
|
>
|
||||||
|
<template #reference>
|
||||||
|
<el-image
|
||||||
class="seatImg2Class"
|
class="seatImg2Class"
|
||||||
:seatId="item.id"
|
:seatId="item.id"
|
||||||
:seatIndex="index"
|
:seatIndex="index"
|
||||||
src="@/assets/kuwei/130.png"
|
:src="img_jinyong"
|
||||||
background-attachment="fixed"
|
|
||||||
/>
|
/>
|
||||||
<img
|
</template>
|
||||||
|
</el-popover>
|
||||||
|
|
||||||
|
<el-popover
|
||||||
v-if="item.type==3"
|
v-if="item.type==3"
|
||||||
|
placement="top-start"
|
||||||
|
:title="item.id"
|
||||||
|
trigger="hover"
|
||||||
|
:content="item.code"
|
||||||
|
>
|
||||||
|
<template #reference>
|
||||||
|
<el-image
|
||||||
class="seatImg3Class"
|
class="seatImg3Class"
|
||||||
:seatId="item.id"
|
:seatId="item.id"
|
||||||
:seatIndex="index"
|
:seatIndex="index"
|
||||||
src="@/assets/kuwei/130.png"
|
:src="img_130"
|
||||||
background-attachment="fixed"
|
|
||||||
/>
|
/>
|
||||||
|
</template>
|
||||||
|
</el-popover>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
@ -53,20 +103,20 @@
|
||||||
import { useData, useEventBus, useProp } from "open-data-v/base";
|
import { useData, useEventBus, useProp } from "open-data-v/base";
|
||||||
import { onMounted, reactive, ref } from "vue";
|
import { onMounted, reactive, ref } from "vue";
|
||||||
|
|
||||||
import { http } from '@/utils/http'
|
import img_130 from "@/assets/kuwei/130.png";
|
||||||
|
import img_jinyong from "@/assets/kuwei/132.png";
|
||||||
|
import img_kong from "@/assets/kuwei/133.png";
|
||||||
import type KuWeiComponent from './config'
|
import type KuWeiComponent from './config'
|
||||||
import type { KuWeiType } from './type'
|
import type { KuWeiType } from './type'
|
||||||
import { SimpleLayoutData } from "@/api/pages";
|
import { ElNotification } from 'element-plus'
|
||||||
import { kuwei_item } from "./KuWeiIteam";
|
|
||||||
import { kuwei_info } from "./KuWeiInfo";
|
|
||||||
|
|
||||||
const props = defineProps<{
|
const props = defineProps<{
|
||||||
component: KuWeiComponent
|
component: KuWeiComponent
|
||||||
}>()
|
}>()
|
||||||
|
|
||||||
|
|
||||||
|
const getAssetsFile = (url: string) => {
|
||||||
|
return new URL(`@/assets/kuwei/${url}`, import.meta.url).href
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
const { propValue } = useProp<KuWeiType>(props.component)
|
const { propValue } = useProp<KuWeiType>(props.component)
|
||||||
|
|
@ -87,7 +137,14 @@ const resizeHandler = (entry: ResizeObserverEntry) => {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
const open2 = () => {
|
||||||
|
console.log("123123132")
|
||||||
|
ElNotification({
|
||||||
|
title: 'Warning',
|
||||||
|
message: 'This is a warning message',
|
||||||
|
type: 'warning',
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
const dataHandler = (event) => {
|
const dataHandler = (event) => {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue