| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699 |
- page {
- font-size: 16px;
- }
- ax-body {
- display: block;
- height: 100%;
- background: linear-gradient(
- 180deg,
- #c7fffd 0%,
- #97e8fa 10%,
- #f6f6f6 74%,
- #f6f6f6 100%
- );
- }
- 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;
- height: 1200rpx;
- }
- .root-scroll {
- position: absolute;
- top: 0;
- left: 0;
- right: 0;
- bottom: 0;
- }
- .concat-father {
- position: absolute;
- bottom: 170rpx;
- right: 16rpx;
- }
- .concat-icon {
- width: 120rpx;
- height: 120rpx;
- }
- .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;
- }
- .arrears-tips {
- margin: auto;
- margin-top: 20rpx;
- display: flex;
- align-items: center;
- justify-content: space-between;
- transition: opacity 0.3s;
- opacity: 1;
- width: 702rpx;
- height: 72rpx;
- background: #fff6e8;
- border-radius: 16rpx;
- }
- .arrears-left {
- display: flex;
- align-items: center;
- gap: 20rpx;
- }
- .arrears-icon {
- width: 30rpx;
- height: 30rpx;
- margin-left: 20rpx;
- }
- .arrears-text {
- font-size: 24rpx;
- color: #fab04d;
- }
- .arrears-btn {
- width: 112rpx;
- height: 48rpx;
- background: #fab14f;
- border-radius: 24rpx;
- font-size: 24rpx;
- color: #ffffff;
- text-align: center;
- line-height: 48rpx;
- margin-right: 20rpx;
- }
- .locate-city {
- display: flex;
- align-items: center;
- margin-right: 6px;
- justify-content: ;
- }
- .locate-city ._icon {
- display: inline-block;
- width: 20px;
- height: 20px;
- margin-right: 5px;
- }
- .locate-city .__name {
- margin-bottom: 6rpx;
- }
- /* 搜索条 */
- .search-bar {
- flex: 1;
- display: flex;
- align-items: center;
- height: 30px;
- padding: 0 10px;
- border-radius: 8px;
- background: rgba(255, 255, 255, 0.6);
- }
- .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;
- }
- .search-map-mode {
- display: flex;
- align-items: center;
- gap: 20rpx;
- width: 220rpx;
- height: 60rpx;
- background: rgba(255, 255, 255, 0.6);
- border-radius: 16rpx;
- justify-content: center;
- }
- .search-map-icon {
- width: 40rpx;
- height: 40rpx;
- }
- /* 快捷栏 */
- .shortcut-bar {
- display: flex;
- align-items: center;
- justify-content: space-between;
- gap: 20rpx;
- padding: 15px 0px;
- }
- .buy-charge-coupon {
- position: relative;
- width: 340rpx;
- height: 376rpx;
- background: #ffffff;
- box-shadow: inset 0rpx 20rpx 40rpx 2rpx rgba(100, 255, 218, 0.26);
- border-radius: 16rpx;
- text-align: center;
- }
- .coupon-tag {
- position: absolute;
- top: 0;
- right: 0;
- width: 116rpx;
- height: 52rpx;
- background: linear-gradient(134deg, #25eb64 0%, #0ad549 100%);
- box-shadow: inset 0rpx 20rpx 40rpx 2rpx rgba(100, 255, 218, 0.26);
- border-radius: 0rpx 16rpx 0rpx 16rpx;
- font-size: 28rpx;
- color: #ffffff;
- line-height: 52rpx;
- }
- .charge-title {
- margin-top: 62rpx;
- display: flex;
- align-items: center;
- gap: 20rpx;
- margin-left: 24rpx;
- }
- .title-coupon-text {
- width: 144rpx;
- height: 36rpx;
- }
- .title-right-text {
- width: 34rpx;
- height: 34rpx;
- background: #000;
- border-radius: 50%;
- }
- .ax-iconline {
- color: #fff;
- display: flex;
- align-items: center;
- justify-content: center;
- }
- .charge-text-dsc {
- margin-top: 20rpx;
- font-size: 28rpx;
- color: #aaaaaa;
- text-align: left;
- margin-left: 24rpx;
- }
- .charge-coupon-img {
- position: absolute;
- bottom: 0;
- left: 50%;
- transform: translate(-50%, 0);
- width: 170rpx;
- height: 214rpx;
- }
- .order-center {
- display: flex;
- align-items: center;
- width: 340rpx;
- height: 178rpx;
- background: #ffffff;
- box-shadow: inset 0rpx 20rpx 60rpx 2rpx rgba(100, 234, 255, 0.26);
- border-radius: 16rpx;
- }
- .order-center-number {
- margin-top: 20rpx;
- margin-left: 24rpx;
- font-size: 28rpx;
- color: #aaaaaa;
- }
- .order-center-icon {
- width: 100rpx;
- height: 100rpx;
- }
- .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 / 20));
- }
- .banner .swiper-item {
- display: flex;
- width: 100%;
- }
- .banner .swiper-item .swiper-item-image {
- display: block;
- width: 100%;
- border-radius: 5px;
- }
- /* 选项条 */
- .options-bar {
- display: flex;
- align-items: center;
- padding: 15px 0px;
- gap: 20rpx;
- }
- .options-tabs {
- width: 152rpx;
- height: 60rpx;
- background: #ffffff;
- border-radius: 16rpx;
- font-size: 28rpx;
- color: #2b303a;
- text-align: center;
- line-height: 60rpx;
- transition: all 0.3s ease-in-out;
- position: relative;
- overflow: hidden;
- }
- .options-tabs::before {
- content: "";
- position: absolute;
- top: 0;
- left: 0;
- right: 0;
- bottom: 0;
- background: linear-gradient(99deg, #8ff8fb 0%, #47aeff 100%);
- border-radius: 16rpx;
- opacity: 0;
- transition: opacity 0.3s ease-in-out;
- z-index: 1;
- }
- .options-tabs text {
- position: relative;
- z-index: 2;
- }
- .options-bar .options-tabs.active {
- width: 152rpx;
- height: 60rpx;
- background: #ffffff;
- /* 保持白色背景,用伪元素显示渐变 */
- border-radius: 16rpx;
- font-size: 28rpx;
- color: #2b303a;
- text-align: center;
- line-height: 60rpx;
- font-weight: bold;
- /* 过渡效果 */
- transition: all 0.3s ease-in-out;
- }
- .options-bar .options-tabs.active::before {
- opacity: 1;
- }
- /* 可选:添加点击反馈动画 */
- .options-tabs:active {
- transform: scale(0.95);
- transition: transform 0.1s ease;
- }
- .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: #fff;
- /* url('@/static/img/charging_station_item_background.png') no-repeat center */
- }
- .list .item .name {
- display: flex;
- font-weight: bold;
- position: relative;
- }
- .list .item .name > .txt {
- flex: 1;
- line-height: 1.5em;
- }
- .list .item .name > .firm-price {
- position: absolute;
- right: -20rpx;
- top: -20rpx;
- width: 200rpx;
- height: 52rpx;
- background: linear-gradient(132deg, #ff6464 0%, #ff3a3a 100%);
- border-radius: 0rpx 16rpx 0rpx 40rpx;
- text-align: center;
- line-height: 52rpx;
- color: #fff;
- }
- .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: 24rpx;
- width: 654rpx;
- height: 84rpx;
- background: linear-gradient(
- 90deg,
- rgba(170, 255, 235, 0.3) 0%,
- rgba(175, 247, 252, 0.2) 44%,
- rgba(139, 232, 252, 0) 100%
- );
- border-radius: 16rpx 16rpx 16rpx 16rpx;
- padding-left: 20rpx;
- }
- .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 {
- width: 212rpx;
- height: 52rpx;
- background: url("@/static/img/firm-bg.png");
- background-size: cover;
- background-position: center;
- line-height: 52rpx;
- }
- .card-bottom-text-minitext {
- margin-left: 110rpx;
- font-weight: bold;
- font-size: 28rpx;
- color: #ff5d50;
- }
- .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;
- }
- .ad-popup {
- height: 1000rpx;
- }
- .ad-swiper {
- height: 100%;
- }
- .ad-swiper-item {
- height: 700rpx;
- }
- .close-get {
- margin-left: 550rpx;
- width: 50rpx;
- height: 50rpx;
- border-radius: 50%;
- border: 2rpx solid #133a4f;
- color: #fff;
- font-size: 28rpx;
- font-weight: bold;
- text-align: center;
- line-height: 50rpx;
- }
- .ad-image {
- margin-top: 10rpx;
- width: 600rpx;
- border-radius: 16rpx;
- }
|