123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238 |
- <template>
- <view>
- <u-navbar title="">
- <u-search class="search" placeholder="搜索站点名称" v-model="keyword" color="#c8c8c8"></u-search>
- </u-navbar>
- <view class="recommend">推荐充电站</view>
- <view class="charing-slow">
- <text class="trickle-charge">慢充</text> <text class="station-items">荆鹏软件园充电站</text>
- <view class="address">
- 湖北省荆州市沙市区江津东路附155号
- </view>
- <view class="price">
- <view class="num">1.20</view> <view class="unit">
- 起 元/度
- </view>
- </view>
- <view class="park">
- <text class="park-p">p</text>
- <text class="park-text">2小时免费停车</text>
- </view>
- <view class="free">
- <view class="free-num">
- <text style="color:#009143;">空闲1</text>/总数5
- </view>
- <view class="distance">
- <text class="iconfont distance-font"></text>0.1公里 1分钟
- </view>
- </view>
- </view>
- <view class="charing-slow">
- <text class="fast-charge">快充</text> <text class="station-items">荆沙大道救助站充电站</text>
- <view class="address">
- 湖北省荆州市沙市区江津东路附155号
- </view>
- <view class="price">
- <view class="num">1.25</view> <view class="unit">
- 起 元/度
- </view>
- </view>
- <view class="park">
- <text class="park-p">p</text>
- <text class="park-text">2小时免费停车</text>
- </view>
- <view class="free">
- <view class="free-num">
- <text style="color:#009143;">空闲10</text>/总数10
- </view>
- <view class="distance">
- <text class="iconfont distance-font"></text>1.2公里 3分钟
- </view>
- </view>
- </view>
-
- <view class="charing-slow">
- <text class="trickle-charge">慢充</text> <text class="station-items">荆鹏软件园充电站</text>
- <view class="address">
- 湖北省荆州市沙市区江津东路附155号
- </view>
- <view class="price">
- <view class="num">1.20</view> <view class="unit">
- 起 元/度
- </view>
- </view>
- <view class="park">
- <text class="park-p">p</text>
- <text class="park-text">2小时免费停车</text>
- </view>
- <view class="free">
- <view class="free-num">
- <text style="color:#009143;">空闲1</text>/总数5
- </view>
- <view class="distance">
- <text class="iconfont distance-font"></text>0.1公里 1分钟
- </view>
- </view>
- </view>
-
- </view>
- </template>
- <script>
-
- export default {
-
- data() {
- return {
-
- }
- },
- // conponents:{charingSlows},
- methods: {
- }
- }
- </script>
- <style lang="scss" scoped>
- /deep/.u-content[data-v-1a326067] {
- flex: 0.95;
- color: #bdbdbd;
- }
- /deep/.u-action {
- margin-right: 0px;
- color: #c8c8c8;
- }
- .recommend {
- width: 100%;
- height: 44px;
- line-height: 44px;
- color: #101010;
- padding: 0 16px;
- background-color: #fff;
- font-weight: 600;
- }
- .charing-slow {
- width: 91%;
- background-color: #fff;
- margin: 12px auto 0;
- border-radius: 8px;
- padding: 10px 12px 0px;
- .trickle-charge {
- display: inline-block;
- width: 44px;
- height: 20px;
- line-height: 20px;
- border-radius: 50px;
- background-color: rgba(0, 185, 98, 100);
- color: rgba(255, 255, 255, 100);
- font-size: 12px;
- text-align: center;
- }
- .fast-charge {
- display: inline-block;
- width: 44px;
- height: 20px;
- line-height: 20px;
- border-radius: 50px;
- background-color: #9d9fff;
- color: rgba(255, 255, 255, 100);
- font-size: 12px;
- text-align: center;
- }
- .station-items {
- display: inline-block;
- height: 16px;
- line-height: 16px;
- font-size: 16px;
- margin-left: 4px;
- color: #101010;
- }
- .address {
- margin-top: 8px;
- line-height: 16px;
- font-size: 11px;
- color: rgba(119, 119, 119, 100);
- }
- .price{
- display: flex;
- height: 20px;
- .num{
- height: 20px;
- color: rgba(255, 98, 0, 100);
- font-size: 20px;
- text-align: left;
- font-family: Roboto-medium;
- }
- .unit{
- height: 14px;
- line-height: 14px;
- color: rgba(102, 102, 102, 100);
- font-size: 14px;
- text-align: left;
- font-family: AlibabaPuHui-regular;
- margin-top: 6px;
- margin-left: 4px;
- }
- }
- .park {
- margin-top: 8px;
- display: flex;
- .park-p {
- display: inline-block;
- width: 20px;
- height: 18px;
- line-height: 12px;
- text-align: center;
- background-color: rgba(125, 177, 255, 100);
- color: #fff;
- }
-
- .park-text {
- display: inline-block;
- width: 300px;
- height: 17px;
- color: rgba(102, 102, 102, 100);
- font-size: 12px;
- text-align: left;
- margin-left: 4px;
- margin-top: 2px;
- }
- }
- .free{
- display: flex;
- justify-content: space-between;
- height: 52px;
- border-top: 1px solid rgba(238, 242, 240, 100);
- margin-top: 10px;
- .free-num{
- line-height: 52px;
- font-size: 16px
- }
- .distance{
- width: 130px;
- height: 28px;
- line-height: 28px;
- color: rgba(255, 255, 255, 100);
- font-size: 14px;
- background-color: #00b962;
- border-radius: 50px;
- margin: 12px;
- text-align: center;
- .distance-font{
- font-size: 16px
- }
-
- }
- }
- }
- </style>
|