浏览代码

drag items

star7th 6 年之前
父节点
当前提交
9462d22b7b

+ 1 - 1
web/index.html

@@ -4,4 +4,4 @@
       "server": window.location.protocol +'//'+ window.location.host + window.location.pathname+ '../server/index.php?s=',
       //"lang" :'en'
       "lang" :'zh-cn'
-  }</script><link href=./static/css/app.41a1bebfa2cbdac6c0c0984771050a08.css rel=stylesheet></head><body class=grey-bg><div id=app></div><script type=text/javascript src=./static/js/manifest.07b55f6b8ca67a0d00f8.js></script><script type=text/javascript src=./static/js/vendor.64da7b871f5dfbf012ca.js></script><script type=text/javascript src=./static/js/app.62517fb9a32d914f9ce8.js></script></body></html>
+  }</script><link href=./static/css/app.ac6aef2e2361da5fa99dbc6e425a0a61.css rel=stylesheet></head><body class=grey-bg><div id=app></div><script type=text/javascript src=./static/js/manifest.7832dcff269b9b6fcbf6.js></script><script type=text/javascript src=./static/js/vendor.e142ae298b8919d4a6df.js></script><script type=text/javascript src=./static/js/app.e579a2791d718857dae6.js></script></body></html>

文件差异内容过多而无法显示
+ 0 - 0
web/static/css/app.41a1bebfa2cbdac6c0c0984771050a08.css


文件差异内容过多而无法显示
+ 0 - 0
web/static/css/app.ac6aef2e2361da5fa99dbc6e425a0a61.css


文件差异内容过多而无法显示
+ 0 - 0
web/static/js/app.62517fb9a32d914f9ce8.js


文件差异内容过多而无法显示
+ 0 - 0
web/static/js/app.e579a2791d718857dae6.js


+ 1 - 1
web/static/js/manifest.07b55f6b8ca67a0d00f8.js → web/static/js/manifest.7832dcff269b9b6fcbf6.js

@@ -1 +1 @@
-!function(e){function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}var r=window.webpackJsonp;window.webpackJsonp=function(t,c,a){for(var i,u,f,s=0,l=[];s<t.length;s++)u=t[s],o[u]&&l.push(o[u][0]),o[u]=0;for(i in c)Object.prototype.hasOwnProperty.call(c,i)&&(e[i]=c[i]);for(r&&r(t,c,a);l.length;)l.shift()();if(a)for(s=0;s<a.length;s++)f=n(n.s=a[s]);return f};var t={},o={2:0};n.e=function(e){function r(){i.onerror=i.onload=null,clearTimeout(u);var n=o[e];0!==n&&(n&&n[1](new Error("Loading chunk "+e+" failed.")),o[e]=void 0)}var t=o[e];if(0===t)return new Promise(function(e){e()});if(t)return t[2];var c=new Promise(function(n,r){t=o[e]=[n,r]});t[2]=c;var a=document.getElementsByTagName("head")[0],i=document.createElement("script");i.type="text/javascript",i.charset="utf-8",i.async=!0,i.timeout=12e4,n.nc&&i.setAttribute("nonce",n.nc),i.src=n.p+"static/js/"+e+"."+{0:"64da7b871f5dfbf012ca",1:"62517fb9a32d914f9ce8"}[e]+".js";var u=setTimeout(r,12e4);return i.onerror=i.onload=r,a.appendChild(i),c},n.m=e,n.c=t,n.d=function(e,r,t){n.o(e,r)||Object.defineProperty(e,r,{configurable:!1,enumerable:!0,get:t})},n.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(r,"a",r),r},n.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},n.p="./",n.oe=function(e){throw console.error(e),e}}([]);
+!function(e){function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}var r=window.webpackJsonp;window.webpackJsonp=function(t,a,c){for(var i,u,f,s=0,l=[];s<t.length;s++)u=t[s],o[u]&&l.push(o[u][0]),o[u]=0;for(i in a)Object.prototype.hasOwnProperty.call(a,i)&&(e[i]=a[i]);for(r&&r(t,a,c);l.length;)l.shift()();if(c)for(s=0;s<c.length;s++)f=n(n.s=c[s]);return f};var t={},o={2:0};n.e=function(e){function r(){i.onerror=i.onload=null,clearTimeout(u);var n=o[e];0!==n&&(n&&n[1](new Error("Loading chunk "+e+" failed.")),o[e]=void 0)}var t=o[e];if(0===t)return new Promise(function(e){e()});if(t)return t[2];var a=new Promise(function(n,r){t=o[e]=[n,r]});t[2]=a;var c=document.getElementsByTagName("head")[0],i=document.createElement("script");i.type="text/javascript",i.charset="utf-8",i.async=!0,i.timeout=12e4,n.nc&&i.setAttribute("nonce",n.nc),i.src=n.p+"static/js/"+e+"."+{0:"e142ae298b8919d4a6df",1:"e579a2791d718857dae6"}[e]+".js";var u=setTimeout(r,12e4);return i.onerror=i.onload=r,c.appendChild(i),a},n.m=e,n.c=t,n.d=function(e,r,t){n.o(e,r)||Object.defineProperty(e,r,{configurable:!1,enumerable:!0,get:t})},n.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(r,"a",r),r},n.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},n.p="./",n.oe=function(e){throw console.error(e),e}}([]);

文件差异内容过多而无法显示
+ 0 - 0
web/static/js/vendor.64da7b871f5dfbf012ca.js


文件差异内容过多而无法显示
+ 0 - 0
web/static/js/vendor.e142ae298b8919d4a6df.js


+ 6 - 1
web_src/src/components/item/Index.vue

@@ -47,7 +47,7 @@
           </div>
 
           <ul class="thumbnails" id="item-list" v-if="itemListByKeyword">
-                <draggable v-model="itemListByKeyword" tag="span" group="item"  @end="endMove">
+                <draggable v-model="itemListByKeyword" tag="span" group="item"  @end="endMove" ghostClass="sortable-chosen">
                   <li class=" text-center"  v-for="item in itemListByKeyword"
                      v-dragging="{ item: item, list: itemListByKeyword, group: 'item' }"
                   >
@@ -180,6 +180,11 @@
     margin-left: 60px;
   }
 
+  .sortable-chosen .item-thumbnail{
+    color: #ffffff;
+    background-color: #ffffff;
+  }
+
 </style>
 
 <script>

部分文件因为文件数量过多而无法显示