代码提交

This commit is contained in:
luoshiwen 2023-02-10 17:56:44 +08:00
parent 19b69e323c
commit ae3a9ea834
6 changed files with 86 additions and 35 deletions

View File

@ -31,7 +31,7 @@ export default {
} }
</script> </script>
<style> <style scoped>
@import "./assets/index.css"; @import "./assets/index.css";
#app { #app {
font-family: Avenir, Helvetica, Arial, sans-serif; font-family: Avenir, Helvetica, Arial, sans-serif;

View File

@ -0,0 +1,4 @@
@font-face {
font-family: maleGod;
src: url(./maleGod.otf);
}

BIN
src/assets/font/maleGod.otf Normal file

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

View File

@ -1,7 +1,7 @@
import Vue from 'vue' import Vue from 'vue'
import App from './App.vue' import App from './App.vue'
import router from './router' import router from './router'
import '../src/assets/font/font.less'
import ElementUI from 'element-ui' import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css' import 'element-ui/lib/theme-chalk/index.css'
Vue.use(ElementUI) Vue.use(ElementUI)

View File

@ -5,19 +5,32 @@
<!-- 营业临厅时长 --> <!-- 营业临厅时长 -->
<div class="business-hall"> <div class="business-hall">
<div class="title"> <div class="title">
<!-- 45.4% -->
<p class="p1">营业厅时长</p>
</div> </div>
<!-- 两个小版块 -->
<div class="hall-box">
<div class="item">
<p class="font">平均办理时长</p>
<p class="hall-time" style="color:#2e81a2">49分钟33秒</p>
</div>
<div class="item">
<p class="font">平均等待时长</p>
<p class="hall-time" style="color:#9c9060">05分钟33秒</p>
</div>
</div>
</div> </div>
<!-- 客流量 --> <!-- 客流量 -->
<div class="passenger-flow"> <div class="passenger-flow">
<div class="title"> <div class="title">
<p>客流量</p>
</div>
</div> </div>
</div >
<!-- 厅内统计 --> <!-- 厅内统计 -->
<div class='hall-statistics'> <div class='hall-statistics'>
<div class="title"> <div class="title">
<p>厅内统计</p>
</div> </div>
</div> </div>
</div> </div>
@ -26,19 +39,19 @@
<!-- 缴费情况 --> <!-- 缴费情况 -->
<div class="payment"> <div class="payment">
<div class="title"> <div class="title">
<p>缴费情况</p>
</div> </div>
</div> </div>
<!-- 业务受理 --> <!-- 业务受理 -->
<div class="business-acceptance"> <div class="business-acceptance">
<div class="title"> <div class="title">
<p>业务受理</p>
</div> </div>
</div> </div>
<!-- 服务情况 --> <!-- 服务情况 -->
<div class="service"> <div class="service">
<div class="title"> <div class="title">
<p>服务情况</p>
</div> </div>
</div> </div>
</div> </div>
@ -47,72 +60,106 @@
<script> <script>
export default { export default {
name:'index', name: 'index',
data(){ data() {
return{ return {
} }
}, },
mounted(){ mounted() {
}, },
methods:{ methods: {
} }
} }
</script> </script>
<style> <style lang="less" scoped>
.content{ .content {
width: 100%; width: 100%;
height: 100%; height: 100%;
position: relative; position: relative;
} }
.left-content,.right-content{
.left-content,
.right-content {
position: absolute; position: absolute;
width: 20.6%; width: 20.6%;
top: 0; top: 0;
height: 100%; height: 100%;
/* background-color: aqua; */ /* background-color: aqua; */
} }
/* 内容板块背景 */ /* 内容板块背景 */
.left-content>div,.right-content>div{ .left-content>div,
.right-content>div {
background-image: url(../assets/images/border.png); background-image: url(../assets/images/border.png);
background-size: 100% 100%; background-size: 100% 100%;
margin-bottom: 5px; margin-bottom: 5px;
padding: 13px; padding: 13px;
box-sizing: border-box; box-sizing: border-box;
.hall-box{
width: 100%;
height: 18.6%;
display: flex;
justify-content: space-between;
}
.hall-box .item{
width: 45%;
height: 100%;
// background-color: aqua;
background-image: url(../assets/images/hall-box.png);
.font{
font-size: 12px;
color: #a5a5af;
}
.hall-time{
font-family: 'maleGod';
font-size: 21px;
}
}
} }
/* 标题的样式 */ /* 标题的样式 */
.left-content>div>.title,.right-content>div>.title{ .left-content>div>.title,
.right-content>div>.title {
width: 100%; width: 100%;
background-image: url(../assets/images/border-title.png); background-image: url(../assets/images/border-title.png);
height: 30px; height: 30px;
background-size: 100% 100%; background-size: 100% 100%;
margin-bottom: 10px;
} }
.left-content .business-hall{
.left-content .business-hall {
height: 38.2%; height: 38.2%;
} }
.left-content .passenger-flow{
.left-content .passenger-flow {
height: 39.7%; height: 39.7%;
} }
.left-content .hall-statistics{
.left-content .hall-statistics {
height: 20.4%; height: 20.4%;
} }
.right-content .payment{
.right-content .payment {
height: 38.3%; height: 38.3%;
} }
.right-content .business-acceptance{
.right-content .business-acceptance {
height: 30%; height: 30%;
} }
.right-content .service{
.right-content .service {
height: 30%; height: 30%;
} }
.right-content{
.right-content {
right: 0; right: 0;
} }
.left-content{
.left-content {
left: 0; left: 0;
} }
</style> </style>