上一页 1 ··· 4 5 6 7 8
摘要: <!DOCTYPE html><html> <head> <meta charset="utf-8"> <title>Vue组件基础</title> </head> <body> <div id="app"> <button-counter></button-counter> <!-- 组件的复用 阅读全文
posted @ 2019-04-29 10:12 又又IT 阅读(125) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html><html> <head> <meta charset="utf-8"> <title>Vue复选框的全选</title> </head> <body> <div id="app"> <!-- 全选 --> <input type="checkbox" @click=" 阅读全文
posted @ 2019-04-27 15:53 又又IT 阅读(3080) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html><html> <head> <meta charset="utf-8"> <title>Vue表单绑定(单选按钮,选择框(单选时,多选时)</title> </head> <body> <!-- 单选按钮 --> <div id="app"> <input type=" 阅读全文
posted @ 2019-04-27 10:15 又又IT 阅读(7469) 评论(0) 推荐(0) 编辑
摘要: 文本框 <!DOCTYPE html><html> <head> <meta charset="utf-8"> <title>表单输入绑定</title> </head> <body> <div id='app'> <!-- 文本框 --> <label>姓名是:</label> <input v- 阅读全文
posted @ 2019-04-27 09:49 又又IT 阅读(5150) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html><html> <head> <meta charset="utf-8"> <title>登录方式的切换</title> </head> <body> <div id="app"> <template v-if="loginType 'email'"> <label>邮箱 阅读全文
posted @ 2019-04-27 08:28 又又IT 阅读(1645) 评论(0) 推荐(0) 编辑
摘要: ## IDEA导包(以junit为例) 1. 准备junit的jar包: * hamcrest-core-1.3.jar * junit-4.12.jar 2. 在项目中新建文件夹:lib 3. 将jar包复制进去 4. 打开项目结构设置:File - Project Structure 5. 依次 阅读全文
posted @ 2019-04-26 19:20 又又IT 阅读(2238) 评论(0) 推荐(0) 编辑
摘要: ## 反射相关类 1. Class:类的模板,可以根据Class获取目标类的所有信息。 2. Field:字段/属性。 3. Constructor:构造函数。 4. Method:类中的方法。 ## 获取Class的方式 1. 动态加载 ``` Class clz = Class.forName( 阅读全文
posted @ 2019-04-26 19:20 又又IT 阅读(417) 评论(0) 推荐(0) 编辑
摘要: ## dom4j加载xml文件 ``` // 1. 加载xml文件 InputStream is = MyTest.class.getResourceAsStream("user.xml"); // 2. 载入到dom4j中 SAXReader reader = new SAXReader(); D 阅读全文
posted @ 2019-04-26 19:18 又又IT 阅读(360) 评论(0) 推荐(0) 编辑
摘要: index.html <!DOCTYPE html><html> <head> <meta charset="utf-8"> <title>购物车</title> <link rel="stylesheet" href="index.css" /> </head> <body><div id="ap 阅读全文
posted @ 2019-04-26 19:16 又又IT 阅读(118) 评论(0) 推荐(0) 编辑
摘要: # IDEA基本设置 ## 设置编码格式 1. Configure - Settings - Editor - File Encodings 2. 将三个编码全部设置为UTF-8 ## 启用Ctrl+滑轮缩放代码 1. Configure - Settings - Editor - General 阅读全文
posted @ 2019-04-26 19:12 又又IT 阅读(892) 评论(0) 推荐(0) 编辑
上一页 1 ··· 4 5 6 7 8