<!doctype html> <html lang="en"> <head> <meta charset="UTF-8"> <title>checkbox样式</title> <style> .el-checkbox{ display: inline-block; position: relati ...
分类:
其他好文 时间:
2019-11-16 00:15:15
阅读次数:
63
angular介绍: AngularJS [1] 诞生于2009年,由Misko Hevery 等人创建,后为Google所收购。是一款优秀的前端JS框架,已经被用于Google的多款产品当中。AngularJS有着诸多特性,最为核心的是:MVC(Model–view–controller)、模块化 ...
分类:
其他好文 时间:
2019-11-14 00:00:44
阅读次数:
144
1.将多个同类元素分行,每一行有两个或者多个元素,可用li标签实现此 <li> <label for="height">身高</label> <input type="checkbox" name="questionItem" value="8" id="height"> <label for="w ...
分类:
其他好文 时间:
2019-11-13 22:17:24
阅读次数:
85
1、引入分页使用的js、css 2、定义一个分页模块 3、Html页面中加入分页组件 4、前端采用分层开发 ...
分类:
Web程序 时间:
2019-11-13 22:12:02
阅读次数:
70
表单指令 v model 的作用就是form表单中 input 框的value值,变量值会随着你的输入而变化,如果是 checkbox这种点击的东西,那就会直接添加你这个input的value进变量里边去。变量是一个数组。 斗篷指令 因为这个代码会从上往下渲染的,所以最开始根本就不知道你的被Vue控 ...
分类:
其他好文 时间:
2019-11-12 21:44:52
阅读次数:
87
AngularJS 知识点: DataBinding Providers Validators Directives Controllers Modules Expressions Factories Services Filters Dependency Injection Scope Angul ...
分类:
Web程序 时间:
2019-11-12 13:08:58
阅读次数:
110
壹 ? 引 我在前面花了两篇博客分别系统化介绍了angularjs中的directive指令与component组件,当然directive也能实现组件这点毋庸置疑。在了解完两者后,即便我们知道component就像删减版的directive,用法上大同小异,但两者在使用角度仍然存在不少差异,那么本 ...
分类:
Web程序 时间:
2019-11-10 21:07:07
阅读次数:
126
input 和label配合的妙用 1:作为文字隐藏与否的开关; 如下代码:对div里面所包含的文字较多,一开始只展示小部分,当用户点击按钮时,进行全部内容的展示(按钮是以向下隐藏箭头的图片) html代码如下 <input type="checkbox" id="A1" > <div> lesti ...
分类:
其他好文 时间:
2019-11-09 15:45:19
阅读次数:
230
实验代码 学习总结 组件:Component Button 按钮 Label 标签 Checkbox Choice List Scrollbar TextComonent 组件:JComponent JButton 按钮 JLabel 标签 JCheckbox JChoice JList JScro ...
分类:
其他好文 时间:
2019-11-08 22:36:42
阅读次数:
138
先是具体目录:(主要是注意templates和static的位置),其中person文件夹是上一期实战的,不用理会,login是本节实战app 项目urls.py from django.contrib import admin from django.urls import path,includ ...
分类:
其他好文 时间:
2019-11-06 16:42:07
阅读次数:
96