pfm app

yuwenfen 0acff95d84 封装单选列表组 il y a 4 ans
components 0acff95d84 封装单选列表组 il y a 4 ans
pages 0acff95d84 封装单选列表组 il y a 4 ans
static 290c6b9c20 q il y a 4 ans
store ff6491c0e5 init il y a 4 ans
utils 290c6b9c20 q il y a 4 ans
.gitignore ff6491c0e5 init il y a 4 ans
App.vue 0acff95d84 封装单选列表组 il y a 4 ans
README.md 0acff95d84 封装单选列表组 il y a 4 ans
down.-icon.png 7c8dbf1a25 任务详情 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 290c6b9c20 q il y a 4 ans
package.json 290c6b9c20 q il y a 4 ans
pages.json 0acff95d84 封装单选列表组 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。
  4. 单选列表组合:tm-radio-group。

公共组件的注册方式


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