微秀

微秀

536飞吻 2017-2-2 加入 来自阳江

(哈哈,我很懒的)

微秀 最近的提问

微秀 最近的回答

  • 13小时前layui的案例也太怪了~~~~~中回答:

    @冬日温暖

    谢谢,了解了
  • 14小时前layui的案例也太怪了~~~~~中回答:

    @Jo @冬日温暖

    css,js路径没错啊
    为什么这么难看的呢??
    你看官方的
  • 14小时前layui的案例也太怪了~~~~~中回答:

    <!DOCTYPE html>
    <html>
    <head>
    <meta charset="utf-8">
    <title>layui</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <link rel="stylesheet" href="../src/css/layui.css">
    <!-- 注意:如果你直接复制所有代码到本地,上述css路径需要改成你本地的 -->
    </head>
    <body>
    <!-- 让IE8/9支持媒体查询,从而兼容栅格 -->
    <!--[if lt IE 9]>
    <script src="https://cdn.staticfile.org/html5shiv/r29/html5.min.js"></script>
    <script src="https://cdn.staticfile.org/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->

    <div class="layui-container">
    <blockquote class="layui-elem-quote">注意:下述演示中的颜色只是做一个区分作用,并非栅格内置。</blockquote>

    <fieldset class="layui-elem-field layui-field-title" style="margin-top: 20px;">
    <legend>始终等比例水平排列</legend>
    </fieldset>

    <div class="layui-row">
    <div class="layui-col-xs6">
    <div class="grid-demo grid-demo-bg1">6/12</div>
    </div>
    <div class="layui-col-xs6">
    <div class="grid-demo">6/12</div>
    </div>
    </div>
    <div class="layui-row">
    <div class="layui-col-xs3">
    <div class="grid-demo grid-demo-bg1">3/12</div>
    </div>
    <div class="layui-col-xs3">
    <div class="grid-demo">3/12</div>
    </div>
    <div class="layui-col-xs3">
    <div class="grid-demo grid-demo-bg1">3/12</div>
    </div>
    <div class="layui-col-xs3">
    <div class="grid-demo">3/12</div>
    </div>
    </div>

    <fieldset class="layui-elem-field layui-field-title" style="margin-top: 20px;">
    <legend>移动设备、桌面端的组合响应式展现</legend>
    </fieldset>

    <div class="layui-row">
    <div class="layui-col-xs12 layui-col-md8">
    <div class="grid-demo grid-demo-bg1">移动:12/12、桌面:8/12</div>
    </div>
    <div class="layui-col-xs6 layui-col-md4">
    <div class="grid-demo">移动:6/12、桌面:4/12</div>
    </div>
    <div class="layui-col-xs6 layui-col-md12">
    <div class="grid-demo grid-demo-bg2">移动:6/12、桌面:12/12</div>
    </div>
    </div>

    <fieldset class="layui-elem-field layui-field-title" style="margin-top: 50px;">
    <legend>移动设备、平板、桌面端的复杂组合响应式展现</legend>
    </fieldset>

    <div class="layui-row">
    <div class="layui-col-xs6 layui-col-sm6 layui-col-md4">
    <div class="grid-demo grid-demo-bg1">移动:6/12 | 平板:6/12 | 桌面:4/12</div>
    </div>
    <div class="layui-col-xs6 layui-col-sm6 layui-col-md4">
    <div class="grid-demo layui-bg-red">移动:6/12 | 平板:6/12 | 桌面:4/12</div>
    </div>
    <div class="layui-col-xs4 layui-col-sm12 layui-col-md4">
    <div class="grid-demo layui-bg-blue">移动:4/12 | 平板:12/12 | 桌面:4/12</div>
    </div>
    <div class="layui-col-xs4 layui-col-sm7 layui-col-md8">
    <div class="grid-demo layui-bg-green">移动:4/12 | 平板:7/12 | 桌面:8/12</div>
    </div>
    <div class="layui-col-xs4 layui-col-sm5 layui-col-md4">
    <div class="grid-demo layui-bg-black">移动:4/12 | 平板:5/12 | 桌面:4/12</div>
    </div>
    </div>

    <fieldset class="layui-elem-field layui-field-title" style="margin-top: 50px;">
    <legend>常规布局:从小屏幕堆叠到桌面水平排列</legend>
    </fieldset>

    <div class="layui-row">
    <div class="layui-col-md1">
    <div class="grid-demo grid-demo-bg1">1/12</div>
    </div>
    <div class="layui-col-md1">
    <div class="grid-demo">1/12</div>
    </div>
    <div class="layui-col-md1">
    <div class="grid-demo grid-demo-bg1">1/12</div>
    </div>
    <div class="layui-col-md1">
    <div class="grid-demo">1/12</div>
    </div>
    <div class="layui-col-md1">
    <div class="grid-demo grid-demo-bg1">1/12</div>
    </div>
    <div class="layui-col-md1">
    <div class="grid-demo">1/12</div>
    </div>
    <div class="layui-col-md1">
    <div class="grid-demo grid-demo-bg1">1/12</div>
    </div>
    <div class="layui-col-md1">
    <div class="grid-demo">1/12</div>
    </div>
    <div class="layui-col-md1">
    <div class="grid-demo grid-demo-bg1">1/12</div>
    </div>
    <div class="layui-col-md1">
    <div class="grid-demo">1/12</div>
    </div>
    <div class="layui-col-md1">
    <div class="grid-demo grid-demo-bg1">1/12</div>
    </div>
    <div class="layui-col-md1">
    <div class="grid-demo">1/12</div>
    </div>
    </div>

    <div class="layui-row">
    <div class="layui-col-md9">
    <div class="grid-demo grid-demo-bg1">75%</div>
    </div>
    <div class="layui-col-md3">
    <div class="grid-demo">25%</div>
    </div>
    </div>

    <div class="layui-row">
    <div class="layui-col-md4">
    <div class="grid-demo grid-demo-bg1">33.33%</div>
    </div>
    <div class="layui-col-md4">
    <div class="grid-demo">33.33%</div>
    </div>
    <div class="layui-col-md4">
    <div class="grid-demo grid-demo-bg1">33.33%</div>
    </div>
    </div>

    <div class="layui-row">
    <div class="layui-col-md6">
    <div class="grid-demo grid-demo-bg1">50%</div>
    </div>
    <div class="layui-col-md6">
    <div class="grid-demo">50%</div>
    </div>
    </div>

    <fieldset class="layui-elem-field layui-field-title" style="margin-top: 50px;">
    <legend>列间隔</legend>
    </fieldset>

    <div class="layui-row layui-col-space1">
    <div class="layui-col-md3">
    <div class="grid-demo grid-demo-bg1">1/4</div>
    </div>
    <div class="layui-col-md3">
    <div class="grid-demo">1/4</div>
    </div>
    <div class="layui-col-md3">
    <div class="grid-demo grid-demo-bg1">1/4</div>
    </div>
    <div class="layui-col-md3">
    <div class="grid-demo">1/4</div>
    </div>
    </div>

    <div class="layui-row layui-col-space5">
    <div class="layui-col-md4">
    <div class="grid-demo grid-demo-bg1">1/3</div>
    </div>
    <div class="layui-col-md4">
    <div class="grid-demo">1/3</div>
    </div>
    <div class="layui-col-md4">
    <div class="grid-demo grid-demo-bg1">1/3</div>
    </div>
    </div>

    <div class="layui-row layui-col-space10">
    <div class="layui-col-md9">
    <div class="grid-demo grid-demo-bg1">9/12</div>
    </div>
    <div class="layui-col-md3">
    <div class="grid-demo">3/12</div>
    </div>
    </div>

    <div class="layui-row layui-col-space15">
    <div class="layui-col-md7">
    <div class="grid-demo grid-demo-bg1">7/12</div>
    </div>
    <div class="layui-col-md5">
    <div class="grid-demo">5/12</div>
    </div>
    </div>

    <div class="layui-row layui-col-space30">
    <div class="layui-col-md7">
    <div class="grid-demo grid-demo-bg1">7/12</div>
    </div>
    <div class="layui-col-md5">
    <div class="grid-demo">5/12</div>
    </div>
    </div>

    <fieldset class="layui-elem-field layui-field-title" style="margin-top: 50px;">
    <legend>列偏移</legend>
    </fieldset>

    <div class="layui-row">
    <div class="layui-col-md4">
    <div class="grid-demo grid-demo-bg1">4/12</div>
    </div>
    <div class="layui-col-md4 layui-col-md-offset4">
    <div class="grid-demo">偏移4列</div>
    </div>
    <div class="layui-col-md1 layui-col-md-offset5">
    <div class="grid-demo grid-demo-bg1">偏移5列</div>
    </div>
    <div class="layui-col-md1">
    <div class="grid-demo">不偏移</div>
    </div>
    </div>

    <div class="layui-row">
    <div class="layui-col-md3 layui-col-md-offset3">
    <div class="grid-demo grid-demo-bg1">偏移3列</div>
    </div>
    <div class="layui-col-md3 layui-col-md-offset1">
    <div class="grid-demo">偏移1列</div>
    </div>
    </div>

    <fieldset class="layui-elem-field layui-field-title" style="margin-top: 50px;">
    <legend>栅格嵌套</legend>
    </fieldset>

    <div class="layui-row">
    <div class="layui-col-md5">
    <div class="layui-row grid-demo">
    <div class="layui-col-md3">
    <div class="grid-demo grid-demo-bg1">内部列</div>
    </div>
    <div class="layui-col-md9">
    <div class="grid-demo grid-demo-bg2">内部列</div>
    </div>
    <div class="layui-col-md12">
    <div class="grid-demo grid-demo-bg3">内部列</div>
    </div>
    </div>
    </div>
    <div class="layui-col-md7">
    <div class="layui-row grid-demo grid-demo-bg1">
    <div class="layui-col-md12">
    <div class="grid-demo">内部列</div>
    </div>
    <div class="layui-col-md9">
    <div class="grid-demo grid-demo-bg2">内部列</div>
    </div>
    <div class="layui-col-md3">
    <div class="grid-demo grid-demo-bg3">内部列</div>
    </div>
    </div>
    </div>
    </div>

    </div>

    <div class="layui-fluid">
    <fieldset class="layui-elem-field layui-field-title">
    <legend>流体容器(宽度自适应,不固定)</legend>
    </fieldset>
    <div class="layui-row">
    <div class="layui-col-sm3">
    <div class="grid-demo grid-demo-bg1">25%</div>
    </div>
    <div class="layui-col-sm3">
    <div class="grid-demo">25%</div>
    </div>
    <div class="layui-col-sm3">
    <div class="grid-demo grid-demo-bg1">25%</div>
    </div>
    <div class="layui-col-sm3">
    <div class="grid-demo">25%</div>
    </div>
    </div>
    </div>


    <script src="../src/layui.js"></script>
    <!-- 注意:如果你直接复制所有代码到本地,上述js路径需要改成你本地的 -->
    <script>

    </script>

    </body>
    </html>
  • 1天前这个插件真不错,鼠标拖动替换照片中回答:

    @王华
    你好,研究得怎么样了??
  • 3天前这个插件真不错,鼠标拖动替换照片中回答:

    @蓝色小药丸 建议你去体验一下,他有一键添加所有照片功能的

    只需要将所有照片一次性上传到图片库,一键添加,然后通过拖动调整,而不需要像别的,需要点击相关按钮或者原图片,打开一个对话框,选择新上传一张替换
  • 3天前这个插件真不错,鼠标拖动替换照片中回答:

    @王华 你好,这个网的,登录进入他们的制作平台,
    https://aimeike.tv/

    里面的js压缩过,看不出哪些代码是这个功能的,

    求助....
  • 2017-9-30 17:15:36layui 服务器连续遭受 DDoS 攻击的事件记录中回答:

    就是,等了大半天~
  • 2017-9-25 0:38:39用layui的table输出数据中回答:

    哎呀~哈哈
    其实就是采集搜狗的音乐
  • 2017-4-30 23:38:2基于thinkphp3.2.3+layui的超简洁企业网站后台管理模版中回答:

    很棒,能开源么
  • 2017-3-2 12:4:20求 layui 调用百度地图解决方案 中回答:

    @妞儿哥 谢谢,可以了,一个怪事就是单独把那个方法loadScript拿出来就是不能用的,有空认证琢磨下,这很不多的,在客户浏览主页的时候,偷偷地把全站用到的js加载进来~

    亲,能改成加载css的么?
  • 2017-2-27 22:56:7求 layui 调用百度地图解决方案 中回答:

    用不了,加载不了的~





  • 2017-2-27 22:50:23求 layui 调用百度地图解决方案 中回答:

    @妞儿哥

    我就算直接用你写的那个方法函数,也无法加载js进来的,怪了啊
  • 2017-2-27 22:46:21求 layui 调用百度地图解决方案 中回答:

    @妞儿哥
    哎呀,不好用啊,琢磨了一个晚上,要么加载不成功,造成页面错误
    要么就是无效,无法载入,

    要不发个demo出来吧,复制粘贴的代码也不清楚哪里出错了没有
  • 2017-2-27 21:36:41求 layui 调用百度地图解决方案 中回答:

    解析下三个参数?
    //arr, i, callback
    loadScript(arr, i, callback){

  • 2017-2-27 18:0:13简单的后台模板更新了 喜欢的点个赞,蟹蟹中回答:

    哎呀,太棒了,能开源么??