guhongwei преди 2 години
родител
ревизия
f1320d82d4

+ 2 - 1
app.json

@@ -50,7 +50,8 @@
                 "schAdmin/coach/add",
                 "schAdmin/student/add",
                 "schAdmin/course/add",
-                "schAdmin/course/coachlist"
+                "schAdmin/course/coachlist",
+                "common/lessonstudent"
             ]
         },
         {

+ 4 - 2
pagesSchool/coaAdmin/course/list.js

@@ -36,8 +36,10 @@ Page({
     toManage(e) {
         const that = this;
         let { item } = e.currentTarget.dataset;
-        // that.clearPage();
-        console.log(item);
+        that.clearPage();
+        wx.navigateTo({
+            url: `/pagesSchool/common/lessonstudent`,
+        })
     },
     // 详细信息
     toView(e) {

+ 66 - 0
pagesSchool/common/lessonstudent.js

@@ -0,0 +1,66 @@
+// pagesSchool/common/lessonstudent.js
+Page({
+
+    /**
+     * 页面的初始数据
+     */
+    data: {
+
+    },
+
+    /**
+     * 生命周期函数--监听页面加载
+     */
+    onLoad(options) {
+
+    },
+
+    /**
+     * 生命周期函数--监听页面初次渲染完成
+     */
+    onReady() {
+
+    },
+
+    /**
+     * 生命周期函数--监听页面显示
+     */
+    onShow() {
+
+    },
+
+    /**
+     * 生命周期函数--监听页面隐藏
+     */
+    onHide() {
+
+    },
+
+    /**
+     * 生命周期函数--监听页面卸载
+     */
+    onUnload() {
+
+    },
+
+    /**
+     * 页面相关事件处理函数--监听用户下拉动作
+     */
+    onPullDownRefresh() {
+
+    },
+
+    /**
+     * 页面上拉触底事件的处理函数
+     */
+    onReachBottom() {
+
+    },
+
+    /**
+     * 用户点击右上角分享
+     */
+    onShareAppMessage() {
+
+    }
+})

+ 3 - 0
pagesSchool/common/lessonstudent.json

@@ -0,0 +1,3 @@
+{
+    "usingComponents": {}
+}

+ 0 - 0
pagesSchool/common/lessonstudent.less


+ 2 - 0
pagesSchool/common/lessonstudent.wxml

@@ -0,0 +1,2 @@
+<!--pagesSchool/common/lessonstudent.wxml-->
+<text>pagesSchool/common/lessonstudent.wxml</text>

+ 1 - 0
pagesSchool/common/lessonstudent.wxss

@@ -0,0 +1 @@
+/* pagesSchool/common/lessonstudent.wxss */