123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390 |
- 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: -webkit-sticky;
- 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;
- -webkit-transform: translateY(5px) scaleX(0);
- 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 {
- -webkit-transform: translateY(5px) scaleX(1);
- 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: 20px;
- font-weight: bold;
- }
- .list .item .price .unit {
- margin-left: 6rpx;
- font-weight: bold;
- font-size: 12px;
- margin-left: 6rpx;
- }
- .card-bottom-text {
- font-weight: bold;
- font-size: 20px;
- color:#FF5D50;
- }
- .card-bottom-text .mini-text {
- margin-left: 6rpx;
- font-size: 12px;
- }
- .operation-price-btn {
- margin-left:10rpx;
- width: 140rpx;
- height: 40rpx;
- background: #FF6457;
- border-radius: 22rpx 22rpx 22rpx 22rpx;
- font-style: italic;
- text-align: center;
- line-height: 40rpx;
- font-weight: 400;
- font-size: 22rpx;
- color: #FFFFFF;
- }
- .ordinary-price {
- margin-left: 12rpx;
- font-size: 24rpx;
- color: #AAAAAA;
- text-decoration: line-through;
- }
- .discount{
- flex: 1;
- text-align: right;
- padding-right: 5px;
- }
- .discount view{
- display: inline-flex;
- align-items: center;
- height: 22px;
- border: 1px solid #ccc;
- border-radius: 5px;
- font-size: 12px;
- color: #F59C79;
- padding: 0 7px;
- overflow: hidden;
- }
|