|
|
@ -404,15 +404,14 @@ |
|
|
|
|
|
|
|
|
|
|
|
<div v-show="showImg" style="z-index: 9999;" > |
|
|
|
<div v-show="showImg" style="z-index: 9999;" > |
|
|
|
<div v-drag class="relative w-screen h-screen"> |
|
|
|
<div v-drag class="relative w-screen h-screen"> |
|
|
|
<div class="dia-header absolute text-center hover:bg-gray-400" style="top: -27px;z-index: 9991;width: 850px;height: 50px;line-height: 50px;" ref="imgCheckDrag">--单击此处可拖拽--</div> |
|
|
|
<!-- <div class="dia-header absolute text-center hover:bg-gray-400" style="top: -27px;z-index: 9991;width: 850px;height: 50px;line-height: 50px;" ref="imgCheckDrag">--单击此处可拖拽--</div> --> |
|
|
|
<check-photo :imgSrc="imgSrc" :imgSrcId='imgSrcId' :imgSrcName="imgSrcName" :showImg.sync="showImg" style="width: 850px;z-index: 9990;" ref="photoCheck"> |
|
|
|
<check-photo :imgSrc="imgSrc" :imgSrcId='imgSrcId' :imgSrcName="imgSrcName" :showImg.sync="showImg" class="dia-header" style="width: 850px;z-index: 9990;" ref="imgCheckDrag"> |
|
|
|
<div class="absolute flex justify-end w-full flex-wrap" style="bottom:7vh; right: 4vw"> |
|
|
|
<div class="absolute flex justify-end w-full flex-wrap" style="bottom:7vh; right: 4vw"> |
|
|
|
<seal-name v-for="item in isSeal(imgSrcId)" :key="item.id" :item="item"> |
|
|
|
<seal-name v-for="item in isSeal(imgSrcId)" :key="item.id" :item="item"> |
|
|
|
</seal-name> |
|
|
|
</seal-name> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</check-photo> |
|
|
|
</check-photo> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -967,8 +966,22 @@ export default { |
|
|
|
this.imgSrc = '' |
|
|
|
this.imgSrc = '' |
|
|
|
this.imgSrcId = '' |
|
|
|
this.imgSrcId = '' |
|
|
|
this.imgSrcName = '' |
|
|
|
this.imgSrcName = '' |
|
|
|
|
|
|
|
}else { |
|
|
|
|
|
|
|
this.$nextTick(() => { |
|
|
|
|
|
|
|
console.log(this.$refs.imgCheckDrag) |
|
|
|
|
|
|
|
new Sortable(this.$refs.imgCheckDrag, { |
|
|
|
|
|
|
|
animation: 150, |
|
|
|
|
|
|
|
group: { |
|
|
|
|
|
|
|
name:'shared', |
|
|
|
|
|
|
|
pull:'clone',// 是否可以被移出或克隆 |
|
|
|
|
|
|
|
put:false// 禁止拖入 |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
}) |
|
|
|
|
|
|
|
}) |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}, |
|
|
|
}, |
|
|
|
'$route.path': function (val) { |
|
|
|
'$route.path': function (val) { |
|
|
|
// 控制弹框显隐 |
|
|
|
// 控制弹框显隐 |
|
|
@ -1097,14 +1110,7 @@ export default { |
|
|
|
let that = this |
|
|
|
let that = this |
|
|
|
|
|
|
|
|
|
|
|
// 图片查看器允许拖拽 |
|
|
|
// 图片查看器允许拖拽 |
|
|
|
new Sortable(this.$refs.imgCheckDrag, { |
|
|
|
|
|
|
|
animation: 150, |
|
|
|
|
|
|
|
group: { |
|
|
|
|
|
|
|
name:'shared', |
|
|
|
|
|
|
|
pull:'clone',// 是否可以被移出或克隆 |
|
|
|
|
|
|
|
put:false// 禁止拖入 |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
}) |
|
|
|
|
|
|
|
// 拖拽-物品栏 |
|
|
|
// 拖拽-物品栏 |
|
|
|
new Sortable(this.$refs.goods, { |
|
|
|
new Sortable(this.$refs.goods, { |
|
|
|
animation: 150, |
|
|
|
animation: 150, |
|
|
|