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 @@
+
+
+
+
+
+
+
+
+ {{team_name || '--'}}
+
+
+ 运营中心
+
+
+
+ 团队人数 :{{users_count}}人
+ 总业绩 :¥{{all_perf}}
+
+
+
+
+
+
+
+
+
+
+
+
+ {{item.remark || '-'}}
+ {{item.frozen.text}}
+
+ {{item.created_at}}
+
+
+ {{item.amount}}
+
+
+
+
+ [{{item.status.status_text}}]{{item.title || '-'}}
+
+
+ {{item.created_at}}
+
+ {{item.amount}}
+
+
+
+ {{ item.title }}
+ {{item.created_at}}
+
+ {{item.status.text}}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 修改运营中心
+
+
+
+
+ 运营中心
+
+ 确认修改名称
+
+
+
+
+
+
+
+
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 @@
-
-
-
-
-
-
- {{nickname}}
-
- 实名认证
- {{identity.name}}
-
-
- 状态
-
-
-
-
-
-
-
-
-
- 登录
- 暂未登录
-
-
-
-
-
-
-
-
- 火力值
-
-
-
- 业绩账户
-
-
-
-
- 我的客户
-
-
-
- 奖金账户
-
-
-
- 实名认证
-
-
-
- 推荐人
-
-
-
- 关注公众号
-
-
-
-
- 设置
-
-
-
- {
- this.showBind = false
- this.isInvitation = true
- this.invitation = ''
- }"
- @confirm="onBind"
- >
-
-
- 绑定推荐人
- 选择通过那种方式绑定推荐人
-
-
-
-
-
-
-
-
-
-
- 推荐人
- 请确认绑定推荐人关系用户信息
-
-
-
- {{invitationUser.nickname}}
- {{invitationUser.username}}
-
-
-
-
-
-
-
-
-
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