样式修改

This commit is contained in:
bb_pan 2026-02-09 10:24:46 +08:00
parent c4ac1c68f2
commit 9e9be4d477
5 changed files with 46 additions and 12 deletions

View File

@ -19,8 +19,10 @@
@click="handleMenuClick(item)"
>
<div class="menu-btn">
<span v-if="item.redirect == 'index' || item.redirect == 'index1'">
{{ item.children[0].meta.title }}
<span v-if="item.redirect == 'index'" class="com">
<img src="@/assets/images/com-1.png" style="width: 16px; height: 16px" alt="" />
<span>综合看板</span>
<img src="@/assets/images/com-2.png" style="width: 16px; height: 16px" alt="" />
</span>
<span v-else-if="item.meta && item.meta.title">{{ item.meta.title }}</span>
<div class="tab-item-btn"></div>
@ -80,9 +82,7 @@
<div class="warning-main">退役预警</div>
<el-tooltip :content="item.status" placement="top" effect="dark">
<div class="warning-sub">
{{ item.name ? item.name + '-' : '' }}{{ item.status }}
</div>
<div class="warning-sub"> {{ item.name ? item.name + '-' : '' }}{{ item.status }} </div>
</el-tooltip>
</div>
</div>
@ -122,7 +122,9 @@
<div class="warning-main">{{ item.businessName }}-{{ item.statusType }}</div>
<el-tooltip :content="item.deptAbbreviation || item.applyUser" placement="top" effect="dark">
<div class="warning-sub">
{{ item.deptAbbreviation ? item.deptAbbreviation + '-' : '' }}{{ item.applyUser }}-{{ item.applyTime }}
{{ item.deptAbbreviation ? item.deptAbbreviation + '-' : '' }}{{ item.applyUser }}-{{
item.applyTime
}}
</div>
</el-tooltip>
</div>
@ -525,7 +527,7 @@ export default {
created() {
this.getUser()
this.menuList = this.sidebarRouters.filter((route) => !route.hidden && route.path !== '/')
this.menuList = this.menuList.slice(1)
// this.menuList = this.menuList.slice(1)
this.getEventList()
this.getRetireList()
},
@ -1354,4 +1356,20 @@ export default {
box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
}
}
.com {
margin: 9px 0;
display: flex;
align-items: center;
width: 135px;
height: 32px;
color: #fff;
background-image: linear-gradient(180deg, #08c6a9, #13e0c0);
font-weight: 700;
display: flex;
align-items: center;
justify-content: space-around;
border-radius: 4px;
cursor: pointer;
}
</style>

View File

@ -57,13 +57,13 @@
</ul>
</div>
</div>
<div class="center-box" v-show="isIndex">
<!-- <div class="center-box" v-show="isIndex">
<span class="com">
<img src="@/assets/images/com-1.png" style="width: 16px; height: 16px" alt="" />
<span>综合看板</span>
<img src="@/assets/images/com-2.png" style="width: 16px; height: 16px" alt="" />
</span>
</div>
</div> -->
<div style="height: 40px"></div>
</div>
</template>

View File

@ -359,11 +359,26 @@
</div>
</div>
<div class="status-operation-bar" style="margin: 15px 0">
<div class="status-operation-bar" style="margin: 15px 0 0 0" v-show="searchExpanded2">
<!-- 分析 -->
<EquAnalysis ref="equAnalysis" :queryParams="queryParams" />
</div>
<div class="status-operation-bar sticky-bar">
<div class="operation-buttons">
<el-button
type="text"
size="mini"
style="float: right"
@click="searchExpanded2 = !searchExpanded2"
class="search-toggle-btn"
>
<i :class="searchExpanded2 ? 'el-icon-up' : 'el-icon-down'"></i>
{{ searchExpanded2 ? '收起' : '展开' }}
</el-button>
</div>
</div>
<!-- 装备列表表格 -->
<div class="card-container content-box">
<el-row :gutter="10" class="mb8" style="display: flex; align-items: center;border-bottom: 1px solid #e4e7ed;">
@ -1023,6 +1038,7 @@ export default {
showFieldSetting: false, //
//
searchExpanded: false,
searchExpanded2: true,
selectedColumns: [],
//
formData: {

View File

@ -272,7 +272,7 @@ export default {
}
.price-text {
font-family: OpenSans-BoldItalic;
font-size: 24px;
font-size: 28px;
color: #2CBAB2;
}
.num-text {

View File

@ -559,7 +559,7 @@ export default {
<style lang="scss" scoped>
.num {
font-family: OPPOSans;
font-size: 24px;
font-size: 21px;
line-height: 22px;
}
.name {