0.0.65 • Published 5 years ago

ch-vue-portal-layout v0.0.65

Weekly downloads
198
License
-
Repository
-
Last release
5 years ago

Portal

📓 📔 📕 ChuangHui 📗 📘 📙 Vue Components.

Demo

Install

Using NPM
npm install ch-vue-portal-layout --save
Using Yarn
yarn add ch-vue-portal-layout

Usage

main.js

import Vue from 'vue'
import Portal from 'ch-vue-portal-layout'
import 'w-vue-basic-layout/lib/w-basic-layout.css'

Vue.use(Portal)

布局插件

页面中引用

<ch-layout>
  <div>

  </div>
</ch-layout>

layout Attributes

参数说明类型可选值默认值
sidebar菜单状态object{ opened: false,withoutAnimation: false }[]
device设备类型Strig'mobile''desktop'
routes菜单列表Array-[]
userInfo用户信息,包含用户头像,名称等信息object-{headImg: ''}
dropdownItemList右上角下拉菜单列表Array-[]
portalInfo项目基本信息object{logo: '', portalName: 'df'}{}
svgArr项目拥有的svg图Array[][]
logout点击退出按钮的回调function(){}function(){}function(){}
toggleSideBar点击显示或隐藏左侧菜单时触发function(){}function(){}function(){}
systems首页又上角切换系统的下拉选择框数组,不传默认不显示Array[][]

layout Events

事件名称说明回调参数
handleClickOutside点击菜单以外区域触发-
getMenuItem选中每个菜单时触发-

登录页(不再维护,若需要,拷贝大数据服务平台的登录页)

页面中引用

<ch-login></ch-login>

login Attributes

参数说明类型可选值默认值
bgData轮播图图片Array[{ title: '方法 · 路径 · 目标', describe: '数据驱动服务效率提升', src: require('@P/assets/img/bitmap_1.png') }][]
loading按钮loading状态Booleanfalse/truefalse
login登录的回调function(){}function(){}function(){}
sliderInfos轮播的宣传语[{ title: '方法 · 路径 · 目标', describe: '数据驱动服务效率提升}][{ title: '方法 · 路径 · 目标', describe: '数据驱动服务效率提升}][{ title: '方法 · 路径 · 目标', describe: '数据驱动服务效率提升}]
portalInfo项目基本信息object{logo: '', portalName: 'df'}{}

Contributors

王增彬 📧 775905727@qq.com

0.0.65

5 years ago

0.0.64

5 years ago

0.0.63

5 years ago

0.0.62

5 years ago

0.0.61

5 years ago

0.0.60

5 years ago

0.0.59

5 years ago

0.0.58

5 years ago

0.0.57

5 years ago

0.0.56

5 years ago

0.0.55

5 years ago

0.0.54

5 years ago

0.0.53

5 years ago

0.0.52

5 years ago

0.0.51

5 years ago

0.0.50

5 years ago

0.0.49

5 years ago

0.0.48

5 years ago

0.0.47

5 years ago

0.0.46

5 years ago

0.0.45

5 years ago

0.0.44

5 years ago

0.0.43

5 years ago

0.0.42

5 years ago

0.0.41

5 years ago

0.0.40

5 years ago

0.0.39

5 years ago

0.0.38

5 years ago

0.0.37

5 years ago

0.0.36

5 years ago

0.0.35

5 years ago

0.0.34

5 years ago

0.0.33

5 years ago

0.0.32

5 years ago

0.0.31

5 years ago

0.0.30

5 years ago

0.0.29

5 years ago

0.0.28

5 years ago

0.0.27

5 years ago

0.0.26

5 years ago

0.0.25

5 years ago

0.0.24

5 years ago

0.0.23

5 years ago

0.0.22

5 years ago

0.0.21

6 years ago

0.0.20

6 years ago

0.0.19

6 years ago

0.0.18

6 years ago

0.0.17

6 years ago

0.0.16

6 years ago

0.0.15

6 years ago

0.0.14

6 years ago

0.0.13

6 years ago

0.0.12

6 years ago

0.0.11

6 years ago

0.0.10

6 years ago

0.0.9

6 years ago

0.0.8

6 years ago

0.0.7

6 years ago

0.0.6

6 years ago

0.0.5

6 years ago

0.0.4

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago