代码提交

This commit is contained in:
lixiaobang 2023-02-10 17:59:19 +08:00
parent bf19a791a1
commit 5518317885
3 changed files with 57 additions and 6 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 318 B

View File

@ -26,19 +26,31 @@
<!-- 缴费情况 --> <!-- 缴费情况 -->
<div class="payment"> <div class="payment">
<div class="title"> <div class="title">
<p class='titleText'text='缴费情况'>缴费情况</p>
</div>
<div class="paymentContent">
<div class="paymentList" v-for="(item,index) in paymentList">
<div class="listOne">
<img src="../assets/images/paymentYuan.png" style="width:18px;height:18px"/>
<div>{{item.count}}</div>
</div>
<div>
<div>{{item.name}}</div>
<div>{{item.per}}</div>
</div>
</div>
</div> </div>
</div> </div>
<!-- 业务受理 --> <!-- 业务受理 -->
<div class="business-acceptance"> <div class="business-acceptance">
<div class="title"> <div class="title">
<p class='titleText'text='业务受理'>业务受理</p>
</div> </div>
</div> </div>
<!-- 服务情况 --> <!-- 服务情况 -->
<div class="service"> <div class="service">
<div class="title"> <div class="title">
<p class='titleText'text='服务情况'>服务情况</p>
</div> </div>
</div> </div>
</div> </div>
@ -50,7 +62,20 @@ export default {
name:'index', name:'index',
data(){ data(){
return{ return{
paymentList:[
{
count:'9786笔',
name:'环比',
per:'88.33%',
color:'rgb(29,150,213)'
},
{
count:'144.53万元',
name:'环比',
per:'86.24%',
color:'rgb(244,214,45)'
}
]
} }
}, },
mounted(){ mounted(){
@ -61,7 +86,7 @@ methods:{
} }
</script> </script>
<style> <style lang="less" scoped>
.content{ .content{
width: 100%; width: 100%;
height: 100%; height: 100%;
@ -88,8 +113,18 @@ methods:{
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%;
display: flex;
padding-left: 8%;
box-sizing: border-box;
color: #fff;
} }
.titleText:before{
content: attr(text);
position: absolute;
z-index: 10;
color:rgb(163, 227, 245);
-webkit-mask:linear-gradient(to top, rgb(163, 227, 245), transparent );
}
.left-content .business-hall{ .left-content .business-hall{
height: 38.2%; height: 38.2%;
@ -102,6 +137,22 @@ methods:{
} }
.right-content .payment{ .right-content .payment{
height: 38.3%; height: 38.3%;
.paymentContent{
height: calc(100% - 30px);
.paymentList{
width:100% ;
height: 38px;
background: url("../assets/images/payment.png") no-repeat;
background-size: 100% 100%;
.listOne{
height: 100%;
width: 28%;
display: flex;
justify-content: space-around;
align-items: center;
}
}
}
} }
.right-content .business-acceptance{ .right-content .business-acceptance{
height: 30%; height: 30%;