安装 安装openlayers安装指定包安装openlayersVUE中的地图import ol from "openlayers";import "openlayers/dist/ol.css"; cnpm install openlayers --save 安装jquery cnpm insta ...
分类:
Web程序 时间:
2019-05-23 19:36:40
阅读次数:
579
1.创建新项目 2.创建home news newscontent 组件 3.找到app-rounting-moudle.ts配置路由 1)引入组件 2)配置路由 4. 找到 app.component.html 根组件模板,配置 router-outlet 显示动态加载的路由 Angular ro ...
分类:
其他好文 时间:
2019-05-23 16:08:18
阅读次数:
268
1.配置动态路由 const routes: Routes = [ {path: 'home', component: HomeComponent}, {path: 'news', component: NewsComponent}, {path: 'newscontent/:id', compon ...
分类:
其他好文 时间:
2019-05-23 16:06:04
阅读次数:
137
<!DOCTYPE html> <html lang="zh-CN"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content= ...
分类:
其他好文 时间:
2019-05-22 22:14:39
阅读次数:
120
style(为了让与按钮同行的文字垂直居中) 因为我发现,按钮的高度为34px,所以,将与其同行的文字的行高改成34px,就可以让文字垂直居中 ...
分类:
其他好文 时间:
2019-05-22 22:13:33
阅读次数:
113
CacheFactoryProvider 简介 源码里是这么描述的: Factory that constructs {@link $cacheFactory.Cache Cache} objects and gives access to them. 意思就是通过cacheFactory可以构造一 ...
分类:
系统相关 时间:
2019-05-22 21:04:03
阅读次数:
194
什么是Vue.js? + vue.js是一个前端的js的渐进式()框架(个人项目) + 作者:尤雨溪(google实习 阿里任职 weex研究团队(访问原生设备的库) vue.js是属于他的个人项目 ) + 发布时间:2016年10月github关注度: 136K (不代表大陆地区) + Vue.j ...
分类:
Web程序 时间:
2019-05-22 20:56:38
阅读次数:
141
一、表格 bootstrap3.0规定,为任意<table>标签添加.table类样式,才可以为其赋予优化效果。bootstrap为表格添加了 除默认风格外的个性风格。 1.斑马线风格 为表格添加如下样式,为表格添加table-striped样式类,即可实现斑马线风格的表格 效果如图所示: 2.鼠标 ...
分类:
Web程序 时间:
2019-05-22 20:41:37
阅读次数:
153