4140a1b0
Andy
add 官网移植
|
1
2
|
<template>
<div>
|
36fce773
Andy
add 新闻中心请求后端动态显示 ...
|
3
4
5
6
7
8
9
|
<div class="index_cont" v-show="see">
<div class="banner">
<div class="ban-tit"></div>
</div>
<div class="berth">
<h1 class="title">泊位分布</h1>
<div class="map" id="map"></div>
|
54ee46e1
Andy
add 官网首页地图 驾车路线规划...
|
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
<!--路线规划-->
<div class="routebox">
<div class="searchbox-content-common routebox-content">
<div class="routebox-inputs">
<div class="routebox-input route-start">
<div class="route-input-icon"></div>
<input autocomplete="off" id="startAddress" maxlength="256" placeholder="输入起点" class="route-start-input" type="text" value="">
</div>
<div class="routebox-input route-end">
<div class="route-input-icon"></div>
<input autocomplete="off" id="endAddress" maxlength="256" placeholder="输入终点" class="route-end-input" type="text" value="">
</div>
</div>
</div>
</div>
<button id="search-button" data-title="搜索" @click='searchByStationName1()'></button>
|
36fce773
Andy
add 新闻中心请求后端动态显示 ...
|
26
27
28
29
30
31
32
33
34
35
36
37
|
<div class="berth-num">
<p>区域泊位规划</p>
<ul class="berth-list">
<li v-for="(result,id) in resultMap" :key="id" >
<span class="fl">{{result.areaName}}</span>
<span class="fr">{{result.berthNum}}</span>
</li>
</ul>
</div>
</div>
<div class="news-wrap">
|
54ee46e1
Andy
add 官网首页地图 驾车路线规划...
|
38
|
<h1 class="title">新闻公告中心</h1>
|
36fce773
Andy
add 新闻中心请求后端动态显示 ...
|
39
40
41
42
43
|
<div class="fl news-bg"></div>
<ul class="fl news-con">
<li class="clearfix" v-for="(news,id) in newsList" :key="id" @click="showNews(news.noticeId)">
<span class="ITD-hidden-nowrap ITD-common-color070">{{news.noticeTitle}}</span>
<span class="ITD-common-color050">{{news.effDate | string2Date(1)}}</span>
|
4140a1b0
Andy
add 官网移植
|
44
45
|
</li>
</ul>
|
36fce773
Andy
add 新闻中心请求后端动态显示 ...
|
46
47
48
49
50
51
52
53
54
55
|
<!--分页器-->
<i-pagination
:total="pageTotal"
:page="currentPage"
:limit="pageSize"
:layout="'total, prev, pager, next'"
:page-sizes="pageSizeS"
:hidden="false"
@pagination="handleSizeChange"
/>
|
4140a1b0
Andy
add 官网移植
|
56
57
|
</div>
</div>
|
36fce773
Andy
add 新闻中心请求后端动态显示 ...
|
58
59
|
<div class="news_cont" v-if="!see">
<div class="returnLastbtn" @click="backIndex()">返回</div>
|
b80e92e9
Andy
add 黄石官网新闻详情优化
|
60
|
<div v-html="newscontent" id="news-content" class="news-content"></div>
|
4140a1b0
Andy
add 官网移植
|
61
62
63
64
65
|
</div>
</div>
</template>
<script>
|
54ee46e1
Andy
add 官网首页地图 驾车路线规划...
|
66
|
var map;
|
36fce773
Andy
add 新闻中心请求后端动态显示 ...
|
67
68
69
70
|
import {queryParkLotInfoByOrgId,queryNoticeForPage,queryNotice} from '@/api/park';
import pagination from '@/components/Pagination/index.vue'
import {string2Date} from '@/filters/index';
import parkIco from '../assets/home/parkIco.png'; //以import的方式导入图片文件
|
4140a1b0
Andy
add 官网移植
|
71
72
|
export default {
name: 'home',
|
36fce773
Andy
add 新闻中心请求后端动态显示 ...
|
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
|
components: {
'i-pagination': pagination,
// timeOneFormatter,
},
data() {
return {
parkList: [],
resultMap: [],
newsList: [],
//新闻详情开关
see:true,
/** 分页*/
currentPage: 1,
pageSize: 7,
pageSizeS: [8, 16],
pageTotal: 0,
|
54ee46e1
Andy
add 官网首页地图 驾车路线规划...
|
89
90
91
92
|
from: null,
to: null,
address_detail: null, //详细地址
userlocation: {lng: "", lat: ""},
|
36fce773
Andy
add 新闻中心请求后端动态显示 ...
|
93
94
|
//新闻详情
newscontent:'',
|
54ee46e1
Andy
add 官网首页地图 驾车路线规划...
|
95
|
|
36fce773
Andy
add 新闻中心请求后端动态显示 ...
|
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
|
}
},
computed: {
/* hsgtotalSumAll() {
let hsgtotalSumAll = 0;
this.parkList.map((item) => {
if (item.plCountryName === '黄石港区') {
hsgtotalSumAll += item.plBerthNum;
}
});
return hsgtotalSumAll;
},*/
},
created() {
queryParkLotInfoByOrgId({
sysCode: '1001',
orgId: '10079',
plBusiType:'3',
}).then((response) => {
const mapDatas = response.data;
this.parkList = mapDatas;
this.baiduMap(mapDatas);
this.getAreaData(mapDatas);
})
},
|
4140a1b0
Andy
add 官网移植
|
124
|
mounted() {
|
36fce773
Andy
add 新闻中心请求后端动态显示 ...
|
125
|
this.getNoticeForPage();
|
2ed00cc9
Andy
首页 banner 更换icon ...
|
126
|
},
|
36fce773
Andy
add 新闻中心请求后端动态显示 ...
|
127
128
129
130
131
132
133
|
methods: {
//泊位分布 list 区间---泊位数
getAreaData(arrayData) {
let berthMap = {};
let areaMap = {};
if (arrayData === null || arrayData === undefined || arrayData.length === 0) {
return resultMap;
|
2ed00cc9
Andy
首页 banner 更换icon ...
|
134
|
}
|
36fce773
Andy
add 新闻中心请求后端动态显示 ...
|
135
136
137
138
139
140
141
142
143
144
|
arrayData.forEach((item,index)=>{
let plBerthNum = item.plBerthNum;
if(plBerthNum === undefined || plBerthNum === null){
plBerthNum = 0;
}
if(areaMap[item.plCountryId] === null || areaMap[item.plCountryId] === undefined){
areaMap[item.plCountryId] = item.plCountryName;
}
if(berthMap[item.plCountryId] === null || berthMap[item.plCountryId] === undefined){
berthMap[item.plCountryId] =plBerthNum;
|
2ed00cc9
Andy
首页 banner 更换icon ...
|
145
|
}else{
|
36fce773
Andy
add 新闻中心请求后端动态显示 ...
|
146
|
berthMap[item.plCountryId] = berthMap[item.plCountryId]+plBerthNum;
|
2ed00cc9
Andy
首页 banner 更换icon ...
|
147
|
}
|
2ed00cc9
Andy
首页 banner 更换icon ...
|
148
|
});
|
36fce773
Andy
add 新闻中心请求后端动态显示 ...
|
149
150
151
152
153
154
155
156
157
158
159
|
for(let berthId in berthMap){
this.resultMap.push({
areaName:areaMap[berthId],
berthNum:berthMap[berthId]
})
}
},
//泊位分布 地图展示
baiduMap(mapDatas) {
if (mapDatas.length === 0) {
// 百度地图API功能
|
54ee46e1
Andy
add 官网首页地图 驾车路线规划...
|
160
|
map = new BMap.Map("map", {enableMapClick: false});
|
36fce773
Andy
add 新闻中心请求后端动态显示 ...
|
161
162
163
|
let point = new BMap.Point(115.078186, 30.232887);
map.centerAndZoom(point, 15);
map.enableScrollWheelZoom(true); //开启鼠标滚轮缩放
|
54ee46e1
Andy
add 官网首页地图 驾车路线规划...
|
164
|
// let top_left_control = new BMap.ScaleControl({anchor: BMAP_ANCHOR_TOP_LEFT});// 左上角,添加比例尺
|
36fce773
Andy
add 新闻中心请求后端动态显示 ...
|
165
166
167
168
169
|
let top_left_navigation = new BMap.NavigationControl(); //左上角,添加默认缩放平移控件
let top_right_navigation = new BMap.NavigationControl({
anchor: BMAP_ANCHOR_TOP_RIGHT,
type: BMAP_NAVIGATION_CONTROL_SMALL
}); //右上角,仅包含平移和缩放按钮
|
54ee46e1
Andy
add 官网首页地图 驾车路线规划...
|
170
|
// map.addControl(top_left_control);
|
36fce773
Andy
add 新闻中心请求后端动态显示 ...
|
171
|
map.addControl(top_left_navigation);
|
54ee46e1
Andy
add 官网首页地图 驾车路线规划...
|
172
173
174
175
176
177
178
179
180
181
|
// map.addControl(top_right_navigation);
const ctrl = new BMapLib.TrafficControl({
showPanel: true , // 是否显示路况提示面板
});
map.addControl(ctrl);
ctrl.showTraffic({ predictDate: { hour: 15, weekday: 5 } });
ctrl.setAnchor(BMAP_ANCHOR_TOP_LEFT);
ctrl.setOffset(new BMap.Size(85, 27));
var localSearch = new BMap.LocalSearch(map);
localSearch.enableAutoViewport(); //允许自动调节窗体大小
|
36fce773
Andy
add 新闻中心请求后端动态显示 ...
|
182
183
184
|
map.clearOverlays();
}
else {
|
54ee46e1
Andy
add 官网首页地图 驾车路线规划...
|
185
|
var th = this;
|
36fce773
Andy
add 新闻中心请求后端动态显示 ...
|
186
|
// 百度地图API功能
|
54ee46e1
Andy
add 官网首页地图 驾车路线规划...
|
187
|
map = new BMap.Map("map", {enableMapClick: false});
|
36fce773
Andy
add 新闻中心请求后端动态显示 ...
|
188
189
190
|
let point = new BMap.Point(mapDatas[0].lonId, mapDatas[0].latId);
map.centerAndZoom(point, 18);
map.enableScrollWheelZoom(true); //开启鼠标滚轮缩放
|
54ee46e1
Andy
add 官网首页地图 驾车路线规划...
|
191
|
// let top_left_control = new BMap.ScaleControl({anchor: BMAP_ANCHOR_TOP_LEFT});// 左上角,添加比例尺
|
36fce773
Andy
add 新闻中心请求后端动态显示 ...
|
192
193
194
195
196
|
let top_left_navigation = new BMap.NavigationControl(); //左上角,添加默认缩放平移控件
let top_right_navigation = new BMap.NavigationControl({
anchor: BMAP_ANCHOR_TOP_RIGHT,
type: BMAP_NAVIGATION_CONTROL_SMALL
}); //右上角,仅包含平移和缩放按钮
|
54ee46e1
Andy
add 官网首页地图 驾车路线规划...
|
197
|
// map.addControl(top_left_control);
|
36fce773
Andy
add 新闻中心请求后端动态显示 ...
|
198
|
map.addControl(top_left_navigation);
|
54ee46e1
Andy
add 官网首页地图 驾车路线规划...
|
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
|
const ctrl = new BMapLib.TrafficControl({
showPanel: true , // 是否显示路况提示面板
});
map.addControl(ctrl);
ctrl.showTraffic({ predictDate: { hour: 15, weekday: 5 } });
ctrl.setAnchor(BMAP_ANCHOR_TOP_LEFT);
ctrl.setOffset(new BMap.Size(85, 27));
var localSearch = new BMap.LocalSearch(map);
localSearch.enableAutoViewport(); //允许自动调节窗体大小
//起点自动搜索功能
var ac1 = new BMap.Autocomplete( //建立一个自动完成的对象
{
"input": "startAddress","location": map
})
var myValue;
ac1.addEventListener("onconfirm", function (e) { //鼠标点击下拉列表后的事件
var _value = e.item.value;
myValue = _value.province + _value.city + _value.district + _value.street + _value.business;
this.address_detail = myValue
setPlace();
});
function setPlace() {
map.clearOverlays(); //清除地图上所有覆盖物
function myFun() {
th.userlocation = local.getResults().getPoi(0).point; //获取第一个智能搜索的结果
map.centerAndZoom(th.userlocation, 18);
map.addOverlay(new BMap.Marker(th.userlocation)); //添加标注
}
var local = new BMap.LocalSearch(map, { //智能搜索
onSearchComplete: myFun
});
local.search(myValue);
};
//终点自动搜索功能
var ac2 = new BMap.Autocomplete( //建立一个自动完成的对象
{
"input": "endAddress","location": map
})
var myValue1;
ac2.addEventListener("onconfirm", function (e) { //鼠标点击下拉列表后的事件
var _value = e.item.value;
myValue1 = _value.province + _value.city + _value.district + _value.street + _value.business;
this.address_detail = myValue1
setPlace1();
});
function setPlace1() {
map.clearOverlays(); //清除地图上所有覆盖物
function myFun1() {
th.userlocation = local.getResults().getPoi(0).point; //获取第一个智能搜索的结果
map.centerAndZoom(th.userlocation, 18);
map.addOverlay(new BMap.Marker(th.userlocation)); //添加标注
}
var local = new BMap.LocalSearch(map, { //智能搜索
onSearchComplete: myFun1
});
local.search(myValue);
}
|
36fce773
Andy
add 新闻中心请求后端动态显示 ...
|
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
|
map.clearOverlays();
let i = 0;
let points = [];
/* data.reduce((acc, character) => {
return character.name === '黄石港区' ? acc += character.num : acc
}, 0)*/
for (let item in mapDatas) {
(function (x) {
let itemthat = item;
//创建标注
let pt = new BMap.Point(mapDatas[item].lonId, mapDatas[item].latId);
points[i] = pt;
let myIcon = new BMap.Icon(parkIco,
new BMap.Size(29, 40), {
offset: new BMap.Size(10, 40),
textColor: '#fff'
});
let marker = new BMap.Marker(pt, {icon: myIcon});
// marker.setTop(true,27000000);
map.addOverlay(marker);
let myLabel;
marker.addEventListener("mouseover", (e) => {
map.removeOverlay(myLabel);
let that = this;
myLabel = new BMap.Label(
`<div class="dislog-wrap" title="${mapDatas[itemthat].plName}">${mapDatas[itemthat].plName}</div>`,
{
offset: new BMap.Size(40, 0), //label的偏移量,为了让label的中心显示在点上
position: pt
});
myLabel.setStyle({
color: "#fff",
fontSize: "14px",
//
whiteSpace: "nowrap",
height: "24px",
width: "auto",
textAlign: "center",
lineHeight: "24px",
padding: "0 8px",
border: "0",
backgroundColor: "#ff8600",
borderRadius: "10px",
zIndex: "1000"
}
);
marker.setLabel(myLabel)
marker.setTop(true, 27000000);
});
marker.addEventListener("mouseout", function (e) {
map.removeOverlay(myLabel);
});
i++;
})(i);
}
}
},
|
54ee46e1
Andy
add 官网首页地图 驾车路线规划...
|
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
|
searchByStationName1: function () {
var _this = this;
var startAddrr = document.getElementById("startAddress").value;//获得起点地名
var localSearch = new BMap.LocalSearch(map);
localSearch.setSearchCompleteCallback(function (searchResult) {
var poi = searchResult.getPoi(0);//获得起点经纬度坐标
if (poi != null) { //判断地名是否存在
console.log('from poi', poi);
_this.from = poi.point;
console.log('from', _this.from);
_this.searchByStationName2();
}
else{
alert("请输入正确的地名!")
}
});
localSearch.search(startAddrr);
},
searchByStationName2: function () {
var _this = this;
var endAddrr = document.getElementById("endAddress").value; //获得目的地地名
var localSearch = new BMap.LocalSearch(map);
localSearch.setSearchCompleteCallback(function (searchResult) {
var poi = searchResult.getPoi(0); //获得目的地经纬度坐标
if (poi != null) { //判断目的地是否存在
_this.to = poi.point;
_this.run();
}
else{
alert("请输入正确的地名!")
}
});
localSearch.search(endAddrr);
},
run: function () {
map.clearOverlays() // 清除地图上所有的覆盖物
var driving = new BMap.DrivingRoute(map) // 创建驾车实例
driving.search(this.from, this.to) // 搜索
let that = this;
driving.setSearchCompleteCallback(function () {
console.log('completeCallback start!');
var pts = driving.getResults().getPlan(0).getRoute(0).getPath() // 通过步行实例,获得一系列点的数组
var polyline = new BMap.Polyline(pts);
map.addOverlay(polyline);
console.log('pollyline!', polyline);
var m1 = new BMap.Marker(that.from); // 创建2个marker
var m2 = new BMap.Marker(that.to);
map.addOverlay(m1)
map.addOverlay(m2)
var lab1 = new BMap.Label('起点', {position: that.from}) // 创建2个label
var lab2 = new BMap.Label('终点', {position: that.to})
map.addOverlay(lab1)
map.addOverlay(lab2)
console.log('setTimeout!');
setTimeout(function () {
map.setViewport([that.from, that.to]) // 调整到最佳视野
}, 1000)
})
},
|
36fce773
Andy
add 新闻中心请求后端动态显示 ...
|
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
|
//新闻中心
getNoticeForPage(){
let req={
baseRequest:{
pageNum:this.currentPage,
pageSize:this.pageSize
},
sysCode: '1001',
noticeBigTypes: [100,200],
orgIds: [10079],
};
queryNoticeForPage(req).then((response) => {
this.pageTotal = response.data.total;
this.newsList = response.data.rows;
console.log(this.newsList)
})
},
// 获取子组件页码方法
handleSizeChange: function(pages) {
this.currentPage = pages.page;
this.pageSize = pages.limit;
this.getNoticeForPage();
},
//新闻详情
showNews (showNews) {
let noticeId=showNews;
queryNotice({
sysCode: '1001',
orgId: '10079',
noticeId:noticeId,
}).then((response) => {
scrollTo(0, 800);
this.see = false;
this.newscontent = response.data.noticeContent;
})
},
//返回首页
backIndex:function () {
this.see = true;
},
|
4140a1b0
Andy
add 官网移植
|
422
423
424
425
|
}
}
</script>
|
36fce773
Andy
add 新闻中心请求后端动态显示 ...
|
426
427
|
<style lang="scss">
.index_cont .banner {
|
4fc45339
Andy
首页 banner 更换icon ...
|
428
|
background: url("../assets/home/hs_bannerico.jpg") no-repeat center center;
|
4140a1b0
Andy
add 官网移植
|
429
|
background-size: 100% 100%;
|
4fc45339
Andy
首页 banner 更换icon ...
|
430
|
padding-top: 108px;
|
36fce773
Andy
add 新闻中心请求后端动态显示 ...
|
431
|
.ban-tit {
|
4fc45339
Andy
首页 banner 更换icon ...
|
432
433
|
height: 80px;
width: 776px;
|
9c02a6cd
Andy
首页 banner 更换icon ...
|
434
|
background: url("../assets/home/hs_banner_msg.png") no-repeat center center;
|
4fc45339
Andy
首页 banner 更换icon ...
|
435
436
437
438
|
background-size: 100% 100%;
margin: 0 auto;
/*margin-top: 108px;*/
}
|
4140a1b0
Andy
add 官网移植
|
439
440
|
}
|
36fce773
Andy
add 新闻中心请求后端动态显示 ...
|
441
|
.index_cont .berth {
|
4140a1b0
Andy
add 官网移植
|
442
443
444
445
446
447
|
width: 1200px;
height: 823px;
padding: 50px 0;
position: relative;
margin: 0 auto;
}
|
36fce773
Andy
add 新闻中心请求后端动态显示 ...
|
448
449
|
.index_cont .map {
|
4140a1b0
Andy
add 官网移植
|
450
451
452
453
|
width: 1200px;
height: 600px;
}
|
36fce773
Andy
add 新闻中心请求后端动态显示 ...
|
454
|
.index_cont .berth-num {
|
4140a1b0
Andy
add 官网移植
|
455
456
457
|
width: 323px;
height: 368px;
position: absolute;
|
54ee46e1
Andy
add 官网首页地图 驾车路线规划...
|
458
459
|
bottom: 70px;
left: 8px;
|
4140a1b0
Andy
add 官网移植
|
460
|
background: url("../assets/home/berth.png") no-repeat;
|
36fce773
Andy
add 新闻中心请求后端动态显示 ...
|
461
|
p {
|
4140a1b0
Andy
add 官网移植
|
462
463
464
465
|
padding-top: 20px;
font-size: 20px;
}
}
|
36fce773
Andy
add 新闻中心请求后端动态显示 ...
|
466
467
|
.index_cont .berth-list {
|
4140a1b0
Andy
add 官网移植
|
468
|
margin-top: 50px;
|
36fce773
Andy
add 新闻中心请求后端动态显示 ...
|
469
|
li {
|
4140a1b0
Andy
add 官网移植
|
470
471
472
473
474
475
476
477
478
|
height: 21px;
line-height: 21px;
font-size: 16px;
color: #314659;
padding: 0 40px 30px 60px;
background: url("../assets/home/berth-list.png") no-repeat 30px 0;
margin-bottom: 15px;
}
}
|
36fce773
Andy
add 新闻中心请求后端动态显示 ...
|
479
480
|
.index_cont .news-wrap {
|
4140a1b0
Andy
add 官网移植
|
481
482
483
484
485
|
width: 1200px;
margin: 0 auto;
padding: 50px 0;
overflow: hidden;
}
|
36fce773
Andy
add 新闻中心请求后端动态显示 ...
|
486
487
|
.index_cont .title {
|
4140a1b0
Andy
add 官网移植
|
488
|
padding-bottom: 50px;
|
36fce773
Andy
add 新闻中心请求后端动态显示 ...
|
489
490
491
492
493
|
font-size: 38px;
font-family: PingFangSC-Semibold;
font-weight: 600;
color: rgba(49, 70, 89, 1);
line-height: 46px;
|
4140a1b0
Andy
add 官网移植
|
494
|
}
|
36fce773
Andy
add 新闻中心请求后端动态显示 ...
|
495
496
497
498
|
.index_cont .news-bg {
width: 589px;
height: 341px;
|
4140a1b0
Andy
add 官网移植
|
499
|
margin-right: 45px;
|
36fce773
Andy
add 新闻中心请求后端动态显示 ...
|
500
|
background: url("../assets/home/newsBg.png") no-repeat;
|
4140a1b0
Andy
add 官网移植
|
501
502
|
}
|
36fce773
Andy
add 新闻中心请求后端动态显示 ...
|
503
|
.index_cont .news-con {
|
4140a1b0
Andy
add 官网移植
|
504
|
width: 535px;
|
36fce773
Andy
add 新闻中心请求后端动态显示 ...
|
505
|
height: 301px;
|
4140a1b0
Andy
add 官网移植
|
506
507
|
}
|
36fce773
Andy
add 新闻中心请求后端动态显示 ...
|
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
|
.index_cont .news-con > li {
cursor: pointer;
/*padding: 5px 0;*/
font-size: 16px;
color: #000;
height: 30px;
line-height: 30px;
border-bottom: 1px solid rgba(216, 216, 216, 1);
span:first-of-type{
float: left;
width: calc(100% - 80px);
display: inline-block;
vertical-align: middle;
font-size: 16px;
text-align: left;
}
span:nth-of-type(2){
font-size: 14px;
color: rgba(0,0,0,0.5);
float: right;
text-align: justify;
|
4140a1b0
Andy
add 官网移植
|
529
530
|
}
}
|
54ee46e1
Andy
add 官网首页地图 驾车路线规划...
|
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
|
#tcWrap .maplibTcColor{
height: 15px;
}
/*路线规划*/
.routebox {
-webkit-transition: max-height 1s ease-in;
transition: max-height 1s ease-in;
overflow: hidden;
position: absolute;
top: 160px;
right: 87px;
width: 289px;
height: 80px;
}
.routebox .routebox-content {
height: auto!important;
|
4140a1b0
Andy
add 官网移植
|
547
|
position: relative;
|
4140a1b0
Andy
add 官网移植
|
548
|
}
|
54ee46e1
Andy
add 官网首页地图 驾车路线规划...
|
549
550
551
552
553
|
.searchbox-content .searchbox-content-common {
box-sizing: border-box;
float: left;
width: 329px;
height: 38px;
|
4140a1b0
Andy
add 官网移植
|
554
|
}
|
54ee46e1
Andy
add 官网首页地图 驾车路线规划...
|
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
|
.routebox .routebox-content .routebox-input {
height: 40px;
width: 289px;
border-bottom: 1px solid #eaebed;
position: relative;
}
.routebox .routebox-content .routebox-input .route-input-icon {
width: 11px;
height: 10px;
background: url(//webmap1.bdimg.com/wolfman/static/common/images/new/start_ee17f81.png) no-repeat 0 0;
position: absolute;
top: 15px;
left: 3px;
}
.routebox .routebox-content .routebox-input input {
box-sizing: border-box;
border: 0;
height: 100%;
|
36fce773
Andy
add 新闻中心请求后端动态显示 ...
|
573
|
width: 100%;
|
54ee46e1
Andy
add 官网首页地图 驾车路线规划...
|
574
|
padding: 10px 0;
|
36fce773
Andy
add 新闻中心请求后端动态显示 ...
|
575
|
font-size: 14px;
|
54ee46e1
Andy
add 官网首页地图 驾车路线规划...
|
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
|
border-left: 20px solid transparent;
border-right: 27px solid transparent;
line-height: 20px;
outline: 0;
font-family: inherit;
}
.routebox .routebox-content .routebox-input {
height: 40px;
width: 289px;
border-bottom: 1px solid #eaebed;
position: relative;
}
.routebox .routebox-content .routebox-input:last-child {
border-bottom: 0;
}
.routebox .routebox-content .routebox-input.route-end .route-input-icon {
background: url(//webmap0.bdimg.com/wolfman/static/common/images/new/end_e68ad9a.png) no-repeat 0 0;
}
#search-button {
pointer-events: auto;
background: url(//webmap1.bdimg.com/wolfman/static/common/images/new/searchbox_5c0d97d.png) no-repeat 0 -76px #3385ff;
width: 57px;
height: 38px;
float: left;
border: 0;
padding: 0;
cursor: pointer;
border-radius: 0 2px 2px 0;
box-shadow: 1px 2px 1px rgba(0,0,0,.15);
outline: 0;
font-family: inherit;
position: absolute;
top: 160px;
right: 30px;
}
|
36fce773
Andy
add 新闻中心请求后端动态显示 ...
|
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
|
/*新闻内容 样式*/
.news_cont h1 {
font-size: 36px !important;
}
.news_cont h1,.news_cont h2,.news_cont h3,.news_cont h4,.news_cont h5,.news_cont h6 {
font-weight: 300 !important;
}
.news_cont h2 {
font-size: 36px !important;
}
.index_cont a {
text-shadow: none !important;
color: #337ab7 !important;
}
.news_cont{
padding: 20px;
}
.news_cont .returnLastbtn{
cursor: pointer;
width: 60px;
height: 24px;
text-align: center;
line-height: 22px;
background: #da2431 !important;
color: #fff !important;
border: 1px solid #da2431 !important;
border-radius: 4px!important;
box-sizing: border-box;
}
.news_cont #title p {
margin: 20px 0 !important;
text-align: center;
}
.news_cont #content p {
margin: 20px 0 !important;
text-align: left;
text-indent: 24px;
line-height:24px;
|
4140a1b0
Andy
add 官网移植
|
649
|
}
|
b80e92e9
Andy
add 黄石官网新闻详情优化
|
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
|
.news-content{
margin-top: 20px;
}
#news-content p{
margin: 20px 0;
text-align: left;
line-height: 20px;
margin-block-end: 1em;
margin-inline-start: 0px;
margin-inline-end: 0px;
}
#news-content a {
text-shadow: none;
color: #337ab7;
}
|
4140a1b0
Andy
add 官网移植
|
665
|
</style>
|