diff --git a/.gitignore b/.gitignore index 10fa70b..583ad45 100644 --- a/.gitignore +++ b/.gitignore @@ -12,3 +12,5 @@ $RECYCLE.BIN/ # Node.js node_modules/ + +project.config.json \ No newline at end of file diff --git a/pages/bind/binduser.js b/pages/bind/binduser.js index 548e73a..460a5cd 100644 --- a/pages/bind/binduser.js +++ b/pages/bind/binduser.js @@ -138,6 +138,21 @@ Page({ }) this.denglu2() }, + getUserProfile: function(e){ + wx.getUserProfile({ + desc: '获取头像和昵称', // + success: (res) => { + this.setData({ + userInfo: res.userInfo + }) + this.denglu() + }, + fail:(res)=>{ + this.denglu() + } + }) + + }, /** * 生命周期函数--监听页面加载 */ diff --git a/pages/bind/binduser.wxml b/pages/bind/binduser.wxml index 388477c..01a978b 100644 --- a/pages/bind/binduser.wxml +++ b/pages/bind/binduser.wxml @@ -28,7 +28,7 @@ - + 账号错误或忘记密码? 获取测试账户请致电15810169371 diff --git a/project.config.json b/project.config.json deleted file mode 100644 index 156da11..0000000 --- a/project.config.json +++ /dev/null @@ -1,59 +0,0 @@ -{ - "description": "项目配置文件。", - "setting": { - "urlCheck": false, - "es6": true, - "enhance": false, - "postcss": true, - "preloadBackgroundData": false, - "minified": true, - "newFeature": true, - "coverView": true, - "nodeModules": true, - "autoAudits": false, - "showShadowRootInWxmlPanel": true, - "scopeDataCheck": false, - "uglifyFileName": false, - "checkInvalidKey": true, - "checkSiteMap": true, - "uploadWithSourceMap": true, - "compileHotReLoad": false, - "useMultiFrameRuntime": false, - "useApiHook": true, - "babelSetting": { - "ignore": [], - "disablePlugins": [], - "outputPath": "" - }, - "bundle": false, - "useIsolateContext": false, - "useCompilerModule": false, - "userConfirmedUseCompilerModuleSwitch": false, - "userConfirmedBundleSwitch": false, - "packNpmManually": false, - "packNpmRelationList": [], - "minifyWXSS": true - }, - "compileType": "miniprogram", - "libVersion": "2.9.4", - "appid": "wx5c39b569f01c27db", - "projectname": "aqyj", - "isGameTourist": false, - "simulatorType": "wechat", - "simulatorPluginLibVersion": {}, - "condition": { - "search": { - "list": [] - }, - "conversation": { - "list": [] - }, - "game": { - "currentL": -1, - "list": [] - }, - "miniprogram": { - "list": [] - } - } -} \ No newline at end of file