• cdn引入vuedraggable实现拖拽


    <script src="http://www.itxst.com/package/sortable/Sortable.min.js"></script>
    <script src="http://www.itxst.com/package/vuedraggable/vuedraggable.umd.min.js"></script>


              <draggable v-model="navList">
                                <div class="series-item" v-for="item in navList">
                                    <div class="mini-items-info">
                                        <div class="mini-pic">
                                            <img :src="item.imgUrl" alt="">
                                            <p class="pic-change">{{item.text}}</p>
                                        </div>
                                        <div class="mini-content">
                                            <div class="code_combox" style=" 100%;"><input type="text" class="code_input" style=" 100%; rgb(255, 255, 255);" maxlength="100" disabled                          ="" placeholder=""><i class="iconfont code_clear" style="display: none;">�</i><i class="iconfont code_search">�</i></div>
                                        </div>
                                    </div>
                                </div>
                        </draggable>
     
     
     Vue.component('vuedraggable', window.vuedraggable)
     
     
    new Vue({
            el:"#addcontent",
            components:{
                draggable: window.vuedraggable, 
            }
    })
  • 相关阅读:
    js弹出DIV层
    .net 生成静态页面
    新开博客
    随机生成验证码
    ASP.NET错误处理方法总结
    webgis
    看樱花
    今天转载的笑话,挺好笑呵
    用Tomcat插件在Eclipse上搭建可跟踪调试的J2EE WEB开发环境
    关于JSTL的简单说明
  • 原文地址:https://www.cnblogs.com/h5it/p/14070682.html
Copyright © 2020-2023  润新知