Browse Source

Merge branch 'master' of http://git.cc-lotus.info/ball-court/ball-applet

guhongwei 2 years ago
parent
commit
2455b0a4ac

+ 0 - 1
pages/school/coachInfo.wxss

@@ -1 +0,0 @@
-/* pages/school/coachInfo.wxss */

+ 7 - 0
pages/school/info.js

@@ -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;

+ 1 - 1
pages/stuAdmin/coach/info.less

@@ -3,7 +3,7 @@
 
     .one {
         width: 96vw;
-        padding: 0 2vw;
+        padding: 2vw;
 
         .one_1 {
             display: flex;

+ 1 - 1
pages/stuAdmin/coach/info.wxss

@@ -3,7 +3,7 @@
 }
 .main .one {
   width: 96vw;
-  padding: 0 2vw;
+  padding: 2vw;
 }
 .main .one .one_1 {
   display: flex;