2023年6月27日

echarts绘制地图使用dispatchAction方法高亮区域

摘要: 1.高亮方法代码如下: highlightMap(myChart){ // 高亮轮播展示 var index = 0; this.timer = null; this.timer = setInterval(()=>{ myChart.dispatchAction({ type: 'downplay 阅读全文

posted @ 2023-06-27 16:18 有匪 阅读(1872) 评论(0) 推荐(1) 编辑

关于uni-app中使用 movable-area及movable-view标签实现悬浮拖拽功能

摘要: 1.背景描述 在页面中,添加一个悬浮按钮并实现拖动它到任意位置。使用到的内置组件有 movable-area, movable-view。 2.效果 3.具体代码实现 <template> <movable-area class="movable-area"> <movable-view class 阅读全文

posted @ 2023-06-27 14:53 有匪 阅读(2154) 评论(0) 推荐(1) 编辑

导航