diff --git a/apis/index.js b/apis/index.js index ade7b3c..0bf4ee8 100644 --- a/apis/index.js +++ b/apis/index.js @@ -47,7 +47,6 @@ const request = (parameter, hideLoding = true) => { data : parameter.data || {}, method : parameter.method || 'GET', success : res => { - console.log(res) if (res.header.Authorization){ updateToken('token', res.header.Authorization) } diff --git a/apis/interfaces/user.js b/apis/interfaces/user.js index 94c1df1..685207f 100644 --- a/apis/interfaces/user.js +++ b/apis/interfaces/user.js @@ -133,6 +133,29 @@ const relationsBind = (invite, type) => { }) } +// 提交运营中心别名 +const submitTeamName = (data) => { + return request({ + url: 'user/team', + data:data, + method: 'POST' + }) +} +// 获取运营中心记录 +const getTeam = () => { + return request({ + url : 'user/team', + }) +} + +// 获取运营中心记录 +const getTeamLogs = data => { + return request({ + url: 'user/team/logs', + data + }) +} + export { relations, code, @@ -148,5 +171,8 @@ export { userInfoBank, getRegion, relationsVerify, - relationsBind + relationsBind, + submitTeamName, + getTeam, + getTeamLogs, } diff --git a/pages.json b/pages.json index 50b0034..7f4e18f 100644 --- a/pages.json +++ b/pages.json @@ -220,6 +220,16 @@ "navigationBarBackgroundColor": "#926fff", "navigationBarTextStyle": "white" } + }, { + "path": "pages/account/yunying", + "auth": true, + "name": "YunYing", + "style": { + "navigationBarTitleText": "运营中心", + "enablePullDownRefresh": false, + "navigationBarBackgroundColor": "#446EFE", + "navigationBarTextStyle": "white" + } }, { "path": "pages/account/cash", "auth": true, diff --git a/pages/account/yunying.vue b/pages/account/yunying.vue new file mode 100644 index 0000000..06caf7f --- /dev/null +++ b/pages/account/yunying.vue @@ -0,0 +1,559 @@ + + + + + diff --git a/pages/user/index.vue b/pages/user/index.vue index 4fdaac5..343a2e9 100644 --- a/pages/user/index.vue +++ b/pages/user/index.vue @@ -1,476 +1,694 @@ - - - - - diff --git a/static/icons/yunying.png b/static/icons/yunying.png new file mode 100644 index 0000000..20fab21 Binary files /dev/null and b/static/icons/yunying.png differ diff --git a/static/icons/yunying_bg.png b/static/icons/yunying_bg.png new file mode 100644 index 0000000..106c0d6 Binary files /dev/null and b/static/icons/yunying_bg.png differ