GithubHelp home page GithubHelp logo

uxt's Introduction

uxt

介绍

uniapp组件库

软件架构

参考color-ui封装为uniapp组件库,在h5, 微信小程序, android端进行了测试。

安装教程

  1. npm init -y初始化您的项目。
  2. npm install @xtcoder/uxt安装uxt包,最新版本1.0.1
  3. App.vue中导入全局样式。
    <style lang="scss">
    @import '@xtcoder/uxt/uxt.scss';
    </style>
  4. main.js中导入uxt。
    import uxt from '@xtcoder/uxt/uxt.js'
    import uxtPage from '@xtcoder/uxt/components/uxt-page.vue'
    
    Vue.component('uxt-page', uxtPage)
    Vue.use(uxt)
  5. pages.json关闭原生导航栏。
    "globalStyle": {
    	"navigationStyle": "custom"
    }
  6. 很多组件中带有默认主题色(默认为绿色),如需更换默认主题颜色,可在uni.scss文件中增加如下变量。
    $theme-color: #0081ff;
    $theme-color-text: #fff;
    $theme-color-light: #cce6ff;
    $theme-color-gradual1: #0081ff;
    $theme-color-gradual2: #1cbbb4;

HBuilder X 2.6.1

使用说明

编写中,敬请期待。

先睹为快

H5 (请使用手机浏览器扫码体验)

微信小程序 (请使用微信扫一扫功能扫码体验)

Android (请使用手机浏览器扫码下载安装后体验)

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.