diff --git a/package.json b/package.json index 57ccf95..629c503 100644 --- a/package.json +++ b/package.json @@ -41,6 +41,7 @@ "url": "https://github.com/YunaiV/ruoyi-vue-pro" }, "dependencies": { + "@amap/amap-jsapi-loader": "^1.0.1", "@babel/parser": "^7.18.4", "@riophae/vue-treeselect": "0.4.0", "axios": "0.27.2", @@ -70,6 +71,7 @@ "vue-count-to": "1.0.13", "vue-cropper": "0.5.8", "vue-meta": "^2.4.0", + "vue-qriously": "^1.1.1", "vue-quill-editor": "^3.0.6", "vue-router": "3.4.9", "vue-video-player": "^5.0.2", diff --git a/src/main.js b/src/main.js index 6e38255..18d9258 100644 --- a/src/main.js +++ b/src/main.js @@ -30,6 +30,8 @@ import ImagePreview from "@/components/ImagePreview/index.vue"; // import hljs from 'highlight.js' // import 'highlight.js/styles/github-gist.css' import {DICT_TYPE, getDictDataLabel, getDictDatas, getDictDatas2} from "@/utils/dict"; +// 二维码 +import VueQriously from 'vue-qriously' // 全局方法挂载 Vue.prototype.getDicts = getDicts @@ -61,6 +63,8 @@ import VueMeta from 'vue-meta' Vue.use(directive) Vue.use(plugins) Vue.use(VueMeta) +// 二维码 +Vue.use(VueQriously) // Vue.use(hljs.vuePlugin); // bpmnProcessDesigner 需要引入 diff --git a/src/views/company/promotion/index.vue b/src/views/company/promotion/index.vue index 9f6ff22..9fec3e5 100644 --- a/src/views/company/promotion/index.vue +++ b/src/views/company/promotion/index.vue @@ -15,9 +15,9 @@ /> - - - + + + - + + + + + + @@ -125,7 +130,6 @@ -