Sortable实现支持移动端手机端拖拽排序效果代码

代码语言:html

所属分类:拖放

代码描述:Sortable实现支持移动端手机端拖拽排序效果代码

代码标签: 移动 手机 端拖 排序 效果

下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开

<!DOCTYPE html>
<html lang="zh-CN">

<head>
    <meta charset="UTF-8" />
    <link type="text/css" rel="stylesheet" href="//repo.bfw.wiki/bfwrepo/css/reset.min.css">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" />
    <meta http-equiv="X-UA-Compatible" content="ie=edge" />
    <style>

        .page {
            padding-top: .8rem;
            box-sizing: border-box;
        }

        .page header {
            position: fixed;
            top: 0;
            height: 0.8rem;
            width: 100%;
            line-height: .8rem;
            color: #333;
            background: #fff;
            border-bottom: 0.02rem solid #ededed;
            text-align: center;
            font-size: .34rem;
            z-index: 10;
        }

        .page .content .list_wrap {
            overflow-x: hidden;
            max-width: 100%;
            position: relative;
        }

        .page .content .list_con {
            border-top: 0.02rem solid #f1e8e8;
            padding: 0.4rem 0;
            background-color: #FFFFFF;
            display: flex;
            justify-content: space-between;
            align-items: center;
            position: relative;
        }

        .page .content .list_con .l_top {
            display: flex;
            justify-content: left;
        }

        .page .content .list_con .l_top .title {
            text-align: left;
            padding-left: 0.2rem;
            width: .61rem;
            height: .81rem;
            color: #000000;
            line-height: .6rem;
            font-weight: bold;
        }

        .page .content .list_con .l_top .list_table {
            text-align: left;
            margin-left: .2rem;
        }

        .page .content .list_con .l_top .list_table th {
            height: .4rem;
            font-size: .32rem;
            font-weight: bold;
        }

        .page .content .list_con .l_top .list_table td {
            padding: 0 0.19rem 0 0.2rem;
            height: .4rem;
            font-size: .24rem;
        }

        .page .content .list_con .l_top .list_table .tf32red {
            padding: 0 0.19rem 0 0;
            font-siz.........完整代码请登录后点击上方下载按钮下载查看

网友评论0