diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..b163ca8
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/unpackage
diff --git a/common/api.js b/common/api.js
index 56d5049..43ba72b 100644
--- a/common/api.js
+++ b/common/api.js
@@ -9,4 +9,40 @@ export const fetchMenu = (params, config = {}) => http.post('/ebapi/public_api/i
* 登录的接口
*/
// 微信登录接口
-export const wxLogin = (params) => http.get('/api/login/login', {params:params})
\ No newline at end of file
+export const appletLogin = (params) => http.get('/employ-api/user/login', {params:params})
+// 招聘方填写信息
+export const roleBoss = (params) => http.post('/employ-api/user/roleBoss', params)
+// 求职者填写信息
+export const role = (params) => http.post('/employ-api/user/role', params)
+
+
+// 首页行业菜单
+export const industryList = (params) => http.get('/employ-api/index/industryList', {params:params})
+// 获取banner列表
+export const bannerList = (params) => http.post('/employ-api/index/bannerList', params)
+// 招聘大厅列表查询
+export const taskList = (params) => http.get('/employ-api/index/taskList', {params:params})
+// 求职大厅列表查询
+export const rolelist = (params) => http.get('/employ-api/index/rolelist1', {params:params})
+// 公司发布任务
+export const addTask = (params) => http.post('/employ-api/user/addTask', params)
+// 根据行业id查询工种
+export const industryById = (params) => http.get('/employ-api/index/getIndustryById', {params:params})
+// tb_user_role-通过id查询
+export const getTaskById = (params) => http.get('/employ-api/user/getTaskById', {params:params})
+
+// 我的头像昵称,平台客户电话等信息
+export const userInfo = (params) => http.post('/employ-api/index/index', params)
+// 帮助与反馈
+export const addSuggest = (params) => http.post('/employ-api/index/addSuggest', params)
+// 余额日志
+export const payLog = (params) => http.post('/employ-api/pay/log', params)
+// 充值支付
+export const payRecharge = (params) => http.post('/employ-api/pay/payRecharge', params)
+// 提现
+export const withdrawal = (params) => http.post('/employ-api/pay/withdrawal', params)
+
+// 招聘方订单分页列表查询
+export const bossOrderList = (params) => http.post('/employ-api/order/bossOrderList', params)
+// 发起聘请,等待师傅确认
+export const orderTask = (params) => http.post('/employ-api/order/addTask', params)
diff --git a/common/config.js b/common/config.js
index 3c9ffd6..5db0976 100644
--- a/common/config.js
+++ b/common/config.js
@@ -1,5 +1,6 @@
module.exports = {
- baseUrl: 'https://employadmin.augcl.com/employ-api',
- // baseUrl: 'http://augcl.natapp1.cc/employ-api'
+ // baseUrl: 'https://employadmin.augcl.com/employ-api',
+ // baseUrl: 'http://3fl8266127.qicp.vip/'
+ baseUrl:"https://employadmin.hhlm1688.com"
}
diff --git a/main.js b/main.js
index e94cdaf..8874db1 100644
--- a/main.js
+++ b/main.js
@@ -11,6 +11,7 @@ import mixin from './common/mixin'
Vue.prototype.$store = store
+
Vue.config.productionTip = false
App.mpType = 'app'
@@ -36,4 +37,5 @@ const app = new Vue({
// 引入请求封装
require('./util/request/index')(app)
+
app.$mount()
diff --git a/manifest.json b/manifest.json
index 880cea6..ae55e7f 100644
--- a/manifest.json
+++ b/manifest.json
@@ -96,7 +96,13 @@
},
"quickapp" : {},
"mp-weixin" : {
- "appid" : "wx81ac70f6f1ae8854",
+ "appid" : "wx6931d85f7371b032",
+ "permission" : {
+ "scope.userLocation" : {
+ "desc" : "将获取你的具体位置信息,用于帮助用户浏览所在位置的"
+ }
+ },
+ "requiredPrivateInfos" : [ "getLocation", "chooseLocation" ],
"setting" : {
"urlCheck" : false,
"es6" : false,
diff --git a/pages.json b/pages.json
index c0dd0f6..880e545 100644
--- a/pages.json
+++ b/pages.json
@@ -1,34 +1,34 @@
{
"pages": [
{
- "path": "pages/user/index",
+ "path": "pages/home/index",
"style": {
- "navigationBarTitleText": "我的",
+ "navigationBarTitleText": "首页",
"navigationStyle":"default",
"navigationBarBackgroundColor": "#FF7A31",
- "navigationBarTextStyle": "white"
+ "navigationBarTextStyle": "white",
+ "enablePullDownRefresh": true,
+ "onReachBottomDistance": 100
}
},
{
- "path": "pages/order/index",
+ "path": "pages/user/index",
"style": {
- "navigationBarTitleText": "订单",
+ "navigationBarTitleText": "我的",
"navigationStyle":"default",
"navigationBarBackgroundColor": "#FF7A31",
"navigationBarTextStyle": "white"
}
},
{
- "path": "pages/home/index",
+ "path": "pages/order/index",
"style": {
- "navigationBarTitleText": "首页",
+ "navigationBarTitleText": "订单",
"navigationStyle":"default",
"navigationBarBackgroundColor": "#FF7A31",
"navigationBarTextStyle": "white"
}
},
-
-
{
"path": "pages/identity/index",
"style": {
@@ -197,9 +197,7 @@
]
}
],
- "preloadRule": {
-
- },
+
"globalStyle": {
"navigationBarBackgroundColor": "#ffffff",
"backgroundColor": "#f5f5f5",
diff --git a/pages/auth/index.vue b/pages/auth/index.vue
index 9a98443..b138512 100644
--- a/pages/auth/index.vue
+++ b/pages/auth/index.vue
@@ -9,10 +9,10 @@
-
+
+
@@ -54,7 +54,7 @@
diff --git a/pages/user/index.vue b/pages/user/index.vue
index 1ee93d1..fb540e7 100644
--- a/pages/user/index.vue
+++ b/pages/user/index.vue
@@ -2,10 +2,10 @@
-
+
- 热心小肖
+ {{nickName}}
修改资料
@@ -13,7 +13,7 @@
手机号:
- 13189698114
+ {{phone}}
@@ -31,7 +31,7 @@
我的余额
- ¥1200
+ ¥{{myMoney}}
@@ -51,9 +51,10 @@
-
+
+
-
+
@@ -91,18 +92,50 @@
diff --git a/pages_subpack/release/component/master.vue b/pages_subpack/release/component/master.vue
index 399e726..f4bcb0b 100644
--- a/pages_subpack/release/component/master.vue
+++ b/pages_subpack/release/component/master.vue
@@ -3,29 +3,28 @@
-
-
-
+
+
+
+
-
+
-
+
+
+
+
+
-
+
@@ -77,47 +76,30 @@
-
+
-
+
-
-
-
-
diff --git a/pages_subpack/wallet/component/recharge.vue b/pages_subpack/wallet/component/recharge.vue
index f051deb..e0f7b81 100644
--- a/pages_subpack/wallet/component/recharge.vue
+++ b/pages_subpack/wallet/component/recharge.vue
@@ -26,15 +26,31 @@