|  |  |  | 
|---|
|  |  |  | width: 30px; | 
|---|
|  |  |  | height: 30px; | 
|---|
|  |  |  | margin-right: 1px; | 
|---|
|  |  |  | box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5); | 
|---|
|  |  |  | /*border-radius: 10% / 50%;*/ | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | .pointBoxGreen { | 
|---|
|  |  |  | 
|---|
|  |  |  | 充电桩: | 
|---|
|  |  |  | <div class="pointBox chargeStation"></div> | 
|---|
|  |  |  | </div> | 
|---|
|  |  |  | <div> | 
|---|
|  |  |  | 隐藏显示: | 
|---|
|  |  |  | <div class="pointBox pointBoxStart"></div> | 
|---|
|  |  |  | </div> | 
|---|
|  |  |  | </div> | 
|---|
|  |  |  | <div> | 
|---|
|  |  |  | <div>起点:<input type="text" v-model="startPosition"></div> | 
|---|
|  |  |  | 
|---|
|  |  |  | <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> | 
|---|
|  |  |  | 
|---|
|  |  |  | //  let data2 = [] | 
|---|
|  |  |  | //  item.forEach((val,idx) => { | 
|---|
|  |  |  | //   let valJson = { | 
|---|
|  |  |  | //      value: val, | 
|---|
|  |  |  | //      data: '', | 
|---|
|  |  |  | //      top: '', | 
|---|
|  |  |  | //      bottom: '', | 
|---|
|  |  |  | //      left: '', | 
|---|
|  |  |  | //      right: '' | 
|---|
|  |  |  | //       value: val, | 
|---|
|  |  |  | //       data: '', | 
|---|
|  |  |  | //       top: '', | 
|---|
|  |  |  | //       bottom: '', | 
|---|
|  |  |  | //       left: '', | 
|---|
|  |  |  | //       right: '' | 
|---|
|  |  |  | //   } | 
|---|
|  |  |  | //   data2.push(valJson) | 
|---|
|  |  |  | //  }) | 
|---|