|
@@ -43,6 +43,7 @@ Page({
|
|
|
let data = e.detail;
|
|
|
that.setData({ 'tabs.active': data.active })
|
|
|
},
|
|
|
+
|
|
|
// 图片预览
|
|
|
imgView: function (e) {
|
|
|
const that = this;
|
|
@@ -78,6 +79,12 @@ Page({
|
|
|
const { item } = e.currentTarget.dataset;
|
|
|
wx.navigateTo({ url: `/pages/stuAdmin/course/sign?id=${item._id}` })
|
|
|
},
|
|
|
+ //教练详细信息
|
|
|
+ coachView: function (e) {
|
|
|
+ const that = this;
|
|
|
+ const { item } = e.currentTarget.dataset;
|
|
|
+ wx.navigateTo({ url: `/pages/stuAdmin/coach/info?id=${item.coach_id}` })
|
|
|
+ },
|
|
|
// 分页
|
|
|
toPage: function () {
|
|
|
const that = this;
|