Leaflet+Leaflet-Geoman绘制天地图 安装所需依赖yarn add leaflet @geoman-io/leaflet-geoman-free<template> <div id="map"></div> <div class="handle"> <button @click="drawMap">绘制区块</button> <button @click="cancelDrawMap">取消绘制</button>
Rn开发社区推荐组件 类型推荐组件构建工具expo导航@react-navigation/native安全区域react-native-safe-area-context图标@expo/vector-icons抽屉react-native-drawer-layoutTab选项react-native-tab-view手势react-native-gesture-handler动画react-native-reanimated页面滑动react-
Rn实现省市区三级联动 省市区三级联动选择是个很频繁的需求,但是查看了市面上很多插件不是太老不维护就是不满足需求,就试着实现一个。下面只贴了省市区选择的功能,全部代码可参考。功能略简单,但能实现需求。这个功能无任何依赖插件。核心代码也尽力控制在了。
Vue3封装函数组件(ElImageViewer)预览图片 / api文档:https://element-plus.org/zh-CN/component/image.html#image-viewer-attributes。//自定义函数组件无法使用全局组件,需要单独引入。//传入createApp中移除节点的方法。// 监听显示的消失,需要移除dom。