user模块User表 创建user模块 创建User表对应的model:user/models.py 注册user模块,配置User表:dev.py 配置media media配置:dev.py media目录配置 主路由:luffyapi/urls.py 子路由:user/urls.py ...
分类:
其他好文 时间:
2019-11-12 19:49:59
阅读次数:
77
<ulclass="sidebar-menu"data-widget="tree"><liclass="header">导航栏</li><!--Optionally,youcanaddiconstothelinks-->{#<li><ahref="/cmdb/dashboard"><iclass="fafa-dashbo
分类:
其他好文 时间:
2019-11-10 21:19:26
阅读次数:
108
新建一个文件,复制以下内容,保存为reg后缀,编码格式为ANSIWindowsRegistryEditorVersion5.00[HKEY_CLASSES_ROOT\Directory\shell\OpenCmdHere]@="在此处打开命令窗口""Icon"="cmd.exe"[HKEY_CLASSES_ROOT\Directory\s
想在工具里面执行 shell 进行部分命令行交互 基于 微软开源的 xterm.js 和 nodepty https://github.com/microsoft/xterm.js 前端 https://github.com/microsoft/node-pty 后台 index.html 文件 < ...
分类:
Web程序 时间:
2019-11-09 20:12:09
阅读次数:
128
vue项目中,使用svg图标,但是发现,为svg图标绑定click事件时,部分浏览器会出现,点击没有反应的情况,代码如下: <icon name="icon_add" @click="addSubject(scope.$index)"> </icon> 后来发现,在edge内核中只有点击svg边缘部 ...
分类:
其他好文 时间:
2019-11-09 12:07:57
阅读次数:
433
一、参数说明 参数作用 width 选项卡宽度,单位像素 height 选项卡高度 cursor 鼠标停留的样式 padding 外部空间填充,是个最多4个元素的列表 style 设置menubotton的样式 NoteBook方法列表: .add(child, **kw)该child 参数是一个小 ...
分类:
其他好文 时间:
2019-11-09 12:00:37
阅读次数:
348
第一种 字符串拼接 <i className={["iconfont"+" "+item.icon]} ></i> 第二种 有判断条件的 <i className={["iconfont ",isRed ?item.icon :'' ].join('')} ></i> 第三种 使用ES6 模板字符串 ...
分类:
其他好文 时间:
2019-11-09 11:42:09
阅读次数:
109
<template> <div> <cube-button icon="cubeic-right" @click="goNext">Button With Icon</cube-button> </div> </template> <script> export default { methods:... ...
分类:
其他好文 时间:
2019-11-08 17:43:40
阅读次数:
283
mui 底部导航栏 <nav class="mui-bar mui-bar-tab " id="nav"> <a class="mui-tab-item mui-active" id="a1"> <span class="mui-icon mui-icon-home"></span> <span c ...
分类:
其他好文 时间:
2019-11-08 12:06:56
阅读次数:
266
1==》控制字体图标的大小用 font-size:16px; <i class="el-icon-arrow-left right-show-aside-icon"></i> 2==>自己写的卡片布局shadow="never" 没有阴影 用了element-ui 2.4.11 <!-- 卡片 -- ...
分类:
其他好文 时间:
2019-11-07 21:59:04
阅读次数:
69