htc 3 месяцев назад
Родитель
Сommit
92146bc3c0
3 измененных файлов с 6 добавлено и 6 удалено
  1. 3 3
      pages/consult/apply.vue
  2. 1 1
      pages/consult/index.vue
  3. 2 2
      pages/consult/result.vue

+ 3 - 3
pages/consult/apply.vue

@@ -1,9 +1,9 @@
 <template>
 	<view class="content">
-		<view class="top">
+		<!-- <view class="top">
 			<image src="../../static/imgs/icon_left_jt.png" @click="back"></image>
 			<text>申请专项演示方案</text>
-		</view>
+		</view> -->
 		<view class="contact">
 			<view class="title">请留下您的联系方式</view>
 			<view class="item first">
@@ -65,7 +65,7 @@
 				this.$api.post('/specialcrowd-admin/contactus',this.info).then(res=>{
 					this.canApply = true;
 					if(res.data.code===0){
-						uni.reLaunch({
+						uni.navigateTo({
 							url:'/pages/consult/result'
 						})
 					}else this.$showToast(res.data.msg);

+ 1 - 1
pages/consult/index.vue

@@ -39,7 +39,7 @@
 				})
 			},
 			toApply(){
-				uni.reLaunch({
+				uni.navigateTo({
 					url:'/pages/consult/apply'
 				})
 			},

+ 2 - 2
pages/consult/result.vue

@@ -1,9 +1,9 @@
 <template>
 	<view class="content" :style="{'height':h+'px'}">
-		<view class="top">
+		<!-- <view class="top">
 			<image src="../../static/imgs/icon_left_jt.png" @click="back"></image>
 			<text>申请专项演示方案</text>
-		</view>
+		</view> -->
 		<image src="../../static/imgs/img_success.png" class="succ"></image>
 		<view class="msg">提交成功!</view>
 		<view class="tip">我们将会尽快安排专业人员与您联系。</view>