0%

sass watch

1
sass -w  yunying.scss yunying.css

faq

1
2
3
this.$data.a = 1
this.refresh()

请教问题:

  • 在页面渲染以后,this.$data.a = 123 并不能直接响应。是因为没有 声明么,还是需要 this.refresh()
  • m-foreach 不能循环 111
  • 模版中 svg 不能显示
  • views 下是组件。A B 组件之间如何通讯?组件如何包含子组件?
  • 在 methods 中 func(a){ console.log(a) } 拿不到参数

via https://www.bilibili.com/video/BV18o4y197PL/?spm_id_from=333.788.recommend_more_video.1

find 4种

  • 向 前 飞跃发现
  • 左右 横向发现
  • 向上(抬头) 目标发现
  • 向下(飞机掠过 云台慢慢向下) 镜头 find 目标 仰头发现

focus 7种

  • 环绕
  • 环绕渐远(近)
  • 环绕渐远(近)+ 上升 (螺旋) 云台慢低头
  • 垂直(摇臂)
  • 发现(摇臂)
  • 从目标身边经过
  • 跟随

远景 long shot 5

  • 远距离(大面积)大远景
  • 冲天+旋转
  • 鸟瞰(上帝视角)
  • 俯瞰 45度
  • 纵横飞行

=====

绘制多个区域 严丝合缝

turf 中文手册

https://psilocine.github.io/turfjs-docs-Zh-CN/transformation/#voronoi

向下兼容 es5

https://github.com/vitejs/vite/tree/main/packages/plugin-legacy

es6兼容性标签script type=“module“的特性

打包使用 相对路径

vue3 用是 hello例子 还是项目代码?

我总结一下:

vue2 改了1个问题(相对路径)以后, html 可见,js 可执行

vue3 改了 相对路径 和 向下兼容 以后,html 可见,js 不可执行

==========

vite 官方

https://cn.vitejs.dev/config/#build-dynamicimportvarsoptions

降级

https://www.npmjs.com/package/@vitejs/plugin-legacy

1
yarn add @vitejs/plugin-legancy -D
1
2
3
4
5
6
7
8
9
10
11
// vite.config.js
import legacy from '@vitejs/plugin-legacy'

export default {
plugins: [
legacy({
targets: ['ie >= 11'],
additionalLegacyPolyfills: ['regenerator-runtime/runtime']
})
]
}

css #rgba 问题

1
2
3
4
5
6
// vite.config.js
{
build: {
cssTarget: chrome61 // 值为chromeN...
}
}

docker images ls
docker ps -a
docker rm container
docker rmi image
docker start xxx
docker pull xxx/xxx

docker start xxx
docker stop xxx

docker run –name xxx -p 8080:80 -v /guoshuang/:/opt/fdasf -d –restart=always

dockefile

from: images/ngdsg
cp //dkd/ddf
fdsfdsf
dfsadf

美国手

左摇杆 上下|旋转

右摇杆 前后|左右

日本手

左摇杆 前后|旋转

右摇杆 上下|左右

天朝手(左右互换)

右摇杆 上下|旋转

左摇杆 前后|左右