[update 全局] 增加备案号
This commit is contained in:
@@ -2,8 +2,9 @@
|
|||||||
@user-info-height: var(--user-info-height, 59px);
|
@user-info-height: var(--user-info-height, 59px);
|
||||||
/*面包屑的高度,高度21,上下margin24 2023-12-06,面包屑挪到用户信息那一栏了,现在12px是margin的数值*/
|
/*面包屑的高度,高度21,上下margin24 2023-12-06,面包屑挪到用户信息那一栏了,现在12px是margin的数值*/
|
||||||
@breadcrumb-height: var(--breadcrumb-height, 12px);
|
@breadcrumb-height: var(--breadcrumb-height, 12px);
|
||||||
|
@footer-height: var(--footer-height, 38px);
|
||||||
/* 页面不出全局滚动条的高度,如果在vue文件使用,就只能在style里引入common.less */
|
/* 页面不出全局滚动条的高度,如果在vue文件使用,就只能在style里引入common.less */
|
||||||
@page-content-h: calc(100vh - @user-info-height - @breadcrumb-height);
|
@page-content-h: calc(100vh - @user-info-height - @breadcrumb-height - @footer-height);
|
||||||
|
|
||||||
/*列表上方操作按钮区域*/
|
/*列表上方操作按钮区域*/
|
||||||
/*.ant-card-body .table-operator {
|
/*.ant-card-body .table-operator {
|
||||||
|
|||||||
@@ -1,11 +1,7 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="footer">
|
<div class="footer">
|
||||||
<div class="links">
|
<div class="links">
|
||||||
</div>
|
<a href="//beian.miit.gov.cn/" target="_blank">©奇瑞汽车股份有限公司 | 皖ICP备05009427号</a>
|
||||||
<div class="copyright">
|
|
||||||
Copyright
|
|
||||||
<a-icon type="copyright"/>
|
|
||||||
2022 <span></span>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
@@ -19,7 +15,6 @@ export default {
|
|||||||
<style lang="less" scoped>
|
<style lang="less" scoped>
|
||||||
.footer {
|
.footer {
|
||||||
padding: 0 16px;
|
padding: 0 16px;
|
||||||
margin: 48px 0 24px;
|
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
|
||||||
.links {
|
.links {
|
||||||
|
|||||||
@@ -75,9 +75,9 @@
|
|||||||
</a-layout-content>
|
</a-layout-content>
|
||||||
|
|
||||||
<!-- layout footer -->
|
<!-- layout footer -->
|
||||||
<!-- <a-layout-footer style="padding: 0">-->
|
<a-layout-footer style="padding: 0;background-color: transparent;">
|
||||||
<!-- <global-footer/>-->
|
<global-footer/>
|
||||||
<!-- </a-layout-footer>-->
|
</a-layout-footer>
|
||||||
</a-layout>
|
</a-layout>
|
||||||
|
|
||||||
<!-- update-start---- author:os_chengtgen -- date:20190830 -- for:issues/463 -编译主题颜色已生效,但还一直转圈,显示主题 正在编译 ---- -->
|
<!-- update-start---- author:os_chengtgen -- date:20190830 -- for:issues/463 -编译主题颜色已生效,但还一直转圈,显示主题 正在编译 ---- -->
|
||||||
|
|||||||
@@ -104,7 +104,8 @@ const updatePageHeight = () => {
|
|||||||
const obj = {
|
const obj = {
|
||||||
'primary-color': '#0064FA',
|
'primary-color': '#0064FA',
|
||||||
'user-info-height': isEmbedded ? '0px' : '59px', // 用户信息的高度
|
'user-info-height': isEmbedded ? '0px' : '59px', // 用户信息的高度
|
||||||
'breadcrumb-height': isEmbedded ? '0px' : '12px' // 面包屑的高度(2023-12-06,面包屑挪到用户信息那一栏了,现在12px是margin的数值)
|
'breadcrumb-height': isEmbedded ? '0px' : '12px', // 面包屑的高度(2023-12-06,面包屑挪到用户信息那一栏了,现在12px是margin的数值)
|
||||||
|
'footer-height': isEmbedded ? '0px' : '38px' // 底部版权信息
|
||||||
}
|
}
|
||||||
// 计算表格竖向滚动条使用
|
// 计算表格竖向滚动条使用
|
||||||
const storeObj = Object.assign(obj, {
|
const storeObj = Object.assign(obj, {
|
||||||
|
|||||||
@@ -13,8 +13,6 @@
|
|||||||
<friend-link-card class="home-link"></friend-link-card>
|
<friend-link-card class="home-link"></friend-link-card>
|
||||||
<!-- 列表 -->
|
<!-- 列表 -->
|
||||||
<search-and-warning-card class="home-table"></search-and-warning-card>
|
<search-and-warning-card class="home-table"></search-and-warning-card>
|
||||||
<!-- 备案 -->
|
|
||||||
<footer class="home-footer"><a href="//beian.miit.gov.cn/" target="_blank">©奇瑞汽车股份有限公司 | 皖ICP备05009427号</a></footer>
|
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@@ -36,20 +34,18 @@ export default {
|
|||||||
|
|
||||||
<style scoped lang="less">
|
<style scoped lang="less">
|
||||||
@import '~@assets/less/common.less';
|
@import '~@assets/less/common.less';
|
||||||
@footerHeight: 30px;
|
|
||||||
.all-wrapper {
|
.all-wrapper {
|
||||||
padding: 8px 8px 0;
|
padding: 8px 8px 0;
|
||||||
display: grid;
|
display: grid;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: calc(100vh - 60px - 8px - 20px);
|
height: calc(100vh - 60px - 8px - 20px - 20px);
|
||||||
grid-gap: 20px;
|
grid-gap: 20px;
|
||||||
grid-template-columns: 0.4fr 0.6fr;
|
grid-template-columns: 0.4fr 0.6fr;
|
||||||
grid-template-rows: 56px 180px minmax(200px, auto) 180px @footerHeight;
|
grid-template-rows: 56px 180px minmax(200px, auto) 180px;
|
||||||
grid-template-areas: 'Search Search'
|
grid-template-areas: 'Search Search'
|
||||||
'QuickEntrance QuickEntrance'
|
'QuickEntrance QuickEntrance'
|
||||||
'Todo Table'
|
'Todo Table'
|
||||||
'Link Table'
|
'Link Table';
|
||||||
'Footer Footer';
|
|
||||||
|
|
||||||
.home-search,
|
.home-search,
|
||||||
.home-quick-entrance,
|
.home-quick-entrance,
|
||||||
@@ -76,11 +72,6 @@ export default {
|
|||||||
.home-table {
|
.home-table {
|
||||||
grid-area: Table;
|
grid-area: Table;
|
||||||
}
|
}
|
||||||
.home-footer {
|
|
||||||
line-height: @footerHeight;
|
|
||||||
grid-area: Footer;
|
|
||||||
text-align: center;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/deep/ .top-wrapper {
|
/deep/ .top-wrapper {
|
||||||
@@ -118,11 +109,11 @@ export default {
|
|||||||
}
|
}
|
||||||
// 1366屏幕
|
// 1366屏幕
|
||||||
@media screen and (max-width: 1366px) {
|
@media screen and (max-width: 1366px) {
|
||||||
@footerHeight: 50px;
|
|
||||||
.all-wrapper {
|
.all-wrapper {
|
||||||
height: calc(100vh - 60px - 8px - 20px + 200px + @footerHeight);
|
margin-bottom: 8px;
|
||||||
|
height: calc(100vh - 60px - 8px - 20px + 200px);
|
||||||
// 友情链接部分减少了12像素
|
// 友情链接部分减少了12像素
|
||||||
grid-template-rows: 48px 180px minmax(200px, auto) 168px @footerHeight;
|
grid-template-rows: 48px 180px minmax(200px, auto) 168px;
|
||||||
}
|
}
|
||||||
/deep/ .top-wrapper {
|
/deep/ .top-wrapper {
|
||||||
.left-p {
|
.left-p {
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
size="middle"
|
size="middle"
|
||||||
:rowKey="(_, index) => index"
|
:rowKey="(_, index) => index"
|
||||||
class="table"
|
class="table"
|
||||||
:scroll="{ x: '100%', y: 'calc(100vh - 600px)' }"
|
:scroll="{ x: '100%', y: 'calc(100vh - 570px)' }"
|
||||||
:columns="showColumns"
|
:columns="showColumns"
|
||||||
:dataSource="dataSource"
|
:dataSource="dataSource"
|
||||||
:pagination="ipagination"
|
:pagination="ipagination"
|
||||||
|
|||||||
Reference in New Issue
Block a user