Browse Source

下载代码

zhangli 2 years ago
parent
commit
d7f4b45be2
3 changed files with 10 additions and 10 deletions
  1. 3 3
      config/api.js
  2. 5 5
      pages/user/index.vue
  3. 2 2
      pagesMember/subscribelForm.vue

+ 3 - 3
config/api.js

@@ -1,10 +1,10 @@
 // const API_BASE = 'https://xinghuolanqiu.com/newApi'
 //const API_BASE = 'http://192.168.1.126:30000'
-//const API_BASE = 'http://192.168.1.145/newApi'
-
+const API_BASE = 'http://192.168.1.145/newApi'
+//const API_BASE = 'http://192.168.1.109/newApi'
 // const API_BASE = 'http://192.168.1.117:8089/'
 // const API_BASE = 'http://192.168.1.126:30000'
-const API_BASE = 'http://192.168.1.117:8089'
+//const API_BASE = 'http://192.168.1.117:8089'
 
 module.exports = {
 	//  微信授权登录

+ 5 - 5
pages/user/index.vue

@@ -102,11 +102,11 @@
 						path: 'evaluateList',
 						icon: API.getServerImg + 'pingjia.png'
 					},
-					// {
-					// 	label: '预约体验记录',
-					// 	path: 'subscribeListAll',
-					// 	icon: API.getServerImg + 'yuyueList.png'
-					// },
+					{
+					 	label: '预约体验记录',
+					 	path: 'subscribeListAll',
+					 	icon: API.getServerImg + 'yuyueList.png'
+					},
 					{
 						label: '预约体验',
 						path: 'subscribeList',

+ 2 - 2
pagesMember/subscribelForm.vue

@@ -13,9 +13,9 @@
 			<u-form-item label="学生年龄" prop="age" required>
 				<u-input v-model="subscribelForm.age" placeholder="请输入学生年龄" type="number" />
 			</u-form-item>
-			<!-- <u-form-item label="学生生日" prop="birthday" required>
+			<u-form-item label="学生生日" prop="birthday" required>
 				<u-input v-model="subscribelForm.birthday" placeholder="请选择学生生日" :select-open="birthdayShow" type="select" @click="birthdayShow = true" />
-			</u-form-item> -->
+			</u-form-item>
 			<u-form-item label="手机号码" prop="phone" required>
 				<u-input v-model="subscribelForm.phone" type="number" placeholder="请输入手机号码" />
 			</u-form-item>