|
@@ -1,20 +1,20 @@
|
|
|
<template>
|
|
|
- <view>
|
|
|
+ <view class='font1'>
|
|
|
<u-navbar :is-back="false" height="88" 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 ref="city" :border="false" v-model="area" :candidates="cities" @updateModel='updateCity' @updateSelector="updateCitySelector"></uni-combox>
|
|
|
+ <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 placeholder="搜索站点名称" v-model="keyword" :showAction="false" @focus="navigate"></u-search></view>
|
|
|
+ <u-search :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">列表</text>
|
|
|
+ <text class="iconfont"></text> <text class="list font2">列表</text>
|
|
|
<!-- <u-icon name="list-dot" size="26" color="#c0c4cc"></u-icon>
|
|
|
<label>列表</label>-->
|
|
|
</view>
|
|
|
<view style="margin-right: 20rpx;" v-show="!viewMode" @click="mapMode">
|
|
|
- <text class="iconfont"></text> <text class="list">地图</text>
|
|
|
+ <text class="iconfont"></text> <text class="list font2">地图</text>
|
|
|
<!--<u-icon name="map" size="26" color="#c0c4cc"></u-icon>
|
|
|
<label>地图</label>
|
|
|
-->
|
|
@@ -23,7 +23,7 @@
|
|
|
|
|
|
<view style="display: flex;flex-direction: row;width:100%; justify-content: space-between;align-items: center;">
|
|
|
<view style="margin-left:20rpx;width: 160rpx;">
|
|
|
- <uni-combox ref="radius" style="width: 200rpx;" :border="false" v-model="radius" :candidates="radiuses" @updateModel='updateRadius' @updateSelector="updateRadiusSelector"></uni-combox>
|
|
|
+ <uni-combox class='font2' ref="radius" style="width: 200rpx;" :border="false" v-model="radius" :candidates="radiuses" @updateModel='updateRadius' @updateSelector="updateRadiusSelector"></uni-combox>
|
|
|
</view>
|
|
|
<!--
|
|
|
<view style="margin-left: 20rpx;">
|
|
@@ -32,7 +32,7 @@
|
|
|
</view>
|
|
|
-->
|
|
|
<view style="margin-left:20rpx;margin-right: 20rpx;flex:1">
|
|
|
- <uni-combox ref="type" style="width: 200rpx;" :border="false" v-model="type" :candidates="types" @updateModel='updateType' @updateSelector="updateTypeSelector"></uni-combox>
|
|
|
+ <uni-combox ref="type" class='font2' style="width: 200rpx;" :border="false" v-model="type" :candidates="types" @updateModel='updateType' @updateSelector="updateTypeSelector"></uni-combox>
|
|
|
</view>
|
|
|
|
|
|
<!-- <view style="margin-left: 20rpx;margin-right: 20rpx;flex:1">
|
|
@@ -40,7 +40,7 @@
|
|
|
<u-icon name="arrow-down-fill" size="13" color="#c0c4cc"></u-icon>
|
|
|
</view>-->
|
|
|
<view style="margin-right: 20rpx;" @click="open">
|
|
|
- <label class="arrow">{{ action }}</label>
|
|
|
+ <label class="arrow font2">{{ action }}</label>
|
|
|
<u-icon v-if="show" name="arrow-down-fill" size="13" color="#00B962"></u-icon>
|
|
|
<u-icon v-else name="arrow-down-fill" size="13" color="#c0c4cc"></u-icon>
|
|
|
</view>
|
|
@@ -68,7 +68,7 @@
|
|
|
<view class="preference_group_item"><label class="preference_label">充电站类型</label></view>
|
|
|
<view>
|
|
|
<u-tag
|
|
|
- class="preference_item"
|
|
|
+ class="preference_item_medium"
|
|
|
v-for="(item, index) in info.obc_type"
|
|
|
:key="index"
|
|
|
:style="index == preference.obc_type_index ? 'background-color:#00B962;color:#FFFFFF' : 'background-color:#EFF4F2;color:#926666'"
|
|
@@ -137,8 +137,8 @@
|
|
|
|
|
|
</view>
|
|
|
<view class="pre-btn" style="display: flex;flex-direction: row;">
|
|
|
- <view class="btn-1" @click="reset" style="width: 30%;">重置</view>
|
|
|
- <view class="btn-2" @click="close" style="width: 70%;background-color: #00B962;color: #fff;">确定</view>
|
|
|
+ <view class="btn-1 font3" @click="reset" style="width: 30%;">重置</view>
|
|
|
+ <view class="btn-2 font3" @click="close" style="width: 70%;background-color: #00B962;color: #fff;">确定</view>
|
|
|
</view>
|
|
|
|
|
|
</view>
|
|
@@ -153,7 +153,7 @@
|
|
|
<view class="price">
|
|
|
<view class="num">{{item.price}}</view>
|
|
|
<view class="unit">
|
|
|
- 起 元/度
|
|
|
+ 元/度 起
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class="park">
|
|
@@ -187,27 +187,27 @@
|
|
|
<swiper-item v-for="(item,index) in stationsmap" :key="item.id" style="height: 100%;">
|
|
|
|
|
|
<view class="swiper-item" style="height: 100%; background-color: #ffffff;" @click="stationDetail(item)">
|
|
|
- <view class="card_item" style="font-size: 35rpx;padding-top: 5rpx;">
|
|
|
+ <view class="card_item" style="padding-top: 5rpx;">
|
|
|
<view style="display: flex;flex-direction: row;">
|
|
|
<view :class="item.type == '快充' ? 'fast-charge':(item.type == '慢充' ? 'trickle-charge':'fast-trickle-charge')" >
|
|
|
{{item.type}}
|
|
|
</view>
|
|
|
- <view>
|
|
|
+ <view class="font-weight3" >
|
|
|
{{item.name}}
|
|
|
</view>
|
|
|
|
|
|
</view>
|
|
|
</view>
|
|
|
- <view class="card_item" style="color:#8898A9;font-size: 15rpx;">
|
|
|
+ <view class="card_item" style="color:#8898A9;">
|
|
|
{{item.position}}
|
|
|
</view>
|
|
|
|
|
|
<view class="card_item2" >
|
|
|
- <view style="color:#FF6573;font-size:45rpx;margin-right: 10rpx;">
|
|
|
+ <view style="color:#FF6573;margin-right: 10rpx;">
|
|
|
{{item.price}}
|
|
|
</view>
|
|
|
<view style="display: flex; justify-content: center;align-items: center">
|
|
|
- 起 元/度
|
|
|
+ 元/度 起
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class="card_item" style="border-bottom: #F1F4F3; border-bottom-width: 2rpx;border-style: solid;border-top-width: 0rpx;border-left-width: 0rpx;border-right-width:0rpx; padding-bottom:20rpx">
|
|
@@ -218,11 +218,11 @@
|
|
|
<label>{{item.park}}</label>
|
|
|
</view>
|
|
|
<view style="display: flex;flex-direction: row;">
|
|
|
- <view style="color: #00B962;">
|
|
|
+ <view style="color: #00B962;" class="font-weight2">
|
|
|
空闲{{item.idleNum}}
|
|
|
</view>
|
|
|
|
|
|
- <view>
|
|
|
+ <view class="font-weight2">
|
|
|
/总数{{item.total}}
|
|
|
</view>
|
|
|
</view>
|
|
@@ -231,7 +231,8 @@
|
|
|
<view class="card_item" style="padding-bottom: 20rpx;">
|
|
|
<u-button shape='circle' style="color: #00B962;" @click="getScanCode" >
|
|
|
<u-icon name="scan" size="26" color="#00B962" style="margin-right: 20rpx;"></u-icon>
|
|
|
- <label>扫码充电</label></u-button>
|
|
|
+ <label>扫码充电</label>
|
|
|
+ </u-button>
|
|
|
|
|
|
<view class="round" @click.stop="navigateTo(item)">
|
|
|
<text class="iconfont distance-font"></text>
|
|
@@ -283,6 +284,11 @@ export default {
|
|
|
},
|
|
|
data() {
|
|
|
return {
|
|
|
+ inputStyle:{
|
|
|
+ backgroundColor: 'transparent',
|
|
|
+ "font-size":'18px',
|
|
|
+ "font-weight":"normal"
|
|
|
+ },
|
|
|
elderMode:false,
|
|
|
showCity:false,
|
|
|
showType:false,
|
|
@@ -358,11 +364,24 @@ export default {
|
|
|
if (op.latitude != null) this.latitude = op.latitude;
|
|
|
if (op.id != null) this.id = op.id;
|
|
|
}
|
|
|
-
|
|
|
+ if(this.elderMode)
|
|
|
+ {
|
|
|
+ window.document.getElementsByTagName('body')[0].style.setProperty('--theme', 1);
|
|
|
+ }
|
|
|
+
|
|
|
//navigation.getPoint();
|
|
|
|
|
|
},
|
|
|
onReady() {
|
|
|
+ console.log('长者模式'+JSON.stringify(this.carhelp.get("getElderModeClass")));
|
|
|
+ this.elderMode = this.carhelp.get('getElderModeClass');
|
|
|
+
|
|
|
+ //this.elderMode = true;
|
|
|
+ if(this.elderMode)
|
|
|
+ this.theme('elder')
|
|
|
+ else
|
|
|
+ this.theme('standard')
|
|
|
+
|
|
|
if (this.carhelp.getPersonInfo()) {
|
|
|
this.userId = this.carhelp.getPersonInfo().id;
|
|
|
|
|
@@ -469,6 +488,7 @@ export default {
|
|
|
// console.log('setCenter')
|
|
|
},
|
|
|
getScanCode() {
|
|
|
+
|
|
|
if(!this.isEnabled())
|
|
|
return;
|
|
|
if (this.userId) {
|
|
@@ -602,6 +622,14 @@ export default {
|
|
|
},
|
|
|
|
|
|
navigateTo(item){
|
|
|
+ /*
|
|
|
+ this.elderMode = !this.elderMode;
|
|
|
+ if(this.elderMode)
|
|
|
+ this.theme('elder')
|
|
|
+ else
|
|
|
+ this.theme('standard')
|
|
|
+ return;
|
|
|
+ */
|
|
|
//this.guide('gd',item);
|
|
|
//console.log('导航'+JSON.stringify(item))
|
|
|
window.location.href="https://uri.amap.com/marker?position="+ item.longitude+","+item.latitude+"&name="+item.name;
|
|
@@ -822,7 +850,7 @@ export default {
|
|
|
};*/
|
|
|
_self.stationsmap.push(obj);
|
|
|
}
|
|
|
- _self.$refs.amap.searchBtn([_self.longitude, _self.latitude],_self.stationsmap)
|
|
|
+ _self.$refs.amap.calcDistances([_self.longitude, _self.latitude],_self.stationsmap)
|
|
|
_self.$refs.amap.setChargerList(_self.stationsmap);
|
|
|
if(_self.stationsmap.length>0)
|
|
|
{
|
|
@@ -881,7 +909,7 @@ export default {
|
|
|
//arr.push(obj);
|
|
|
_self.stationslist.push(obj);
|
|
|
}
|
|
|
- _self.$refs.amap.searchBtn([_self.longitude, _self.latitude],_self.stationslist)
|
|
|
+ _self.$refs.amap.calcDistances([_self.longitude, _self.latitude],_self.stationslist)
|
|
|
|
|
|
// console.log(' getChargingStationData stations'+JSON.stringify(_self.stationslist))
|
|
|
|
|
@@ -1127,12 +1155,38 @@ export default {
|
|
|
this.getChargingStationData(data2);
|
|
|
|
|
|
|
|
|
+ },
|
|
|
+ theme(type) {
|
|
|
+
|
|
|
+ if(type == 'elder')
|
|
|
+ {
|
|
|
+ document.getElementsByTagName('body')[0].setAttribute('data-theme',type);
|
|
|
+ let data = {
|
|
|
+ backgroundColor: 'transparent',
|
|
|
+ "font-size":'18px',
|
|
|
+ "font-weight":"bold!important"
|
|
|
+ };
|
|
|
+ this.inputStyle = data;
|
|
|
+ }
|
|
|
+ else
|
|
|
+ {
|
|
|
+ document.getElementsByTagName('body')[0].setAttribute('data-theme',type);
|
|
|
+ let data ={
|
|
|
+ backgroundColor: 'transparent',
|
|
|
+ "font-size":'16px',
|
|
|
+ "font-weight":"normal"
|
|
|
+ };
|
|
|
+ this.inputStyle = data;
|
|
|
+
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
};
|
|
|
</script>
|
|
|
|
|
|
-<style>
|
|
|
+ <style lang="scss" scoped>
|
|
|
+ @import "@/_theme.scss";
|
|
|
+
|
|
|
.uni-combox__no-border{
|
|
|
white-space: nowrap;
|
|
|
}
|
|
@@ -1174,7 +1228,25 @@ export default {
|
|
|
border-style: none;
|
|
|
width: 20%;
|
|
|
height: 28px;
|
|
|
- line-height: 14px;
|
|
|
+ @include themeify{
|
|
|
+ font-size: themed('font-size1');
|
|
|
+ line-height: themed('font-size2');
|
|
|
+ }
|
|
|
+/* line-height: 14px;*/
|
|
|
+}
|
|
|
+
|
|
|
+.preference_item_medium {
|
|
|
+ margin-bottom: 10rpx;
|
|
|
+ margin-left: 20rpx;
|
|
|
+ text-align: center;
|
|
|
+ border-style: none;
|
|
|
+ width: 22%;
|
|
|
+ height: 28px;
|
|
|
+ @include themeify{
|
|
|
+ font-size: themed('font-size1');
|
|
|
+ line-height: themed('font-size2');
|
|
|
+ }
|
|
|
+/* line-height: 14px;*/
|
|
|
}
|
|
|
.preference_item_plus {
|
|
|
margin-bottom: 10rpx;
|
|
@@ -1182,13 +1254,21 @@ export default {
|
|
|
align-items: center;
|
|
|
justify-content: center;
|
|
|
text-align: center;
|
|
|
- width: 25%;
|
|
|
+ width: 28%;
|
|
|
border-style: none;
|
|
|
height: 28px;
|
|
|
- line-height: 14px;
|
|
|
+ @include themeify{
|
|
|
+ font-size: themed('font-size1');
|
|
|
+ line-height: themed('font-size2');
|
|
|
+ }
|
|
|
+/* line-height: 14px;*/
|
|
|
}
|
|
|
.preference_label {
|
|
|
- color: #9f9c99;
|
|
|
+ @include themeify{
|
|
|
+ color:themed('font_colorLabel');
|
|
|
+ font-size: themed('font-size1');
|
|
|
+ font-weight: themed('fontWeight');
|
|
|
+ }
|
|
|
margin-left: 20rpx;
|
|
|
margin-bottom: 100rpx;
|
|
|
}
|
|
@@ -1228,8 +1308,10 @@ export default {
|
|
|
bottom: 68px;
|
|
|
left: 0;
|
|
|
right: 0;
|
|
|
- position: fixed;
|
|
|
- height:360rpx;
|
|
|
+ position: fixed;
|
|
|
+ @include themeify{
|
|
|
+ height:themed('cardHeight');
|
|
|
+ }
|
|
|
/*
|
|
|
z-index: 1021;
|
|
|
width: 80%;
|
|
@@ -1244,6 +1326,9 @@ export default {
|
|
|
.card_item{
|
|
|
display: flex;
|
|
|
flex-direction: row;
|
|
|
+ @include themeify{
|
|
|
+ font-size: themed('font-size2');
|
|
|
+ }
|
|
|
justify-content: space-between;
|
|
|
margin-left: 20rpx;
|
|
|
margin-right: 20rpx;
|
|
@@ -1252,6 +1337,9 @@ export default {
|
|
|
.card_item2{
|
|
|
display: flex;
|
|
|
flex-direction: row;
|
|
|
+ @include themeify{
|
|
|
+ font-size: themed('font-size2');
|
|
|
+ }
|
|
|
margin-left: 20rpx;
|
|
|
margin-right: 20rpx;
|
|
|
margin-bottom: 10rpx;
|
|
@@ -1263,7 +1351,12 @@ export default {
|
|
|
text-align: center;
|
|
|
justify-content: center;
|
|
|
align-items: center;
|
|
|
- width: 250rpx;
|
|
|
+ @include themeify{
|
|
|
+ font-size: themed('font-size2');
|
|
|
+ width:themed('buttonWidth')
|
|
|
+ }
|
|
|
+
|
|
|
+/* width: 250rpx;*/
|
|
|
display: flex;
|
|
|
flex-direction: row;
|
|
|
}
|
|
@@ -1297,43 +1390,61 @@ export default {
|
|
|
.fast-charge {
|
|
|
display: inline-block;
|
|
|
width: 44px;
|
|
|
- height: 20px;
|
|
|
- line-height: 20px;
|
|
|
+/* height: 20px;
|
|
|
+ line-height: 20px;*/
|
|
|
border-radius: 50px;
|
|
|
background-color: #9d9fff;
|
|
|
color: rgba(255, 255, 255, 100);
|
|
|
- font-size: 12px;
|
|
|
+ @include themeify{
|
|
|
+ font-size: themed('font-size1');
|
|
|
+ line-height: themed('font-size5');
|
|
|
+ height: themed('font-size5');
|
|
|
+ }
|
|
|
text-align: center;
|
|
|
}
|
|
|
|
|
|
.fast-trickle-charge {
|
|
|
display: inline-block;
|
|
|
width: 66px;
|
|
|
- height: 20px;
|
|
|
- line-height: 20px;
|
|
|
+/* height: 20px;
|
|
|
+ line-height: 20px;*/
|
|
|
border-radius: 50px;
|
|
|
background-color: #00BAC8;
|
|
|
- color: rgba(255, 255, 255, 100);
|
|
|
- font-size: 12px;
|
|
|
+ color: rgba(255, 255, 255, 100);
|
|
|
+ @include themeify{
|
|
|
+ font-size: themed('font-size1');
|
|
|
+ line-height: themed('font-size5');
|
|
|
+ height: themed('font-size5');
|
|
|
+ }
|
|
|
text-align: center;
|
|
|
}
|
|
|
.trickle-charge {
|
|
|
display: inline-block;
|
|
|
width: 44px;
|
|
|
- height: 20px;
|
|
|
- line-height: 20px;
|
|
|
+/* height: 20px;
|
|
|
+ line-height: 20px;*/
|
|
|
border-radius: 50px;
|
|
|
background-color: rgba(0, 185, 98, 100);
|
|
|
color: rgba(255, 255, 255, 100);
|
|
|
- font-size: 12px;
|
|
|
+ @include themeify{
|
|
|
+ font-size: themed('font-size1');
|
|
|
+ line-height: themed('font-size5');
|
|
|
+ height: themed('font-size5');
|
|
|
+ }
|
|
|
text-align: center;
|
|
|
}
|
|
|
|
|
|
.station-items {
|
|
|
display: inline-block;
|
|
|
- height: 16px;
|
|
|
- line-height: 16px;
|
|
|
- font-size: 16px;
|
|
|
+/* height: 16px;
|
|
|
+ line-height: 16px;*/
|
|
|
+ @include themeify{
|
|
|
+ font-size: themed('font-size3');
|
|
|
+ font-weight: themed('fontWeight');
|
|
|
+ line-height: themed('font-size3');
|
|
|
+ height: themed('font-size3');
|
|
|
+ }
|
|
|
+/* font-size: 16px;*/
|
|
|
margin-left: 4px;
|
|
|
color: #101010;
|
|
|
|
|
@@ -1343,19 +1454,29 @@ export default {
|
|
|
.fast-charge {
|
|
|
display: inline-block;
|
|
|
width: 44px;
|
|
|
- height: 20px;
|
|
|
- line-height: 20px;
|
|
|
+/* height: 20px;
|
|
|
+ line-height: 20px;*/
|
|
|
border-radius: 50px;
|
|
|
background-color: #9d9fff;
|
|
|
color: rgba(255, 255, 255, 100);
|
|
|
- font-size: 12px;
|
|
|
+/* font-size: 12px;*/
|
|
|
+
|
|
|
+ @include themeify{
|
|
|
+ font-size: themed('font-size1');
|
|
|
+ line-height: themed('font-size5');
|
|
|
+ height: themed('font-size5');
|
|
|
+ }
|
|
|
text-align: center;
|
|
|
}
|
|
|
|
|
|
.address {
|
|
|
margin-top: 8px;
|
|
|
- line-height: 16px;
|
|
|
- font-size: 11px;
|
|
|
+/* line-height: 16px;*/
|
|
|
+ @include themeify{
|
|
|
+ font-size: themed('font-size1');
|
|
|
+ line-height: themed('font-size3');
|
|
|
+ }
|
|
|
+/* font-size: 11px;*/
|
|
|
color: rgba(119, 119, 119, 100);
|
|
|
}
|
|
|
|
|
@@ -1367,18 +1488,27 @@ export default {
|
|
|
|
|
|
|
|
|
.num {
|
|
|
- height: 20px;
|
|
|
+/* height: 20px;*/
|
|
|
color: rgba(255, 98, 0, 100);
|
|
|
- font-size: 20px;
|
|
|
+ /* font-size: 20px;*/
|
|
|
+ @include themeify{
|
|
|
+ font-size: themed('font-size5');
|
|
|
+ height: themed('font-size5');
|
|
|
+ }
|
|
|
text-align: left;
|
|
|
font-family: Roboto-medium;
|
|
|
}
|
|
|
|
|
|
.unit {
|
|
|
- height: 14px;
|
|
|
- line-height: 14px;
|
|
|
+ /* height: 14px;
|
|
|
+ line-height: 14px;*/
|
|
|
color: rgba(102, 102, 102, 100);
|
|
|
- font-size: 14px;
|
|
|
+ @include themeify{
|
|
|
+ font-size: themed('font-size2');
|
|
|
+ height: themed('font-size2');
|
|
|
+ line-height: themed('font-size2');
|
|
|
+ }
|
|
|
+/* font-size: 14px;*/
|
|
|
text-align: left;
|
|
|
font-family: AlibabaPuHui-regular;
|
|
|
margin-top: 6px;
|
|
@@ -1395,8 +1525,12 @@ export default {
|
|
|
.park-p {
|
|
|
display: inline-block;
|
|
|
width: 20px;
|
|
|
- height: 18px;
|
|
|
- line-height: 12px;
|
|
|
+/* height: 18px;
|
|
|
+ line-height: 12px;*/
|
|
|
+ @include themeify{
|
|
|
+ line-height: themed('font-size1');
|
|
|
+ height: themed('font-size4');
|
|
|
+ }
|
|
|
text-align: center;
|
|
|
background-color: rgba(125, 177, 255, 100);
|
|
|
color: #fff;
|
|
@@ -1404,9 +1538,13 @@ export default {
|
|
|
.park-text {
|
|
|
display: inline-block;
|
|
|
width: 300px;
|
|
|
- height: 17px;
|
|
|
+/* height: 17px;*/
|
|
|
color: rgba(102, 102, 102, 100);
|
|
|
- font-size: 12px;
|
|
|
+ @include themeify{
|
|
|
+ font-size: themed('font-size1');
|
|
|
+ height:themed('font-size4');
|
|
|
+ }
|
|
|
+/* font-size: 12px;*/
|
|
|
text-align: left;
|
|
|
margin-left: 4px;
|
|
|
margin-top: 2px;
|
|
@@ -1433,14 +1571,24 @@ export default {
|
|
|
}
|
|
|
.free-num {
|
|
|
line-height: 52px;
|
|
|
- font-size: 16px
|
|
|
+ @include themeify{
|
|
|
+ font-size: themed('font-size3');
|
|
|
+ font-weight: themed('fontWeight');
|
|
|
+ }
|
|
|
+/* font-size: 16px*/
|
|
|
}
|
|
|
.distance {
|
|
|
width: 130px;
|
|
|
- height: 28px;
|
|
|
- line-height: 28px;
|
|
|
+/* height: 28px;
|
|
|
+ line-height: 28px;*/
|
|
|
color: rgba(255, 255, 255, 100);
|
|
|
- font-size: 14px;
|
|
|
+ @include themeify{
|
|
|
+ font-size: themed('font-size2');
|
|
|
+ line-height: themed('font-size9');
|
|
|
+ height: themed('font-size9');
|
|
|
+ }
|
|
|
+ /*
|
|
|
+ font-size: 14px;*/
|
|
|
background-color: #00b962;
|
|
|
border-radius: 50px;
|
|
|
margin: 12px;
|
|
@@ -1450,12 +1598,18 @@ export default {
|
|
|
|
|
|
}
|
|
|
.distance-font {
|
|
|
- font-size: 16px
|
|
|
+ @include themeify{
|
|
|
+ font-size: themed('font-size3');
|
|
|
+ }
|
|
|
+/* font-size: 16px*/
|
|
|
}
|
|
|
|
|
|
.position{
|
|
|
color: #1677ff;
|
|
|
- font-size: 14px
|
|
|
+ @include themeify{
|
|
|
+ font-size: themed('font-size2');
|
|
|
+ }
|
|
|
+/* font-size: 14px*/
|
|
|
}
|
|
|
.position-box{
|
|
|
position:absolute;
|