vault backup: 2025-12-04 09:12:56

This commit is contained in:
杜鹏飞
2025-12-04 09:12:56 +08:00
commit 71e83861de
300 changed files with 339584 additions and 0 deletions

View File

@@ -0,0 +1,5 @@
# Pannellum
https://blog.csdn.net/qq564280420/article/details/126997788
# photo-sphere-viewer
https://blog.csdn.net/weixin_42752574/article/details/121215430
https://blog.csdn.net/weixin_42752574/article/details/122243459

View File

@@ -0,0 +1,6 @@
>https://v2.cn.vuejs.org/v2/cookbook/dockerize-vuejs-app.html
> https://zhuanlan.zhihu.com/p/150568805
> https://www.nginx.com/blog/deploying-nginx-nginx-plus-docker/
>

View File

@@ -0,0 +1,4 @@
express 解决 单页面 history 模式 404
```javascript
http://zhenglinglu.cn/pages/ea5e6f/#%E5%AE%89%E8%A3%85%E4%BE%9D%E8%B5%96
```

View File

@@ -0,0 +1,19 @@
```javascript
// 全局模态框关闭事件
Element.Dialog.props.closeOnClickModal.default = false
// 全局 输入框 回车 刷新 阻止
const render = Element.Form.render;
const stopFormDefaultSubmit = e => {
if (e.keyCode === 13) {
e.preventDefault()
}
}
Element.Form.render = function() {
setTimeout(() => {
this.$el.removeEventListener('keydown', stopFormDefaultSubmit)
this.$el.addEventListener('keydown', stopFormDefaultSubmit)
}, 500)
return render.apply(this, arguments)
}
```

View File

@@ -0,0 +1,6 @@
# keep-live 失效问题
组件 name 有规范
> https://gitee.com/y_project/RuoYi-Vue/issues/I7PDIL
# 路由配置 404
* 排查组件之间 name 冲突

Binary file not shown.

After

Width:  |  Height:  |  Size: 43 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 52 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 43 KiB

View File

@@ -0,0 +1,11 @@
es6 动态引入 报错
dynamic-import-node -> dynamic-import-webpack
![[企业微信截图_16850860511501.png]]
babel-plugin-dynamic-import-node -> babel-plugin-dynamic-import-webpack
![[企业微信截图_16850860633778.png]]
![[企业微信截图_16850860865162.png]]
webpack4的bug不支持es6的动态引入语法import()

View File

@@ -0,0 +1,8 @@
# 编辑器
## monaca
>https://cloud.tencent.com/developer/article/2316837
# 低代码
## brick-design
## ToolJet

View File

@@ -0,0 +1,122 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="chrome=1">
<meta name="viewport" content="initial-scale=1.0, user-scalable=no, width=device-width">
<link rel="stylesheet" href="https://a.amap.com/jsapi_demos/static/demo-center/css/demo-center.css" type="text/css">
<style>
html,body,#container{
height: 100%
}
.input-item{
height: 2.2rem;
}
.btn{
width: 6rem;
margin: 0 1rem 0 2rem;
}
.input-text{
width: 4rem;
margin-right:1rem;
}
</style>
<title>鼠标工具绘制</title>
</head>
<body>
<div id='container'></div>
<div class='info'>操作说明:圆和矩形通过拖拽来绘制,其他覆盖物通过点击来绘制</div>
<div class="input-card" style='width: 24rem;'>
<div class="input-item">
<input type="radio" name='func' checked="" value='marker'><span class="input-text">画点</span>
<input type="radio" name='func' value='polyline'><span class="input-text">画折线</span>
<input type="radio" name='func' value='polygon'><span class="input-text" style='width:5rem;'>画多边形</span>
</div>
<div class="input-item">
<input type="radio" name='func' value='rectangle'><span class="input-text">画矩形</span>
<input type="radio" name='func' value='circle'><span class="input-text">画圆</span>
</div>
<div class="input-item">
<input id="clear" type="button" class="btn" value="清除" />
<input id="close" type="button" class="btn" value="关闭绘图" />
</div>
</div>
<script src="https://webapi.amap.com/maps?v=1.4.15&key=您申请的key值&plugin=AMap.MouseTool"></script>
<script type="text/javascript">
var map = new AMap.Map('container',{
zoom:14
});
var mouseTool = new AMap.MouseTool(map);
//监听draw事件可获取画好的覆盖物
var overlays = [];
mouseTool.on('draw',function(e){
overlays.push(e.obj);
})
AMap.event.addListener( mouseTool,'draw',function(e){
console.log(e.obj.getPath());//获取路径/范围
});
function draw(type){
switch(type){
case 'marker':{
mouseTool.marker({
//同Marker的Option设置
});
break;
}
case 'polyline':{
mouseTool.polyline({
strokeColor:'#80d8ff'
//同Polyline的Option设置
});
break;
}
case 'polygon':{
mouseTool.polygon({
fillColor:'#00b0ff',
strokeColor:'#80d8ff'
//同Polygon的Option设置
});
break;
}
case 'rectangle':{
mouseTool.rectangle({
fillColor:'#00b0ff',
strokeColor:'#80d8ff'
//同Polygon的Option设置
});
break;
}
case 'circle':{
mouseTool.circle({
fillColor:'#00b0ff',
strokeColor:'#80d8ff'
//同Circle的Option设置
});
break;
}
}
}
var radios = document.getElementsByName('func');
for(var i=0;i<radios.length;i+=1){
radios[i].onchange = function(e){
draw(e.target.value)
}
}
draw('marker')
document.getElementById('clear').onclick = function(){
map.remove(overlays)
overlays = [];
}
document.getElementById('close').onclick = function(){
mouseTool.close(true)//关闭,并清除覆盖物
for(var i=0;i<radios.length;i+=1){
radios[i].checked = false;
}
}
</script>
</body>
</html>

View File

@@ -0,0 +1,25 @@
```
百度
http://api.map.baidu.com/lbsapi/getpoint/index.html
高德
https://lbs.amap.com/tools/picker
```
## 小程序 腾讯 地图 插件 配额
```
https://lbs.qq.com/miniProgram/plugin/pluginGuide/pluginStart
```
## 地图 边界 代码
https://lbs.amap.com/demo/javascript-api/example/mouse-operate-map/mouse-draw-overlayers
![[运行代码.txt]]
## Geo JSON
#### 获取 geojson
>https://www.jianshu.com/p/e66fc55f5f6e
### 高德 电子 围栏
>https://blog.csdn.net/m0_46641774/article/details/129705773

View File

@@ -0,0 +1,6 @@
adb sdk
# 环境变量
## 模拟器
夜深 adb E:\Program Files\Nox\bin
##