摘要:
引入 echarts.js、bmap.js 以及 https://api.map.baidu.com/api?v=2.0&ak=这里填在百度开发平台注册得到的 access key; 在 option 中设置 bmap,参考这个例子 https://echarts.apache.org/exampl 阅读全文

posted @ 2021-12-30 17:10
蓦然JL
阅读(1273)
评论(0)
推荐(0)
摘要:
ECharts 可以通过样式设置来改变图形元素或者文字的颜色、明暗、大小等。 目前主题下载提供了 JS 版本和 JSON 版本。 如果你使用 JS 版本,可以将 JS 主题代码保存一个 主题名.js 文件,然后在 HTML 中引用该文件,最后在代码中使用该主题。 比如上图中我们选中了一个主题,将 J 阅读全文

posted @ 2021-12-30 16:48
蓦然JL
阅读(732)
评论(0)
推荐(0)
摘要:
uniapp 用uni.makePhoneCall( )拨打电话 点击查看代码 <template> <view class="content"> <view @click="call_phone(tel)">拨打电话</view> </view> </template> <script> expo 阅读全文

posted @ 2021-12-30 15:42
蓦然JL
阅读(2345)
评论(0)
推荐(0)
摘要:
echarts图表大小随屏幕的大小改变自适应 当页面有多个图表时 window.addEventListener("resize", function () { myChart.resize(); }); 点击查看代码 <!DOCTYPE html> <html> <head> <meta char 阅读全文

posted @ 2021-12-30 13:48
蓦然JL
阅读(944)
评论(0)
推荐(0)
摘要:
uniapp 飞入购物车的商品的小组件,获取购物车的具体位置X轴Y轴,再获取商品图片,进行飞入。 点击查看代码 <template> <view class="container" style="height: 0rpx;"> <!-- 加入购物车的小球 --> <view class="good_ 阅读全文

posted @ 2021-12-30 09:36
蓦然JL
阅读(1052)
评论(0)
推荐(0)