page{ font-size: 16px; } ax-body{ display: block; height: 100%; background: linear-gradient(to bottom,#C7FFFD,#FFF,#E6F3FF,#8BECFF,#72B8FE,#86D3FD); } ax-body >>> .ax-body .__root{ display: flex; flex-direction: column; padding-left: 0 !important; padding-right: 0 !important; position: relative; overflow: hidden !important; padding-bottom: var(--app-navigation-heiht) !important; } .main-scroll-wrap{ flex: 1; position: relative; } .root-scroll{ position: absolute; top: 0; left: 0; right: 0; bottom: 0; } .contet-root{ height: 100%; } .base{ padding-left: 10px; padding-right: 10px; } /* 导航栏 */ app-navigation{ display: block; position: fixed; left: 0; right: 0; bottom: 0; } /* 标题栏 */ .titlebar{ display: flex; align-items: center; padding-left: 3px; } .titlebar .page-title{ width: 133px; height: 33px; } .titlebar .page-subtitle{ font-size: 12px; } /* 定位城市 */ .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; } /* 快捷栏 */ .shortcut-bar{ display: flex; align-items: center; justify-content: space-between; padding: 15px 10px; } .shortcut-bar ._item{ display: flex; align-items: center; justify-content: center; flex-direction: column; } .shortcut-bar ._item ._icon{ width: 40px; height: 40px; } .shortcut-bar ._item ._name{ font-size: 12px; margin-top: 6px; } /* 版头广告 */ .banner{ width: 100%; height: calc((100vw - 20px) * (5/27)); } .banner .swiper-item{ display: flex; width: 100%; } .banner .swiper-item .swiper-item-image{ display: block; width: 100%; border-radius: 5px; } /* 选项条 */ .options-bar{ align-items: center; padding: 15px 0px; font-size: 14px; } .options-bar .option-item{ display: flex; align-items: center; justify-content: center; flex-direction: column; font-size: inherit; } .options-bar .option-item + .option-item{ margin-left: 30px; } .options-bar .option-item.active{ font-size: 18px; font-weight: bold; } .options-bar .option-item::after{ content: ''; display: block; width: 30px; height: 6px; transform: translateY(5px) scaleX(0); border-radius: 10pc; background: linear-gradient(to right,#8FF8FB,#47AEFF); transition: all 400ms ease; } .options-bar .option-item.active::after{ transform: translateY(5px) scaleX(1); } .options-bar .separ{ flex: 1; } .options-bar .separ::before{ content: ''; display: block; height: 13px; border-left: 1px solid #3EB6F8; } .options-bar .map-mode{ color: #3EB6F8; } .options-bar .map-mode ._icon{ width: 17px; height: 17px; margin-right: 5px; } /* 电站列表 */ .list-scroll-wrap{ height: var(--list-heiht); position: relative; } .list-scroll-wrap > .list-scroll{ position: absolute; top: 0; left: 0; right: 0; bottom: 0; } .list{ padding: 10px; } .list .item{ display: block; border-radius: 8px; background-color: #fff; box-shadow: 0 1px 10px rgba(0, 39, 52, 0.1); overflow: hidden; } .list .item + .item{ margin-top: 10px; } .list .item .contet{ padding: 10px; background: #F6F9FE url('@/static/img/charging_station_item_background.png') no-repeat center; } .list .item .name{ display: flex; font-weight: bold; } .list .item .name > .txt{ flex: 1; line-height: 1.5em; } .list .item .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; } .list .item .name > .icon image{ display: block; width: 10px; } .list .item .parkade{ display: flex; font-size: 12px; color: #aaa; margin-top: 15px; } .list .item .parkade > .txt{ flex: 1; line-height: 1.5em; } .list .item .parkade > .icon{ display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; background-color: #5BE7FF; margin-right: 10px; } .list .item .parkade > .icon image{ display: block; width: 10px; } .list .item .info{ margin-top: 15px; } .list .item .info .charge{ display: inline-flex; align-items: center; justify-content: center; } .list .item .info .charge > .icon{ display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; color: #fff; font-size: 13px; border-radius: 4px; background: linear-gradient(to bottom,#4FEF86,#00AA3A); } .list .item .info .charge > .icon.blue{ background: linear-gradient(to bottom,#8EB1FF,#3071FF); } .list .item .info .charge > .value{ margin-left: 5px; } .list .item .info .charge > .max{ color: #aaa; font-size: 12px; } .list .item .info .charge > .max::before{ content: '/'; } .list .item .info .charge + .charge{ margin-left: 30px; } .list .item .info .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; } .list .item .info .distance > .icon{ display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; background-color: #3EB6F8; margin-right: 5px; } .list .item .info .distance > .icon image{ display: block; width: 10px; } .list .item .price{ display: flex; align-items: center; justify-content: space-between; background-color: #fff; height: 45px; font-size: 14px; padding: 0 10px; box-shadow: 0 0 5px rgba(0, 0, 0, 0.05); } .list .item .price .value{ font-size: 24px; font-weight: bold; } .list .item .price .unit{ margin-left: 10px; }