zhengkaixin il y a 2 ans
Parent
commit
09d5cffd72
1 fichiers modifiés avec 13 ajouts et 2 suppressions
  1. 13 2
      pages/index/index.vue

+ 13 - 2
pages/index/index.vue

@@ -284,6 +284,7 @@
 					</view>
 					</view>
 				</view>
 				</view>
 			</view>
 			</view>
+			
 		</template>
 		</template>
 		
 		
 		<!-- 定位 -->
 		<!-- 定位 -->
@@ -305,7 +306,13 @@
 				</view>
 				</view>
 			</view>
 			</view>
 
 
-
+		</view>
+		<view class="bottom" @click="goSearch()" >
+			<view class="bot">
+				<view class="bot-line"></view>
+				<view class="bot-text " style="color: #00B962;" >点击查看更多站点</view>
+				<view class="bot-line"></view>
+			</view>
 		</view>
 		</view>
 
 
 		<!-- 充电状态 -->
 		<!-- 充电状态 -->
@@ -533,6 +540,10 @@
 			// }
 			// }
 		},
 		},
 		methods: {
 		methods: {
+			goSearch() {
+				this.$refs.tabbarMain.beforeSwitch(1)
+					
+			},
 			nextTop(index){
 			nextTop(index){
 				this.showTopImg=this.bannerListTop[index+1].picUrl;
 				this.showTopImg=this.bannerListTop[index+1].picUrl;
 				this.showTopIndex=index+1;
 				this.showTopIndex=index+1;
@@ -1712,7 +1723,7 @@
 
 
 	.bottom {
 	.bottom {
 		width: 100%;
 		width: 100%;
-		height: 100px;
+		height: 60px;
 
 
 		.bot {
 		.bot {
 			width: 100%;
 			width: 100%;