|
@@ -339,7 +339,7 @@
|
|
|
<!-- 附近站点 -->
|
|
|
<template v-for="(stationData,i) in stationList">
|
|
|
<view class="station" :key="i+'abc'" v-show="!listShow||i==0"
|
|
|
- @click="gotoUrl('pages/searchPile/stationAndPile/stationDetails?id=' + stationData.id)">
|
|
|
+ @click="gotoStationDetails(stationData)">
|
|
|
<view class="head">
|
|
|
<view class="title oldTextjp" oldstyle="font-size: 20px;">
|
|
|
{{stationData.name}}
|
|
@@ -533,7 +533,7 @@
|
|
|
<!-- 附近站点 -->
|
|
|
<view class="station" v-for="(stationData,i) in defaultStation" :key="i"
|
|
|
v-if="stationList.length == 0 && chargeList.length == 0"
|
|
|
- @click="gotoUrl('pages/searchPile/stationAndPile/stationDetails?id=' + stationData.id)">
|
|
|
+ @click="gotoStationDetails(stationData)">
|
|
|
<view class="head">
|
|
|
<view class="title oldTextjp" oldstyle="font-size: 20px;">
|
|
|
{{stationData.name}}
|
|
@@ -1022,7 +1022,15 @@
|
|
|
updated() {
|
|
|
this.onPageScrollMethod()
|
|
|
},
|
|
|
- methods: {
|
|
|
+ methods: {
|
|
|
+ gotoStationDetails(stationData){
|
|
|
+ if(stationData.fastNum==0&&stationData.slowNum==1){
|
|
|
+ this.gotoUrl('pages/searchPile/stationAndPile/chargingPileDetails?isback=1&sid=' + stationData.id)
|
|
|
+
|
|
|
+ }else{
|
|
|
+ this.gotoUrl('pages/searchPile/stationAndPile/stationDetails?id=' + stationData.id)
|
|
|
+ }
|
|
|
+ },
|
|
|
getPercent(chargingRecord) {
|
|
|
if (!chargingRecord.startTime) {
|
|
|
return '00:00:00'
|