From f9e8c70a0d863c752f4558b0f0b0de8179a575d9 Mon Sep 17 00:00:00 2001 From: Junjie <fallin.jie@qq.com> Date: 星期六, 09 九月 2023 09:39:33 +0800 Subject: [PATCH] # --- src/main/webapp/views/home/map_edit.html | 92 ++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 92 insertions(+), 0 deletions(-) diff --git a/src/main/webapp/views/home/map_edit.html b/src/main/webapp/views/home/map_edit.html index d5497b3..d042949 100644 --- a/src/main/webapp/views/home/map_edit.html +++ b/src/main/webapp/views/home/map_edit.html @@ -81,6 +81,10 @@ 鍏呯數妗╋細 <div class="pointBox chargeStation"></div> </div> + <div> + 闅愯棌鏄剧ず锛� + <div class="pointBox pointBoxStart"></div> + </div> </div> <div> <div>璧风偣锛�<input type="text" v-model="startPosition"></div> @@ -130,6 +134,7 @@ <div @click="map[mapI][mapJ].value = 3" class="pointBox pointBoxGreen"></div> <div @click="map[mapI][mapJ].value = 4" class="pointBox pointBoxStation"></div> <div @click="map[mapI][mapJ].value = 5" class="pointBox chargeStation"></div> + <div @click="map[mapI][mapJ].value = 10" class="pointBox pointBoxStart"></div> </div> </div> <div> @@ -229,6 +234,93 @@ }) continue } + + if(j == 2 || j==5 || j==8 || j==11 || j==13 || j==16 || j== 18 || j== 21 || j== 24 || j== 27 || j== 29 || j== 32 || + j== 35 || j== 38 || j== 41 || j== 44 || j== 47 || j== 50){ + x.push({ + value: -1, + data: '', + top: 1000, + bottom: 1000, + left: 1000, + right: 1000, + x: i, + y: j + }) + continue + } + if(i==25 || i==58){ + x.push({ + value: -1, + data: '', + top: 1000, + bottom: 1000, + left: 1000, + right: 1000, + x: i, + y: j + }) + continue + } + + if((j == 1 || j==3) && i <= 24){ + x.push({ + value: -1, + data: '', + top: 1000, + bottom: 1000, + left: 1000, + right: 1000, + x: i, + y: j + }) + continue + } + + if(j == 4 && i <= 10){ + x.push({ + value: -1, + data: '', + top: 1000, + bottom: 1000, + left: 1000, + right: 1000, + x: i, + y: j + }) + continue + } + + if((j==40 || j== 42) && i <= 37){ + x.push({ + value: -1, + data: '', + top: 1000, + bottom: 1000, + left: 1000, + right: 1000, + x: i, + y: j + }) + continue + } + + if( j >= 43 && i <= 58){ + x.push({ + value: -1, + data: '', + top: 1000, + bottom: 1000, + left: 1000, + right: 1000, + x: i, + y: j + }) + continue + } + + + // x.push(0) x.push({ value: 0, -- Gitblit v1.9.1