diff --git a/common/api.js b/common/api.js
index d6a4a10..7055005 100644
--- a/common/api.js
+++ b/common/api.js
@@ -8,4 +8,10 @@ export const fetchMenu = (params, config = {}) => http.get('/applet/index/getRec
* 登录的接口
*/
// 微信登录接口
-export const wxLogin = (params) => http.get('/api/login/login', {params:params})
\ No newline at end of file
+export const wxLogin = (params) => http.get('/api/login/login', {params:params})
+
+// 微信登录接口
+export const appletLogin = (params) => http.get('/houserent-admin/login_common/appletLogin', {params:params})
+
+// 配置
+export const getConfig = (params) => http.get('/houserent-admin/config_common/getConfig', {params:params})
diff --git a/common/config.js b/common/config.js
index 7609bf6..e7a24af 100644
--- a/common/config.js
+++ b/common/config.js
@@ -1,3 +1,4 @@
export default {
- baseUrl: 'https://api.book118.com'
+ // baseUrl: 'https://api.book118.com',
+ baseUrl:'https://houserent-admin.hhlm1688.com/houserent-admin'
}
\ No newline at end of file
diff --git a/pages.json b/pages.json
index 7d0ce38..4e71385 100644
--- a/pages.json
+++ b/pages.json
@@ -104,6 +104,14 @@
"style": {
"navigationBarTitleText": "申请成功"
}
+ },
+ {
+ "path": "broker-apply/index",
+ "style": {
+ "navigationBarTitleText": "经纪人申请",
+ "navigationBarBackgroundColor": "#ffffff",
+ "navigationBarTextStyle": "black"
+ }
}
]
}
diff --git a/pages/auth/index.vue b/pages/auth/index.vue
index 888e733..1e6787e 100644
--- a/pages/auth/index.vue
+++ b/pages/auth/index.vue
@@ -7,20 +7,19 @@
-
+
+
-
+
《隐私政策》
《服务条款》
-
@@ -52,7 +51,7 @@
+
+
\ No newline at end of file
diff --git a/pages_subpack/broker/index.vue b/pages_subpack/broker/index.vue
index cafe7a3..ff6ecf4 100644
--- a/pages_subpack/broker/index.vue
+++ b/pages_subpack/broker/index.vue
@@ -45,8 +45,9 @@
methods:{
submit() {
uni.navigateTo({
- url:"/pages_subpack/house/index"
+ url:"/pages_subpack/success/index?type=broker"
})
+
this.$refs.form.validate().then(res => {
uni.showToast({
icon: 'none',
diff --git a/pages_subpack/homeowner/index.vue b/pages_subpack/homeowner/index.vue
index 983c1ae..e1bb5cf 100644
--- a/pages_subpack/homeowner/index.vue
+++ b/pages_subpack/homeowner/index.vue
@@ -34,7 +34,7 @@
methods:{
submit() {
uni.navigateTo({
- url:"/pages_subpack/house/index"
+ url:"/pages_subpack/success/index?type=homeowner"
})
this.$refs.form.validate().then(res => {
uni.showToast({
diff --git a/pages_subpack/success/index.vue b/pages_subpack/success/index.vue
index 63e5022..a6b2829 100644
--- a/pages_subpack/success/index.vue
+++ b/pages_subpack/success/index.vue
@@ -5,7 +5,7 @@
登录成功
-
+
去发布
@@ -19,8 +19,11 @@
export default{
data(){
return{
-
+ type:""
}
+ },
+ onLoad(options) {
+ this.type = options.type
}
}
diff --git a/pages_subpack/successful/index.vue b/pages_subpack/successful/index.vue
index 02409e3..ac42bc0 100644
--- a/pages_subpack/successful/index.vue
+++ b/pages_subpack/successful/index.vue
@@ -1,7 +1,28 @@
+
+
+
+ 申请成功
+
+
+
+ 返回
+
+
+