会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Nyan
博客园
首页
新随笔
管理
上一页
1
2
3
4
5
6
···
52
下一页
2022年11月15日
坐标点缩放闪烁 从中心向四周扩散
摘要: 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
阅读(78)
评论(0)
推荐(0)
2022年10月12日
数据大屏相关连接
摘要: 立体饼图: 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
阅读(37)
评论(0)
推荐(0)
2022年9月15日
uniapp miniapp plugin
摘要: 1、安装 cli 最新的 alpha 版或最新的稳定版(uniapp vue2) 2、添加plugin.json, 与pages.json同级 { "publicComponents": { "hello-component": "components/hello" }, /* #ifdef MP-
阅读全文
posted @ 2022-09-15 17:06 Nyan
阅读(330)
评论(0)
推荐(0)
2022年7月14日
获取最大最小数值以及下标
摘要: /** * 获取数组最大值下标 */ const findMaxIndex = (numberList) => { let maxValue = parseFloat(numberList[0]); let minValue = parseFloat(numberList[0]); let maxI
阅读全文
posted @ 2022-07-14 11:24 Nyan
阅读(88)
评论(0)
推荐(0)
2022年7月5日
vue3 echarts tooltip不显示原因
摘要: 最近在Vue3.x项目中使用ECharts5.x制作统计图表,发现配置一切正常,但是tooltip无论如何就是无法显示,所以排查了下原因,发现在Vue3.x环境下,使用ECharts5.0+会出现该问题。原因是echarts实例不能由Vue来维护(Vue的响应性特性)。 所以将原来的代码: expo
阅读全文
posted @ 2022-07-05 09:59 Nyan
阅读(718)
评论(0)
推荐(0)
2022年6月16日
vue3 vite echarts 线上二次显示空白问题
摘要: 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
阅读(543)
评论(0)
推荐(0)
vue3 vite 引进vant
摘要: 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
阅读(1465)
评论(0)
推荐(0)
2022年6月12日
上传头像: vue-cropperjs简单使用
摘要: 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
阅读(615)
评论(0)
推荐(0)
2022年5月26日
vue3 vite axios proxy config
摘要: 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
阅读(774)
评论(0)
推荐(0)
2022年4月9日
uniapp 小程序: pdf流查看导出PDF
摘要: 1、设置responseType: 'arraybuffer'(支付宝小程序 request 暂不支持 responseType) 2、使用微信文件管理系统
阅读全文
posted @ 2022-04-09 10:23 Nyan
阅读(1524)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
···
52
下一页
公告