防火墙配置 1.查看firewall服务状态 systemctl status firewalld 2.查看firewall的状态 firewall-cmd --state 3.开启、重启、关闭、firewalld.service服务 开启 service firewalld start重启 ser... ...
分类:
其他好文 时间:
2020-01-07 16:36:42
阅读次数:
111
QT 样式表属性大全 Box样式 width:宽度 height:高度 max-width:最大宽度 max-height:最大高度 min-width:最小宽度 min-height:最小高度 margin:边距尺寸 margin-top margin-right margin-bottom ma ...
分类:
其他好文 时间:
2020-01-07 00:28:48
阅读次数:
139
在TabBarItem设计的时候不需要title只要image的时候,如何将image居中显示。 这边用到的是TabBarItem的imageInsets属性: UIEdgeInsets设置偏移量 这边重要的一点是,top和bottom要设置成相反数,不然image的大小会一直改变。 ...
分类:
其他好文 时间:
2020-01-06 21:21:04
阅读次数:
97
css定位 position 相对定位:relative 作用:相对元素原有位置移动指定的距离(相对的自己的原有位置) 可以使用top,left,right,bottom来进行设置。 *注意:其他元素的位置是不改变的。 绝对定位:absolute 作用:可以使用元素参照界面或者相对父元素来进行移动 ...
分类:
Web程序 时间:
2020-01-06 13:11:21
阅读次数:
106
循环输出后台从数据库查询出来的数据,@foreach($data as $v) <div style="border:red 1px solid;height: 100px;margin-bottom: 20px"> <div style="border:black 1px solid;height ...
分类:
其他好文 时间:
2020-01-06 12:32:08
阅读次数:
291
原文:css中如何使用border属性与display属性 border属性介绍# border属性设置元素边框。 边框3个要素如:粗细、线型、颜色。 边框线型属性值说明表如:# 属性指 描述 none 定义无边框。 hidden 与 "none" 相同。不过应用于表时除外,对于表,hidden 用... ...
分类:
Web程序 时间:
2020-01-06 09:19:56
阅读次数:
101
Given a binary tree, return the bottom-up level order traversal of its nodes' values. (ie, from left to right, level by level from leaf to root). For ...
分类:
其他好文 时间:
2020-01-05 10:02:41
阅读次数:
87
Given a binary tree, find the leftmost value in the last row of the tree. Example 1: Input: 2 / \ 1 3 Output: 1 Example 2: Input: 1 / \ 2 3 / / \ 4 5 ...
分类:
其他好文 时间:
2020-01-05 09:54:14
阅读次数:
60
//h5有个小bug 1像素边框过粗,其实有个解决方案,就是利用伪元素:after,结合css3中的scale在y轴方向缩放0.5就行了 //父元素 //删除border-bottom,添加position:relative,伪元素定位用。 - border-bottom:1px solid yel ...
分类:
移动开发 时间:
2020-01-04 20:29:12
阅读次数:
126
.sec-wrap { width: 100%; ">; height: 180rpx; margin-bottom: 50rpx; display: flex; align-items: center; padding: 0rpx 70rpx; margin-left: -100rpx; } .s ...
分类:
微信 时间:
2020-01-04 12:58:01
阅读次数:
153