An open API service indexing awesome lists of open source software.

https://github.com/eightfeet/vueapp

vueapp
https://github.com/eightfeet/vueapp

Last synced: 7 months ago
JSON representation

vueapp

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

确认



...


...

```