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'
# 本地环境接口地址(/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_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='

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -5,13 +5,15 @@
height: 100%;
.leftMenu {
width: 300px;
border-radius: 8px;
// width: 290px;
// 页面的项目工程
:deep(.item) {
height: 78px !important;
}
:deep(.content) {
height: calc(100% - 160px) !important;
height: calc(100% - 150px) !important;
min-height: auto;
}
.leftProject {
// padding: 5px 8px;
@ -23,51 +25,31 @@
// font-weight: 700;
font-family: "siyuan_Medium";
font-size: 20px;
color: #ffffff;
text-overflow: ellipsis;
white-space: nowrap;
}
.leftMenu_item {
display: flex;
justify-content: space-between;
margin-top: 10px;
overflow: hidden;
.middleSize {
display: inline-block;
font-size: 18px;
color: #c4c4c4;
font-size: 16px;
white-space: nowrap;
text-overflow: ellipsis;
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 {
width: calc(100% - 300px);
width: calc(100% - 320px);
height: 100%;
.table {
margin-left: 20px;
height: 100%;
:deep(.table-main) {
height: calc(100% - 82px);
overflow-x: scroll;
}
}
}
@ -75,35 +57,23 @@
:deep(.el-scrollbar__view) {
width: 100%;
height: 100%;
// display: flex;
// flex-wrap: wrap;
}
:deep() {
.el-form-item__content > :not(button) {
// width: 160px;
}
.el-input__wrapper {
color: white;
font-size: 20px;
background-color: transparent;
border: none;
box-shadow: 0 0 0 1px var(--el-color-primary, var(--el-color-primary)) inset;
font-size: 16px;
}
.el-input__inner {
color: white;
font-size: 20px;
font-size: 16px;
}
.el-textarea__inner {
color: white;
font-size: 20px;
background-color: transparent;
border: none;
box-shadow: 0 0 0 1px var(--el-color-primary, var(--el-color-primary)) inset;
font-size: 16px;
}
}
:deep() {
.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="" />
<span class="middleSize">{{ data.projectAddress || data.address }}</span>
</div>
<!-- <div>
<img src="@/assets/images/AIwaring/报警.png" alt="" />
<span class="middleSize">今日报警次数{{ data.todayAlarm }}</span>
</div> -->
</div>
</div>
</div>