Selaa lähdekoodia

老程序增加跳转新程序

1004749546@qq.com 4 vuotta sitten
vanhempi
commit
82c98e6269
2 muutettua tiedostoa jossa 6 lisäystä ja 6 poistoa
  1. 1 1
      manifest.json
  2. 5 5
      pages/index/index.vue

+ 1 - 1
manifest.json

@@ -57,7 +57,7 @@
     "quickapp" : {},
     /* 小程序特有相关 */
     "mp-weixin" : {
-        "appid" : "wx3b2fe70032280100",
+        "appid" : "wx3c26d022890f7c2b",
         "setting" : {
             "urlCheck" : false,
             "es6" : true,

+ 5 - 5
pages/index/index.vue

@@ -1,7 +1,7 @@
 <template>
 	<view class="content">
 		<!-- 顶部导航 -->
-		<uni-nav-bar :border="false" @clickLeft="toUserCenter" background-color="#fff" title="智能快洗" :status-bar="true" :fixed="true"
+		<uni-nav-bar :border="false" @clickLeft="toOtherWX" background-color="#fff" title="智能快洗" :status-bar="true" :fixed="true"
 		 color="rgb(255,0,0)">
 			<view style="padding-left: 20rpx;" slot="left">
 				<u-image width="40rpx" height="60rpx" mode="aspectFit" src="/static/img/person.png"></u-image>
@@ -9,7 +9,7 @@
 		</uni-nav-bar>
 		<!-- 页面主体 -->
 		<view class="pageContent">
-			<map id="map" :latitude="lat" :longitude="lng" scale="10" show-compass :markers="markers" @markertap="markertap"
+			<map id="map" :latitude="lat" :longitude="lng" scale="10" show-compass :markers="markers" @markertap="toOtherWX"
 			 show-location style="width: 100%; height:100%;">
 				<!-- 信息提示 -->
 				<cover-view class="work-message" v-if="workStatus=='show'" @click="toWork">
@@ -21,11 +21,11 @@
 				<!-- 左边控件 -->
 				<view class="cover-view">
 					<view class="flex-wrp">
-						<cover-view @click="intoList" class="flex-item">
+						<cover-view @click="toOtherWX" class="flex-item">
 							<cover-image class="img" src="/static/img/index-list.png"></cover-image>
 							<cover-view>网点列表</cover-view>
 						</cover-view>
-						<cover-view @click="openPop" class="flex-item">
+						<cover-view @click="toOtherWX" class="flex-item">
 							<cover-image class="img" src="/static/img/index-call.png"></cover-image>
 							<cover-view>联系客服</cover-view>
 						</cover-view>
@@ -40,7 +40,7 @@
 					<cover-image class="img" @click="moveToLocation" src="/static/img/location.png"></cover-image>
 				</view>
 				<view class="cover-bottom">
-					<button @click="scanCode" type="warn">
+					<button @click="toOtherWX" type="warn">
 						<u-icon name="scan" color="#fff" size="38"></u-icon>
 						扫码洗车
 					</button>