|  |  | 
 |  |  |             color: #fff; | 
 |  |  |         } | 
 |  |  |  | 
 |  |  |         /*.pointBox {*/ | 
 |  |  |         /*    background: #bababa;*/ | 
 |  |  |         /*    width: 40px;*/ | 
 |  |  |         /*    height: 40px;*/ | 
 |  |  |         /*    margin-right: 1px;*/ | 
 |  |  |         /*    display: flex;*/ | 
 |  |  |         /*    justify-content: center;*/ | 
 |  |  |         /*    align-items: center;*/ | 
 |  |  |         /*    font-size: 14px;*/ | 
 |  |  |         /*    user-select: none;*/ | 
 |  |  |         /*    color: #fff;*/ | 
 |  |  |         /*    transform: perspective(70px) rotateX(30deg) translateZ(-10px);*/ | 
 |  |  |         /*    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);*/ | 
 |  |  |         /*}*/ | 
 |  |  |  | 
 |  |  |         /*.pointBox {*/ | 
 |  |  |         /*    width: 100px;*/ | 
 |  |  |         /*    height: 100px;*/ | 
 |  |  |         /*    transform-style: preserve-3d;*/ | 
 |  |  |         /*    transform: rotateX(45deg) rotateY(45deg);*/ | 
 |  |  |         /*    box-shadow: -5px 5px 5px rgba(0,0,0,0.5);*/ | 
 |  |  |         /*    background: #e5e5e5;*/ | 
 |  |  |         /*    position: relative;*/ | 
 |  |  |         /*}*/ | 
 |  |  |  | 
 |  |  |         /*.pointBox:before, .cube:after {*/ | 
 |  |  |         /*    content: "";*/ | 
 |  |  |         /*    position: absolute;*/ | 
 |  |  |         /*    top: 0;*/ | 
 |  |  |         /*    left: 0;*/ | 
 |  |  |         /*    right: 0;*/ | 
 |  |  |         /*    bottom: 0;*/ | 
 |  |  |         /*    background: inherit;*/ | 
 |  |  |         /*    box-shadow: inherit;*/ | 
 |  |  |         /*}*/ | 
 |  |  |  | 
 |  |  |         /*!*.pointBox:before {*!*/ | 
 |  |  |         /*!*    transform: rotateY(90deg);*!*/ | 
 |  |  |         /*!*}*!*/ | 
 |  |  |  | 
 |  |  |         /*!*.pointBox:after {*!*/ | 
 |  |  |         /*!*    transform: rotateX(90deg);*!*/ | 
 |  |  |         /*!*}*!*/ | 
 |  |  |  | 
 |  |  |         .pointBox:hover{ | 
 |  |  |             background: #00ff7f; | 
 |  |  |         } | 
 |  |  | 
 |  |  |                     headers: {'token': localStorage.getItem('token')}, | 
 |  |  |                     method: "get", | 
 |  |  |                     success: (data) => { | 
 |  |  |                         console.log("========") | 
 |  |  |                         console.log(data) | 
 |  |  |                         console.log("========") | 
 |  |  |                         that.importDataClick(data) | 
 |  |  |                     } | 
 |  |  |                 }) | 
 |  |  | 
 |  |  |                 this.mapData = JSON.stringify(this.map) | 
 |  |  |             }, | 
 |  |  |             importDataClick(mapData) { | 
 |  |  |                 console.log("========") | 
 |  |  |                 console.log(mapData) | 
 |  |  |                 console.log("========") | 
 |  |  |                 let tmp = JSON.parse(mapData); | 
 |  |  |                 let data = [] | 
 |  |  |                 tmp.forEach((item, index) => { | 
 |  |  | 
 |  |  |                                 let locNo = item.locNo | 
 |  |  |                                 let y = parseInt(locNo.substr(2,3)) | 
 |  |  |                                 let x = parseInt(locNo.substr(0,2)) | 
 |  |  |                                 if (x >= 2 && x <= 12) { | 
 |  |  |                                     x += 1; | 
 |  |  |                                 }else if (x == 13) { | 
 |  |  |                                     x += 2; | 
 |  |  |                                 console.log(x) | 
 |  |  |                                 // if ( (x+2) %5 === 0 ) { | 
 |  |  |                                 //     x = 5*item.crnNo-2; | 
 |  |  |                                 // }else | 
 |  |  |                                 if(x<17){ | 
 |  |  |                                     if (x % 4 == 0 || (x+1) % 4 == 0){ | 
 |  |  |                                         x = item.crnNo+x | 
 |  |  |                                     }else { | 
 |  |  |                                         x = item.crnNo+x-1 | 
 |  |  |                                 } | 
 |  |  |                                 } | 
 |  |  |                                 console.log(x) | 
 |  |  |  | 
 |  |  |                                 tmp[x][y].searchStatus = true//搜索标记 | 
 |  |  |                             }) |