pfm app

yuwenfen 4f29ebac7f tabbar封装 il y a 4 ans
components 4f29ebac7f tabbar封装 il y a 4 ans
pages 4f29ebac7f tabbar封装 il y a 4 ans
static 4f29ebac7f tabbar封装 il y a 4 ans
store ff6491c0e5 init il y a 4 ans
utils c935218d03 创建情境 il y a 4 ans
.gitignore ff6491c0e5 init il y a 4 ans
App.vue b615c674bb 删掉不需要的东西 il y a 4 ans
README.md 4f29ebac7f tabbar封装 il y a 4 ans
main.js c935218d03 创建情境 il y a 4 ans
manifest.json 0b0d898ffd 重新创建带uni-ui的项目 il y a 4 ans
package-lock.json 34d29d93da 安装moment il y a 4 ans
package.json c935218d03 创建情境 il y a 4 ans
pages.json 7dba09a2ee 任务列表 il y a 4 ans
uni.scss 0b0d898ffd 重新创建带uni-ui的项目 il y a 4 ans

README.md

项目结构:


  1. 公共样式写在App.vue;

公共组件说明:


  1. 步骤条:tm-steps,详细传参说明在组件内部。
  2. 树形控件:tm-trees。
  3. 底部tabBar:tm-tabbar。

公共组件的注册方式


  1. 在main.js中全局注册;
  2. 在components目录下创建文件夹=文件名的组件,会自动全局注册,但是需要注意:在模板中使用的名字也必须与定义的名字一致,比如定义了n-navigation/n-navigation.vue组件,必须是;因为标签推荐kebab-case方式,所以定义的公共组件也推荐这种命名方式