diff --git a/.gitignore b/.gitignore
index 179ef921..08450edb 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
dist/
package-lock.json
-node_modules/
\ No newline at end of file
+node_modules/
+.DS_Store
\ No newline at end of file
diff --git a/pages/fx/apply.js b/pages/fx/apply.js
index c5789308..ca23109f 100644
--- a/pages/fx/apply.js
+++ b/pages/fx/apply.js
@@ -7,7 +7,7 @@ Page({
* 页面的初始数据
*/
data: {
-
+
},
/**
@@ -28,7 +28,14 @@ Page({
* 生命周期函数--监听页面显示
*/
onShow: function () {
-
+ const _this = this
+ WXAPI.userDetail(wx.getStorageSync('token')).then(res => {
+ if (res.code === 0) {
+ _this.setData({
+ userDetail: res.data
+ })
+ }
+ })
},
/**
diff --git a/pages/fx/apply.wxml b/pages/fx/apply.wxml
index 088aa0f1..509c73f2 100644
--- a/pages/fx/apply.wxml
+++ b/pages/fx/apply.wxml
@@ -2,12 +2,12 @@
请填写申请信息
-
+
邀请人
-
+