上一页 1 2 3 4 5 6 ··· 52 下一页
摘要: 1、html <view class="box"> <view class="point"></view> </view> 2、css .box { position: relative; } .point, .point:before , .point:after { position: abso 阅读全文
posted @ 2022-11-15 16:08 Nyan 阅读(54) 评论(0) 推荐(0) 编辑
摘要: 立体饼图: https://pslkzs.com/demo/pie/demo3.php https://www.highcharts.com/demo/3d-pie-donut 环形图带码:https://pslkzs.com/demo/pie/demo1.php 实现技术框架:DataV、char 阅读全文
posted @ 2022-10-12 09:11 Nyan 阅读(24) 评论(0) 推荐(0) 编辑
摘要: 1、安装 cli 最新的 alpha 版或最新的稳定版(uniapp vue2) 2、添加plugin.json, 与pages.json同级 { "publicComponents": { "hello-component": "components/hello" }, /* #ifdef MP- 阅读全文
posted @ 2022-09-15 17:06 Nyan 阅读(228) 评论(0) 推荐(0) 编辑
摘要: /** * 获取数组最大值下标 */ const findMaxIndex = (numberList) => { let maxValue = parseFloat(numberList[0]); let minValue = parseFloat(numberList[0]); let maxI 阅读全文
posted @ 2022-07-14 11:24 Nyan 阅读(44) 评论(0) 推荐(0) 编辑
摘要: 最近在Vue3.x项目中使用ECharts5.x制作统计图表,发现配置一切正常,但是tooltip无论如何就是无法显示,所以排查了下原因,发现在Vue3.x环境下,使用ECharts5.0+会出现该问题。原因是echarts实例不能由Vue来维护(Vue的响应性特性)。 所以将原来的代码: expo 阅读全文
posted @ 2022-07-05 09:59 Nyan 阅读(407) 评论(0) 推荐(0) 编辑
摘要: 1、安装引入 npm install echarts import echarts from "echarts" 2、需设定大小 <div class="chat-content" id="myCharts"></div> .chat-content { width: 100%; height: 1 阅读全文
posted @ 2022-06-16 09:17 Nyan 阅读(413) 评论(0) 推荐(0) 编辑
摘要: 1、安装 # 通过 npm 安装 npm i unplugin-vue-components -D 2、配置插件vite.config.js import vue from '@vitejs/plugin-vue'; import Components from 'unplugin-vue-comp 阅读全文
posted @ 2022-06-16 08:57 Nyan 阅读(1358) 评论(0) 推荐(0) 编辑
摘要: 1、安装 npm install vue-cropperjs --save 2、引入 import VueCropper from 'vue-cropperjs'; import 'cropperjs/dist/cropper.css'; components: { VueCropper } 3、h 阅读全文
posted @ 2022-06-12 09:34 Nyan 阅读(544) 评论(0) 推荐(0) 编辑
摘要: 1、vite.config.jsvite.config.js server: { port: 5500, proxy: { '/testApi': { target: 'https://xxxx.xxxx.com/gateway', changeOrigin: true, rewrite: (pat 阅读全文
posted @ 2022-05-26 11:25 Nyan 阅读(673) 评论(0) 推荐(0) 编辑
摘要: 1、设置responseType: 'arraybuffer'(支付宝小程序 request 暂不支持 responseType) 2、使用微信文件管理系统 阅读全文
posted @ 2022-04-09 10:23 Nyan 阅读(1142) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 52 下一页