body,html{ margin:0; padding:0; } .task{ height: calc(100vh); display: flex; align-items: center; overflow: hidden; background-color: #F2F2F2; position: relative; } /* 左边 */ .left{ width: calc(20% - 40px); height:calc(100% - 40px); overflow: auto; background: #FFFFFF; box-shadow: 3px 0px 10px 0px rgba(6,13,23,0.06); border-radius: 1px; padding:20px; } .left .addBtn{ background: #6271FE; box-shadow: 0px 3px 10px 0px rgba(0,0,0,0.2); border-radius: 10px; padding:16px 0; text-align: center; } .left .addBtn span{ margin-left:12px; font-family: PingFang SC; font-weight: bold; font-size: 24px; color: #FFFFFF; } .left .taskItem{ background: #EDEDEF; border-radius: 10px; padding:16px; display: flex; align-items: center; justify-content: space-between; margin:20px 0; } .left .taskItem span{ font-weight: bold; font-size: 22px; color: #222222; } /* 右边 */ .right{ width:20%; height:100%; overflow: auto; background: #FFFFFF; box-shadow: -3px 0px 10px 0px rgba(6,13,23,0.06); border-radius: 1px; padding:10px 0; } .right .pointItem{ padding:20px; border-bottom: 1px solid #EAEAEA; } .right .pointItem .point{ display: flex; justify-content: space-between; align-items: center; } .right .pointItem .point .pointName{ display: flex; justify-content: space-between; align-items: center; } .right .pointItem .point .pointName span{ font-family: PingFang SC; font-weight: bold; font-size: 22px; color: #222222; margin-left:9px; } .right .pointItem .point .edit{ background: #FFFFFF; padding:6px 13px; border-radius: 30px; border: 1px solid #CCCCCC; font-family: PingFang SC; font-weight: 500; font-size: 18px; color: #999999; } .right .pointItem .lat{ font-family: PingFang SC; font-weight: 500; font-size: 20px; color: #999999; margin-top:12px; } /* 中间 */ .center{ flex:1; /* width: 80%; */ height:100%; display: flex; flex-direction: column; } .center .title{ font-family: PingFang SC; font-weight: bold; font-size: 30px; color: #222222; margin:38px 0 23px 0; text-align: center; } .center .map{ flex:1; margin: 0 20px; } .center .btnGroup{ display: flex; justify-content: space-around; margin: 20px 0; } .center .btnItem{ padding:22px 24px; box-shadow: 0px 3px 10px 0px rgba(0,0,0,0.2); border-radius: 10px; font-family: PingFang SC; font-weight: bold; font-size: 24px; color: #FFFFFF; display: flex; align-items: center; } .center .btnItem img{ width: 22px; height: 22px; } .center .btnItem span{ margin-left:10px; } .add{ background-color: #6271FE; } .delete{ background-color: #E81A1A; } .caiji{ background-color: #4BC5D3; } /* 新增任务 */ .addMask{ position: absolute; top:0; left:0; width: 100%; height: 100%; background: rgba(0,0,0,0.4); display: none; z-index:99; } .addTask{ position: relative; top:50%; left:50%; transform: translate(-50%,-50%); background: #FFFFFF; box-shadow: 0px 3px 10px 0px rgba(0,0,0,0.2); border-radius: 10px; width: 40%; text-align: center; } .addTask .header{ padding:20px 0; font-family: PingFang SC; font-weight: bold; font-size: 24px; color: #222222; position: relative; border-bottom: 1px solid #999; } .addTask .header>img{ right:5px; top:5px; position: absolute; } .addTask .form{ display: flex; align-items: center; margin:20px 30px; } .addTask .form span{ font-family: PingFang SC; font-weight: 500; font-size: 22px; color: #222222; } .addTask .form input{ background: #FFFFFF; border-radius: 10px; border: 1px solid #DDDDDD; padding: 20px; color: #000; flex:1 } .addTask .submit{ background: #6271FE; box-shadow: 0px 3px 10px 0px rgba(0,0,0,0.2); border-radius: 10px; padding:18px 77px; font-family: PingFang SC; font-weight: bold; font-size: 24px; color: #FFFFFF; display: inline-block; margin-bottom: 30px; } /* 编辑弹窗 */ .editMask{ position: absolute; top:0; left:0; width: 100%; height: 100%; background: rgba(0,0,0,0.4); display: none; z-index:99; } .editDialog{ position: relative; top:50%; left:50%; transform: translate(-50%,-50%); background: #FFFFFF; box-shadow: 0px 3px 10px 0px rgba(0,0,0,0.2); border-radius: 10px; width: 30%; text-align: center; } .editMask .header{ padding:20px 0; font-family: PingFang SC; font-weight: bold; font-size: 24px; color: #222222; position: relative; border-bottom: 1px solid #999; } .editMask .header>img{ right:5px; top:5px; position: absolute; } .editBtn{ padding:30px; } .editBtn .getAddr{ background: #6271FE; box-shadow: 0px 3px 10px 0px rgba(0,0,0,0.2); border-radius: 10px; font-family: PingFang SC; font-weight: 500; font-size: 22px; color: #FFFFFF; padding:20px 0; } .editBtn .setSpecial{ background: #E81A1A; box-shadow: 0px 3px 10px 0px rgba(0,0,0,0.2); border-radius: 10px; font-family: PingFang SC; font-weight: 500; font-size: 22px; color: #FFFFFF; padding:20px 0; margin-top:20px; }