🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

@vyron/mini-ui

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Package was removed
Sorry, it seems this package was removed from the registry

@vyron/mini-ui

基于 Taro V3 版本打造的微信小程序 UI 库

unpublished
latest
Source
npmnpm
Version
1.0.0-alpha.3
Version published
Maintainers
1
Created
Source

mini-ui

基于 Taro V3 版本打造的微信小程序 UI 库

安装

# yarn
yarn add @vyron/mini-ui

# npm
npm install @vyron/mini-ui

使用

样式

// app.less 全局样式
@import "../node_modules/@vyron/mini-ui/style/index.css";

组件

import React from "react;
import { Appbar } from "@vyron/mini-ui";
import backIcon from "@Images/appbar/back-white-icon.png";
import homeWhiteIcon from "@Images/appbar/home-white-icon.png";
// 局部样式 tsx文件引入
import "../node_modules/@vyron/mini-ui/style/appbar.css";
import "./index.less"

class Home extends React.Component {
    render(){
        return (
        <AppBar
            type="white"
            title="首页"
            left={{
                isCover: true,
                localImage: true,
                style: {
                width: "18rpx",
                height: "30rpx",
                },
                type: backIcon,
            }}
            right={{
                isCover: true,
                localImage: true,
                style: {
                width: "34rpx",
                height: "34rpx",
                },
                type: homeWhiteIcon,
            }}
            onTitleClick={console.log}
            onLeftClick={console.log}
            onRightClick={console.log}
            backgroundColor="#00ab84"
        />
        )
    }
}
// 按需引入文件  index.less
@import "../node_modules/@vyron/mini-ui/style/appbar.css";

计划

组件说明状态
AppBar自定义顶部导航栏
Authorize获取授权
Carousel轮播图
Divider分隔符
Empty空白
Iconiconfont
Image图片
Loading加载
Grid栅格布局
Overlay遮罩
Transition过渡动画
Cell单元格⬜️
Field输入框
FormForm 表单⬜️
List列表⬜️
Button按钮⬜️
Message提示⬜️
Modal对话框⬜️

预览

扫描二维码预览

扫码预览

开源协议

本项目基于 MIT 协议

FAQs

Package last updated on 20 Nov 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts