0.0.12 • Published 5 months ago

mvtk-plus v0.0.12

Weekly downloads
-
License
-
Repository
-
Last release
5 months ago

残联组件库

快速开始

直接使用npm安装

安装 mvtk-plus

npm i mvtk-plus --save-dev

script 中引用组件:

import zcLoading from 'mvtk-plus/lib/zc-loading/zc-loading.vue'
export default {
    components: {zcLoading}
}

template 中使用组件:

<zc-loading ref="loading"/>

::: danger 注意

  • import组件的时候一定要按照上面的路劲来,路劲要给全,可省略后缀。

已支持的组件列表

组件名组件说明
echartechart
echartechart

加载中状态

组件名:zc-loading 代码块: zcLoading 关联组件:zc-loading

用意在于替换官方的uni.showLoading()方法。

注意事项 为了避免错误使用,给大家带来不好的开发体验,请在使用组件前仔细阅读下面的使用说明,可以帮你避免一些错误。

基本用法

<!-- loading -->
<our-loading isFullScreen ref="loading" />
export default {
    components: {},
    data() {
        return {
			
		}
	},
	methods: {
		open(){
            this.$refs.loading.open()
        },
        close(){
            this.$refs.loading.close()
        }
	}
}

API

Rate Props

属性名类型默认值说明
translateYNumber100距顶部的距离
textString加载中的文案
textColorString#65cf6b文案颜色
isFullScreenBooleanfalse是否全屏

加载中状态

组件名:zc-loading 代码块: zcLoading 关联组件:zc-loading

用意在于替换官方的uni.showLoading()方法。

注意事项 为了避免错误使用,给大家带来不好的开发体验,请在使用组件前仔细阅读下面的使用说明,可以帮你避免一些错误。

基本用法

<!-- loading -->
<our-loading isFullScreen ref="loading" />
export default {
    components: {},
    data() {
        return {
			
		}
	},
	methods: {
		open(){
            this.$refs.loading.open()
        },
        close(){
            this.$refs.loading.close()
        }
	}
}

API

Rate Props

属性名类型默认值说明
translateYNumber100距顶部的距离
textString加载中的文案
textColorString#65cf6b文案颜色
isFullScreenBooleanfalse是否全屏

如何发布组件

我们只需要在/components/index/package.json文件里面修改版本号

然后npm login 登录npm

最后运行 npm run build:npm 即可发布

0.0.12

5 months ago

0.0.11

6 months ago

0.1.0

6 months ago

0.0.9999

8 months ago

0.0.9998

8 months ago

0.0.9997

8 months ago

0.0.9994

9 months ago

0.0.9992

9 months ago

0.0.998

9 months ago

0.0.997

9 months ago

0.0.996

9 months ago

0.0.995

9 months ago

0.0.993

9 months ago

0.0.992

9 months ago

0.0.99

9 months ago

0.0.97

9 months ago

0.0.95

9 months ago

0.0.94

10 months ago

0.0.93

10 months ago

0.0.92

10 months ago

0.0.91

10 months ago

0.0.90

10 months ago

0.0.89

10 months ago

0.0.87

10 months ago

0.0.86

10 months ago

0.0.85

10 months ago

0.0.7

10 months ago

0.0.6

10 months ago

0.0.4

10 months ago

0.0.2

10 months ago