From 640ff18d2d7f4be02ddb7f8f75e899f05545eb98 Mon Sep 17 00:00:00 2001 From: puzhibing <393733352@qq.com> Date: 星期一, 05 二月 2024 11:56:52 +0800 Subject: [PATCH] 更新bug修改 --- cloud-server-management/src/main/webapp/WEB-INF/view/system/course/course.html | 36 ++++++++++++++++-------------------- 1 files changed, 16 insertions(+), 20 deletions(-) diff --git a/cloud-server-management/src/main/webapp/WEB-INF/view/system/course/course.html b/cloud-server-management/src/main/webapp/WEB-INF/view/system/course/course.html index b1b637f..48caecb 100644 --- a/cloud-server-management/src/main/webapp/WEB-INF/view/system/course/course.html +++ b/cloud-server-management/src/main/webapp/WEB-INF/view/system/course/course.html @@ -1,10 +1,10 @@ @layout("/common/_container.html"){ -<link rel="stylesheet" href="${ctxPath}/static/js/layui/css/layui.css" media="all"> +<link rel="stylesheet" href="${ctxPath}/layui/css/layui.css" media="all"> <div class="row"> <div class="col-sm-12"> <div class="ibox float-e-margins"> <div class="ibox-title"> - <h5>用户管理</h5> + <h5>视频课管理</h5> </div> <div class="ibox-content"> <div class="row row-lg"> @@ -13,7 +13,15 @@ <div class="col-lg-10 col-sm-9"> <div class="row"> <div class="col-lg-4 col-sm-12"> - <#NameCon id="name" name="搜索" placeholder="帐号/姓名/手机号"/> + <#NameCon id="name" name="课程名称"/> + </div> + <div class="col-lg-4 col-sm-12"> + <#SelectCon id="type" name="课程类型"> + <option value="">全部</option> + <option value="1">课后练习</option> + <option value="2">运动教学视频</option> + <option value="3">器材教学视频</option> + </#SelectCon> </div> </div> </div> @@ -27,24 +35,12 @@ </div> </div> <div class="hidden-xs" id="managerTableToolbar" role="group"> - @if(shiro.hasPermission("/course/addCourse")){ <#button name="添加" icon="fa-plus" clickFun="Course.addCourse()"/> - @} - @if(shiro.hasPermission("/course/editCourse")){ <#button name="编辑" icon="fa-edit" clickFun="Course.editCourse()" space="true"/> - @} - @if(shiro.hasPermission("/course/deleteCourse")){ - <#button name="删除" icon="fa-remove" clickFun="Course.deleteCourse()" space="true"/> - @} - @if(shiro.hasPermission("/course/upCourse")){ - <#button name="上架" icon="fa-refresh" clickFun="Course.upCourse()" space="true"/> - @} - @if(shiro.hasPermission("/course/downCourse")){ - <#button name="下架" icon="fa-warning" clickFun="Course.downCourse()" space="true"/> - @} - @if(shiro.hasPermission("/course/detailsCourse")){ + <#button name="删除" icon="fa-remove" clickFun="Course.delCourse()" space="true"/> + <#button name="上架" icon="fa-refresh" clickFun="Course.editCourseState(1)" space="true"/> + <#button name="下架" icon="fa-warning" clickFun="Course.editCourseState(2)" space="true"/> <#button name="详情" icon="fa-check-circle" clickFun="Course.detailsCourse()" space="true"/> - @} </div> <#table id="managerTable"/> </div> @@ -53,8 +49,8 @@ </div> </div> </div> -<script src="${ctxPath}/static/modular/system/course/course.js"></script> -<script src="${ctxPath}/static/js/layui/layui.js" charset="utf-8"></script> +<script src="${ctxPath}/modular/system/course/course.js"></script> +<script src="${ctxPath}/layui/layui.js" charset="utf-8"></script> <script> laydate.render({ elem: '#beginTime' -- Gitblit v1.7.1