|
@@ -1,13 +1,13 @@
|
|
|
<template>
|
|
|
<view class='font1'>
|
|
|
- <u-navbar :is-back="false" height="88" style="background-color: bisque;">
|
|
|
+ <u-navbar :is-back="false" :height='nav_height'style="background-color: bisque;">
|
|
|
<view style="display: flex;flex-direction: column; width: 100%;height: 100%;">
|
|
|
<view style="display: flex;flex-direction: row; height: 100%; align-items: center;margin-top:0rpx;padding-top: 0rpx;padding-bottom: 20rpx;">
|
|
|
<view style="margin-left:20rpx;width: 160rpx;">
|
|
|
<uni-combox class='font2' ref="city" :border="false" v-model="area" :candidates="cities" @updateModel='updateCity' @updateSelector="updateCitySelector"></uni-combox>
|
|
|
</view>
|
|
|
<view style="margin-left: 20rpx;margin-right: 20rpx; flex:1" >
|
|
|
- <u-search :input-style='inputStyle' placeholder="搜索站点名称" v-model="keyword" :showAction="false" @focus="navigate"></u-search></view>
|
|
|
+ <u-search height="88" :input-style='inputStyle' placeholder="搜索站点名称" v-model="keyword" :showAction="false" @focus="navigate"></u-search></view>
|
|
|
<view style="margin-right: 20rpx;" v-show="viewMode" @click="listMode">
|
|
|
<text class="iconfont"></text> <text class="list font2">列表</text>
|
|
|
<!-- <u-icon name="list-dot" size="26" color="#c0c4cc"></u-icon>
|
|
@@ -179,7 +179,7 @@
|
|
|
<view>
|
|
|
<Chargermap @onMoveStart="moveStart" @onMoveEnd="moveEnd" ref="amap" @onClicked="onClicked" @onload="mapdown" @clickMap="clickMap"></Chargermap>
|
|
|
<!--@location="location"-->
|
|
|
- <u-image style='position:absolute;z-index:1023;right:20px;bottom:260px;' src="@/static/img/location.png" width="30px" height="30px" @click="setCenter"></u-image>
|
|
|
+ <u-image style='position:absolute;z-index:1023;right:40rpx;bottom:520rpx;' src="@/static/img/location.png" width="30px" height="30px" @click="setCenter"></u-image>
|
|
|
|
|
|
</view>
|
|
|
<view v-if="stationsmap.length>0" class="chargerCard" style="border-radius: 20rpx;">
|
|
@@ -289,6 +289,7 @@ export default {
|
|
|
"font-size":'18px',
|
|
|
"font-weight":"normal"
|
|
|
},
|
|
|
+ nav_height:88,
|
|
|
elderMode:false,
|
|
|
showCity:false,
|
|
|
showType:false,
|
|
@@ -357,6 +358,9 @@ export default {
|
|
|
},
|
|
|
onLoad(op) {
|
|
|
_self = this;
|
|
|
+
|
|
|
+ var px = uni.upx2px(172);
|
|
|
+ this.nav_height = px;
|
|
|
// console.log('longitude0 ' + _self.longitude);
|
|
|
// console.log('latitude0 ' + _self.latitude);
|
|
|
if (op != null) {
|
|
@@ -1163,7 +1167,7 @@ export default {
|
|
|
document.getElementsByTagName('body')[0].setAttribute('data-theme',type);
|
|
|
let data = {
|
|
|
backgroundColor: 'transparent',
|
|
|
- "font-size":'18px',
|
|
|
+ "font-size":'36rpx',
|
|
|
"font-weight":"bold!important"
|
|
|
};
|
|
|
this.inputStyle = data;
|
|
@@ -1173,7 +1177,7 @@ export default {
|
|
|
document.getElementsByTagName('body')[0].setAttribute('data-theme',type);
|
|
|
let data ={
|
|
|
backgroundColor: 'transparent',
|
|
|
- "font-size":'16px',
|
|
|
+ "font-size":'36rpx',
|
|
|
"font-weight":"normal"
|
|
|
};
|
|
|
this.inputStyle = data;
|
|
@@ -1227,7 +1231,7 @@ export default {
|
|
|
text-align: center;
|
|
|
border-style: none;
|
|
|
width: 20%;
|
|
|
- height: 28px;
|
|
|
+ height: 56rpx;
|
|
|
@include themeify{
|
|
|
font-size: themed('font-size1');
|
|
|
line-height: themed('font-size2');
|
|
@@ -1241,7 +1245,7 @@ export default {
|
|
|
text-align: center;
|
|
|
border-style: none;
|
|
|
width: 22%;
|
|
|
- height: 28px;
|
|
|
+ height: 56rpx;
|
|
|
@include themeify{
|
|
|
font-size: themed('font-size1');
|
|
|
line-height: themed('font-size2');
|
|
@@ -1256,7 +1260,7 @@ export default {
|
|
|
text-align: center;
|
|
|
width: 28%;
|
|
|
border-style: none;
|
|
|
- height: 28px;
|
|
|
+ height: 56rpx;
|
|
|
@include themeify{
|
|
|
font-size: themed('font-size1');
|
|
|
line-height: themed('font-size2');
|
|
@@ -1274,13 +1278,13 @@ export default {
|
|
|
}
|
|
|
.pre-btn{
|
|
|
width: 100%;
|
|
|
- height: 48px;
|
|
|
+ height: 96rpx;
|
|
|
z-index: 999;
|
|
|
}
|
|
|
|
|
|
.btn-1,.btn-2{
|
|
|
- height: 48px;
|
|
|
- line-height: 48px;
|
|
|
+ height: 96rpx;
|
|
|
+ line-height: 96rpx;
|
|
|
text-align: center;
|
|
|
border-top: 1px solid rgba(225, 228, 232, 100);
|
|
|
}
|
|
@@ -1302,9 +1306,9 @@ export default {
|
|
|
z-index:1021
|
|
|
*/
|
|
|
background-color: #fff;
|
|
|
- margin: 0 12px;
|
|
|
- border-radius: 8px;
|
|
|
- padding: 10px 12px 0px;
|
|
|
+ margin: 0 24rpx;
|
|
|
+ border-radius: 16rpx;
|
|
|
+ padding: 20rpx 24rpx 0rpx;
|
|
|
bottom: 68px;
|
|
|
left: 0;
|
|
|
right: 0;
|
|
@@ -1374,28 +1378,29 @@ export default {
|
|
|
}
|
|
|
|
|
|
.list {
|
|
|
- margin-left: 2px;
|
|
|
+ margin-left: 4rpx;
|
|
|
|
|
|
}
|
|
|
|
|
|
.charing-slow {
|
|
|
background-color: #fff;
|
|
|
- margin: 20rpx;
|
|
|
- border-radius: 8px;
|
|
|
- padding: 10px 12px 0px;
|
|
|
+ margin: 40rpx;
|
|
|
+ border-radius: 16rpx;
|
|
|
+ padding: 20rpx 24rpx 0rpx;
|
|
|
position: relative;
|
|
|
left: 0;
|
|
|
right: 0;
|
|
|
}
|
|
|
.fast-charge {
|
|
|
display: inline-block;
|
|
|
- width: 44px;
|
|
|
-/* height: 20px;
|
|
|
+ /* width: 44px;
|
|
|
+ height: 20px;
|
|
|
line-height: 20px;*/
|
|
|
- border-radius: 50px;
|
|
|
+ border-radius: 100rpx;
|
|
|
background-color: #9d9fff;
|
|
|
color: rgba(255, 255, 255, 100);
|
|
|
@include themeify{
|
|
|
+ width: themed('font-size17');
|
|
|
font-size: themed('font-size1');
|
|
|
line-height: themed('font-size5');
|
|
|
height: themed('font-size5');
|
|
@@ -1405,13 +1410,14 @@ export default {
|
|
|
|
|
|
.fast-trickle-charge {
|
|
|
display: inline-block;
|
|
|
- width: 66px;
|
|
|
-/* height: 20px;
|
|
|
+ /* width: 66px;
|
|
|
+ height: 20px;
|
|
|
line-height: 20px;*/
|
|
|
- border-radius: 50px;
|
|
|
+ border-radius: 100rpx;
|
|
|
background-color: #00BAC8;
|
|
|
color: rgba(255, 255, 255, 100);
|
|
|
@include themeify{
|
|
|
+ width: themed('font-size17');
|
|
|
font-size: themed('font-size1');
|
|
|
line-height: themed('font-size5');
|
|
|
height: themed('font-size5');
|
|
@@ -1420,13 +1426,14 @@ export default {
|
|
|
}
|
|
|
.trickle-charge {
|
|
|
display: inline-block;
|
|
|
- width: 44px;
|
|
|
-/* height: 20px;
|
|
|
+ /* width: 44px;
|
|
|
+ height: 20px;
|
|
|
line-height: 20px;*/
|
|
|
- border-radius: 50px;
|
|
|
+ border-radius: 100rpx;
|
|
|
background-color: rgba(0, 185, 98, 100);
|
|
|
color: rgba(255, 255, 255, 100);
|
|
|
@include themeify{
|
|
|
+ width: themed('font-size17');
|
|
|
font-size: themed('font-size1');
|
|
|
line-height: themed('font-size5');
|
|
|
height: themed('font-size5');
|
|
@@ -1445,7 +1452,7 @@ export default {
|
|
|
height: themed('font-size3');
|
|
|
}
|
|
|
/* font-size: 16px;*/
|
|
|
- margin-left: 4px;
|
|
|
+ margin-left: 8rpx;
|
|
|
color: #101010;
|
|
|
|
|
|
|
|
@@ -1453,8 +1460,8 @@ export default {
|
|
|
|
|
|
.fast-charge {
|
|
|
display: inline-block;
|
|
|
- width: 44px;
|
|
|
-/* height: 20px;
|
|
|
+ /* width: 44px;
|
|
|
+ height: 20px;
|
|
|
line-height: 20px;*/
|
|
|
border-radius: 50px;
|
|
|
background-color: #9d9fff;
|
|
@@ -1462,6 +1469,7 @@ export default {
|
|
|
/* font-size: 12px;*/
|
|
|
|
|
|
@include themeify{
|
|
|
+ width: themed('font-size17');
|
|
|
font-size: themed('font-size1');
|
|
|
line-height: themed('font-size5');
|
|
|
height: themed('font-size5');
|
|
@@ -1470,7 +1478,7 @@ export default {
|
|
|
}
|
|
|
|
|
|
.address {
|
|
|
- margin-top: 8px;
|
|
|
+ margin-top: 16rpx;
|
|
|
/* line-height: 16px;*/
|
|
|
@include themeify{
|
|
|
font-size: themed('font-size1');
|
|
@@ -1482,7 +1490,7 @@ export default {
|
|
|
|
|
|
.price {
|
|
|
display: flex;
|
|
|
- height: 20px;
|
|
|
+ height: 40rpx;
|
|
|
|
|
|
}
|
|
|
|
|
@@ -1511,11 +1519,11 @@ export default {
|
|
|
/* font-size: 14px;*/
|
|
|
text-align: left;
|
|
|
font-family: AlibabaPuHui-regular;
|
|
|
- margin-top: 6px;
|
|
|
- margin-left: 4px;
|
|
|
+ margin-top: 12rpx;
|
|
|
+ margin-left: 8rpx;
|
|
|
}
|
|
|
.park {
|
|
|
- margin-top: 8px;
|
|
|
+ margin-top: 16rpx;
|
|
|
display: flex;
|
|
|
|
|
|
|