百分比布局

hn2.0
fanluyan 2 years ago
parent 9399138d37
commit 04b552d7ec

@ -12,7 +12,7 @@ export default {
}, },
mounted() {}, mounted() {},
created() { created() {
new DevicePixelRatio().init(); //new DevicePixelRatio().init();
}, },
}; };
</script> </script>

@ -97,8 +97,12 @@ export default {
</script> </script>
<style lang="less"> <style lang="less">
.showDialogHistoryPic { .showDialogHistoryPic {
.el-dialog {
width: 70% !important;
height: 90%;
}
.el-dialog__body { .el-dialog__body {
height: 768px; height: calc(100% - 70px);
.title { .title {
height: 32px; height: 32px;
padding-left: 12px; padding-left: 12px;

@ -1005,12 +1005,14 @@ export default {
right: 0; right: 0;
top: 0; top: 0;
z-index: 9999; z-index: 9999;
width: 100%;
height: 100%;
display: flex; display: flex;
cursor: pointer; cursor: pointer;
.picboxI { .picboxI {
position: relative; position: relative;
width: 1538px; width: 1200px;
height: 865px; height: 670px;
margin: auto; margin: auto;
animation-name: scaleDraw; animation-name: scaleDraw;
/*关键帧名称*/ /*关键帧名称*/
@ -1023,8 +1025,8 @@ export default {
align-items: center; align-items: center;
justify-content: center; justify-content: center;
img { img {
max-width: 1538px; max-width: 1200px;
max-height: 865px; max-height: 670px;
margin: auto; margin: auto;
position: absolute; position: absolute;

@ -537,8 +537,12 @@ export default {
} }
} }
.showDialogHistoryPic { .showDialogHistoryPic {
.el-dialog {
width: 70% !important;
height: 90%;
}
.el-dialog__body { .el-dialog__body {
height: 768px; height: calc(100% - 70px);
.title { .title {
height: 32px; height: 32px;
padding-left: 12px; padding-left: 12px;

Loading…
Cancel
Save