lmdd实现任务管理待办事项拖拽改变状态效果代码
代码语言:html
所属分类:拖放
代码描述:lmdd实现任务管理待办事项拖拽改变状态效果代码,分为普通任务、重要任务、已完成任务,可拖拽到不同状态。
代码标签: lmdd 任务 管理 拖拽 改变 状态 代办 事项
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width,initial-scale=1.0,maximum=1.0,minimum=1.0,user-scalable=0" /> <title>BFW NEW PAGE</title> <link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet"> <link type="text/css" rel="stylesheet" href="//repo.bfw.wiki/bfwrepo/css/materialize.css"> <link type="text/css" rel="stylesheet" href="//repo.bfw.wiki/bfwrepo/css/lmdd.min.css"> <script type="text/javascript" src="//repo.bfw.wiki/bfwrepo/js/lmdd.min.js"></script> <style> #handle-example { display: flex; justify-content: space-around; } .handle-grid { flex: 1 1 50%; display: flex; padding: 7px; max-width: 350px; flex-flow: column nowrap; } .handle-item { padding: 3px; margin: 5px; color: white; font-size: 15px; background-color: grey; border: 3px solid lightgoldenrodyellow; } .regular .handle-item { background-color: #8bc34a; } .priority .handle-item { background-color: #E57373; } .done .handle-item { background-color: lightgrey; color: gray; text-decoration: line-through; } .handle { cursor: move; } .task { border: 1px dotted white; padding: 5px; } .title { text-align: center; font-weight: bold; padding: 10px; margin: 5px; } </style> </head> <body> <div id="handle-example" class="example"> <div class="handle-grid regular"> <div class="title z-depth-2">Tasks</div> <div class="z-depth-3 handle-item"> <div class="content lmdd-block"><i class="material-icons handle">reorder</i> <div class="task">Cross browser testing</div> </div> </div> <div class="z-depth-3 handle-item"> <div class="content lmdd-block"><i class="material-icons handle">reorder</i> <div class="task">.........完整代码请登录后点击上方下载按钮下载查看
网友评论0