diff --git a/config/api.js b/config/api.js index e75b1de..462dc44 100644 --- a/config/api.js +++ b/config/api.js @@ -83,7 +83,9 @@ export const studentOwner = (params) => http.get('business/student-record/owner' // 获得学员档案记录列表 export const studentList = (params) => http.get('business/student-record/page', {params}) // 绑定教练 -export const studentBindCoach = (data) => http.post('business/student-record/bindCoach', data) +export const studentBindCoach = (data) => http.post('business/student-record/bindCoach', data) + // 教练二维码生成 + export const getQR = (data) => http.post('business/coach/sign/getQR', data) diff --git a/pages/tabbar/mine/index.vue b/pages/tabbar/mine/index.vue index dcd4ba2..0de2695 100644 --- a/pages/tabbar/mine/index.vue +++ b/pages/tabbar/mine/index.vue @@ -69,7 +69,7 @@ // {text: '考场信息', icon: require('../../../static/images/coach/ic_changdi.png'), id: 4, url: '/pages/userCenter/examinInfo/examinInfo'}, {text: '学员评价', icon: require('../../../static/images/coach/ic_pingjia.png'), id: 5, url: '/pages/userCenter/studentComment/studentComment'}, {text: '教学数据', icon: require('../../../static/images/coach/ic_shuju.png'), id: 6, url: '/pages/userCenter/teachingData/teachingData'}, - {text: '结算统计', icon: require('../../../static/images/coach/ic_daijiesuan.png'), id: 1, url: '/pages/tabbar/statistics/index'}, + // {text: '结算统计', icon: require('../../../static/images/coach/ic_daijiesuan.png'), id: 1, url: '/pages/tabbar/statistics/index'}, // {text: '学员退款', icon: require('../../../static/images/coach/ic_tuikuan.png'), id: 7, url: '/pages/userCenter/refund/refund'}, ] diff --git a/pages/userCenter/scanCode/scanCode - 副本.vue b/pages/userCenter/scanCode/scanCode - 副本.vue new file mode 100644 index 0000000..ff34fab --- /dev/null +++ b/pages/userCenter/scanCode/scanCode - 副本.vue @@ -0,0 +1,111 @@ + + + + + \ No newline at end of file diff --git a/pages/userCenter/scanCode/scanCode.vue b/pages/userCenter/scanCode/scanCode.vue index cca4bd5..a86a412 100644 --- a/pages/userCenter/scanCode/scanCode.vue +++ b/pages/userCenter/scanCode/scanCode.vue @@ -2,47 +2,88 @@ + + {{ item.text }} + + + 刷新二维码 + + + + - + - - + @@ -50,13 +91,50 @@ \ No newline at end of file diff --git a/static/images/coach/教练.png b/static/images/coach/教练.png deleted file mode 100644 index 72ec7f7..0000000 Binary files a/static/images/coach/教练.png and /dev/null differ