FreeUI,一款微信原生开发UI组件库

logo

Free UI

轻量简洁的微信原生开发UI组件库

简介

Free UI,是一款微信原生开发的UI框架,全面的组件和便捷的工具会让您信手拈来,如鱼得水

如果你喜欢,请给个star呗~

个人说明

如有问题,请联系QQ664423077或公众号留言搞文艺的猿

预览

您可以通过微信扫码,查看最佳的演示效果。




源码地址

github地址: https://github.com/awzks1314/Free-UI

gitee地址:https://gitee.com/zkszz/free-ui

开始使用

  1. app.wxss引入基础样式,路径为/static/style
@import '/static/style/main.wxss';
  1. 按需引入需要的组件,组件都放在components
/* 比如app.json我引用了部分组件,全局使用*/
"usingComponents": {
    "free-tabs": "/components/module/free-tabs/free-tabs",
    "free-tag": "/components/basic/free-tag/free-tag",
    "free-navBar": "/components/module/free-navBar/free-navBar",
    "free-icon": "/components/basic/free-icon/free-icon",
    "free-title": "/components/basic/free-title/free-title",
    "free-subsection": "/components/module/free-subsection/free-subsection",
    "free-gap": "/components/module/free-gap/free-gap",
    "free-list": "/components/module/free-list/free-list",
    "free-image": "/components/basic/free-image/free-image"
  },
  1. 部分使用,在需要使用的backTop.json里引用
/* /pages/module/backTop/backTop.json */
{
  "navigationBarTitleText":"返回顶部",
  "usingComponents": {
    "free-backTop":"/components/module/free-backTop/free-backTop"
  }
}
  1. backTop.wxml使用
<!-- {{}}为参数配置-->
<free-backTop 
  scrollTop="{{scrollTop}}" 
  top="{{top}}"
  bottom="{{bottom}}"
  mode="{{mode}}"
  right="{{right}}"
  color="{{color}}"
  bgColor="{{bgColor}}"
  icon="{{icon}}"
  ></free-backTop>

版权说明

uView遵循MIT开源协议,意味着您无需支付任何费用,也无需授权,即可将uView应用到您的产品中。

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 2
    评论
评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

搞文艺的猿

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值