zoukankan      html  css  js  c++  java
  • UI库colorui的使用————小程序

    UI库colorui的使用————小程序

    把colorui文件放到你的小程序中

    包含文件:

    icon.wxss+main.wxss+components(文件夹里有icon和一些组件)+animation.wxss

    app.wxss

    /**app.wxss**/*
    @import "colorui/icon.wxss";//定义使用colorui的组件
    @import "colorui/main.wxss";
    

    使用,在index.wxml中直接使用。(没有官方文档,你只能边对照colorui案例,边做。)

    index.wxml

    <view class="padding flex flex-direction">
      <button class="cu-btn bg-grey lg">玄灰</button>
      <button class="cu-btn bg-red margin-tb-sm lg">嫣红</button>
    </view>
    

    使用简单而且超级好看!!!

    其颜值是真的高。

  • 相关阅读:
    Java集合的Stack、Queue、Map的遍历
    LinkedHashMap的实现原理
    HashSet的实现原理
    HashMap的实现原理
    leetcode526
    leetcode406
    leetcode413
    leetcode513
    leetcode338
    leetcode419
  • 原文地址:https://www.cnblogs.com/cth0/p/11564439.html
Copyright © 2011-2022 走看看