常志远 3 лет назад
Родитель
Сommit
ac35b45b10
2 измененных файлов с 5 добавлено и 5 удалено
  1. 3 3
      .env.test.js
  2. 2 2
      pages/index/index.vue

+ 3 - 3
.env.test.js

@@ -8,13 +8,13 @@ const UNI_APP = {
 	NODE_ENV :"test",
 	SIMPLE_RUN:false,
 	//openId:"oHjCawigqi8SEAwutwkQ-VEgdp3k",//测试用openId
-	//openId:"oHjCawmHqG44pqUW54iBlenaHYB8",
+	//openId:"oHjCawmHqG44pqUW54iBlenaHYB8",D
 	//小鹏管家appid
 	VUE_APP_WXAPPID:"wx3afdb1b60188c1e5",
 	//zkx的测试openId
-	//openId:"oHjCawsJ5blME36lHaSpSVfEhleU",
+	openId:"oHjCawsJ5blME36lHaSpSVfEhleU",
 	// openId:"oHjCawigqi8SEAwutwkQ-VEgdp3k",
-	openId:"oK9Wr55J1J1eL6BqI2tW749NTxNU",
+	// openId:"oK9Wr55J1J1eL6BqI2tW749NTxNU",
 	//zq的测试openId
 	//openId:"oHjCawsxTJkxixR74OVp7aCKahj8",
 }  

+ 2 - 2
pages/index/index.vue

@@ -51,7 +51,7 @@
         
  <view style="height:50px"></view>  
 		<!-- 站点 -->
-		<view class="station" v-if="message == 'getLocation:ok' && chargeList.length == 0" @click="gotoUrl('pages/searchPile/stationAndPile/stationDetails?id=' + stationData.id)">
+		<view class="station" v-if="true||message == 'getLocation:ok' && chargeList.length == 0" @click="gotoUrl('pages/searchPile/stationAndPile/stationDetails?id=' + stationData.id)">
 			<view class="img-box">
 				<img src="static/img/Frame 198 (1).png" alt="">
 			</view>
@@ -82,7 +82,7 @@
 			</view>
 		</view>
 		<!-- 定位 -->
-		<view class="location-box" v-if="message != 'getLocation:ok' && chargeList.length == 0">
+		<view class="location-box" v-if="false&&message != 'getLocation:ok' && chargeList.length == 0">
 			<view class="location">
 				<view class="location-text">
 					<view class="text-1">