Code Monkey home page Code Monkey logo

tuniaoui's Introduction

图鸟UI

Tuniao UI

提供丰富组件和炫酷页面的UI框架

说明

图鸟UI,是基于uni-app进行开发的UI框架,提供丰富的组件进行快速开发,已经支持H5微信小程序,包含常用表单组件、信息展示组件等,并提供丰富的酷炫页面模板

开源版本中所使用到的图片均做了防盗链,只能在调试中使用,不保证在生产环境中可以使用。

图片资源以上传到图鸟社区

特点

  • 包含基础常用的布局元素,flex、grid、浮动
  • 完整一体的配色体系,包含4种色深模式,同时包含4套渐变配色
  • 700+风格统一的图标icon,后续可继续增加
  • 50+精选组件,让开发者可以快速进行开发
  • 酷炫常用的页面模板,更有让你眼前一亮的界面效果
  • 图片素材语雀便捷下载,图鸟社区共同成长
  • 使用文档详尽说明,让你一文读懂图鸟UI

链接

安装

下载地址 ------> 图鸟UI - DCloud 插件市场

快速上手

1.复制文件到项目的根目录

  • 必要文件夹
    • 复制tuniao-ui文件夹
    • 复制store文件夹
  • 如果使用了模板页面则需要复制以下文件夹
    • 复制libs文件夹
    • 复制static文件夹

2.引入TuniaoUI主JS库

在项目根目录中的main.js中,引入并使用TuniaoUI的JS库,注意这两行配置代码要放在import Vue之后。

// 引入全局TuniaoUI
import TuniaoUI from 'tuniao-ui'
Vue.use(TuniaoUI)

3.引入TuniaoUI提供的vuex

在项目根目录的main.js中引入store

// 引入store
import store from './store'
...
const app = new Vue({
  store,
  ...App
})

在项目根目录中的main.js中,引入并使用TuniaoUI的vuex,注意这两行配置代码要放在import Vue之后。

// 引入TuniaoUI提供的vuex简写方法
let vuexStore = require('@/store/$tn.mixin.js')
Vue.mixin(vuexStore)

4.引入TuniaoUI的全局SCSS主题文件

在项目根目录的uni.scss中引入此文件。

@import 'tuniao-ui/theme.scss';

5.引入TuniaoUI基础样式和图标文件

::: danger 注意 在App.vuestyle标签首行的位置引入,注意给style标签加入lang="scss"属性 :::

<style lang="scss">
  /* 注意要写在第一行,同时给style标签加入lang="scss"属性 */
  @import './tuniao-ui/index.scss';
  @import './tuniao-ui/iconfont.css';
</style>

6.配置easycom组件模式

此配置需要在根目录的page.json中进行。

::: tip 温馨提示

  1. uni-app为了调试性能的原因,修改easycom规则不会实时生效,配置完后,您需要重启HBuilderX或者重新编译项目才能正常使用TuniaoUI的功能。
  2. 请确保您的pages.json中只有一个easycom字段,否则请自行合并多个引入规则。 :::
// pages.json
{
  "easycom": {
  	"^tn-(.*)": "@/tuniao-ui/components/tn-$1/tn-$1.vue"
  },
  "pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
    {
      // ......
    }
  ]
  // ......
}

UI截图

图鸟UI 图鸟UI 图鸟UI 图鸟UI 图鸟UI 图鸟UI

联系作者

图鸟UI

微信群聊二维码

图鸟UI

版权信息

TuniaoUI开源版遵循Apache协议,意味着您无需支付任何费用,也无需授权,即可将TuniaoUI开源版应用到您的产品中,但是需要保留TuniaoUI的信息。

tuniaoui's People

Contributors

ahua666 avatar highspecific avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.