样式调整
This commit is contained in:
parent
b43219eacb
commit
c0ac349a0f
@ -114,7 +114,6 @@
|
|||||||
"lint-staged": "^15.2.2",
|
"lint-staged": "^15.2.2",
|
||||||
"postcss": "^8.4.35",
|
"postcss": "^8.4.35",
|
||||||
"postcss-html": "^1.6.0",
|
"postcss-html": "^1.6.0",
|
||||||
"postcss-pxtorem": "^6.1.0",
|
|
||||||
"postcss-scss": "^4.0.9",
|
"postcss-scss": "^4.0.9",
|
||||||
"prettier": "^3.2.5",
|
"prettier": "^3.2.5",
|
||||||
"prettier-eslint": "^16.3.0",
|
"prettier-eslint": "^16.3.0",
|
||||||
|
|||||||
@ -1,15 +1,5 @@
|
|||||||
module.exports = {
|
module.exports = {
|
||||||
plugins: {
|
plugins: {
|
||||||
autoprefixer: {},
|
autoprefixer: {}
|
||||||
'postcss-pxtorem': {
|
|
||||||
rootValue: 16, // 设计稿基准值,1rem = 16px
|
|
||||||
unitPrecision: 5, // rem 的小数位数
|
|
||||||
propList: ['*'], // 需要转换的属性,* 表示所有属性
|
|
||||||
selectorBlackList: [], // 忽略的选择器,可以使用正则表达式
|
|
||||||
replace: true, // 是否替换而不是添加
|
|
||||||
mediaQuery: false, // 是否在媒体查询中转换 px
|
|
||||||
minPixelValue: 0, // 设置要替换的最小像素值,0 表示所有值都转换
|
|
||||||
exclude: /node_modules/i // 排除 node_modules 目录
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -25,10 +25,6 @@ import '@/styles/index.scss'
|
|||||||
// 引入动画
|
// 引入动画
|
||||||
import '@/plugins/animate.css'
|
import '@/plugins/animate.css'
|
||||||
|
|
||||||
// 初始化 rem 移动端适配
|
|
||||||
import { initRem } from '@/utils/rem'
|
|
||||||
initRem()
|
|
||||||
|
|
||||||
// 路由
|
// 路由
|
||||||
import router, { setupRouter } from '@/router'
|
import router, { setupRouter } from '@/router'
|
||||||
|
|
||||||
|
|||||||
@ -535,6 +535,3 @@ export const subString = (str: string, start: number, end: number) => {
|
|||||||
}
|
}
|
||||||
return str
|
return str
|
||||||
}
|
}
|
||||||
|
|
||||||
// rem 移动端适配
|
|
||||||
export { initRem, getRem } from './rem'
|
|
||||||
|
|||||||
@ -1,65 +0,0 @@
|
|||||||
/**
|
|
||||||
* rem 移动端适配工具
|
|
||||||
* 根据屏幕宽度动态设置根元素字体大小
|
|
||||||
*/
|
|
||||||
|
|
||||||
// 设计稿基准宽度(根据你的设计稿调整,常见值:375、750)
|
|
||||||
const DESIGN_WIDTH = 375
|
|
||||||
// 基准字体大小(与 postcss.config.js 中的 rootValue 保持一致)
|
|
||||||
const BASE_FONT_SIZE = 16
|
|
||||||
|
|
||||||
/**
|
|
||||||
* 设置 rem 基准值
|
|
||||||
*/
|
|
||||||
function setRem() {
|
|
||||||
const docEl = document.documentElement
|
|
||||||
const width = docEl.clientWidth || window.innerWidth
|
|
||||||
|
|
||||||
// 计算根字体大小:屏幕宽度 / 设计稿宽度 * 基准字体大小
|
|
||||||
const rem = (width / DESIGN_WIDTH) * BASE_FONT_SIZE
|
|
||||||
|
|
||||||
// 设置根元素字体大小
|
|
||||||
docEl.style.fontSize = `${rem}px`
|
|
||||||
|
|
||||||
// 限制最大和最小字体大小(可选)
|
|
||||||
const maxRem = BASE_FONT_SIZE * 1.5 // 最大 24px
|
|
||||||
const minRem = BASE_FONT_SIZE * 0.8 // 最小 12.8px
|
|
||||||
|
|
||||||
if (rem > maxRem) {
|
|
||||||
docEl.style.fontSize = `${maxRem}px`
|
|
||||||
} else if (rem < minRem) {
|
|
||||||
docEl.style.fontSize = `${minRem}px`
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* 初始化 rem 适配
|
|
||||||
*/
|
|
||||||
export function initRem() {
|
|
||||||
// 初始设置
|
|
||||||
setRem()
|
|
||||||
|
|
||||||
// 监听窗口大小变化
|
|
||||||
window.addEventListener('resize', setRem)
|
|
||||||
|
|
||||||
// 监听屏幕方向变化(移动端横竖屏切换)
|
|
||||||
window.addEventListener('orientationchange', () => {
|
|
||||||
setTimeout(setRem, 100)
|
|
||||||
})
|
|
||||||
|
|
||||||
// 监听页面显示(处理浏览器标签页切换)
|
|
||||||
document.addEventListener('visibilitychange', () => {
|
|
||||||
if (!document.hidden) {
|
|
||||||
setRem()
|
|
||||||
}
|
|
||||||
})
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* 获取当前 rem 基准值
|
|
||||||
*/
|
|
||||||
export function getRem(): number {
|
|
||||||
const docEl = document.documentElement
|
|
||||||
const fontSize = window.getComputedStyle(docEl).fontSize
|
|
||||||
return parseFloat(fontSize)
|
|
||||||
}
|
|
||||||
@ -4,7 +4,7 @@
|
|||||||
<div class="stats-cards">
|
<div class="stats-cards">
|
||||||
<div v-for="(card, index) in statsCards" :key="index" class="stat-card">
|
<div v-for="(card, index) in statsCards" :key="index" class="stat-card">
|
||||||
<div class="stat-card-icon" :class="`icon-${card.type}`">
|
<div class="stat-card-icon" :class="`icon-${card.type}`">
|
||||||
<Icon :icon="card.icon" :size="20" />
|
<Icon :icon="card.icon" :size="24" />
|
||||||
</div>
|
</div>
|
||||||
<div class="stat-card-content">
|
<div class="stat-card-content">
|
||||||
<div class="stat-card-title">{{ card.title }}</div>
|
<div class="stat-card-title">{{ card.title }}</div>
|
||||||
@ -25,7 +25,7 @@
|
|||||||
<div class="chart-card">
|
<div class="chart-card">
|
||||||
<div class="chart-title">风险等级分布</div>
|
<div class="chart-title">风险等级分布</div>
|
||||||
<div class="chart-content">
|
<div class="chart-content">
|
||||||
<EChart :options="riskDistributionOptions" :width="'100%'" :height="'300px'" />
|
<EChart :options="riskDistributionOptions" :height="'200px'" />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@ -33,7 +33,7 @@
|
|||||||
<div class="chart-card">
|
<div class="chart-card">
|
||||||
<div class="chart-title">风险趋势图</div>
|
<div class="chart-title">风险趋势图</div>
|
||||||
<div class="chart-content">
|
<div class="chart-content">
|
||||||
<EChart :options="riskTrendOptions" :height="'300px'" />
|
<EChart :options="riskTrendOptions" :height="'200px'" />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -165,7 +165,7 @@ const riskDistributionOptions = computed<EChartsOption>(() => ({
|
|||||||
emphasis: {
|
emphasis: {
|
||||||
label: {
|
label: {
|
||||||
show: true,
|
show: true,
|
||||||
fontSize: 14,
|
fontSize: 12,
|
||||||
fontWeight: 'bold'
|
fontWeight: 'bold'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -185,7 +185,7 @@ const riskTrendOptions = computed<EChartsOption>(() => ({
|
|||||||
},
|
},
|
||||||
legend: {
|
legend: {
|
||||||
data: ['高危', '预警', '普通'],
|
data: ['高危', '预警', '普通'],
|
||||||
bottom: 10
|
bottom: 0
|
||||||
},
|
},
|
||||||
grid: {
|
grid: {
|
||||||
left: '3%',
|
left: '3%',
|
||||||
@ -320,7 +320,7 @@ const handleView = (row: any) => {
|
|||||||
display: grid;
|
display: grid;
|
||||||
grid-template-columns: repeat(4, 1fr);
|
grid-template-columns: repeat(4, 1fr);
|
||||||
gap: 8px;
|
gap: 8px;
|
||||||
margin-bottom: 20px;
|
margin-bottom: 15px;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
}
|
}
|
||||||
@ -347,14 +347,13 @@ const handleView = (row: any) => {
|
|||||||
position: absolute;
|
position: absolute;
|
||||||
top: 10px;
|
top: 10px;
|
||||||
right: 0;
|
right: 0;
|
||||||
width: 20px;
|
width: 32px;
|
||||||
height: 20px;
|
height: 32px;
|
||||||
border-radius: 50%;
|
border-radius: 50%;
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
margin-right: 16px;
|
margin-right: 16px;
|
||||||
font-size: 28px;
|
|
||||||
|
|
||||||
&.icon-all {
|
&.icon-all {
|
||||||
background: #e6f4ff;
|
background: #e6f4ff;
|
||||||
@ -384,26 +383,26 @@ const handleView = (row: any) => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.stat-card-title {
|
.stat-card-title {
|
||||||
font-size: 9px;
|
font-size: 14px;
|
||||||
color: #666;
|
color: #666;
|
||||||
margin-bottom: 8px;
|
margin-bottom: 6px;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
}
|
}
|
||||||
|
|
||||||
.stat-card-value {
|
.stat-card-value {
|
||||||
font-size: 10px;
|
font-size: 16px;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
color: #333;
|
color: #333;
|
||||||
margin-bottom: 8px;
|
margin-bottom: 6px;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
}
|
}
|
||||||
|
|
||||||
.stat-card-subtitle {
|
.stat-card-subtitle {
|
||||||
font-size: 8px;
|
font-size: 14px;
|
||||||
color: #999;
|
color: #999;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
@ -426,25 +425,25 @@ const handleView = (row: any) => {
|
|||||||
display: grid;
|
display: grid;
|
||||||
grid-template-columns: 1fr 1fr;
|
grid-template-columns: 1fr 1fr;
|
||||||
gap: 16px;
|
gap: 16px;
|
||||||
margin-bottom: 20px;
|
margin-bottom: 15px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.chart-card {
|
.chart-card {
|
||||||
background: #ffffff;
|
background: #ffffff;
|
||||||
border-radius: 8px;
|
border-radius: 8px;
|
||||||
padding: 20px;
|
padding: 10px;
|
||||||
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
|
||||||
}
|
}
|
||||||
|
|
||||||
.chart-title {
|
.chart-title {
|
||||||
font-size: 11px;
|
font-size: 15px;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
color: #333;
|
color: #333;
|
||||||
margin-bottom: 16px;
|
margin-bottom: 16px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.chart-content {
|
.chart-content {
|
||||||
height: 250px;
|
height: 200px;
|
||||||
}
|
}
|
||||||
|
|
||||||
// 表格区域
|
// 表格区域
|
||||||
@ -456,14 +455,14 @@ const handleView = (row: any) => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.table-title {
|
.table-title {
|
||||||
font-size: 11px;
|
font-size: 15px;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
color: #333;
|
color: #333;
|
||||||
margin-bottom: 16px;
|
margin-bottom: 16px;
|
||||||
}
|
}
|
||||||
|
|
||||||
:deep(.name-column) {
|
:deep(.name-column) {
|
||||||
padding-left: 20px;
|
padding-left: 32px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.new-tag {
|
.new-tag {
|
||||||
@ -472,12 +471,11 @@ const handleView = (row: any) => {
|
|||||||
top: 50%;
|
top: 50%;
|
||||||
transform: translateY(-50%);
|
transform: translateY(-50%);
|
||||||
left: 0;
|
left: 0;
|
||||||
padding: 1px 3px;
|
padding: 2px 8px;
|
||||||
background: #1890ff;
|
background: #1890ff;
|
||||||
color: #ffffff;
|
color: #ffffff;
|
||||||
font-size: 9px;
|
font-size: 13px;
|
||||||
border-radius: 2px;
|
border-radius: 4px;
|
||||||
margin-right: 8px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.risk-level {
|
.risk-level {
|
||||||
|
|||||||
@ -272,23 +272,23 @@ onUnmounted(() => {
|
|||||||
|
|
||||||
.prison-name {
|
.prison-name {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
top: 12px;
|
top: 18px;
|
||||||
left: 50%;
|
left: 50%;
|
||||||
transform: translateX(-48%);
|
transform: translateX(-50%);
|
||||||
color: white;
|
color: white;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
z-index: 1000;
|
z-index: 1000;
|
||||||
font-size: 20px;
|
font-size: 26px;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
|
||||||
.current-time {
|
.current-time {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
top: 12px;
|
top: 12px;
|
||||||
right: 32px;
|
right: 50px;
|
||||||
color: white;
|
color: white;
|
||||||
font-size: 12px;
|
font-size: 16px;
|
||||||
z-index: 1000;
|
z-index: 1000;
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
}
|
}
|
||||||
@ -349,14 +349,14 @@ onUnmounted(() => {
|
|||||||
background: #2d3d5f;
|
background: #2d3d5f;
|
||||||
border: 1px solid rgba(56, 102, 141, 0.5);
|
border: 1px solid rgba(56, 102, 141, 0.5);
|
||||||
display: flex;
|
display: flex;
|
||||||
padding-left: 10px;
|
padding-left: 18px;
|
||||||
justify-content: start;
|
justify-content: start;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
.list-card-item-icon {
|
.list-card-item-icon {
|
||||||
width: 18px;
|
width: 26px;
|
||||||
height: 18px;
|
height: 26px;
|
||||||
margin-right: 10px;
|
margin-right: 10px;
|
||||||
}
|
}
|
||||||
.icon-location {
|
.icon-location {
|
||||||
@ -376,7 +376,7 @@ onUnmounted(() => {
|
|||||||
background-size: 100% 100%;
|
background-size: 100% 100%;
|
||||||
}
|
}
|
||||||
.list-card-item-value {
|
.list-card-item-value {
|
||||||
font-size: 10px;
|
font-size: 14px;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
color: #ffffff;
|
color: #ffffff;
|
||||||
}
|
}
|
||||||
@ -403,7 +403,7 @@ onUnmounted(() => {
|
|||||||
// 信息卡片通用样式
|
// 信息卡片通用样式
|
||||||
.info-card-item {
|
.info-card-item {
|
||||||
border-radius: 2px;
|
border-radius: 2px;
|
||||||
padding: 5px 10px;
|
padding: 18px 20px;
|
||||||
box-shadow: inset 0 0 15px 0 #2b4183;
|
box-shadow: inset 0 0 15px 0 #2b4183;
|
||||||
border: 1px solid #2b4183;
|
border: 1px solid #2b4183;
|
||||||
display: flex;
|
display: flex;
|
||||||
@ -421,16 +421,16 @@ onUnmounted(() => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.card-number {
|
.card-number {
|
||||||
font-size: 10px;
|
font-size: 14px;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
color: #ffffff;
|
color: #ffffff;
|
||||||
line-height: 1.3;
|
line-height: 1.3;
|
||||||
margin-bottom: 6px;
|
margin-bottom: 10px;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
}
|
}
|
||||||
|
|
||||||
.card-label {
|
.card-label {
|
||||||
font-size: 7px;
|
font-size: 10px;
|
||||||
color: rgba(255, 255, 255, 0.65);
|
color: rgba(255, 255, 255, 0.65);
|
||||||
line-height: 1.3;
|
line-height: 1.3;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
@ -476,7 +476,7 @@ onUnmounted(() => {
|
|||||||
justify-content: center;
|
justify-content: center;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
.dashboard-content-bottom-right-title {
|
.dashboard-content-bottom-right-title {
|
||||||
font-size: 12px;
|
font-size: 14px;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
color: #ffffff;
|
color: #ffffff;
|
||||||
margin-bottom: 12px;
|
margin-bottom: 12px;
|
||||||
|
|||||||
@ -260,16 +260,16 @@ if (props.remitData && props.remitData.length > 0) {
|
|||||||
height: 100%;
|
height: 100%;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
gap: 10px;
|
gap: 14px;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
border-radius: 8px;
|
border-radius: 8px;
|
||||||
padding: 12px 8px;
|
padding: 20px 16px;
|
||||||
border: 1px solid rgba(56, 102, 141, 0.3);
|
border: 1px solid rgba(56, 102, 141, 0.3);
|
||||||
}
|
}
|
||||||
|
|
||||||
.consumption-records-title {
|
.consumption-records-title {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
font-size: 10px;
|
font-size: 14px;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
color: #ffffff;
|
color: #ffffff;
|
||||||
}
|
}
|
||||||
@ -278,7 +278,7 @@ if (props.remitData && props.remitData.length > 0) {
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
flex: 1;
|
flex: 1;
|
||||||
display: flex;
|
display: flex;
|
||||||
gap: 16px;
|
gap: 20px;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
.consumption-records {
|
.consumption-records {
|
||||||
@ -292,15 +292,15 @@ if (props.remitData && props.remitData.length > 0) {
|
|||||||
// 标题栏
|
// 标题栏
|
||||||
.records-header {
|
.records-header {
|
||||||
flex-shrink: 0;
|
flex-shrink: 0;
|
||||||
padding: 8px;
|
padding: 14px;
|
||||||
background: #2c3d7e;
|
background: #2c3d7e;
|
||||||
border-radius: 10px 10px 0 0;
|
border-radius: 14px 14px 0 0;
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
.header-title {
|
.header-title {
|
||||||
font-size: 9px;
|
font-size: 13px;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
color: #ffffff;
|
color: #ffffff;
|
||||||
}
|
}
|
||||||
@ -322,7 +322,7 @@ if (props.remitData && props.remitData.length > 0) {
|
|||||||
.record-item {
|
.record-item {
|
||||||
display: grid;
|
display: grid;
|
||||||
grid-template-columns: 1.4fr 0.8fr 1fr 0.8fr;
|
grid-template-columns: 1.4fr 0.8fr 1fr 0.8fr;
|
||||||
padding: 2px 8px;
|
padding: 4px 10px;
|
||||||
border-bottom: 1px solid rgba(56, 102, 141, 0.15);
|
border-bottom: 1px solid rgba(56, 102, 141, 0.15);
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
|
||||||
@ -332,12 +332,12 @@ if (props.remitData && props.remitData.length > 0) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.record-date {
|
.record-date {
|
||||||
font-size: 7px;
|
font-size: 11px;
|
||||||
color: rgba(255, 255, 255, 0.9);
|
color: rgba(255, 255, 255, 0.9);
|
||||||
}
|
}
|
||||||
|
|
||||||
.record-name {
|
.record-name {
|
||||||
font-size: 7px;
|
font-size: 11px;
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
|
|
||||||
&.name-purple {
|
&.name-purple {
|
||||||
@ -366,12 +366,12 @@ if (props.remitData && props.remitData.length > 0) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.record-category {
|
.record-category {
|
||||||
font-size: 7px;
|
font-size: 11px;
|
||||||
color: rgba(255, 255, 255, 0.9);
|
color: rgba(255, 255, 255, 0.9);
|
||||||
}
|
}
|
||||||
|
|
||||||
.record-amount {
|
.record-amount {
|
||||||
font-size: 7px;
|
font-size: 11px;
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
color: white;
|
color: white;
|
||||||
text-align: right;
|
text-align: right;
|
||||||
@ -382,7 +382,7 @@ if (props.remitData && props.remitData.length > 0) {
|
|||||||
}
|
}
|
||||||
.relationship-item {
|
.relationship-item {
|
||||||
background: #422b1f;
|
background: #422b1f;
|
||||||
padding: 4px 8px;
|
padding: 6px 10px;
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
@ -410,8 +410,8 @@ if (props.remitData && props.remitData.length > 0) {
|
|||||||
flex-shrink: 0;
|
flex-shrink: 0;
|
||||||
margin-top: 1.5px;
|
margin-top: 1.5px;
|
||||||
svg {
|
svg {
|
||||||
width: 8px;
|
width: 12px;
|
||||||
height: 9px;
|
height: 13px;
|
||||||
}
|
}
|
||||||
&.icon-orange {
|
&.icon-orange {
|
||||||
color: #ffa500;
|
color: #ffa500;
|
||||||
@ -428,9 +428,9 @@ if (props.remitData && props.remitData.length > 0) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.relationship-name {
|
.relationship-name {
|
||||||
font-size: 7px;
|
font-size: 11px;
|
||||||
}
|
}
|
||||||
.relationship-relate {
|
.relationship-relate {
|
||||||
font-size: 7px;
|
font-size: 11px;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@ -146,7 +146,7 @@ const props = withDefaults(
|
|||||||
height: 100%;
|
height: 100%;
|
||||||
background: rgba(13, 30, 50, 0.9);
|
background: rgba(13, 30, 50, 0.9);
|
||||||
border-radius: 10px;
|
border-radius: 10px;
|
||||||
padding: 4px 8px;
|
padding: 10px 16px;
|
||||||
gap: 24px;
|
gap: 24px;
|
||||||
border: 1px solid rgba(56, 102, 141, 0.3);
|
border: 1px solid rgba(56, 102, 141, 0.3);
|
||||||
}
|
}
|
||||||
@ -164,18 +164,18 @@ const props = withDefaults(
|
|||||||
.section-header {
|
.section-header {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
margin-bottom: 12px;
|
margin-bottom: 18px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.header-title {
|
.header-title {
|
||||||
font-size: 8px;
|
font-size: 14px;
|
||||||
margin-right: 2px;
|
margin-right: 2px;
|
||||||
color: white;
|
color: white;
|
||||||
}
|
}
|
||||||
|
|
||||||
.header-icon {
|
.header-icon {
|
||||||
width: 12px;
|
width: 18px;
|
||||||
height: 12px;
|
height: 18px;
|
||||||
background: url('@/assets/imgs/dashboard/pie.svg') no-repeat center center;
|
background: url('@/assets/imgs/dashboard/pie.svg') no-repeat center center;
|
||||||
background-size: 100% 100%;
|
background-size: 100% 100%;
|
||||||
}
|
}
|
||||||
@ -193,7 +193,7 @@ const props = withDefaults(
|
|||||||
background: #3f6973;
|
background: #3f6973;
|
||||||
border: 1px solid rgba(56, 102, 141, 0.5);
|
border: 1px solid rgba(56, 102, 141, 0.5);
|
||||||
border-radius: 2px;
|
border-radius: 2px;
|
||||||
font-size: 5px;
|
font-size: 9px;
|
||||||
color: #d8f0ff;
|
color: #d8f0ff;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
}
|
}
|
||||||
@ -201,11 +201,11 @@ const props = withDefaults(
|
|||||||
.info-detail {
|
.info-detail {
|
||||||
display: flex;
|
display: flex;
|
||||||
gap: 2px;
|
gap: 2px;
|
||||||
margin-top: 8px;
|
margin-top: 18px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.records-content-title {
|
.records-content-title {
|
||||||
font-size: 6px;
|
font-size: 10px;
|
||||||
color: #d8f0ff;
|
color: #d8f0ff;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -218,7 +218,7 @@ const props = withDefaults(
|
|||||||
.info-item {
|
.info-item {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
font-size: 6px;
|
font-size: 10px;
|
||||||
color: white;
|
color: white;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -237,7 +237,7 @@ const props = withDefaults(
|
|||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
gap: 2px;
|
gap: 2px;
|
||||||
height: 105px;
|
height: 150px;
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
&::-webkit-scrollbar {
|
&::-webkit-scrollbar {
|
||||||
display: none;
|
display: none;
|
||||||
@ -251,8 +251,8 @@ const props = withDefaults(
|
|||||||
}
|
}
|
||||||
|
|
||||||
.record-bullet {
|
.record-bullet {
|
||||||
width: 5px;
|
width: 8px;
|
||||||
height: 5px;
|
height: 8px;
|
||||||
border-radius: 50%;
|
border-radius: 50%;
|
||||||
background: #10a0f2;
|
background: #10a0f2;
|
||||||
flex-shrink: 0;
|
flex-shrink: 0;
|
||||||
@ -266,7 +266,7 @@ const props = withDefaults(
|
|||||||
left: 50%;
|
left: 50%;
|
||||||
transform: translateX(-50%);
|
transform: translateX(-50%);
|
||||||
width: 2px;
|
width: 2px;
|
||||||
height: calc(100% + 4px);
|
height: calc(100% + 14px);
|
||||||
background: rgba(56, 102, 141, 0.5);
|
background: rgba(56, 102, 141, 0.5);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -281,14 +281,14 @@ const props = withDefaults(
|
|||||||
}
|
}
|
||||||
|
|
||||||
.record-date {
|
.record-date {
|
||||||
font-size: 6px;
|
font-size: 10px;
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
color: white;
|
color: white;
|
||||||
margin-bottom: 1px;
|
margin-bottom: 1px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.record-text {
|
.record-text {
|
||||||
font-size: 6px;
|
font-size: 10px;
|
||||||
color: #d8f0ff;
|
color: #d8f0ff;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@ -119,7 +119,7 @@ if (props.data && props.data.length > 0) {
|
|||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
border: 1px solid rgba(56, 102, 141, 0.5);
|
border: 1px solid rgba(56, 102, 141, 0.5);
|
||||||
border-radius: 8px;
|
border-radius: 8px;
|
||||||
padding: 12px;
|
padding: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
// 标题栏
|
// 标题栏
|
||||||
@ -128,11 +128,11 @@ if (props.data && props.data.length > 0) {
|
|||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
margin-bottom: 12px;
|
margin-bottom: 14px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.header-title {
|
.header-title {
|
||||||
font-size: 10px;
|
font-size: 14px;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
color: #ffffff;
|
color: #ffffff;
|
||||||
}
|
}
|
||||||
@ -143,8 +143,8 @@ if (props.data && props.data.length > 0) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.filter-tab {
|
.filter-tab {
|
||||||
padding: 2px 4px;
|
padding: 4px 6px;
|
||||||
font-size: 7px;
|
font-size: 11px;
|
||||||
color: rgba(255, 255, 255, 0.85);
|
color: rgba(255, 255, 255, 0.85);
|
||||||
background: rgba(56, 102, 141, 0.2);
|
background: rgba(56, 102, 141, 0.2);
|
||||||
border-radius: 2px;
|
border-radius: 2px;
|
||||||
@ -160,7 +160,7 @@ if (props.data && props.data.length > 0) {
|
|||||||
flex: 1 1 0;
|
flex: 1 1 0;
|
||||||
min-height: 0;
|
min-height: 0;
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
padding-left: 6px;
|
padding-left: 10px;
|
||||||
|
|
||||||
&::-webkit-scrollbar {
|
&::-webkit-scrollbar {
|
||||||
width: 0px;
|
width: 0px;
|
||||||
@ -178,12 +178,13 @@ if (props.data && props.data.length > 0) {
|
|||||||
left: -2px;
|
left: -2px;
|
||||||
top: 0;
|
top: 0;
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
width: 1px;
|
width: 2px;
|
||||||
background: #5e7fef;
|
background: #5e7fef;
|
||||||
}
|
}
|
||||||
|
|
||||||
.timeline-items {
|
.timeline-items {
|
||||||
position: relative;
|
position: relative;
|
||||||
|
margin-left: 2px;
|
||||||
}
|
}
|
||||||
|
|
||||||
// 时间线项
|
// 时间线项
|
||||||
@ -191,17 +192,17 @@ if (props.data && props.data.length > 0) {
|
|||||||
position: relative;
|
position: relative;
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: flex-start;
|
align-items: flex-start;
|
||||||
margin-bottom: 4px;
|
margin-bottom: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
// 时间线标记点
|
// 时间线标记点
|
||||||
.timeline-dot {
|
.timeline-dot {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
left: -5px;
|
left: -8px;
|
||||||
top: 50%;
|
top: 50%;
|
||||||
transform: translateY(-50%);
|
transform: translateY(-50%);
|
||||||
width: 7px;
|
width: 11px;
|
||||||
height: 7px;
|
height: 11px;
|
||||||
border-radius: 50%;
|
border-radius: 50%;
|
||||||
border: 2px solid rgba(13, 30, 50, 0.8);
|
border: 2px solid rgba(13, 30, 50, 0.8);
|
||||||
background: rgba(13, 30, 50, 0.8);
|
background: rgba(13, 30, 50, 0.8);
|
||||||
@ -224,11 +225,11 @@ if (props.data && props.data.length > 0) {
|
|||||||
background: rgba(56, 102, 141, 0.15);
|
background: rgba(56, 102, 141, 0.15);
|
||||||
border: 1px solid rgba(56, 102, 141, 0.3);
|
border: 1px solid rgba(56, 102, 141, 0.3);
|
||||||
border-radius: 2px;
|
border-radius: 2px;
|
||||||
padding: 4px 8px;
|
padding: 6px 14px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.card-type {
|
.card-type {
|
||||||
font-size: 7px;
|
font-size: 11px;
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
margin-bottom: 2px;
|
margin-bottom: 2px;
|
||||||
color: rgba(255, 255, 255, 0.9);
|
color: rgba(255, 255, 255, 0.9);
|
||||||
@ -243,7 +244,7 @@ if (props.data && props.data.length > 0) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.card-description {
|
.card-description {
|
||||||
font-size: 5px;
|
font-size: 8px;
|
||||||
color: rgba(255, 255, 255, 0.7);
|
color: rgba(255, 255, 255, 0.7);
|
||||||
line-height: 1.4;
|
line-height: 1.4;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -192,14 +192,14 @@ if (props.data && props.data.length > 0) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.header-title {
|
.header-title {
|
||||||
font-size: 8px;
|
font-size: 14px;
|
||||||
margin-right: 2px;
|
margin-right: 2px;
|
||||||
color: white;
|
color: white;
|
||||||
}
|
}
|
||||||
|
|
||||||
.header-icon {
|
.header-icon {
|
||||||
width: 12px;
|
width: 18px;
|
||||||
height: 12px;
|
height: 18px;
|
||||||
background: url('@/assets/imgs/dashboard/pie.svg') no-repeat center center;
|
background: url('@/assets/imgs/dashboard/pie.svg') no-repeat center center;
|
||||||
background-size: 100% 100%;
|
background-size: 100% 100%;
|
||||||
}
|
}
|
||||||
@ -218,11 +218,11 @@ if (props.data && props.data.length > 0) {
|
|||||||
flex: 0 0 auto;
|
flex: 0 0 auto;
|
||||||
display: grid;
|
display: grid;
|
||||||
grid-template-columns: 1.5fr 1fr 1fr 1fr;
|
grid-template-columns: 1.5fr 1fr 1fr 1fr;
|
||||||
padding: 4px 2px;
|
padding: 10px 12px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.header-cell {
|
.header-cell {
|
||||||
font-size: 6px;
|
font-size: 11px;
|
||||||
color: rgba(255, 255, 255, 0.85);
|
color: rgba(255, 255, 255, 0.85);
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
display: flex;
|
display: flex;
|
||||||
@ -232,8 +232,8 @@ if (props.data && props.data.length > 0) {
|
|||||||
.required-star {
|
.required-star {
|
||||||
background: url('@/assets/imgs/dashboard/icon-require.svg') no-repeat center center;
|
background: url('@/assets/imgs/dashboard/icon-require.svg') no-repeat center center;
|
||||||
background-size: 100% 100%;
|
background-size: 100% 100%;
|
||||||
width: 7px;
|
width: 10px;
|
||||||
height: 7px;
|
height: 10px;
|
||||||
margin-right: 2px;
|
margin-right: 2px;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -251,19 +251,19 @@ if (props.data && props.data.length > 0) {
|
|||||||
.score-table-row {
|
.score-table-row {
|
||||||
display: grid;
|
display: grid;
|
||||||
grid-template-columns: 1.5fr 1fr 1fr 1fr;
|
grid-template-columns: 1.5fr 1fr 1fr 1fr;
|
||||||
padding: 2px;
|
padding: 4px 12px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.row-icon {
|
.row-icon {
|
||||||
background: url('@/assets/imgs/dashboard/icon-arrow.svg') no-repeat center center;
|
background: url('@/assets/imgs/dashboard/icon-arrow.svg') no-repeat center center;
|
||||||
background-size: 100% 100%;
|
background-size: 100% 100%;
|
||||||
width: 7px;
|
width: 10px;
|
||||||
height: 7px;
|
height: 10px;
|
||||||
margin-right: 2px;
|
margin-right: 2px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.row-cell {
|
.row-cell {
|
||||||
font-size: 6px;
|
font-size: 11px;
|
||||||
color: #ffffff;
|
color: #ffffff;
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user