图片查看器修改

20240205
luoJunYong.123 3 years ago
parent 60d9fa8ceb
commit 24dd9b829d
  1. 2
      src/components/checkPhoto/index.vue
  2. 3
      src/layouts/header/index.vue
  3. 24
      src/pages/counter/list/index.vue

@ -1,6 +1,8 @@
<template> <template>
<div class="relative -translate-y-2/4" style="margin-top: 10px;color: black;"> <div class="relative -translate-y-2/4" style="margin-top: 10px;color: black;">
<!-- <div class="bg-gray-400" @click="closeIt">关闭</div> --> <!-- <div class="bg-gray-400" @click="closeIt">关闭</div> -->
<img class="absolute cursor-pointer hover:bg-red-700" src="@/assets/svg/close.svg" alt="" @click="closeIt" style="right: 50px; top: 30px;" />
<template v-if="imgSrcId==14"> <template v-if="imgSrcId==14">
<h3 class="subpixel-antialiased text-2xl text-center absolute" style="left: 95px;top: 110px;">{{ dataFlow.userName }}</h3> <h3 class="subpixel-antialiased text-2xl text-center absolute" style="left: 95px;top: 110px;">{{ dataFlow.userName }}</h3>
<h3 class="subpixel-antialiased text-2xl text-center absolute" v-if="dataFlow.sex==1" style="left: 446px;top: 110px;"></h3> <h3 class="subpixel-antialiased text-2xl text-center absolute" v-if="dataFlow.sex==1" style="left: 446px;top: 110px;"></h3>

@ -59,7 +59,8 @@ export default {
align-items: center; align-items: center;
position: relative; position: relative;
height: 68px; height: 68px;
background-color: #fff; // background-color: #fff;
background-color: rgb(250,250,250);
z-index: 1001; z-index: 1001;
.logo{ .logo{
width: 500px; width: 500px;

@ -402,9 +402,9 @@
<router-view></router-view> <router-view></router-view>
</div> </div>
<!-- <div v-show="showImg" v-drag style="background-color: blur;width: 100vw; height: 100vh;"> <div v-show="showImg" style="background-color: blur;">
<div class="dia-header"> <div v-drag class="relative w-screen h-screen" ref="imgCheckDrag">
<check-photo :imgSrc="imgSrc" :imgSrcId='imgSrcId' :imgSrcName="imgSrcName" :showImg.sync="showImg" style="width: 850px;z-index: 9999;" ref="photoCheck"> <check-photo :imgSrc="imgSrc" :imgSrcId='imgSrcId' :imgSrcName="imgSrcName" :showImg.sync="showImg" class="dia-header" style="width: 850px;z-index: 9999;" ref="photoCheck">
<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>
@ -412,23 +412,23 @@
</check-photo> </check-photo>
</div> </div>
</div> --> </div>
<!-- 图片查看器 --> <!-- 图片查看器 -->
<el-dialog <!-- <el-dialog
custom-class="data-dia " custom-class="data-dia "
class="imgIndex" class="imgIndex"
:visible.sync="showImg" :visible.sync="showImg"
width="850px" width="850px"
> >
<check-photo :imgSrc="imgSrc" :imgSrcId='imgSrcId' :imgSrcName="imgSrcName"> <check-photo :imgSrc="imgSrc" :imgSrcId='imgSrcId' :imgSrcName="imgSrcName" class="dia-header">
<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>
</el-dialog> </el-dialog> -->
<!-- <tip-dialog /> --> <!-- <tip-dialog /> -->
@ -1094,6 +1094,16 @@ export default {
mounted(){ mounted(){
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,

Loading…
Cancel
Save