会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
剧里局外
博客园
首页
新随笔
联系
管理
订阅
上一页
1
···
3
4
5
6
7
8
9
10
11
···
13
下一页
2020年3月20日
CSS Float(浮动)
摘要: <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>菜鸟教程(runoob.com)</title> <style> ul { list-style-type: none; margin: 0; padding: 0; /* ove
阅读全文
posted @ 2020-03-20 00:24 剧里局外
阅读(207)
评论(0)
推荐(0)
2020年3月19日
伪类样式选择器
摘要: :nth-last-child(n) p:nth-last-child(2) 选择所有p元素倒数的第二个子元素 :nth-last-of-type(n) p:nth-last-of-type(2) 选择所有p元素倒数的第二个为p的子元素 p:nth-last-child(2) 表示按照全部元素计算,
阅读全文
posted @ 2020-03-19 23:10 剧里局外
阅读(127)
评论(0)
推荐(0)
水平居中对齐和垂直居中
摘要: 原来是设置自己要居中对齐,不是设置外面容器属性 <!DOCTYPE html> <html> <head> <title> 居中对齐 </title> <style> .center { margin: auto; width: 60%; border: 3px solid #73AD21; pad
阅读全文
posted @ 2020-03-19 22:43 剧里局外
阅读(1133)
评论(0)
推荐(0)
html中元素定位问题
摘要: relative 定位 相对定位元素的定位是相对其正常位置。就是原来的位置 下面是正常情况下高度81.91 设置相对定位后高度还是81.91 ,没有变化,但是内容移到上面去了 移动相对定位元素,它原本所占的空间不会改变。 相对定位元素经常被用来作为绝对定位元素的容器块。 absolute 定位 绝对
阅读全文
posted @ 2020-03-19 21:52 剧里局外
阅读(785)
评论(0)
推荐(0)
2020年3月15日
盒子模型 和样式选择器和伪类选择器
摘要: <!DOCTYPE html> <html> <head> <title>CSS3-属性选择器</title> <style> body { margin: 0; padding: 0; font-family: ''; font-family: '微软雅黑'; background-color:
阅读全文
posted @ 2020-03-15 21:56 剧里局外
阅读(233)
评论(0)
推荐(0)
vue简单分屏(1,4,9,16),全屏,还需要调整
摘要: 前端真的调整不好了,先记录一下吧,以后再完善。 <template> <div style="overflow: hidden;"> <el-row type="flex" :gutter="10" justify="center" v-show="!fullscreen"> <el-col :sp
阅读全文
posted @ 2020-03-15 15:51 剧里局外
阅读(5582)
评论(4)
推荐(0)
2020年3月8日
vue 中的Vuex实践
摘要: 建一个文件夹store 在下面新建一个文件inde.jx import Vue from 'vue' import Vuex from 'vuex' Vue.use(Vuex) const state={ //要设置的全局访问的state对象 name: 'beautiful', address:
阅读全文
posted @ 2020-03-08 17:26 剧里局外
阅读(359)
评论(0)
推荐(0)
2020年3月5日
vue 双向绑定子组件改变父组件中的显示值
摘要: 第一种方法 通过调用父组件的方法改变值 子组件 MyDemo.vue <template> <div> <span @click="test">{{title}}</span> </div> </template> <script> export default { name: 'mydemo',
阅读全文
posted @ 2020-03-05 23:19 剧里局外
阅读(976)
评论(0)
推荐(0)
2020年2月2日
什么是贫血什么是充血呢?
摘要: 贫血模型:是指领域对象里只有get和set方法,或者包含少量的CRUD方法,所有的业务逻辑都不包含在内而是放在Business Logic层。 优点是系统的层次结构清楚,各层之间单向依赖,Client->(Business Facade)->Business Logic->Data Access(A
阅读全文
posted @ 2020-02-02 10:06 剧里局外
阅读(334)
评论(0)
推荐(0)
2020年1月14日
Redis 密码、端口、ip绑定配置实践说明
摘要: windows下找到 redis.windows-service.conf 文件 搜索bind 如果 bind 127.0.0.1 就是本地的 127.0.0.1 如果 bind 192.168.1.120 就是绑定局域网IP 如果同时绑定 bind 127.0.0.1 bind 192.168.1
阅读全文
posted @ 2020-01-14 17:10 剧里局外
阅读(2148)
评论(0)
推荐(0)
上一页
1
···
3
4
5
6
7
8
9
10
11
···
13
下一页
公告