https://github.com/eightfeet/vueapp
vueapp
https://github.com/eightfeet/vueapp
Last synced: 7 months ago
JSON representation
vueapp
- Host: GitHub
- URL: https://github.com/eightfeet/vueapp
- Owner: eightfeet
- Created: 2016-05-14T14:05:20.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-05-15T12:25:10.000Z (over 9 years ago)
- Last Synced: 2025-01-16T08:45:48.501Z (9 months ago)
- Language: CSS
- Homepage: http://eightfeet.github.io/vueapp/dist/
- Size: 4.09 MB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# vue-app项目
> ef## Build Setup
```bash
# install dependencies
npm install# serve with hot reload at localhost:8080
npm run dev# build for production with minification
npm run build# run unit tests
npm run unit# run e2e tests
npm run e2e# run all tests
npm test
```## 组件介绍
### loading
引入```javascript
import loading from './components/publick/loading.vue'
```参数
Name
Type
Default
Description
show
Boolean
false
是否显示loading
loadersize
Number
1
loading尺寸默认为1rem
top
Number
3
距离页面顶部,默认为3,这样能显示头部(头部高度为3rem)
使用
```html```
### headerbar
引入
```javascript
import headerbar from './components/publick/header.vue'
```
参数
Name
Type
Default
Description
lefticon,righticon
Boolean
true
是否有左,右图标
lefticonname,righticonname
String
true
左,右图标名称
handlerlefticon,handlerrighticon
String
true
左,右图标事件
[app 图标](http://eightfeet.github.io/vueapp/src/othes/vueappfont/demo.html)
使用
```html{{apptitle}}
```
### buttonbar
引入
```javascript
import buttonbar from './components/publick/button.vue'
```
参数
Name
Type
Default
Description
iconfixedleft,iconfixedright
Boolean
true
是否有左,右图标
setstyle
String
a
a和b两种样式
disable
Boolean
false
是否禁用
small
Boolean
false
是否小图标
使用
```html按钮
```
### modal
引入```javascript
import modal from './components/publick/modal.vue'
```参数
Name
Type
Default
Description
show
Boolean
true
是否显示modal
使用
```html
确认
...
...
```