2023-11-3-1
This commit is contained in:
@@ -262,24 +262,20 @@ export default defineComponent({
|
||||
let divTop:any = document.createElement('div');
|
||||
let divBottom:any = document.createElement('div');
|
||||
let divCenter:any = document.createElement('div');
|
||||
let div:any = document.createElement('div');
|
||||
if(imgbox.getElementsByClassName('cropper-view-box-Bg').length >= 1){
|
||||
}else{
|
||||
div.classList.add('cropper-view-box-Bg')
|
||||
divTop.classList.add('cropper-view-box-Bg')
|
||||
divBottom.classList.add('cropper-view-box-Bg')
|
||||
divCenter.classList.add('cropper-view-box-Bg')
|
||||
|
||||
div.classList.add('cropper-view-box-Mask')
|
||||
divTop.classList.add('cropper-view-box-Top')
|
||||
divBottom.classList.add('cropper-view-box-Bottom')
|
||||
divCenter.classList.add('cropper-view-box-Center')
|
||||
|
||||
div.style.background = `url(./image/femaleBG.png) no-repeat 0 0 / 100% 100%`
|
||||
imgBoxSizeBG.appendChild(divTop)
|
||||
// imgBoxSizeBG.appendChild(div)
|
||||
imgBoxSizeBG.appendChild(divBottom)
|
||||
imgBoxSizeBG.appendChild(divCenter)
|
||||
// imgBoxSizeBG.appendChild(div)
|
||||
|
||||
}
|
||||
// imgBoxSize.style.backgroundImage = 'url('+require('@assets/images/library/lemaleBG.png')')'
|
||||
|
||||
@@ -1004,10 +1000,6 @@ export default defineComponent({
|
||||
width: 100%;
|
||||
position: absolute;
|
||||
}
|
||||
.cropper-view-box-Mask{
|
||||
top: 0;
|
||||
height: 100%;
|
||||
}
|
||||
.cropper-view-box-Top{
|
||||
// border-top: 1px dashed;
|
||||
/*虚线2 css*/
|
||||
|
||||
Reference in New Issue
Block a user