摘要: 父组件: <BuildingAttrTable v-if="type == 0" :id="id" ref="BuildingAttrTable" :type="type" :propdata="allData" @myclickBui="onmyclickBui" @myclickBui2="on 阅读全文
posted @ 2021-07-12 18:31 福超 阅读(2474) 评论(0) 推荐(0) 编辑
摘要: /* eslint-disable consistent-return */ <template> <div> <div class="projectMask"></div> <div class="project"> <div class="mask"></div> <i class="el-ic 阅读全文
posted @ 2021-06-10 11:42 福超 阅读(67) 评论(0) 推荐(0) 编辑
摘要: npm i draggable import draggable from 'vuedraggable'; components: { draggable, }, myArray: [ { id: 0, name: 0, }, { id: 1, name: 1, }, ] <el-scrollbar 阅读全文
posted @ 2021-06-10 11:32 福超 阅读(708) 评论(0) 推荐(0) 编辑
摘要: <template> <div class="horizontalDiv"> <div style="display:none" id="horizontalDiv1"></div> <div style="display:none" id="horizontalDiv2"></div> <div 阅读全文
posted @ 2021-04-27 18:24 福超 阅读(341) 评论(0) 推荐(0) 编辑
摘要: 1.首先下载一张svg格式的图片用编译器打开copy代码2.svg转换函数 methods getSvg(html, offsetX, offsetY) { return `url(data:image/svg+xml;base64,${btoa(unescape(encodeURIComponen 阅读全文
posted @ 2021-04-02 16:30 福超 阅读(454) 评论(0) 推荐(0) 编辑
摘要: 注意table 标签的id test0() { let exportFileContent = document.getElementById('mtable').outerHTML; let blob = new Blob([exportFileContent], { type: 'text/pl 阅读全文
posted @ 2021-04-02 15:45 福超 阅读(140) 评论(0) 推荐(0) 编辑
摘要: <canvas ref="test" id="myCanvas11" width="600" height="250" style="border:1px solid #ff0000;"> </canvas> <el-button @click="test">下载</el-button> // me 阅读全文
posted @ 2021-04-02 15:16 福超 阅读(101) 评论(0) 推荐(0) 编辑
摘要: 地址转经纬度 https://restapi.amap.com/v3/config/district?keywords=%E5%A4%AB%E5%AD%90%E6%B2%B3&subdistrict=2&key=‘your map key’ 经纬度转地址 https://restapi.amap.c 阅读全文
posted @ 2021-03-05 14:53 福超 阅读(573) 评论(0) 推荐(0) 编辑
摘要: import livingScroll from '@/components/living-scroll/living-scroll.vue'; components:{livingScroll }, <livingScroll color="#fff" backgroundColor="#ffa0 阅读全文
posted @ 2020-10-21 16:04 福超 阅读(523) 评论(0) 推荐(1) 编辑
摘要: 1. 下载插件 https://ext.dcloud.net.cn/plugin?id=1711 2.代码可以用网络的或者本地的 关键代码 var iconPath = plus.io.convertLocalFileSystemURL(item) <template> <view class="" 阅读全文
posted @ 2020-10-18 15:25 福超 阅读(2615) 评论(0) 推荐(0) 编辑