Commit 7c348a93245e922d40409c417bcafc7344d0e1e6
1 parent
ccc64bde
忽略
Showing
1 changed file
with
3 additions
and
8 deletions
README.md
| @@ -15,7 +15,7 @@ | @@ -15,7 +15,7 @@ | ||
| 15 | 字典操作全部由前端负责,主要有2种。 | 15 | 字典操作全部由前端负责,主要有2种。 |
| 16 | 16 | ||
| 17 | 1、将字典代码转换为中文 。片段加载完成后,包含 `class="nt-dictionary"` 的标签会被转换,data-group 为所属字典组。 | 17 | 1、将字典代码转换为中文 。片段加载完成后,包含 `class="nt-dictionary"` 的标签会被转换,data-group 为所属字典组。 |
| 18 | -``` javascript | 18 | +``` html |
| 19 | <!-- 原 --> | 19 | <!-- 原 --> |
| 20 | <span class="nt-dictionary" data-group="XianLuXingZhi">GJXL</span> | 20 | <span class="nt-dictionary" data-group="XianLuXingZhi">GJXL</span> |
| 21 | 21 | ||
| @@ -23,7 +23,7 @@ | @@ -23,7 +23,7 @@ | ||
| 23 | <span class="dictionary" data-group="XianLuXingZhi" data-code="GJXL" >过江线路</span> | 23 | <span class="dictionary" data-group="XianLuXingZhi" data-code="GJXL" >过江线路</span> |
| 24 | ``` | 24 | ``` |
| 25 | 2、生成下拉框,当包含`class="nt-dictionary"` 的标签是`select`时。 | 25 | 2、生成下拉框,当包含`class="nt-dictionary"` 的标签是`select`时。 |
| 26 | -``` javascript | 26 | +``` html |
| 27 | <!-- 原 --> | 27 | <!-- 原 --> |
| 28 | <select class="nt-dictionary" data-group="XianLuXingZhi" data-code="GJXL"></select> | 28 | <select class="nt-dictionary" data-group="XianLuXingZhi" data-code="GJXL"></select> |
| 29 | 29 | ||
| @@ -59,9 +59,4 @@ | @@ -59,9 +59,4 @@ | ||
| 59 | | timestamp | long | 时间戳 | | 59 | | timestamp | long | 时间戳 | |
| 60 | | speed | float | 速度| | 60 | | speed | float | 速度| |
| 61 | | direction | float | 方向(角度) | | 61 | | direction | float | 方向(角度) | |
| 62 | -| upDown | int | 上下行(0 上行 , 1 下行 , -1 无效)| | ||
| 63 | - | ||
| 64 | - | ||
| 65 | - | ||
| 66 | - | ||
| 67 | - | 62 | +| upDown | int | 上下行(0 上行 , 1 下行 , -1 无效)| |
| 68 | \ No newline at end of file | 63 | \ No newline at end of file |