zoom-ui-1.0

this is zoom-ui
2,422
Install
npm install zoom-ui-1.0
Latest Version:0.9.3
Vue:2
License:MIT
Last Updated:Apr 14, 2020
Links: npm
Maintainer: yehuo2003

zoom-ui

Usage example


npm install zoom-ui-1.0 --save

main.js

import zoomUI from 'zoom-ui-1.0';
Vue.use(zoomUI);

import '../node_modules/zoom-ui-1.0/lib/zoom-ui-1.0.css'

*.vue

<template>
  <div class="hello">
    <zoom-row>
      <zoom-col span="4">
        <zoom-card>
          <zoom-header>
            按钮组件
          </zoom-header>
          <zoom-container>
            <zoom-button :op="btnOp">按钮</zoom-button>
          </zoom-container>
        </zoom-card>
      </zoom-col>
      <zoom-col span="4">
        <zoom-card>
          <zoom-header>
            上传头像
          </zoom-header>
          <zoom-container>
            <zoom-upload></zoom-upload>
          </zoom-container>
        </zoom-card>
      </zoom-col>
      <zoom-col span="4">
        <zoom-card>
          <zoom-header>
            随机验证码
          </zoom-header>
          <zoom-container>
            <zoom-testing></zoom-testing>
          </zoom-container>
        </zoom-card>
      </zoom-col>
    </zoom-row>
    <zoom-msg ref="msg"></zoom-msg>
  </div>
</template>

<script>
import Vue from 'vue';

export default Vue.extend({
  name: 'HelloWorld',
  props: {
    msg: String,
  },
  data() {
    return {
      btnOp: {
        onClick:() => {
          this.$refs['msg'].msgPlugin('test demo',2000);
        }
      }
    }
  },
});
</script>

<!-- Add "scoped" attribute to limit CSS to this component only -->
<style scoped>

</style>

Lints and fixes files

npm run lint

License

MIT

Customize configuration

See Configuration Reference.

Version History

Version Released Vue License
0.9.3 ^2.6.10 MIT
0.9.2 ^2.6.10 MIT
0.9.1 ^2.6.10 MIT
0.9.0 ^2.6.10 MIT
0.8.9 ^2.6.10 MIT