From ed58b6c48482f67d8c13ad7d6ae2a7e355ae056b Mon Sep 17 00:00:00 2001
From: 张含笑 <zhx18749296735@163.com>
Date: Fri, 30 May 2025 17:11:46 +0800
Subject: [PATCH] feat:适配调整
---
src/mac/lock.vue | 5
src/views/odm/task.vue | 11 +
src/views/tickets/ticket.vue | 8
src/views/system/param.vue | 5
src/page/index/index.vue | 22 +-
src/views/resource/oss.vue | 10 +
src/page/index/top/top-menu.vue | 9
src/views/job/jobserver.vue | 11 +
src/views/resource/waylineFile.vue | 10 +
src/views/system/sysConfig.vue | 11 +
src/views/device/airport.vue | 91 ++++-----
src/views/device/components/firmwareManage.vue | 10 +
src/views/device/devicePerMenu.vue | 11 +
src/components/flow-design/main.vue | 7
src/views/util/affix.vue | 10
src/views/job/jobinfo.vue | 11 +
src/mac/index.vue | 7
src/views/resource/attach.vue | 11 +
src/views/authority/apiscope.vue | 13 +
src/views/resource/wayline.vue | 11 +
src/views/resource/media.vue | 11 +
src/views/system/dict.vue | 10 +
src/components/basic-container/main.vue | 2
src/views/authority/datascope.vue | 11 +
src/views/monitor/log/error.vue | 11 +
src/views/system/menu.vue | 13 +
src/views/device/addDevice.vue | 8
src/views/authority/role.vue | 10 +
src/page/index/logo.vue | 7
src/views/device/fly.vue | 121 ++++++++-----
src/views/tickets/orderLog.vue | 8
src/views/monitor/log/api.vue | 11 +
src/views/util/top.vue | 10
src/views/system/client.vue | 11 +
src/views/util/cache.vue | 7
35 files changed, 400 insertions(+), 135 deletions(-)
diff --git a/src/components/basic-container/main.vue b/src/components/basic-container/main.vue
index 849c417..6a357d5 100644
--- a/src/components/basic-container/main.vue
+++ b/src/components/basic-container/main.vue
@@ -37,7 +37,7 @@
.basic-container {
padding: 0 10px;
box-sizing: border-box;
- height: 100%;
+ // height: 100%;
.basic-container__card{
height: 100% !important;
diff --git a/src/components/flow-design/main.vue b/src/components/flow-design/main.vue
index 3ddee6d..6989cea 100644
--- a/src/components/flow-design/main.vue
+++ b/src/components/flow-design/main.vue
@@ -9,13 +9,13 @@
width="70%"
class="flow-design-dialog"
>
- <nf-design-base ref="bpmn" style="height: 60vh" :options="option"></nf-design-base>
+ <nf-design-base ref="bpmn" class="bpmn" :options="option"></nf-design-base>
</el-dialog>
<div v-else>
<nf-design-base
v-if="visible"
ref="bpmn"
- style="height: 60vh"
+ class="bpmn"
:options="option"
></nf-design-base>
</div>
@@ -107,6 +107,9 @@
<style lang="scss">
.flow-design-dialog {
+.bpmn {
+height: 60vh
+}
display: flex;
flex-direction: column;
margin: 0 !important;
diff --git a/src/mac/index.vue b/src/mac/index.vue
index 421c5fa..0d7f386 100644
--- a/src/mac/index.vue
+++ b/src/mac/index.vue
@@ -46,7 +46,7 @@
<div class="item" @click="openApp(item)">
<i :style="{ backgroundColor: item.iconBgColor, color: item.iconColor }" class="iconfont"
:class="item[iconKey]"></i>
- <small style="margin-top: 5px; font-size: 10px">{{ item[labelKey] }}</small>
+ <small class="smallkey" >{{ item[labelKey] }}</small>
</div>
</template>
</div>
@@ -149,8 +149,11 @@
height: 100% !important;
}
</style>
-<style scoped>
+<style scoped lang="scss">
.desktop {
+.smallkey {
+margin-top: 5px; font-size: 10px
+}
display: flex;
flex-direction: column;
position: absolute;
diff --git a/src/mac/lock.vue b/src/mac/lock.vue
index 40ccd61..88628df 100644
--- a/src/mac/lock.vue
+++ b/src/mac/lock.vue
@@ -9,7 +9,7 @@
</div>
<div class="message">{{ userInfo.username }}</div>
<div class="form">
- <div class="item" style="width: 320px" :class="passwdError ? 'error' : ''">
+ <div class="item" :class="passwdError ? 'error' : ''">
<input class="password" placeholder="password here..." v-model="passwd" type="password" />
<i class="iconfont el-icon-unlock" @click="handleLogin"></i>
<i class="iconfont icon-tuichu" @click="handleLogout"></i>
@@ -59,4 +59,7 @@
</script>
<style scoped>
@import url('./login.css');
+.item {
+width: 320px
+}
</style>
diff --git a/src/page/index/index.vue b/src/page/index/index.vue
index 1079687..2e0d270 100644
--- a/src/page/index/index.vue
+++ b/src/page/index/index.vue
@@ -114,14 +114,16 @@
</script>
<style lang="scss" scoped>
-#avue-view{
- :deep(){
- .avue-crud__body{
- .el-form{
- height: 745px;
- overflow: auto;
- }
- }
- }
-}
+:deep(.basic-container){
+height: none !important;}
+// #avue-view{
+// :deep(){
+// .avue-crud__body{
+// .el-form{
+// height: 745px;
+// overflow: auto;
+// }
+// }
+// }
+// }
</style>
diff --git a/src/page/index/logo.vue b/src/page/index/logo.vue
index db62d5d..652c131 100644
--- a/src/page/index/logo.vue
+++ b/src/page/index/logo.vue
@@ -7,7 +7,7 @@
</transition>
<transition-group name="fade">
<template v-if="getScreen(!isCollapse)">
- <div style="display: flex; align-items: left; gap: 5px; margin: 8px 8px 10px 20px;">
+ <div class="fadeStyle">
<img class="img" src="/img/bg/mainLogo.png" alt="" width="50%" height="50%" />
<!-- <span style="font-size: 20px;" key="1">
{{ this.parentDeptInfo.sysName }}
@@ -37,3 +37,8 @@
methods: {},
};
</script>
+<style scoped lang="scss">
+.fadeStyle {
+display: flex; align-items: left; gap: 5px; margin: 8px 8px 10px 20px;
+}
+</style>
diff --git a/src/page/index/top/top-menu.vue b/src/page/index/top/top-menu.vue
index 708fa00..f72206f 100644
--- a/src/page/index/top/top-menu.vue
+++ b/src/page/index/top/top-menu.vue
@@ -2,7 +2,7 @@
<el-menu class="top-menu" :default-active="activeIndex" mode="horizontal" text-color="#333">
<el-menu-item index="0" @click="openHome(itemHome)">
<template #title>
- <i :class="itemHome.source" style="padding-right: 5px"></i>
+ <i :class="itemHome.source" class="itemTitle" ></i>
<span>{{ itemHome.name }}</span>
</template>
</el-menu-item>
@@ -10,7 +10,7 @@
<template v-for="(item, index) in items" :key="index">
<el-menu-item :index="item.id + ''" @click="openMenu(item)">
<template #title>
- <i :class="item.source" style="padding-right: 5px"></i>
+ <i :class="item.source" class="itemTitle"></i>
<span>{{ item.name }}</span>
</template>
</el-menu-item>
@@ -56,3 +56,8 @@
},
}
</script>
+<style scoped>
+.itemTitle {
+padding-right: 5px
+}
+</style>
\ No newline at end of file
diff --git a/src/views/authority/apiscope.vue b/src/views/authority/apiscope.vue
index 3d54ba3..32c2d0e 100644
--- a/src/views/authority/apiscope.vue
+++ b/src/views/authority/apiscope.vue
@@ -669,8 +669,17 @@
},
};
</script>
-<style scoped>
+
+<style scoped lang="scss">
.namei {
margin-right: 5px;
}
-</style>
+ :deep(){
+ .avue-crud__body{
+ .el-form{
+ height: 745px;
+ overflow: auto;
+ }
+ }
+ }
+</style>
\ No newline at end of file
diff --git a/src/views/authority/datascope.vue b/src/views/authority/datascope.vue
index 0389f4e..f159d3f 100644
--- a/src/views/authority/datascope.vue
+++ b/src/views/authority/datascope.vue
@@ -762,8 +762,17 @@
},
};
</script>
-<style scoped>
+
+<style scoped lang="scss">
.namei {
margin-right: 5px;
}
+ :deep(){
+ .avue-crud__body{
+ .el-form{
+ height: 745px;
+ overflow: auto;
+ }
+ }
+ }
</style>
\ No newline at end of file
diff --git a/src/views/authority/role.vue b/src/views/authority/role.vue
index 0fc1a38..9fe617b 100644
--- a/src/views/authority/role.vue
+++ b/src/views/authority/role.vue
@@ -402,3 +402,13 @@
},
};
</script>
+<style scoped lang="scss">
+ :deep(){
+ .avue-crud__body{
+ .el-form{
+ height: 745px;
+ overflow: auto;
+ }
+ }
+ }
+</style>
\ No newline at end of file
diff --git a/src/views/device/addDevice.vue b/src/views/device/addDevice.vue
index 6bf203f..52b0b32 100644
--- a/src/views/device/addDevice.vue
+++ b/src/views/device/addDevice.vue
@@ -422,6 +422,14 @@
</script>
<style lang="scss" scoped>
+ :deep(){
+ .avue-crud__body{
+ .el-form{
+ height: 745px;
+ overflow: auto;
+ }
+ }
+ }
.firmware_status {
background-color: aqua;
border-radius: 4px;
diff --git a/src/views/device/airport.vue b/src/views/device/airport.vue
index d1bf092..7083e01 100644
--- a/src/views/device/airport.vue
+++ b/src/views/device/airport.vue
@@ -35,44 +35,24 @@
<el-tag>{{ row.dept_name }}</el-tag>
</template>
<template #status="{ row }">
- <div
- v-if="row.status == true"
- class="onlineStatus"
-
- >
- <div
- class="onlineStatus-dot"
-
- ></div>
- <span style="margin-left: 5px">在线</span>
+ <div v-if="row.status == true" class="onlineStatus">
+ <div class="onlineStatus-dot"></div>
+ <span class="online">在线</span>
</div>
- <div
- v-if="row.status == false"
- class="onlineStatus"
- >
- <div
- class="onlineStatus-dot1"
-
- ></div>
- <span style="margin-left: 5px">离线</span>
+ <div v-if="row.status == false" class="onlineStatus">
+ <div class="onlineStatus-dot1"></div>
+ <span class="online">离线</span>
</div>
</template>
<template #firmware_status="{ row }">
- <div
- v-if="row.firmware_status == 1"
- class="onlineStatus1"
-
- >
+ <div v-if="row.firmware_status == 1" class="onlineStatus1">
<el-tag type="info">无需升级</el-tag>
<el-tag type="primary" effect="dark" class="active-element" @click="rollFirmware(row)"
>版本管理</el-tag
>
<!-- <div style="background-color: #f1f1f1; border-radius: 4px">无需升级</div> -->
</div>
- <div
- v-if="row.firmware_status == 2"
- class="onlineStatus1"
- >
+ <div v-if="row.firmware_status == 2" class="onlineStatus1">
<!-- <el-tag type="success" effect="dark" class="active-element" @click="updateFirmware(row)"
>升级固件</el-tag
> -->
@@ -81,19 +61,13 @@
>
<!-- <div @click="updateFirmware(row)" class="firmware_status">升级固件</div> -->
</div>
- <div
- v-if="row.firmware_status == 3"
- class="onlineStatus "
- >
+ <div v-if="row.firmware_status == 3" class="onlineStatus">
<el-tag type="success" effect="dark" class="active-element" @click="updateFirmware(row)"
>一致性升级</el-tag
>
<!-- <div @click="updateFirmware(row)" class="firmware_status">一致性升级</div> -->
</div>
- <div
- v-if="row.firmware_status == 4"
- class="onlineStatus "
- >
+ <div v-if="row.firmware_status == 4" class="onlineStatus">
<el-tag effect="dark" class="active-element" @click="updateFirmware(row)">升级中</el-tag>
<el-progress
v-if="row.firmware_progress > 0 && row.firmware_progress < 100"
@@ -171,12 +145,8 @@
:value="item.id"
>
<span style="float: left">{{ item.name + ': ' + item.endpoint }}</span>
- <span v-if="item.status == 1" style="float: right; color: #8492a6; font-size: 13px">{{
- item.categoryName
- }}</span>
- <span v-if="item.status == 2" style="float: right; color: #40cb8b; font-size: 13px">{{
- item.categoryName
- }}</span>
+ <span v-if="item.status == 1" class="status1">{{ item.categoryName }}</span>
+ <span v-if="item.status == 2" class="status2">{{ item.categoryName }}</span>
</el-option>
</el-select>
</div>
@@ -707,9 +677,9 @@
this.ossEnd = row.oss_id;
// 查询下拉列表
const param = {
- categoryKeys: "1,3,6"
- }
- getOssList(1, 50,param).then(res => {
+ categoryKeys: '1,3,6',
+ };
+ getOssList(1, 50, param).then(res => {
const data = res.data.data;
that.ossList = data.records;
});
@@ -1154,17 +1124,40 @@
</script>
<style lang="scss" scoped>
+.status2 {
+ float: right;
+ color: #40cb8b;
+ font-size: 13px;
+}
+.status1 {
+ float: right;
+ color: #8492a6;
+ font-size: 13px;
+}
+.online {
+ margin-left: 5px;
+}
.onlineStatus1 {
-display: flex; flex-direction: column; align-items: center
+ display: flex;
+ flex-direction: column;
+ align-items: center;
}
.onlineStatus {
-display: flex; flex-direction: row; align-items: center
+ display: flex;
+ flex-direction: row;
+ align-items: center;
}
.onlineStatus-dot {
-width: 15px; height: 15px; background-color: #40cb8b; border-radius: 50%
+ width: 15px;
+ height: 15px;
+ background-color: #40cb8b;
+ border-radius: 50%;
}
.onlineStatus-dot1 {
-width: 15px; height: 15px; background-color: #de5e5e; border-radius: 50%
+ width: 15px;
+ height: 15px;
+ background-color: #de5e5e;
+ border-radius: 50%;
}
.firmware_status {
background-color: aqua;
diff --git a/src/views/device/components/firmwareManage.vue b/src/views/device/components/firmwareManage.vue
index ff9ba05..d5cba3b 100644
--- a/src/views/device/components/firmwareManage.vue
+++ b/src/views/device/components/firmwareManage.vue
@@ -429,3 +429,13 @@
/* color: aqua; */
}
</style>
+<style scoped lang="scss">
+ :deep(){
+ .avue-crud__body{
+ .el-form{
+ height: 745px;
+ overflow: auto;
+ }
+ }
+ }
+</style>
diff --git a/src/views/device/devicePerMenu.vue b/src/views/device/devicePerMenu.vue
index e80299e..c550713 100644
--- a/src/views/device/devicePerMenu.vue
+++ b/src/views/device/devicePerMenu.vue
@@ -311,3 +311,14 @@
/* color: aqua; */
}
</style>
+<style scoped lang="scss">
+
+ :deep(){
+ .avue-crud__body{
+ .el-form{
+ height: 745px;
+ overflow: auto;
+ }
+ }
+ }
+</style>
diff --git a/src/views/device/fly.vue b/src/views/device/fly.vue
index a3a8ac8..2fd28b2 100644
--- a/src/views/device/fly.vue
+++ b/src/views/device/fly.vue
@@ -1,6 +1,7 @@
<template>
<basic-container>
<avue-crud
+ id="device"
:option="option"
:table-loading="loading"
:data="data"
@@ -34,24 +35,13 @@
<el-tag>{{ row.dept_name }}</el-tag>
</template>
<template #status="{ row }">
- <div
- v-if="row.status == true"
- class="onlineStatus"
-
- >
- <div
- class="onlineStatus-dot"
- ></div>
- <span style="margin-left: 5px">在线</span>
+ <div v-if="row.status == true" class="onlineStatus">
+ <div class="onlineStatus-dot"></div>
+ <span class="online" >在线</span>
</div>
- <div
- v-if="row.status == false"
- class="onlineStatus"
- >
- <div
- class="onlineStatus-dot1"
- ></div>
- <span style="margin-left: 5px">离线</span>
+ <div v-if="row.status == false" class="onlineStatus">
+ <div class="onlineStatus-dot1"></div>
+ <span class="online">离线</span>
</div>
</template>
<template #menu="scope">
@@ -74,12 +64,28 @@
</template>
</avue-crud>
<el-dialog title="操控密码设置" append-to-body v-model="operatePasswordSetBox" width="455px">
- <el-form :model="passwordForm" ref="passwordForm" label-width="80px" :rules="rules" v-loading="loadingForm">
+ <el-form
+ :model="passwordForm"
+ ref="passwordForm"
+ label-width="80px"
+ :rules="rules"
+ v-loading="loadingForm"
+ >
<el-form-item label="密码" prop="password">
- <el-input type="password" v-model="passwordForm.password" placeholder="请输入密码" show-password></el-input>
+ <el-input
+ type="password"
+ v-model="passwordForm.password"
+ placeholder="请输入密码"
+ show-password
+ ></el-input>
</el-form-item>
<el-form-item label="确认密码" prop="password2">
- <el-input type="password" v-model="passwordForm.password2" placeholder="请输入确认密码" show-password></el-input>
+ <el-input
+ type="password"
+ v-model="passwordForm.password2"
+ placeholder="请输入确认密码"
+ show-password
+ ></el-input>
</el-form-item>
</el-form>
<template #footer>
@@ -96,7 +102,15 @@
</template>
<script>
-import { getList, remove, update, add, getDetail,getOperatePassword,operatePasswordUpdate } from '@/api/device/device';
+import {
+ getList,
+ remove,
+ update,
+ add,
+ getDetail,
+ getOperatePassword,
+ operatePasswordUpdate,
+} from '@/api/device/device';
import { mapGetters } from 'vuex';
export default {
@@ -118,15 +132,15 @@
}
};
return {
- loadingForm:false,
+ loadingForm: false,
rules: {
password: [{ required: true, validator: validatePass, trigger: 'blur' }],
password2: [{ required: true, validator: validatePass2, trigger: 'blur' }],
},
- passwordForm:{
- id:'',
- password:'',
- password2:'',
+ passwordForm: {
+ id: '',
+ password: '',
+ password2: '',
},
operatePasswordSetBox: false,
operatePasswordViewBox: false,
@@ -141,9 +155,9 @@
},
selectionList: [],
option: {
- height: '460',
- calcHeight: 32,
- dialogWidth: 950,
+ // height: '460',
+ // calcHeight: 32,
+ // dialogWidth: 950,
tip: false,
searchShow: true,
searchMenuSpan: 6,
@@ -345,14 +359,14 @@
if (valid) {
this.loadingForm = true;
const data = {
- id:this.passwordForm.id,
- operate_password: this.passwordForm.password
- }
+ id: this.passwordForm.id,
+ operate_password: this.passwordForm.password,
+ };
// 提交
operatePasswordUpdate(data).then(res => {
this.loadingForm = false;
this.operatePasswordSetBox = false;
- that.passwordForm = {}
+ that.passwordForm = {};
this.onLoad(this.page);
this.$message({
type: 'success',
@@ -368,22 +382,22 @@
// 操作密码设置
handleOperatePassword(row) {
this.operatePasswordSetBox = true;
- this.passwordForm.id = row.id
+ this.passwordForm.id = row.id;
},
- viewOperatePassword(row){
+ viewOperatePassword(row) {
this.operatePasswordViewBox = true;
// 查询密码
- getOperatePassword(row.id).then(res=>{
- this.operate_password = res.data.data;
- })
+ getOperatePassword(row.id).then(res => {
+ this.operate_password = res.data.data;
+ });
},
init() {
- this.page= {
+ (this.page = {
pageSize: 10,
currentPage: 1,
total: 0,
- },
- this.onLoad(this.page);
+ }),
+ this.onLoad(this.page);
},
rowSave(row, done, loading) {
add(row).then(
@@ -526,16 +540,33 @@
</script>
<style lang="scss" scoped>
+:deep(#device .el-card__body .avue-crud__body .el-form) {
+ height: 655px !important;
+ overflow: auto;
+}
+.online {
+ margin-left: 5px;
+}
.onlineStatus1 {
-display: flex; flex-direction: column; align-items: center
+ display: flex;
+ flex-direction: column;
+ align-items: center;
}
.onlineStatus {
-display: flex; flex-direction: row; align-items: center
+ display: flex;
+ flex-direction: row;
+ align-items: center;
}
.onlineStatus-dot {
-width: 15px; height: 15px; background-color: #40cb8b; border-radius: 50%
+ width: 15px;
+ height: 15px;
+ background-color: #40cb8b;
+ border-radius: 50%;
}
.onlineStatus-dot1 {
-width: 15px; height: 15px; background-color: #de5e5e; border-radius: 50%
+ width: 15px;
+ height: 15px;
+ background-color: #de5e5e;
+ border-radius: 50%;
}
</style>
diff --git a/src/views/job/jobinfo.vue b/src/views/job/jobinfo.vue
index ff80ca2..db38193 100644
--- a/src/views/job/jobinfo.vue
+++ b/src/views/job/jobinfo.vue
@@ -292,4 +292,13 @@
};
</script>
-<style></style>
+<style scoped lang="scss">
+ :deep(){
+ .avue-crud__body{
+ .el-form{
+ height: 745px;
+ overflow: auto;
+ }
+ }
+ }
+</style>
diff --git a/src/views/job/jobserver.vue b/src/views/job/jobserver.vue
index f156c46..d0a9975 100644
--- a/src/views/job/jobserver.vue
+++ b/src/views/job/jobserver.vue
@@ -233,4 +233,13 @@
};
</script>
-<style></style>
+<style scoped lang="scss">
+ :deep(){
+ .avue-crud__body{
+ .el-form{
+ height: 745px;
+ overflow: auto;
+ }
+ }
+ }
+</style>
diff --git a/src/views/monitor/log/api.vue b/src/views/monitor/log/api.vue
index 08f7894..5e74765 100644
--- a/src/views/monitor/log/api.vue
+++ b/src/views/monitor/log/api.vue
@@ -210,4 +210,13 @@
};
</script>
-<style></style>
+<style scoped lang="scss">
+ :deep(){
+ .avue-crud__body{
+ .el-form{
+ height: 745px;
+ overflow: auto;
+ }
+ }
+ }
+</style>
diff --git a/src/views/monitor/log/error.vue b/src/views/monitor/log/error.vue
index aa3b510..6bfa8da 100644
--- a/src/views/monitor/log/error.vue
+++ b/src/views/monitor/log/error.vue
@@ -176,4 +176,13 @@
};
</script>
-<style></style>
+<style scoped lang="scss">
+ :deep(){
+ .avue-crud__body{
+ .el-form{
+ height: 745px;
+ overflow: auto;
+ }
+ }
+ }
+</style>
diff --git a/src/views/odm/task.vue b/src/views/odm/task.vue
index a712851..f979c9e 100644
--- a/src/views/odm/task.vue
+++ b/src/views/odm/task.vue
@@ -471,4 +471,13 @@
};
</script>
-<style></style>
+<style scoped lang="scss">
+ :deep(){
+ .avue-crud__body{
+ .el-form{
+ height: 745px;
+ overflow: auto;
+ }
+ }
+ }
+</style>
diff --git a/src/views/resource/attach.vue b/src/views/resource/attach.vue
index 395155f..3b1ed06 100644
--- a/src/views/resource/attach.vue
+++ b/src/views/resource/attach.vue
@@ -343,4 +343,13 @@
};
</script>
-<style></style>
+<style scoped lang="scss">
+ :deep(){
+ .avue-crud__body{
+ .el-form{
+ height: 745px;
+ overflow: auto;
+ }
+ }
+ }
+</style>
diff --git a/src/views/resource/media.vue b/src/views/resource/media.vue
index 424c459..69faecc 100644
--- a/src/views/resource/media.vue
+++ b/src/views/resource/media.vue
@@ -346,4 +346,13 @@
};
</script>
-<style></style>
+<style scoped lang="scss">
+ :deep(){
+ .avue-crud__body{
+ .el-form{
+ height: 745px;
+ overflow: auto;
+ }
+ }
+ }
+</style>
diff --git a/src/views/resource/oss.vue b/src/views/resource/oss.vue
index 2d5236f..a775b58 100644
--- a/src/views/resource/oss.vue
+++ b/src/views/resource/oss.vue
@@ -503,3 +503,13 @@
},
};
</script>
+<style scoped lang="scss">
+ :deep(){
+ .avue-crud__body{
+ .el-form{
+ height: 745px;
+ overflow: auto;
+ }
+ }
+ }
+</style>
\ No newline at end of file
diff --git a/src/views/resource/wayline.vue b/src/views/resource/wayline.vue
index 93ec2de..ac0ebf4 100644
--- a/src/views/resource/wayline.vue
+++ b/src/views/resource/wayline.vue
@@ -305,4 +305,13 @@
};
</script>
-<style></style>
+<style scoped lang="scss">
+ :deep(){
+ .avue-crud__body{
+ .el-form{
+ height: 745px;
+ overflow: auto;
+ }
+ }
+ }
+</style>
diff --git a/src/views/resource/waylineFile.vue b/src/views/resource/waylineFile.vue
index 61e845f..412fe53 100644
--- a/src/views/resource/waylineFile.vue
+++ b/src/views/resource/waylineFile.vue
@@ -227,8 +227,16 @@
};
</script>
-<style scoped>
+<style scoped lang="scss">
.avue-crud .el-table {
max-height: none !important;
}
+ :deep(){
+ .avue-crud__body{
+ .el-form{
+ height: 745px;
+ overflow: auto;
+ }
+ }
+ }
</style>
diff --git a/src/views/system/client.vue b/src/views/system/client.vue
index bddeead..b715202 100644
--- a/src/views/system/client.vue
+++ b/src/views/system/client.vue
@@ -380,4 +380,13 @@
};
</script>
-<style></style>
+<style scoped lang="scss">
+ :deep(){
+ .avue-crud__body{
+ .el-form{
+ height: 745px;
+ overflow: auto;
+ }
+ }
+ }
+</style>
\ No newline at end of file
diff --git a/src/views/system/dict.vue b/src/views/system/dict.vue
index 92d82ef..b56026a 100644
--- a/src/views/system/dict.vue
+++ b/src/views/system/dict.vue
@@ -448,3 +448,13 @@
},
};
</script>
+<style scoped lang="scss">
+ :deep(){
+ .avue-crud__body{
+ .el-form{
+ height: 745px;
+ overflow: auto;
+ }
+ }
+ }
+</style>
\ No newline at end of file
diff --git a/src/views/system/menu.vue b/src/views/system/menu.vue
index f3cc545..a3e3037 100644
--- a/src/views/system/menu.vue
+++ b/src/views/system/menu.vue
@@ -480,8 +480,17 @@
};
</script>
-<style scoped>
+
+<style scoped lang="scss">
.namei {
margin-right: 5px;
}
-</style>
+ :deep(){
+ .avue-crud__body{
+ .el-form{
+ height: 745px;
+ overflow: auto;
+ }
+ }
+ }
+</style>
\ No newline at end of file
diff --git a/src/views/system/param.vue b/src/views/system/param.vue
index 938a11c..ca255ec 100644
--- a/src/views/system/param.vue
+++ b/src/views/system/param.vue
@@ -369,8 +369,11 @@
},
};
</script>
-<style scoped>
+
+<style scoped lang="scss">
.rowStyle {
padding: 6px 18px
}
+
+
</style>
diff --git a/src/views/system/sysConfig.vue b/src/views/system/sysConfig.vue
index 0144f32..193164a 100644
--- a/src/views/system/sysConfig.vue
+++ b/src/views/system/sysConfig.vue
@@ -302,4 +302,13 @@
};
</script>
-<style></style>
+<style scoped lang="scss">
+ :deep(){
+ .avue-crud__body{
+ .el-form{
+ height: 745px;
+ overflow: auto;
+ }
+ }
+ }
+</style>
diff --git a/src/views/tickets/orderLog.vue b/src/views/tickets/orderLog.vue
index 4fc1b6a..e34ef40 100644
--- a/src/views/tickets/orderLog.vue
+++ b/src/views/tickets/orderLog.vue
@@ -1381,6 +1381,14 @@
</script>
<style lang="scss" scoped>
+ :deep(){
+ .avue-crud__body{
+ .el-form{
+ height: 625px;
+ overflow: auto;
+ }
+ }
+ }
:deep(.el-pagination .el-select ){
width: 128px !important;
}
diff --git a/src/views/tickets/ticket.vue b/src/views/tickets/ticket.vue
index 2324fe0..bf4a3e8 100644
--- a/src/views/tickets/ticket.vue
+++ b/src/views/tickets/ticket.vue
@@ -2829,6 +2829,14 @@
</script>
<style lang="scss" scoped>
+ :deep(){
+ .avue-crud__body{
+ .el-form{
+ height: 655px;
+ overflow: auto;
+ }
+ }
+ }
.uploadImg {
margin-bottom: 32px
}
diff --git a/src/views/util/affix.vue b/src/views/util/affix.vue
index fbde082..8d7048a 100644
--- a/src/views/util/affix.vue
+++ b/src/views/util/affix.vue
@@ -15,8 +15,8 @@
<avue-affix id="avue-view" :offset-top="150">
<span class="affix-affix">固定在距离顶部 150px 的位置</span>
</avue-affix>
- <div style="height: 2000px">
- <div style="padding: 15px 20px; font-size: 18px">往下拉就会出现图钉</div>
+ <div class="tudingBox" >
+ <div class="tuding" >往下拉就会出现图钉</div>
</div>
</div>
</template>
@@ -26,6 +26,12 @@
</script>
<style lang="scss">
+.tudingBox {
+height: 2000px
+}
+.tuding {
+padding: 15px 20px; font-size: 18px
+}
.affix {
position: relative;
background-color: #fff;
diff --git a/src/views/util/cache.vue b/src/views/util/cache.vue
index 0298ad9..694c99a 100644
--- a/src/views/util/cache.vue
+++ b/src/views/util/cache.vue
@@ -11,7 +11,7 @@
<br />
<el-input v-model="value" placeholder="input here" />
- <div style="height: 1000px"></div>
+ <div class="blocks" ></div>
</basic-container>
</template>
@@ -24,3 +24,8 @@
},
};
</script>
+<style scoped lang="scss">
+.blocks {
+height: 1000px
+}
+</style>
diff --git a/src/views/util/top.vue b/src/views/util/top.vue
index 2827371..8adde1b 100644
--- a/src/views/util/top.vue
+++ b/src/views/util/top.vue
@@ -1,7 +1,7 @@
<template>
<div>
- <div style="height: 2000px; background-color: #fff">
- <div style="padding: 15px 20px; font-size: 18px">往下拉就会出现返回菜单</div>
+ <div class="menus" >
+ <div class="menusItem">往下拉就会出现返回菜单</div>
</div>
<avue-back-top id="avue-view"></avue-back-top>
<avue-back-top id="avue-view" :height="100" :bottom="200">
@@ -15,6 +15,12 @@
</script>
<style scoped>
+.menus{
+height: 2000px; background-color: #fff
+}
+.menusItem {
+padding: 15px 20px; font-size: 18px
+}
.top {
padding: 10px;
font-size: 14px;
--
Gitblit v1.9.3