一:测试设计①,在news组件中有newsa和newsb2个子组件.排版如下所示:②,分别创建出news,newsa,newsb3个组件二:app-routing.module.ts{path:"news",component:NewsComponent,children:[{path:"newsa",component:NewsaComponent},{path:"newsb",componen
分类:
其他好文 时间:
2019-06-09 16:57:23
阅读次数:
117
d-flex功能强大,可以实现响应式布局 flex-grow-1 用于设置子元素使用剩下的空间。 但实际运用中存在兼容问题及无法正常的分配宽度问题,现整理解决方法如下: 无法显示设置的宽度: 现象如图: 解决方法,把flex-grow-1的宽度设置为0px,代码如下: 显示效果如下图: 这种方式也解 ...
分类:
其他好文 时间:
2019-06-09 14:33:56
阅读次数:
154
1、如linux下已有python2.7,但需要更新一下python 2.7至python2.x 2、部署步骤 Installation of Cmake:(it tooks a while to install ~1.5 min) pip installation 通过手动编译dlib的方式进行安 ...
分类:
系统相关 时间:
2019-06-09 10:01:57
阅读次数:
178
1. 首先编译 b2.exe 很简单,bootstrap.bat文件里写的明白。 2. b2的命令行参数很多,文档到官网找 若编译boost.python可能要修改project-config.jam 3. 我的编译指令 b2 --build-dir=gccbuild --with-python - ...
分类:
编程语言 时间:
2019-06-06 23:09:26
阅读次数:
245
1、E:\html\tproject\framebota\platform\bootstrap.php 2、E:\html\tproject\framebota\platform\classes\Task\Flight\Airport.php 'foo' => 'bar', 'bar' => NUL ...
分类:
其他好文 时间:
2019-06-06 19:11:14
阅读次数:
86
1.pip install kafka-python 2.Producer.py from kafka import KafkaProducer producer = KafkaProducer(bootstrap_servers='10.32.106.42:9092') for _ in rang... ...
分类:
其他好文 时间:
2019-06-06 16:10:43
阅读次数:
107
安装JAVA和Tomcatapache-tomcat-8.5.37.tar.gz jdk-8u191-linux-x64.rpm [root@localhost ~]# ll /usr/java/total 0lrwxrwxrwx. 1 root root 16 Jan 14 16:41 defau ...
分类:
编程语言 时间:
2019-06-06 09:17:49
阅读次数:
107
import { FormBuilder } from '@angular/forms'; form; constructor(private fb: FormBuilder) { this.form = fb.group({ Name: '', Account: '', Password: '' ... ...
分类:
其他好文 时间:
2019-06-05 20:09:48
阅读次数:
143
一.Bootstrap简介: Bootstrap 是最受欢迎的 HTML、CSS 和 JS 框架,用于开发响应式布局、移动设备优先的 WEB 项目。 详细参考内容:Bootstrap_v3 二.Bootstrap安装:下载地址:https://v3.bootcss.com/(使用v3版,不要使用最新 ...
分类:
Web程序 时间:
2019-06-05 19:51:18
阅读次数:
139
<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <title>daterangerpicker小demo</title> <link rel="stylesheet" href="css/bootstrap.min.css"> ...
分类:
其他好文 时间:
2019-06-05 10:01:33
阅读次数:
97