2 Star 1 Fork 1

Devil / antdv-admin

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

自己用的后台模版

  • 下载下来后 ,进入目录执行

yarn

启动 yarn start

编译 yarn build

账号 : 182888888888 密码 : 123456

  • 注:

这个只是我自己使用的后台框架,群里有的人说好看才开源的,没有修改很多东西,需要有一定的基础

再次强调,需要有一定的基础!!

因为本人没有系统学习过,所有文件目录方式都是自己看视频学的,和您使用习惯不一样请自己改,不喜勿喷

  • 特定文件目录

 src\components\model   -> model  自己封装的modal层,用于统一风格,相关css请在global.less里面修改
 config\defaultSettings -> config 项目配置文件
 config\router          -> router 动态加载模拟的router文件
  • 修改了很多ant-design-vue pro 的文件,但大多数文件并没有删除,请根据自己需要自己修改

modal的使用教程文件

> 自定义的model弹出层,用于全局定义弹出层样式 >
  • 主要封装了model弹出层,并且统一了model弹出层的风格 model.vue

API

props

参数 说明 类型 是否为必传字段
visiable 控制弹窗变量 Boolean Y
title 弹窗上方字体 String Y
modelWidth 弹窗的宽度 Number String 默认为系统储存方案

弹窗内容用solt的方式进行传入

<!--例如-->
<div slot='content'>
内容
</div>

method

参数 说明 类型 必传
close 关闭弹窗的回调函数 Function Y
submit 点击确定的回调函数 Function Y

使用方式

<template>
  <model
  :visiable="modelVisiable"  
  title='名字'
  @close=''
  @submit=''
  >
    <div slot='content'>
      
    </div>
  </model>
</template>
import { Model } from '@/components'
export default {
  name: 'Agent',
  components: {
    Model
  },
  data:{
    return {
      modelVisiable : false
    }
  }
}
MIT License Copyright (c) 2018 Anan Yang Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

自己用的antdv-admin模版,具备动态加载路由 展开 收起
Vue 等 4 种语言
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
1
https://gitee.com/panghuya/antdv-admin.git
git@gitee.com:panghuya/antdv-admin.git
panghuya
antdv-admin
antdv-admin
master

搜索帮助