Authored by xuhongyun

拖拽支持

... ... @@ -2,7 +2,7 @@ var jQuery = require('jquery');
(function ($) {
var dragging, placeholders = $();
$.fn.sortable = function (options) {
$.fn.mysortable = function (options) {
options = options || {};
return this.each(function () {
if (/^enable|disable|destroy$/.test(options)) {
... ...
... ... @@ -341,7 +341,7 @@ function renderGoodList() {
});
// 排序
$(".cover-image-list").each(function(index){
$(this).sortable({
$(this).mysortable({
items:".cover-image-item",
array:goodsList[index].goodsImagesList,
callback:function(data){
... ... @@ -518,4 +518,4 @@ GOLABDATA.on("fenmian", function () {
return '<p>请设置至少一个skc的封面</p>';
}
});
\ No newline at end of file
});
... ...