diff --git a/src/App.vue b/src/App.vue index e753102..bd6c984 100644 --- a/src/App.vue +++ b/src/App.vue @@ -6,7 +6,10 @@ @@ -36,9 +39,6 @@ body { //margin-top: 60px; } - -/deep/ .el-message { - z-index: 999; -} + diff --git a/src/components/chat/index.vue b/src/components/chat/index.vue new file mode 100644 index 0000000..6bbd6f7 --- /dev/null +++ b/src/components/chat/index.vue @@ -0,0 +1,398 @@ + + + \ No newline at end of file diff --git a/src/layout/index.vue b/src/layout/index.vue index a578924..98675ba 100644 --- a/src/layout/index.vue +++ b/src/layout/index.vue @@ -28,51 +28,21 @@
top
-
-
- - 在线咨询 -
-
-
-
- -
-
- -
-
- - - 发送消息 -
-
+ + + \ No newline at end of file diff --git a/src/views/a/ContactList.vue b/src/views/a/ContactList.vue new file mode 100644 index 0000000..91ea9cd --- /dev/null +++ b/src/views/a/ContactList.vue @@ -0,0 +1,139 @@ + + + + + \ No newline at end of file diff --git a/src/views/a/QrCodeSection.vue b/src/views/a/QrCodeSection.vue new file mode 100644 index 0000000..efc5e92 --- /dev/null +++ b/src/views/a/QrCodeSection.vue @@ -0,0 +1,103 @@ + + + + + \ No newline at end of file diff --git a/src/views/a/SearchBox.vue b/src/views/a/SearchBox.vue new file mode 100644 index 0000000..8f745e6 --- /dev/null +++ b/src/views/a/SearchBox.vue @@ -0,0 +1,116 @@ + + + + + \ No newline at end of file diff --git a/src/views/a/StatusMessage.vue b/src/views/a/StatusMessage.vue new file mode 100644 index 0000000..c57ef75 --- /dev/null +++ b/src/views/a/StatusMessage.vue @@ -0,0 +1,46 @@ + + + + + \ No newline at end of file diff --git a/src/views/a/index.vue b/src/views/a/index.vue new file mode 100644 index 0000000..ba9103c --- /dev/null +++ b/src/views/a/index.vue @@ -0,0 +1,289 @@ + + + + + \ No newline at end of file diff --git a/src/views/productCenter/index.vue b/src/views/productCenter/index.vue index ff14b3d..50af934 100644 --- a/src/views/productCenter/index.vue +++ b/src/views/productCenter/index.vue @@ -52,31 +52,35 @@ export default { } }, mounted() { + if (this.$route.query.id) { + this.tabsActive = parseFloat(this.$route.query.id) + } this.getData() }, watch: { '$route'() { + this.tabsActive = parseFloat(this.$route.query.id) // this.getData() - let id = this.$route.query.id - if (id === '11') { - this.tabsActive = 0 - } - if (id === '12') { - this.tabsActive = 1 - } - if (id === '13') { - this.tabsActive = 2 - } - if (id === '14') { - this.tabsActive = 3 - } - if (id === '15') { - this.tabsActive = 4 - } - if (id === '16') { - this.tabsActive = 5 - } - this.itemId = id + // let id = this.$route.query.id + // if (id === '11') { + // this.tabsActive = 0 + // } + // if (id === '12') { + // this.tabsActive = 1 + // } + // if (id === '13') { + // this.tabsActive = 2 + // } + // if (id === '14') { + // this.tabsActive = 3 + // } + // if (id === '15') { + // this.tabsActive = 4 + // } + // if (id === '16') { + // this.tabsActive = 5 + // } + // this.itemId = id } }, methods: { @@ -87,7 +91,6 @@ export default { selectMenuTree().then(e => { let tabsData = e.data.find(v => v.webMenuId === 7).children this.tabsData = tabsData - console.log(tabsData) this.tabsActive = tabsData[0].webMenuId }) }, diff --git a/vue.config.js b/vue.config.js index 281ae33..1f1ff52 100644 --- a/vue.config.js +++ b/vue.config.js @@ -3,7 +3,7 @@ module.exports = defineConfig({ transpileDependencies: true, runtimeCompiler: true, devServer: { - host: "0.0.0.0", port: 8899, open: true, proxy: { + host: "0.0.0.0", port: 8899, open: true, https: true, proxy: { // detail: https://cli.vuejs.org/config/#devserver-proxy '/dev-api': { // target: `http://175.27.215.92:8899/prod-api`,