一、WebApp介绍 1.初始界面 2.搜索结果页面 二、项目代码 1.项目目录 app app.component.ts app.component.css app.component.html app.module.ts 2.app.component.html 3.app.component. ...
分类:
移动开发 时间:
2017-09-28 22:28:16
阅读次数:
317
Angular2中建立路由的4个步骤: 1、路由配置:最好新建一个app.toutes.ts文件(能不能用ng命令新建有待调查) Angular2中路由要解决的是URL与页面的对应关系(比如URL是http://localhost:4200/all-people,那么页面显示的就应该是allPeop ...
分类:
其他好文 时间:
2017-09-27 23:11:01
阅读次数:
1304
下载XDebug扩展 下载对应PHP版本的Xdebug 线程安全(TS)和非线程安全(NTS) 安装Xdebug扩展-php.ini 配置PHPStorm 配置Debug 运行Debug 调试 return 处 Step into F7 跳进去 相关阅读 为PHPStorm配置Xdebug调试环境 ...
分类:
Web程序 时间:
2017-09-26 15:57:22
阅读次数:
200
var db = new DataEntities2(); var sss = ( from c in db.AIRPORT_HELIPORT from t in db.AIRPORT_HELIPORT_TS from v in db.EX_VERSION where c.AIRPORT_HELIP ...
分类:
其他好文 时间:
2017-09-23 12:33:12
阅读次数:
289
调用无参数的方法 //创建线程对象 传入 委托线程执行的方法 Thread ts = new Thread(CountTimes); //启动线程 执行方法 ts.Start(); //将线程设置为后台线程(当所有的前台线程结束后,后台线程会自动退出) //ts.IsBackground = tru ...
分类:
编程语言 时间:
2017-09-22 13:11:02
阅读次数:
143
滑动平均线,本程序解决了如何在matplotlib中使用中文显示,环境python2.7 最好使用 anaconda 环境使用sns似使得图片更加美观,不多说,上代码 import tushare as ts import pandas as pd import matplotlib.pyplot ...
分类:
其他好文 时间:
2017-09-21 17:58:45
阅读次数:
158
SQL1: --1、查看表空间的名称及大小 SELECT t.tablespace_name, round(SUM(bytes / (1024 * 1024)), 0) ts_size FROM dba_tablespaces t, dba_data_files d WHERE t.tablespa ...
分类:
数据库 时间:
2017-09-20 23:31:05
阅读次数:
423
步骤: 1、去官网下载最新的swiper的js和css 分别在index页面中导入 2.在需要做轮播的页面引入 3.然后我就打开swiper的API文档了,直接copy,初始化一个swiper 当然在angular2中不能这么写,于是变成了这样 在html中 在相关的ts中 emmm.... 本来我 ...
分类:
其他好文 时间:
2017-09-19 14:46:19
阅读次数:
1601
需求:找到了黄马褂的结构:我们新建一个DragonBones项目,用以为上述黄马褂换肤我们对DragonE_view进行修改///<referencepath="./../tools/DragonBoneTools.ts"/>
moduleapp{
exportclassDragonE_Viewextendseui.Componentimplementseui.UIComponent{
privatecom_dragon..
分类:
其他好文 时间:
2017-09-18 10:54:03
阅读次数:
625