图片适配解决方案
css.image{width: 100%;height: 100%;position: fixed;top: 0;left: 0;object-fit: cover;}
引用自定义组件
- 首先将自己的组件的json文件中配置
"component":true - 然后在需要使用组件的地方设置 ```json “usingComponents”: { “Nav” : “../../Components/Nav/Nav” }
``
如果需要全局配置,则需要在app.json` 中设置
