| | |
| | | <div><img :src="zoomOut" @click="changePageSize('reduce')" /></div> |
| | | </div> |
| | | <div class="brushImgBox"> |
| | | <div><img :src="huabi2" class="brushImg" />画笔</div> |
| | | <div @click="loadChild"><img :src="huabi2" class="brushImg" />画笔</div> |
| | | <!-- <el-switch v-model="headerData.brushToolShow" @change="brushToolShow"/> --> |
| | | </div> |
| | | </div> |
| | |
| | | |
| | | <script setup lang="ts"> |
| | | import { ref, reactive, watch, onMounted } from 'vue' |
| | | import { useRouter, useRoute } from 'vue-router' |
| | | |
| | | //获取路由器 |
| | | let $router = useRouter() |
| | | //获取当前路由的信息 |
| | | let $route = useRoute() |
| | | |
| | | import { ElMessage } from 'element-plus' |
| | | import mulu from '@/assets/images/menu/mulu.png' |
| | | import biji from '@/assets/images/menu/biji.png' |
| | |
| | | import zoomIn from '../assets/images/operation/zoomIn.png' |
| | | import zoomOut from '../assets/images/operation/zoomOut.png' |
| | | import huabi2 from '../assets/images/operation/huabi.svg' |
| | | import { start } from 'qiankun' |
| | | onMounted(() => { |
| | | |
| | | start() |
| | | |
| | | }) |
| | | import { loadMicroApp } from 'qiankun' |
| | | |
| | | // 菜单 |
| | | const menuData = reactive([ |
| | | { |
| | |
| | | ctx = canvas.value.getContext('2d') as CanvasRenderingContext2D |
| | | } |
| | | } |
| | | |
| | | const loadChild = () => { |
| | | // loadMicroApp({ |
| | | // name: 'book', |
| | | // entry: '//192.168.3.196:8080/', |
| | | // container: document.querySelector('#container') |
| | | // }) |
| | | // $router.push({path: "/aa"}) |
| | | } |
| | | </script> |
| | | |
| | | <style lang="less"> |