buildingManagement.vue 31 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905
  1. <template>
  2. <div class="buildingManagement">
  3. <div class="max-left-box">
  4. <div class="tree-box scrollbar-box">
  5. <div class="terr-max-box" v-for="(item,index) in treeList" :key="index">
  6. <div class="max-name-box">
  7. <p class="max-name" :class="checkTreeId==item.id?'check-color':''" @click="clickCheckTree(item.id,1)">{{item.name}}</p>
  8. <el-dropdown @command="(command)=>handleCommand(command,item)">
  9. <img src="@/assets/ZDimages/integratedManagement/icon_bjgl_gd.png" style="cursor:pointer;width:16px;height:4px;margin-top:7px;">
  10. <el-dropdown-menu slot="dropdown">
  11. <el-dropdown-item command="1">编辑</el-dropdown-item>
  12. <el-dropdown-item command="2">删除</el-dropdown-item>
  13. </el-dropdown-menu>
  14. </el-dropdown>
  15. </div>
  16. <div class="terr-big-box" v-for="(itemOne,indexOne) in item.childList" :key="indexOne">
  17. <div class="big-name-box">
  18. <img v-if="!itemOne.type" src="@/assets/ZDimages/integratedManagement/icon_bjgl_jt.png" @click="terrClick(itemOne)">
  19. <img v-if="itemOne.type" src="@/assets/ZDimages/integratedManagement/icon_bjgl_xjt.png" @click="terrClick(itemOne)">
  20. <p :class="checkTreeId==itemOne.id?'check-color':''" @click="clickCheckTree(itemOne.id,2)">{{itemOne.name}}</p>
  21. </div>
  22. <div v-if="itemOne.type" class="terr-min-box" v-for="(itemTwo,indexTwo) in itemOne.childList" :key="indexTwo">
  23. <p class="min-name" :class="checkTreeId==itemTwo.id?'check-color':''" @click="clickCheckTree(itemTwo.id,3)">{{itemTwo.name}}</p>
  24. </div>
  25. </div>
  26. </div>
  27. </div>
  28. <p class="max-left-big-button" @click="handleCommand(3)">+ 新增校院</p>
  29. </div>
  30. <div class="max-right-box">
  31. <div class="school-box" v-if="checkTreeType == 1">
  32. <div class="max-right-button-box">
  33. <p class="null-p"></p>
  34. <p class="max-right-big-button" @click="handleCommand(4)">+ 新增楼栋</p>
  35. </div>
  36. <div class="right-big-list-box scrollbar-box">
  37. <div class="for-max-box" v-for="(item,index) in buildingList" :key="index"
  38. @dragover.prevent="dragoverPrevent(item)">
  39. <div class="for-big-box">
  40. <div class="for-big-box-left">
  41. <img src="@/assets/ZDimages/integratedManagement/icon_bjgl_td.png" class="for-img-one"
  42. draggable="true"
  43. @dragstart="dragstartPlay($event)"
  44. @dragend="dragEnterOver($event, item)">
  45. <p class="for-text-one">{{item.name}}</p>
  46. <img src="@/assets/ZDimages/integratedManagement/icon_bjgl_lcs.png" class="for-img-two">
  47. <div class="for-text-box-one">
  48. <p>6</p>
  49. <p>楼层数</p>
  50. </div>
  51. <img src="@/assets/ZDimages/integratedManagement/icon_bjgl_fj.png" class="for-img-three">
  52. <div class="for-text-box-two">
  53. <p>160</p>
  54. <p>房间数</p>
  55. </div>
  56. </div>
  57. <div class="for-button-min-box">
  58. <div>
  59. <img src="@/assets/ZDimages/basicsModules/icon_znwl_bj.png">
  60. <p @click="handleCommand(8)">编辑</p>
  61. </div>
  62. <div>
  63. <img src="@/assets/ZDimages/basicsModules/icon_znwl_sc.png">
  64. <p @click="handleCommand(9)">删除</p>
  65. </div>
  66. </div>
  67. </div>
  68. </div>
  69. </div>
  70. </div>
  71. <div class="building-box" v-if="checkTreeType == 2">
  72. <div class="max-right-button-box">
  73. <p class="null-p"></p>
  74. <p class="max-right-big-button" style="margin-right:20px;" @click="handleCommand(7)">+ 新增楼层</p>
  75. <p class="max-right-big-button" @click="floorZK(1)">{{floorZkType==1?'一键收起':'一键展开'}}</p>
  76. </div>
  77. <div class="right-big-list-box scrollbar-box">
  78. <div class="for-max-box" v-for="(item,index) in buildingList" :key="index"
  79. @dragover.prevent="dragoverPrevent(item)">
  80. <div class="for-big-box">
  81. <div class="for-big-box-left">
  82. <img src="@/assets/ZDimages/integratedManagement/icon_bjgl_td.png" class="for-img-one"
  83. draggable="true"
  84. @dragstart="dragstartPlay($event)"
  85. @dragend="dragEnterOver($event, item)">
  86. <p class="for-text-one">{{item.name}}</p>
  87. </div>
  88. <div class="for-button-min-box">
  89. <div>
  90. <img src="@/assets/ZDimages/basicsModules/icon_znwl_bj.png">
  91. <p @click="handleCommand(8)">编辑</p>
  92. </div>
  93. <div>
  94. <img src="@/assets/ZDimages/basicsModules/icon_znwl_sc.png">
  95. <p @click="handleCommand(9)">删除</p>
  96. </div>
  97. <div>
  98. <img src="@/assets/ZDimages/integratedManagement/icon_bjgl_zk.png">
  99. <p @click="floorZK(2,index)">{{item.type?'收起':'展开'}}</p>
  100. </div>
  101. </div>
  102. </div>
  103. <p v-if="item.type" style="border:1px solid #000;text-align: center;margin-left:36px;">暂无数据</p>
  104. </div>
  105. </div>
  106. </div>
  107. <div class="floor-box" v-if="checkTreeType == 3">
  108. <div class="map-max-big-box">
  109. <p class="position-button-p">设置布局</p>
  110. </div>
  111. <div class="table-box">
  112. <el-form :model="queryParams" ref="queryForm" :inline="true" v-show="showSearch" label-width="68px">
  113. <el-form-item label="关键字" prop="searchValue" style="margin-right:20px;margin-bottom:20px;">
  114. <el-input
  115. v-model="queryParams.searchValue"
  116. placeholder="请输入关键字"
  117. clearable
  118. size="small"
  119. />
  120. </el-form-item>
  121. <el-form-item label="房间类型" prop="searchValue" style="margin-right:20px;margin-bottom:20px;">
  122. <el-input
  123. v-model="queryParams.searchValue"
  124. placeholder="请选择关键字"
  125. clearable
  126. size="small"
  127. />
  128. </el-form-item>
  129. <el-form-item>
  130. <p class="inquire-button-one" @click="handleQuery" style="margin-right:20px;margin-bottom:20px;">查询</p>
  131. <p class="reset-button-one" @click="resetQuery">重置</p>
  132. </el-form-item>
  133. </el-form>
  134. <el-table v-loading="loading" border :data="dataList">
  135. <el-table-column label="房间号" align="left" prop="moldName" width="100"/>
  136. <el-table-column label="房间名称" align="left" prop="createBy"/>
  137. <el-table-column label="房间类型" align="left" prop="createBy" width="200"/>
  138. <el-table-column label="创建人" align="left" prop="createBy" width="200"/>
  139. <el-table-column label="创建时间" align="left" prop="createTime" width="200"/>
  140. <el-table-column label="操作" align="left" class-name="small-padding fixed-width" width="200">
  141. <template slot-scope="scope">
  142. <div class="table-button-box">
  143. <p class="table-button-null"></p>
  144. <p class="table-button-p" @click="roomClick(1,item)">编辑</p>
  145. <p class="table-button-p" @click="roomClick(3)">删除</p>
  146. <p class="table-button-null"></p>
  147. </div>
  148. </template>
  149. </el-table-column>
  150. </el-table>
  151. <pagination
  152. style="margin-top:20px;"
  153. v-show="total>0"
  154. :total="total"
  155. :page.sync="queryParams.pageNum"
  156. :limit.sync="queryParams.pageSize"
  157. @pagination="getList"
  158. />
  159. </div>
  160. </div>
  161. </div>
  162. <!-- 新增/编辑院校 -->
  163. <el-dialog :title="dialogTitle" v-if="dialogOpen" :visible.sync="dialogOpen" width="600px" append-to-body>
  164. <el-form ref="dialogForm" :model="dialogForm" :rules="rules" label-width="110px">
  165. <el-form-item label="院校名称:" prop="nameOne">
  166. <el-input v-model="dialogForm.nameOne" maxlength="10" placeholder="请输入院校名称" :disabled="dialogType==2 || dialogType==3"/>
  167. </el-form-item>
  168. <el-form-item label="楼栋名称:" prop="nameTwo" v-if="dialogType==2 || dialogType==3">
  169. <el-input v-model="dialogForm.nameTwo" maxlength="10" placeholder="请输入楼栋名称" :disabled="dialogType==3"/>
  170. </el-form-item>
  171. <el-form-item label="楼层名称:" prop="nameThree" v-if="dialogType==3">
  172. <el-input v-model="dialogForm.nameThree" maxlength="10" placeholder="请输入楼层名称" />
  173. </el-form-item>
  174. <el-form-item label="排序序号:" prop="key">
  175. <el-input v-model="dialogForm.key" maxlength="10" placeholder="请输入排序序号" />
  176. </el-form-item>
  177. </el-form>
  178. <div slot="footer" class="dialog-footer dialog-footer-box">
  179. <p class="dialog-footer-button-null"></p>
  180. <p class="dialog-footer-button-info" @click="cancel">取消</p>
  181. <p class="dialog-footer-button-primary" @click="submitForm">提交</p>
  182. <p class="dialog-footer-button-null"></p>
  183. </div>
  184. </el-dialog>
  185. <el-dialog title="房间配置" v-if="dialogOpenRoom" :visible.sync="dialogOpenRoom" width="600px" append-to-body>
  186. <el-form ref="dialogForm" :model="dialogForm" :rules="rules" label-width="110px">
  187. <el-form-item label="楼栋名称:" prop="nameTwo">
  188. <el-input v-model="dialogForm.nameTwo" maxlength="10" placeholder="请输入楼栋名称" disabled/>
  189. </el-form-item>
  190. <el-form-item label="楼层名称:" prop="nameThree">
  191. <el-input v-model="dialogForm.nameThree" maxlength="10" placeholder="请输入楼层名称" />
  192. </el-form-item>
  193. <el-form-item label="房间类型:" prop="key">
  194. <el-input v-model="dialogForm.key" maxlength="10" placeholder="请输入房间类型" />
  195. </el-form-item>
  196. <el-form-item label="房间号:" prop="key">
  197. <el-input v-model="dialogForm.key" maxlength="10" placeholder="请输入房间号" />
  198. </el-form-item>
  199. <el-form-item label="房间名称:" prop="key">
  200. <el-input v-model="dialogForm.key" maxlength="10" placeholder="请输入房间名称" />
  201. </el-form-item>
  202. <el-form-item label="房间选择:" prop="key">
  203. <el-input v-model="dialogForm.key" maxlength="10" placeholder="请输入房间选择" />
  204. </el-form-item>
  205. <el-form-item label="房间位置:" prop="key">
  206. <el-input v-model="dialogForm.key" maxlength="10" placeholder="请输入房间位置" />
  207. </el-form-item>
  208. </el-form>
  209. <div slot="footer" class="dialog-footer dialog-footer-box">
  210. <p class="dialog-footer-button-null"></p>
  211. <p class="dialog-footer-button-info" @click="cancel">取消</p>
  212. <p class="dialog-footer-button-primary" @click="submitForm">提交</p>
  213. <p class="dialog-footer-button-null"></p>
  214. </div>
  215. </el-dialog>
  216. </div>
  217. </template>
  218. <script>
  219. export default {
  220. name: "buildingManagement",
  221. data() {
  222. return {
  223. //拖拽起始Y点(用于计算朝向)
  224. clientY:null,
  225. clientId:null,
  226. treeList:[
  227. {
  228. id:'1',
  229. name:'西安电子科技大学东校区',
  230. childList:[
  231. {
  232. id:'2',
  233. name:'一号实验楼',
  234. type:false,
  235. childList:[
  236. {
  237. id:'3',
  238. name:'二层',
  239. childList:[]
  240. }
  241. ]
  242. },
  243. {
  244. id:'4',
  245. name:'一号实验楼',
  246. type:false,
  247. childList:[
  248. {
  249. id:'5',
  250. name:'二层',
  251. childList:[]
  252. }
  253. ]
  254. },
  255. ]
  256. }
  257. ],
  258. //选中状态
  259. checkTreeId:1,
  260. checkTreeType:1,
  261. buildingList:[
  262. {id:1,name:"名称1",type:false},{id:2,name:"名称2",type:true},{id:3,name:"名称3",type:false},{id:4,name:"名称1",type:false},{id:5,name:"名称2",type:true},{id:6,name:"名称3",type:false},{id:7,name:"名称1",type:false},{id:8,name:"名称2",type:true},{id:9,name:"名称3",type:false},
  263. ],
  264. //楼层展开/关闭状态
  265. floorZkType:null, //1.全部展开 2.全部关闭 3.有关有开
  266. //编辑弹窗开关
  267. dialogOpen:false,
  268. dialogType:null,
  269. dialogTitle:'',
  270. // 表单参数
  271. dialogForm: {},
  272. // 表单校验
  273. rules: {
  274. nameOne: [
  275. { required: true, message: "请输入院校名称", trigger: "blur" },
  276. { required: true, message: "请输入院校名称", validator: this.spaceJudgment, trigger: "blur" }
  277. ],
  278. nameTwo: [
  279. { required: true, message: "请输入楼栋名称", trigger: "blur" },
  280. { required: true, message: "请输入楼栋名称", validator: this.spaceJudgment, trigger: "blur" }
  281. ],
  282. nameThree: [
  283. { required: true, message: "请输入楼层名称", trigger: "blur" },
  284. { required: true, message: "请输入楼层名称", validator: this.spaceJudgment, trigger: "blur" }
  285. ],
  286. key: [
  287. { required: true, message: "请输入排序序号", trigger: "blur" },
  288. { required: true, message: "请输入排序序号", validator: this.spaceJudgment, trigger: "blur" }
  289. ],
  290. },
  291. // 显示搜索条件
  292. showSearch: true,
  293. loading:false,
  294. //楼层查询数据
  295. queryParams:{},
  296. //楼层表单数据
  297. dataList:[],
  298. total:10,
  299. //房间配置相关
  300. dialogOpenRoom:false,
  301. }
  302. },
  303. created() {
  304. },
  305. mounted(){
  306. this.floorZkFor();
  307. },
  308. methods:{
  309. //房间操作按钮
  310. roomClick(type){
  311. if(type == 1){
  312. this.dialogOpenRoom = true;
  313. }else if(type == 2){
  314. this.$confirm('确定要删除该房间吗?', "警告", {
  315. confirmButtonText: "确定",
  316. cancelButtonText: "取消",
  317. type: "warning"
  318. }).then(function() {
  319. }).then(() => {
  320. }).catch(() => {});
  321. }else if(type == 3){
  322. this.dialogOpenRoom = true;
  323. }
  324. },
  325. //楼栋弹出下啦列表选中事件
  326. handleCommand(command,item){
  327. if (command == 1){
  328. //编辑院校
  329. this.$set(this,'dialogTitle','编辑院校');
  330. this.$set(this,'dialogType',1);
  331. this.$set(this,'dialogOpen',true);
  332. }else if(command == 2){
  333. //删除院校
  334. this.$confirm('确定要删除该院校吗?', "警告", {
  335. confirmButtonText: "确定",
  336. cancelButtonText: "取消",
  337. type: "warning"
  338. }).then(function() {
  339. }).then(() => {
  340. }).catch(() => {});
  341. }else if(command == 3){
  342. //新增院校
  343. this.$set(this,'dialogTitle','新增院校');
  344. this.$set(this,'dialogType',1);
  345. this.$set(this,'dialogOpen',true);
  346. }else if(command == 4){
  347. //新增楼栋
  348. this.$set(this,'dialogTitle','新增楼栋');
  349. this.$set(this,'dialogType',2);
  350. this.$set(this,'dialogOpen',true);
  351. }else if(command == 5){
  352. //编辑楼栋
  353. this.$set(this,'dialogTitle','编辑楼栋');
  354. this.$set(this,'dialogType',2);
  355. this.$set(this,'dialogOpen',true);
  356. }else if(command == 6){
  357. //删除楼栋
  358. this.$confirm('确定要删除该楼栋吗?', "警告", {
  359. confirmButtonText: "确定",
  360. cancelButtonText: "取消",
  361. type: "warning"
  362. }).then(function() {
  363. }).then(() => {
  364. }).catch(() => {});
  365. }else if(command == 7){
  366. //新增楼层
  367. this.$set(this,'dialogTitle','新增楼层');
  368. this.$set(this,'dialogType',3);
  369. this.$set(this,'dialogOpen',true);
  370. }else if(command == 8){
  371. //编辑楼层
  372. this.$set(this,'dialogTitle','编辑楼层');
  373. this.$set(this,'dialogType',3);
  374. this.$set(this,'dialogOpen',true);
  375. }else if(command == 9){
  376. //删除楼层
  377. this.$confirm('确定要删除该楼层吗?', "警告", {
  378. confirmButtonText: "确定",
  379. cancelButtonText: "取消",
  380. type: "warning"
  381. }).then(function() {
  382. }).then(() => {
  383. }).catch(() => {});
  384. }
  385. },
  386. //树状结构选中
  387. clickCheckTree(id,type){
  388. this.$set(this,'checkTreeId',id)
  389. this.$set(this,'checkTreeType',type)
  390. },
  391. // 取消按钮
  392. cancel() {
  393. this.$set(this,'dialogOpen',false);
  394. this.$set(this,'dialogForm',{});
  395. this.$set(this,'dialogType',null);
  396. },
  397. //确定按钮
  398. submitForm(){
  399. },
  400. //树状结构展开收回
  401. terrClick(itemOne){
  402. itemOne.type = !itemOne.type;
  403. },
  404. //展开/收起开关
  405. floorZK(type,index){
  406. let self = this;
  407. //type等于1时全部开关功能 等于2时单个开关
  408. if(type == 1){
  409. let list = JSON.parse(JSON.stringify(self.buildingList))
  410. for(let i=0;i<list.length;i++){
  411. if(self.floorZkType == 1){
  412. list[i].type = false;
  413. }else if(self.floorZkType == 2){
  414. list[i].type = true;
  415. }else if(self.floorZkType == 3){
  416. list[i].type = true;
  417. }
  418. }
  419. this.$set(this,'buildingList',list);
  420. this.floorZkFor();
  421. }else if(type == 2){
  422. this.$set(this.buildingList[index],'type',this.buildingList[index].type?false:true)
  423. this.floorZkFor();
  424. }
  425. },
  426. //层展开关闭判断
  427. floorZkFor(){
  428. let self = this;
  429. let numOne = 0;
  430. let numTwo = 0;
  431. for(let i=0;i<self.buildingList.length;i++){
  432. if(self.buildingList[i].type){
  433. numOne++
  434. }else{
  435. numTwo++
  436. }
  437. }
  438. if(numOne == self.buildingList.length){
  439. this.$set(this,'floorZkType',1);
  440. }else if(numTwo == self.buildingList.length){
  441. this.$set(this,'floorZkType',2);
  442. }else{
  443. this.$set(this,'floorZkType',3);
  444. }
  445. },
  446. //拖拽抓取时触发
  447. dragstartPlay(event) {
  448. this.$set(this,'clientY',event.clientY)
  449. },
  450. //拖拽途径触发
  451. dragoverPrevent(item){
  452. this.$set(this,'clientId',item.id)
  453. },
  454. //拖拽释放触发
  455. dragEnterOver(event,item) {
  456. let self = this;
  457. if(this.clientId && item.id != this.clientId){
  458. let list = [];
  459. let obj = null;
  460. for(let i=0;i<self.buildingList.length;i++){
  461. if(self.buildingList[i].id == item.id){
  462. obj = JSON.parse(JSON.stringify(self.buildingList[i]))
  463. }
  464. }
  465. if(event.clientY>this.clientY){
  466. for(let i=0;i<self.buildingList.length;i++){
  467. if(self.buildingList[i].id != item.id && self.buildingList[i].id != this.clientId){
  468. list.push(self.buildingList[i]);
  469. }else if(self.buildingList[i].id == this.clientId){
  470. list.push(self.buildingList[i]);
  471. list.push(obj);
  472. }
  473. }
  474. }else if(event.clientY<this.clientY){
  475. for(let i=0;i<self.buildingList.length;i++){
  476. if(self.buildingList[i].id == this.clientId){
  477. list.push(obj);
  478. list.push(self.buildingList[i]);
  479. }else if(self.buildingList[i].id != item.id && self.buildingList[i].id != this.clientId){
  480. list.push(self.buildingList[i]);
  481. }
  482. }
  483. }
  484. this.$set(this,'buildingList',list);
  485. this.$set(this,'clientId',null);
  486. }
  487. },
  488. getList(){
  489. },
  490. /** 搜索按钮操作 */
  491. handleQuery() {
  492. this.queryParams.pageNum = 1;
  493. this.getList();
  494. },
  495. /** 重置按钮操作 */
  496. resetQuery() {
  497. // this.resetForm("queryForm");
  498. this.$set(this,'queryParams',{
  499. pageNum: 1,
  500. pageSize:20,
  501. typeName:"",
  502. title: '',
  503. });
  504. this.handleQuery();
  505. },
  506. }
  507. }
  508. </script>
  509. <style scoped lang="scss">
  510. .buildingManagement{
  511. flex:1;
  512. display: flex!important;
  513. overflow: hidden;
  514. padding:22px 28px 22px 32px;
  515. *{
  516. margin:0;
  517. font-weight:100;
  518. }
  519. .max-left-box{
  520. width:281px;
  521. border-right:1px dashed #A2A2A2;
  522. display: flex;
  523. flex-direction: column;
  524. .tree-box{
  525. flex:1;
  526. .terr-max-box{
  527. .max-name-box{
  528. display: flex;
  529. margin-right:20px;
  530. margin-bottom:10px;
  531. color:#D8D8D8;
  532. font-size:20px;
  533. .max-name{
  534. flex:1;
  535. margin-right:19px;
  536. color:#333;
  537. font-size:16px;
  538. line-height:16px;
  539. margin-top:3px;
  540. cursor: pointer;
  541. }
  542. }
  543. .terr-big-box{
  544. margin-left:30px;
  545. .big-name-box{
  546. cursor: pointer;
  547. height:40px;
  548. line-height:40px;
  549. display: flex;
  550. font-size:16px;
  551. color:#333;
  552. img{
  553. width:16px;
  554. height:16px;
  555. margin-top:12px;
  556. margin-right:4px;
  557. }
  558. }
  559. .terr-min-box{
  560. margin-left:30px;
  561. .min-name{
  562. cursor: pointer;
  563. height:40px;
  564. line-height:40px;
  565. display: flex;
  566. font-size:16px;
  567. color:#333;
  568. }
  569. }
  570. }
  571. .check-color{
  572. color:#0183FA!important;
  573. }
  574. }
  575. }
  576. .max-left-big-button{
  577. color:#0183FA;
  578. border:1px dashed #0183FA;
  579. -webkit-border-radius: 6px;
  580. -moz-border-radius: 6px;
  581. border-radius: 6px;
  582. width:180px;
  583. line-height:40px;
  584. margin: 20px 0 20px 40px;
  585. text-align: center;
  586. font-size:14px;
  587. cursor: pointer;
  588. }
  589. .max-left-big-button:hover{
  590. color:#fff;
  591. background: #0183FA;
  592. border:1px solid #0183FA;
  593. }
  594. }
  595. .max-right-box{
  596. flex:1;
  597. display: flex;
  598. flex-direction: column;
  599. overflow: hidden;
  600. .school-box{
  601. flex:1;
  602. display: flex;
  603. flex-direction: column;
  604. overflow: hidden;
  605. .max-right-button-box{
  606. height:40px;
  607. display: flex;
  608. margin-bottom:22px;
  609. .null-p{
  610. flex:1;
  611. }
  612. .max-right-big-button{
  613. color:#fff;
  614. background: #0045AF;
  615. -webkit-border-radius: 6px;
  616. -moz-border-radius: 6px;
  617. border-radius: 6px;
  618. width:130px;
  619. line-height:40px;
  620. text-align: center;
  621. font-size:14px;
  622. cursor: pointer;
  623. }
  624. .max-right-big-button:hover{
  625. color:#fff;
  626. background: #0183FA;
  627. }
  628. }
  629. .right-big-list-box{
  630. flex:1;
  631. .for-max-box{
  632. .for-big-box{
  633. display: flex;
  634. border:1px solid #dedede;
  635. height:100px;
  636. box-shadow: 0px 3px 8px 0px rgba(0,0,0,0.16);
  637. margin-bottom:30px;
  638. margin-left:36px;
  639. border-radius:6px;
  640. .for-big-box-left{
  641. flex:1;
  642. display: flex;
  643. .for-img-one{
  644. cursor: pointer;
  645. height:30px;
  646. width:30px;
  647. margin:35px 0 0 30px;
  648. }
  649. .for-text-one{
  650. font-size:16px;
  651. line-height:100px;
  652. margin-left:95px;
  653. width:230px;
  654. font-weight:500;
  655. }
  656. .for-img-two{
  657. height:48px;
  658. width:48px;
  659. margin:26px 23px 0 30px;
  660. }
  661. .for-text-box-one{
  662. width:88px;
  663. margin-right:73px;
  664. p{
  665. text-align: center;
  666. }
  667. p:nth-child(1){
  668. margin-top:20px;
  669. font-size:24px;
  670. line-height:30px;
  671. color:#0183FA;
  672. }
  673. p:nth-child(2){
  674. margin-top:10px;
  675. font-size:16px;
  676. line-height:16px;
  677. color:#333;
  678. }
  679. }
  680. .for-img-three{
  681. height:48px;
  682. width:48px;
  683. margin:26px 23px 0 0;
  684. }
  685. .for-text-box-two{
  686. width:88px;
  687. p{
  688. text-align: center;
  689. }
  690. p:nth-child(1){
  691. margin-top:20px;
  692. font-size:24px;
  693. line-height:30px;
  694. color:#0183FA;
  695. }
  696. p:nth-child(2){
  697. margin-top:10px;
  698. font-size:16px;
  699. line-height:16px;
  700. color:#333;
  701. }
  702. }
  703. }
  704. .for-button-min-box{
  705. width:220px;
  706. margin-top:9px;
  707. height:82px;
  708. border-left:1px dashed rgba(0,0,0,0.3);
  709. display: flex;
  710. line-height:82px;
  711. div{
  712. margin-left: 34px;
  713. display: flex;
  714. width: 60px;
  715. cursor: pointer;
  716. img{
  717. width:16px;
  718. height:16px;
  719. margin-right:8px;
  720. margin-top:33px;
  721. }
  722. p{
  723. font-size:14px;
  724. color:#333;
  725. }
  726. }
  727. }
  728. }
  729. }
  730. }
  731. }
  732. .building-box{
  733. flex:1;
  734. display: flex;
  735. flex-direction: column;
  736. overflow: hidden;
  737. .max-right-button-box{
  738. height:40px;
  739. display: flex;
  740. margin-bottom:22px;
  741. .null-p{
  742. flex:1;
  743. }
  744. .max-right-big-button{
  745. color:#fff;
  746. background: #0045AF;
  747. -webkit-border-radius: 6px;
  748. -moz-border-radius: 6px;
  749. border-radius: 6px;
  750. width:130px;
  751. line-height:40px;
  752. text-align: center;
  753. font-size:14px;
  754. cursor: pointer;
  755. }
  756. .max-right-big-button:hover{
  757. color:#fff;
  758. background: #0183FA;
  759. }
  760. }
  761. .right-big-list-box{
  762. flex:1;
  763. .for-max-box{
  764. margin-bottom:30px;
  765. .for-big-box{
  766. display: flex;
  767. border:1px solid #dedede;
  768. height:100px;
  769. box-shadow: 0px 3px 8px 0px rgba(0,0,0,0.16);
  770. margin-left:36px;
  771. border-radius:6px;
  772. .for-big-box-left{
  773. flex:1;
  774. display: flex;
  775. .for-img-one{
  776. cursor: pointer;
  777. height:30px;
  778. width:30px;
  779. margin:35px 0 0 30px;
  780. }
  781. .for-text-one{
  782. font-size:16px;
  783. line-height:100px;
  784. margin-left:95px;
  785. width:230px;
  786. font-weight:500;
  787. }
  788. .for-img-two{
  789. height:48px;
  790. width:48px;
  791. margin:26px 23px 0 30px;
  792. }
  793. .for-text-box-one{
  794. width:88px;
  795. margin-right:73px;
  796. p{
  797. text-align: center;
  798. }
  799. p:nth-child(1){
  800. margin-top:20px;
  801. font-size:24px;
  802. line-height:30px;
  803. color:#0183FA;
  804. }
  805. p:nth-child(2){
  806. margin-top:10px;
  807. font-size:16px;
  808. line-height:16px;
  809. color:#333;
  810. }
  811. }
  812. .for-img-three{
  813. height:48px;
  814. width:48px;
  815. margin:26px 23px 0 0;
  816. }
  817. .for-text-box-two{
  818. width:88px;
  819. p{
  820. text-align: center;
  821. }
  822. p:nth-child(1){
  823. margin-top:20px;
  824. font-size:24px;
  825. line-height:30px;
  826. color:#0183FA;
  827. }
  828. p:nth-child(2){
  829. margin-top:10px;
  830. font-size:16px;
  831. line-height:16px;
  832. color:#333;
  833. }
  834. }
  835. }
  836. .for-button-min-box{
  837. width:330px;
  838. margin-top:9px;
  839. height:82px;
  840. border-left:1px dashed rgba(0,0,0,0.3);
  841. display: flex;
  842. line-height:82px;
  843. div{
  844. margin-left: 34px;
  845. display: flex;
  846. width: 60px;
  847. cursor: pointer;
  848. img{
  849. width:16px;
  850. height:16px;
  851. margin-right:8px;
  852. margin-top:33px;
  853. }
  854. p{
  855. font-size:14px;
  856. color:#333;
  857. }
  858. }
  859. }
  860. }
  861. }
  862. }
  863. }
  864. .floor-box{
  865. flex:1;
  866. display: flex;
  867. flex-direction: column;
  868. overflow: hidden;
  869. .map-max-big-box{
  870. height:400px;
  871. position:relative;
  872. border:1px solid #E0E0E0;
  873. margin-bottom:20px;
  874. margin-left:36px;
  875. .position-button-p{
  876. position:absolute;
  877. right:12px;
  878. top:13px;
  879. width:100px;
  880. line-height:40px;
  881. font-size:14px;
  882. color:#fff;
  883. background: #0045AF;
  884. border-radius:6px;
  885. text-align: center;
  886. cursor: pointer;
  887. }
  888. }
  889. .table-box{
  890. margin-left:36px;
  891. flex:1;
  892. display: flex;
  893. flex-direction: column;
  894. overflow: hidden;
  895. }
  896. }
  897. }
  898. }
  899. </style>