fix: BUG修改

This commit is contained in:
kun 2023-07-28 16:39:38 +08:00
parent c0ba2e5d06
commit d5f7fa5b68
9 changed files with 105 additions and 70 deletions

View File

@ -2,9 +2,9 @@
NODE_ENV = 'development' NODE_ENV = 'development'
# 本地环境接口地址(/api/index.ts文件中使用) # 本地环境接口地址(/api/index.ts文件中使用)
VITE_API_URL = 'http://192.168.34.155:6688' # VITE_API_URL = 'http://192.168.34.155:6688'
VITE_WPAPI_URL = "http://182.90.224.147:8081" VITE_WPAPI_URL = "http://182.90.224.147:8081"
# VITE_API_URL = "http://182.90.224.147:6688" VITE_API_URL = "http://182.90.224.147:6688"
# 上传 # 上传
# VITE_ULD_API_URL = 'http://192.168.34.155:8012/onlinePreview?url=' # VITE_ULD_API_URL = 'http://192.168.34.155:8012/onlinePreview?url='

View File

@ -112,6 +112,7 @@ onMounted(() => {
</script> </script>
<style scoped lang="scss"> <style scoped lang="scss">
:deep(.ql-editor) { :deep(.ql-editor) {
word-break: break-all;
min-height: 180px; min-height: 180px;
max-height: 330px; max-height: 330px;
} }
@ -127,4 +128,12 @@ onMounted(() => {
:deep(.ql-align-right) { :deep(.ql-align-right) {
text-align: right; text-align: right;
} }
.input_content {
word-wrap: break-word;
table-layout: fixed;
word-break: break-all;
}
p {
word-break: break-all;
}
</style> </style>

View File

@ -475,6 +475,7 @@ onMounted(() => {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
position: relative; position: relative;
background-color: #fff;
} }
.imgDialog { .imgDialog {
.uploadBtn { .uploadBtn {

View File

@ -19,13 +19,28 @@
padding: 0 40px; padding: 0 40px;
} }
.html-div:first-child { .html-div {
display: block !important; display: flex;
align-items: center;
justify-content: center;
line-height: 50px;
height: 50px;
width: 100%; width: 100%;
white-space: nowrap; white-space: nowrap;
text-overflow: ellipsis; text-overflow: ellipsis;
overflow: hidden; overflow: hidden;
} :deep() {
.html-div:not(:first-child) { p:first-child {
display: none; width: 100%;
display: flex;
align-items: center;
justify-content: center;
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
}
p:not(:first-child) {
display: none !important;
}
}
} }

View File

@ -16,15 +16,28 @@
padding: 0 40px; padding: 0 40px;
} }
.html-div:first-child { .html-div {
display: block !important; display: flex;
align-items: center;
justify-content: center;
line-height: 50px; line-height: 50px;
height: 50px; height: 50px;
width: 100%; width: 100%;
white-space: nowrap; white-space: nowrap;
text-overflow: ellipsis; text-overflow: ellipsis;
overflow: hidden; overflow: hidden;
} :deep() {
.html-div:not(:first-child) { p:first-child {
display: none; width: 100%;
display: flex;
align-items: center;
justify-content: center;
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
}
p:not(:first-child) {
display: none !important;
}
}
} }

View File

@ -18,16 +18,34 @@
.content :deep(.ql-align-left) { .content :deep(.ql-align-left) {
text-align: left; text-align: left;
} }
.html-div {
.html-div:first-child { display: flex;
display: block !important; align-items: center;
justify-content: center;
line-height: 50px; line-height: 50px;
height: 50px; height: 50px;
width: 100%; width: 100%;
white-space: nowrap; white-space: nowrap;
text-overflow: ellipsis; text-overflow: ellipsis;
overflow: hidden; overflow: hidden;
:deep() {
p:first-child {
width: 100%;
display: flex;
align-items: center;
justify-content: center;
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
}
p:not(:first-child) {
display: none !important;
}
}
} }
.html-div:not(:first-child) { // .html-div:first-child {
display: none; // display: block !important;
} // }
// .html-div:not(:first-child) {
// display: none;
// }

View File

@ -19,15 +19,28 @@
text-align: left; text-align: left;
} }
.html-div:first-child { .html-div {
display: block !important; display: flex;
align-items: center;
justify-content: center;
line-height: 50px; line-height: 50px;
height: 50px; height: 50px;
width: 100%; width: 100%;
white-space: nowrap; white-space: nowrap;
text-overflow: ellipsis; text-overflow: ellipsis;
overflow: hidden; overflow: hidden;
} :deep() {
.html-div:not(:first-child) { p:first-child {
display: none; width: 100%;
display: flex;
align-items: center;
justify-content: center;
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
}
p:not(:first-child) {
display: none !important;
}
}
} }

View File

@ -5,13 +5,15 @@
height: 100%; height: 100%;
.leftMenu { .leftMenu {
width: 300px; width: 300px;
border-radius: 8px;
// width: 290px; // width: 290px;
// 页面的项目工程 // 页面的项目工程
:deep(.item) { :deep(.item) {
height: 78px !important; height: 78px !important;
} }
:deep(.content) { :deep(.content) {
height: calc(100% - 160px) !important; height: calc(100% - 150px) !important;
min-height: auto;
} }
.leftProject { .leftProject {
// padding: 5px 8px; // padding: 5px 8px;
@ -23,51 +25,31 @@
// font-weight: 700; // font-weight: 700;
font-family: "siyuan_Medium"; font-family: "siyuan_Medium";
font-size: 20px;
color: #ffffff;
text-overflow: ellipsis; text-overflow: ellipsis;
white-space: nowrap; white-space: nowrap;
} }
.leftMenu_item { .leftMenu_item {
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
margin-top: 10px;
overflow: hidden; overflow: hidden;
.middleSize { .middleSize {
display: inline-block; display: inline-block;
font-size: 18px; font-size: 16px;
color: #c4c4c4;
white-space: nowrap; white-space: nowrap;
text-overflow: ellipsis; text-overflow: ellipsis;
overflow: hidden; overflow: hidden;
} }
.video {
display: flex;
align-items: center;
img {
width: 14px;
height: 14px;
margin: 0 4px;
}
}
}
.bottom_item {
.bottomSize {
font-size: 18px !important;
color: #666666;
}
} }
} }
} }
.table-box { .table-box {
width: calc(100% - 300px); width: calc(100% - 320px);
height: 100%; height: 100%;
.table { .table {
margin-left: 20px; margin-left: 20px;
height: 100%; height: 100%;
:deep(.table-main) { :deep(.table-main) {
height: calc(100% - 82px); height: calc(100% - 82px);
overflow-x: scroll;
} }
} }
} }
@ -75,35 +57,23 @@
:deep(.el-scrollbar__view) { :deep(.el-scrollbar__view) {
width: 100%; width: 100%;
height: 100%; height: 100%;
// display: flex;
// flex-wrap: wrap;
} }
:deep() { :deep() {
.el-form-item__content > :not(button) { .el-form-item__content > :not(button) {
// width: 160px; // width: 160px;
} }
.el-input__wrapper { .el-input__wrapper {
color: white; font-size: 16px;
font-size: 20px;
background-color: transparent;
border: none;
box-shadow: 0 0 0 1px var(--el-color-primary, var(--el-color-primary)) inset;
} }
.el-input__inner { .el-input__inner {
color: white; font-size: 16px;
font-size: 20px;
} }
.el-textarea__inner { .el-textarea__inner {
color: white; font-size: 16px;
font-size: 20px; }
background-color: transparent; }
border: none; :deep() {
box-shadow: 0 0 0 1px var(--el-color-primary, var(--el-color-primary)) inset; .el-form .el-form-item__content .el-range-editor {
width: 300px;
} }
} }
// :deep(.el-dialog__body) {
// padding: 0 0 0 0 !important;
// background-color: pink;
// }

View File

@ -18,10 +18,6 @@
<img style="margin-right: 5px" src="@/assets/images/AIwaring/dustMap.png" alt="" /> <img style="margin-right: 5px" src="@/assets/images/AIwaring/dustMap.png" alt="" />
<span class="middleSize">{{ data.projectAddress || data.address }}</span> <span class="middleSize">{{ data.projectAddress || data.address }}</span>
</div> </div>
<!-- <div>
<img src="@/assets/images/AIwaring/报警.png" alt="" />
<span class="middleSize">今日报警次数{{ data.todayAlarm }}</span>
</div> -->
</div> </div>
</div> </div>
</div> </div>