nxd-plugin 1.2.2 → 1.2.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chunks/{component-HighWayEarlyWarningRed-CWoyTkXq.mjs → component-HighWayEarlyWarningRed-y3S7s_i8.mjs} +9 -30
- package/dist/chunks/component-HighWayFreeze-DANmqIr8.mjs +4683 -0
- package/dist/chunks/{component-HighwayLiveAlarm-CBJIbGXM.mjs → component-HighwayLiveAlarm-DaWh8nr1.mjs} +10938 -15467
- package/dist/chunks/component-HighwayLiveAlarmNew-CWQK4TkP.mjs +32795 -0
- package/dist/chunks/{component-HighwayStations-Dx5-m_Rf.mjs → component-HighwayStations-CoQ0Cp0B.mjs} +21 -20
- package/dist/chunks/{component-HighwayWeatherForecast-BpRaa5mE.mjs → component-HighwayWeatherForecast-DSUKt0VP.mjs} +3 -3
- package/dist/chunks/{component-ServiceMaterialsBtn-BE8Evx0c.mjs → component-ServiceMaterialsBtn-a9d7BRVj.mjs} +339 -338
- package/dist/chunks/component-YCHome-CcodiUed.mjs +2295 -0
- package/dist/chunks/{component-YCLogin-BDIhOHgK.mjs → component-YCLogin-1lDBJJ_j.mjs} +8 -8
- package/dist/chunks/component-YCLoginNew-BoWncAq1.mjs +137 -0
- package/dist/components/HighWayEarlyWarningRed/default.json.d.ts +9 -30
- package/dist/components/HighwayLiveAlarmNew/default.json.d.ts +31945 -0
- package/dist/nxd-plugin.mjs +13 -10
- package/dist/src/components/HighWayFreeze/HighWayFreeze.vue.d.ts +6 -0
- package/dist/src/components/HighwayLiveAlarmNew/HighwayLiveAlarmNew.vue.d.ts +98 -0
- package/dist/src/components/YCLoginNew/YCLoginNew.vue.d.ts +4 -0
- package/dist/src/index.d.ts +4 -1
- package/dist/styles/component-HighWayEarlyWarningRed.css +1 -1
- package/dist/styles/component-HighWayFreeze.css +1 -0
- package/dist/styles/component-HighwayLiveAlarm.css +1 -1
- package/dist/styles/component-HighwayLiveAlarmNew.css +1 -0
- package/dist/styles/component-YCLogin.css +1 -1
- package/dist/styles/component-YCLoginNew.css +1 -0
- package/package.json +1 -1
- package/readme.md +27 -3
- package/dist/chunks/component-YCHome-BRESOkRl.mjs +0 -2294
package/package.json
CHANGED
package/readme.md
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
[toc]
|
|
2
|
+
|
|
1
3
|
# 固定参数
|
|
2
4
|
|
|
3
5
|
| 参数 | 类型 | 说明 |
|
|
@@ -11,13 +13,27 @@
|
|
|
11
13
|
| dataInterfaceIsFormData | boolean | 数据接口参数是否为formData |
|
|
12
14
|
| dataInterfaceParams | object | 数据接口参数 |
|
|
13
15
|
|
|
16
|
+
|
|
17
|
+
|
|
14
18
|
# 统一事件
|
|
15
19
|
|
|
16
20
|
```js
|
|
17
|
-
emit('close','组件名(组件最外层的class
|
|
18
|
-
emit('openPagePop', { title:
|
|
21
|
+
emit('close','组件名(组件最外层的class名,一般与组件名报纸一致)') // 关闭组件
|
|
22
|
+
emit('openPagePop', { title:string, url:string }) // 页面iframe弹窗
|
|
23
|
+
emit('toPage', string) // 跳转页面 router.push
|
|
24
|
+
emit('changeTopBarTitle', string) // 改变顶部菜单栏标题
|
|
25
|
+
|
|
26
|
+
// 地图相关 start
|
|
27
|
+
emit('addMarker', { mapMarker:object, removeMarker:string }) // 添加marker
|
|
28
|
+
emit('removeMarker', string) // 移除marker
|
|
29
|
+
emit('addLayers', { layers:object, isRemove:boolean }) // 添加图层
|
|
30
|
+
emit('removeLayers', array) // 移除图层
|
|
31
|
+
emit('changeMapView', object) // 改变视野
|
|
32
|
+
// 地图相关 end
|
|
19
33
|
```
|
|
20
34
|
|
|
35
|
+
|
|
36
|
+
|
|
21
37
|
# 组件列表
|
|
22
38
|
|
|
23
39
|
## 高速公路实况报警
|
|
@@ -29,4 +45,12 @@ HighwayLiveAlarm
|
|
|
29
45
|
```
|
|
30
46
|
|
|
31
47
|
组件截图
|
|
32
|
-
|
|
48
|
+
|
|
49
|
+
<img src="src/assets/img/readme/沿线高速公路实况报警.png" alt="沿线高速公路实况报警" width="300px" style="display:block; margin-left:0; margin-right:auto;" />
|
|
50
|
+
|
|
51
|
+
对外事件
|
|
52
|
+
|
|
53
|
+
- close
|
|
54
|
+
- addMarker
|
|
55
|
+
- addLayers
|
|
56
|
+
- removeLayers
|