From 48bc3a659138b64632a9abcef0118bb83579e36d Mon Sep 17 00:00:00 2001 From: ludc Date: 星期二, 19 十二月 2023 17:57:02 +0800 Subject: [PATCH] ::v-deep写法导致打包报错调整语法 --- Source/UBCS-WEB/src/components/template/Business.vue | 58 +++++++++++++++++++++++++++++----------------------------- 1 files changed, 29 insertions(+), 29 deletions(-) diff --git a/Source/UBCS-WEB/src/components/template/Business.vue b/Source/UBCS-WEB/src/components/template/Business.vue index 0d3b098..d5dacde 100644 --- a/Source/UBCS-WEB/src/components/template/Business.vue +++ b/Source/UBCS-WEB/src/components/template/Business.vue @@ -166,40 +166,40 @@ } </script> <style lang="scss" scoped> -.dialogwarp { - display: -webkit-box; - display: -ms-flexbox; - display: flex; - justify-content: space-between; - height: 70vh; + .dialogwarp { + display: -webkit-box; + display: -ms-flexbox; + display: flex; + justify-content: space-between; + height: 70vh; - &_tab { - width: 79%; + &_tab { + width: 79%; + + &_card { + width: 100%; + height: 100%; + } + } &_card { - width: 100%; - height: 100%; + // margin-left: 20px; + width: 20%; } } - &_card { - // margin-left: 20px; - width: 20%; + ::v-deep { + .el-upload { + width: 100%; + height: 120px; + } + .el-upload-dragger { + width: 100%; + height: 120px; + } + .el-upload-dragger .el-icon-upload { + margin: 15px 0 16px; + } } -} - -::v-deep(.el-upload) { - width: 100%; - height: 120px; -} - -::v-deep(.el-upload-dragger) { - width: 100%; - height: 120px; -} - -::v-deep(.el-upload-dragger .el-icon-upload) { - margin: 15px 0 16px; -} -</style> +</style> \ No newline at end of file -- Gitblit v1.9.3