ax-body >>> .ax-body .__root{ display: flex; flex-direction: column; padding: 0 !important; } ax-popup >>> .ax-popup{ z-index: 200 !important; } ax-popup >>> .ax-popup.bottom.close .__body{ animation-name: closeBottomBody2 !important; } ax-popup >>> .ax-popup .__mask{ backdrop-filter: blur(5px) !important; } @keyframes closeBottomBody2{ 0%{transform: translateY(0%);opacity: 1;} 100%{transform: translateY(-20%);opacity: 0;} } .contet{ flex: 1; padding: 0 10px; position: relative; } .event-on{ pointer-events: auto; } .event-off{ pointer-events: none; } /* 导航栏 */ app-navigation{ display: block; position: relative; z-index: 9999; } /* 标题栏 */ .titlebar{ display: flex; align-items: center; padding-left: 3px; position: relative; z-index: 9999; } .titlebar .page-title{ width: 133px; height: 33px; } .titlebar .page-subtitle{ font-size: 12px; } /* 地图 */ .map-box{ position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 10; } .map-box::before{ content: ''; display: block; position: fixed; top: 0; left: 0; right: 0; height: 25vh; pointer-events: none; background: linear-gradient(to bottom,#77DFFD,rgba(230,255,254,0)); z-index: 2; } .map-box .map{ display: block; width: 100%; height: 100%; position: relative; z-index: 1; } /* 主内容 */ .contet{ position: relative; z-index: 300; } /* 定位城市 */ .search-view{ position: sticky; top: 0; z-index: 90; } .locate-city{ display: flex; align-items: center; margin-right: 10px; } .locate-city ._icon{ display: inline-block; width: 20px; height: 20px; margin-right: 5px; } /* 搜索条 */ .search-bar{ flex: 1; display: flex; align-items: center; height: 30px; padding: 0 10px; border-radius: 8px; border: 1px solid #2B303A; background-color: #fff; } .search-bar input{ flex: 1; display: block; font-size: 14px; background-color: transparent; } .search-bar ._icon-search{ display: inline-block; width: 20px; height: 20px; margin-left: 10px; } /* 列表模式 */ .top-subinfo{ display: flex; align-items: center; justify-content: flex-end; margin-top: 15px; } .list-model{ display: flex; align-items: center; justify-content: center; width: 100px; height: 34px; color: #3EB6F8; font-weight: bold; font-size: 14px; background-color: rgba(242, 248, 255, 0.85); border-radius: 100pc; box-shadow: 0 3px 6px rgba(122, 168, 222, 0.2); } .list-model .icon{ display: block; width: 14px; height: 14px; margin-right: 5px; } /* 电站信息 */ .scroll-view{ width: 100%; position: absolute; left: 0; right: 0; bottom: 10px; white-space: nowrap; } .list{ width: 1500px; padding: 10px; white-space: nowrap; } .list::after{ content: ''; display: block; clear: both; } .site + .site{ margin-left: 10px; } .site{ display: block; width: calc(100vw - 20px); border-radius: 8px; background-color: #fff; box-shadow: 0 1px 10px rgba(0, 39, 52, 0.1); overflow: hidden; padding: 10px; } .site.only{ position: absolute; left: 10px; right: 10px; bottom: 20px; } .site .ec-name{ color: #aaa; font-size: 12px; margin-top: 10px; } .site .name-wrap{ display: flex; justify-content: space-between; } .site .name{ flex: 1; display: flex; font-weight: bold; } .site .name > .txt{ flex: 1; line-height: 1.5em; } .site .name > .icon{ display: flex; align-items: center; justify-content: center; width: 20px; height: 20px; border-radius: 4px; background: linear-gradient(to bottom,#2A67F0,#769FFC); margin-right: 10px; } .site .name > .icon image{ display: block; width: 10px; } .site .parkade{ display: flex; font-size: 12px; color: #aaa; margin-top: 15px; } .site .parkade > .txt{ flex: 1; line-height: 1.5em; } .site .parkade > .icon{ display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; background-color: #5BE7FF; margin-right: 10px; } .site .parkade > .icon image{ display: block; width: 10px; } .site .info{ display: flex; justify-content: space-around; margin-top: 15px; } .site .info .charge{ display: inline-flex; align-items: center; justify-content: center; flex-direction: column; width: 90px; height: 60px; border-radius: 4px; background: linear-gradient(to bottom,rgba(69,230,125,0.2),rgba(218,249,229,0)); } .site .info .charge .icon{ display: inline-flex; align-items: center; justify-content: center; width: 50px; height: 20px; color: #fff; font-size: 13px; border-radius: 4px; margin-bottom: 4px; background: linear-gradient(to bottom,#4FEF86,#00AA3A); } .site .info .charge.purple{ background: linear-gradient(to bottom,rgba(190,210,266,0.2),rgba(62,82,128,0)); } .site .info .charge.purple .icon{ background: linear-gradient(to bottom,#8EB1FF,#3071FF); } .site .info .charge.blue{ background: linear-gradient(to bottom,rgba(136,241,252,0.2),rgba(68,121,126,0)); } .site .info .charge.blue .icon{ background: linear-gradient(to bottom,#8FF8FB,#47AEFF); } .site .info .charge .value{ margin-left: 5px; } .site .info .charge .max{ color: #aaa; font-size: 12px; } .site .info .charge .max::before{ content: '/'; } .site .info .charge + .charge{ margin-left: 30px; } .site .distance{ display: flex; align-items: center; height: 22px; border: 1px solid #3EB6F8; border-radius: 100pc; font-size: 12px; color: #3EB6F8; padding-right: 7px; overflow: hidden; margin-left: 10px; } .site .distance > .icon{ display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; background-color: #3EB6F8; margin-right: 5px; } .site .distance > .icon image{ display: block; width: 10px; } .site .price{ display: flex; align-items: center; justify-content: space-between; background-color: #F2F8FF; border-radius: 8px; height: 45px; font-size: 14px; padding: 0 10px; margin-top: 14px; box-shadow: 0 3px 6px rgba(122, 168, 222, 0.2); } .site .price .value{ font-size: 24px; font-weight: bold; } .site .price .unit{ margin-left: 10px; }