Browse Source

更新 PangMenZhengDao-3字体

wangqin
qingzhengli 9 months ago
parent
commit
04198328b1
  1. BIN
      ruoyi-ui/public/static/fonts/庞门正道标题体3.ttf
  2. 6
      ruoyi-ui/src/App.vue
  3. 23
      ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/ConditionStatistics/index.vue

BIN
ruoyi-ui/public/static/fonts/庞门正道标题体3.ttf

Binary file not shown.

6
ruoyi-ui/src/App.vue

@ -50,7 +50,6 @@ export default {
</script> </script>
<style> <style>
@font-face { @font-face {
font-family: "YouSheBiaoTiHei"; font-family: "YouSheBiaoTiHei";
src: url("/static/fonts/优设标题黑.ttf"); src: url("/static/fonts/优设标题黑.ttf");
@ -61,5 +60,8 @@ export default {
src: url("/static/fonts/庞门正道标题体.ttf"); src: url("/static/fonts/庞门正道标题体.ttf");
} }
@font-face {
font-family: "PangMenZhengDao-3";
src: url("/static/fonts/庞门正道标题体3.ttf");
}
</style> </style>

23
ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/ConditionStatistics/index.vue

@ -8,16 +8,16 @@
<div class="box-title keep-ratio" origin="left"><span>预警事件</span></div> <div class="box-title keep-ratio" origin="left"><span>预警事件</span></div>
<div class="box-content"> <div class="box-content">
<div class="box-content-l"> <div class="box-content-l">
<div class="event-item keep-ratio" origin="left">今日<span>{{ earlyWarningEvents.day }}</span></div> <div class="event-item keep-ratio" origin="left">今日<span>{{ earlyWarningEvents.day }}</span> </div>
<div class="event-item keep-ratio" origin="left">本月<span>{{ earlyWarningEvents.month }}</span></div> <div class="event-item keep-ratio" origin="left">本月<span>{{ earlyWarningEvents.month }}</span> </div>
</div> </div>
<div class="box-content-c keep-ratio"> <div class="box-content-c keep-ratio">
<span class="num">{{ earlyWarningEvents.processing }}</span> <span class="num">{{ earlyWarningEvents.processing }}</span>
<span class="text">处理中</span> <span class="text">处理中</span>
</div> </div>
<div class="box-content-r"> <div class="box-content-r">
<div class="event-item keep-ratio" origin="right">本周<span>{{ earlyWarningEvents.week }}</span></div> <div class="event-item keep-ratio" origin="right">本周<span>{{ earlyWarningEvents.week }}</span> </div>
<div class="event-item keep-ratio" origin="right">本年<span>{{ earlyWarningEvents.year }}</span></div> <div class="event-item keep-ratio" origin="right">本年<span>{{ earlyWarningEvents.year }}</span> </div>
</div> </div>
</div> </div>
</div> </div>
@ -255,8 +255,8 @@ export default {
position: absolute; position: absolute;
top: 50px; top: 50px;
font-size: 18px; font-size: 18px;
font-family: Hiragino Sans GB, Hiragino Sans GB; font-family: 'Hiragino Sans GB', 'Hiragino Sans GB';
font-weight: normal; font-weight: 600;
color: #3de8ff; color: #3de8ff;
text-shadow: 0px 1px 2px rgba(23, 147, 227, 0.58); text-shadow: 0px 1px 2px rgba(23, 147, 227, 0.58);
} }
@ -269,7 +269,7 @@ export default {
// left: 50px; // left: 50px;
margin: auto; margin: auto;
font-size: 12px; font-size: 12px;
font-family: Hiragino Sans GB, Hiragino Sans GB; font-family: 'Hiragino Sans GB', 'Hiragino Sans GB';
font-weight: normal; font-weight: normal;
color: #ffffff; color: #ffffff;
} }
@ -305,7 +305,10 @@ export default {
font-size: 16px; font-size: 16px;
font-family: PangMenZhengDao-3, PangMenZhengDao-3; font-family: PangMenZhengDao-3, PangMenZhengDao-3;
font-weight: 400; font-weight: 400;
color: #ffcd4d; color: #FFCD4D;
text-align: left;
font-style: normal;
text-transform: none;
} }
} }
} }
@ -519,7 +522,7 @@ export default {
width: 220px; width: 220px;
text-align: right; text-align: right;
font-size: 12px; font-size: 12px;
font-family: Hiragino Sans GB, Hiragino Sans GB; font-family: 'Hiragino Sans GB', 'Hiragino Sans GB';
color: #fff; color: #fff;
line-height: 40px; line-height: 40px;
letter-spacing: 7px; letter-spacing: 7px;
@ -528,7 +531,7 @@ export default {
.value { .value {
flex: 1; flex: 1;
width: 0; width: 0;
font-family: Hiragino Sans GB, Hiragino Sans GB; font-family: 'Hiragino Sans GB', 'Hiragino Sans GB';
line-height: 40px; line-height: 40px;
text-align: center; text-align: center;

Loading…
Cancel
Save