zhjy_ui

0.1.5 • Public • Published

zhjy_ui

一、button

属性:width(宽度)、height(高度) 基础的按钮使用方法:

<zh-button @click="submit" :width="100">保存</zh-button>

带图标按钮:

<zh-button @click="submit">
	<i slot="icon" class="">图标</i>保存
</zh-button>

二、移动端时间筛选

属性:week_data(周数据)、year_data(学年)、sem_data(学期) 使用方法:

<zh-app-time-filter :week_data="week_data" :year_data="year_data" :sem_data="sem_data" @choose_data="choose_data" ref="zhAppTimeFilter"></zh-app-time-filter>

三、图片上传裁剪

属性:actionUrl图片上传到服务器的请求地址 使用方法:

初始化
this.$refs.zhCropper.init();
获取接口返回数据
@getUrl
<zh-cropper ref="zhCropper" :actionUrl="actionUrl" @getUrl="getUrl" ref="zhAppTimeFilter"></zh-cropper>

Project setup

npm install

Compiles and hot-reloads for development

npm run serve

Compiles and minifies for production

npm run build

Lints and fixes files

npm run lint

Customize configuration

See Configuration Reference.

Readme

Keywords

none

Package Sidebar

Install

npm i zhjy_ui

Weekly Downloads

1

Version

0.1.5

License

none

Unpacked Size

4.96 MB

Total Files

26

Last publish

Collaborators

  • xiewenjing