Commit fdf916b2 authored by 5359's avatar 5359

页面样式调整

parent c2464d38
<template> <template>
<div class="" style="padding: 20px; height: 100%"> <div class="" style="padding: 20px; height: 100%">
<div class="title" style="height:5%; width:100%"> <div class="title" style="height:5%; width:100%">
<div style=" <div>合同信息</div>
width: 100%;
height:100%;
text-align: center;
border-radius: 5px;
padding-top: 7px;
background-color: #ddd;
font-size: 16px;
font-weight: 700;
color: #11111187;
">
合同信息
</div>
</div> </div>
<div class="search"> <div class="search">
<div class="searchInput"> <div class="searchInput">
...@@ -23,7 +11,7 @@ ...@@ -23,7 +11,7 @@
</div> </div>
<div v-if="ListNum != 0" class="billList"> <div v-if="ListNum != 0" class="billList">
<article v-for="(item, index) in massages" :key="item.id" class="article" style="margin-top:10px"> <article v-for="(item, index) in massages" :key="item.id" class="article" style="margin-top:10px">
<img slot="left-icon" src="../../../assets\electronicContract\contract-list.png" class="icon"> <img slot="left-icon" src="../../../assets\electronicContract\contract-icon.png" class="icon">
<div slot="name" class="text" style="width: 80%;font-size: 12px;"> <div slot="name" class="text" style="width: 80%;font-size: 12px;">
<div class="cont-type" style="color: #000;font-size: 14px;font-weight:700">承租人:{{ item.customername }} <div class="cont-type" style="color: #000;font-size: 14px;font-weight:700">承租人:{{ item.customername }}
</div> </div>
...@@ -33,7 +21,8 @@ ...@@ -33,7 +21,8 @@
<div class="cont-type" style="color: #5a5959;font-size: 14px">机号:{{ item.serialno }}</div> <div class="cont-type" style="color: #5a5959;font-size: 14px">机号:{{ item.serialno }}</div>
<div class="cont-type" style="color: #5a5959;font-size: 14px">租金总额:{{ item.contractamt }}</div> <div class="cont-type" style="color: #5a5959;font-size: 14px">租金总额:{{ item.contractamt }}</div>
<div class="cont-type" style="color: #5a5959;font-size: 14px">租赁开始日:{{ item.leasebgndt }}</div> <div class="cont-type" style="color: #5a5959;font-size: 14px">租赁开始日:{{ item.leasebgndt }}</div>
<div class="cont-type" style="color: #5a5959;font-size: 14px">状态:<span style="font-weight: 700; <div class="cont-type" style="color: #5a5959;font-size: 14px">状态:<span
style="font-weight: 700;
color: rgba(198, 0, 0, 0.5);">{{ item.status }}</span></div> color: rgba(198, 0, 0, 0.5);">{{ item.status }}</span></div>
</div> </div>
<button @click="download(index)">账单下载</button> <button @click="download(index)">账单下载</button>
...@@ -43,7 +32,8 @@ ...@@ -43,7 +32,8 @@
</article> </article>
</div> </div>
<div v-else-if="ListNum == 0" class="billList"> <div v-else-if="ListNum == 0" class="billList">
<div style=" <div
style="
width: 200px; width: 200px;
height: 160px; height: 160px;
position: relative; position: relative;
...@@ -113,6 +103,20 @@ export default { ...@@ -113,6 +103,20 @@ export default {
</script> </script>
<style lang="less" type="text/less" scoped> <style lang="less" type="text/less" scoped>
.title{
border-radius: 5px;
background-color: #ddd;
display: flex;
justify-content: space-around;
align-items: center;
div{
height: 20px;
line-height: 20px;
font-size: 16px;
font-weight:bolder;
color: #11111187;
}
}
.search { .search {
display: flex; display: flex;
//height: 50px; //height: 50px;
...@@ -146,7 +150,7 @@ export default { ...@@ -146,7 +150,7 @@ export default {
//padding-left: 11px; //padding-left: 11px;
} }
} }
button { button{
margin-right: -10px; margin-right: -10px;
background-color: rgb(230, 230, 230); background-color: rgb(230, 230, 230);
border: 1px solid #cccccc; border: 1px solid #cccccc;
...@@ -169,16 +173,16 @@ export default { ...@@ -169,16 +173,16 @@ export default {
.text { .text {
margin-left: 45px; margin-left: 45px;
position: relative; position: relative;
top: 50%; top:50%;
transform: translateY(-50%); transform: translateY(-50%);
.cont-type { .cont-type{
padding-top: 2px; padding-top: 2px;
width: 100%; width: 100%;
word-wrap: break-word; word-wrap:break-word;
}
:nth-child(1) {
width: 200px;
} }
// :nth-child(1){
// width: 200px;
// }
} }
.icon { .icon {
//左侧图标 //左侧图标
...@@ -199,13 +203,14 @@ export default { ...@@ -199,13 +203,14 @@ export default {
} }
button { button {
position: absolute; position: absolute;
top: 12px; bottom: 12px;
right: 5px; right: 15px;
width: 70px; width: 75px;
height: 25px; height: 25px;
font-size: 12px; font-size: 14px;
background-color: #d1d1d1; color: #fff;
border: 2px solid #dcd0d0; background-color: rgb(0, 200, 0);
border: 2px solid rgb(0, 200, 0);
border-radius: 5px; border-radius: 5px;
padding-right: 1px; padding-right: 1px;
padding-left: 1px; padding-left: 1px;
...@@ -215,9 +220,9 @@ export default { ...@@ -215,9 +220,9 @@ export default {
right: 5px; right: 5px;
top: 50%; top: 50%;
transform: translateY(-16px); transform: translateY(-16px);
} };
box-shadow: 3px 3px 3px 3px #b6b6b6; box-shadow: 3px 3px 3px 3px #b6b6b6;
} };
padding-bottom: 30px; padding-bottom: 30px;
.text { .text {
margin-left: 15px; margin-left: 15px;
......
...@@ -7,17 +7,19 @@ ...@@ -7,17 +7,19 @@
<li><span>期数:</span>{{ item.times }}</li> <li><span>期数:</span>{{ item.times }}</li>
<li><span>还款日期:</span>{{ item.recduedt_char }}</li> <li><span>还款日期:</span>{{ item.recduedt_char }}</li>
<li><span>租金金额:</span>{{ item.recdueamt }}</li> <li><span>租金金额:</span>{{ item.recdueamt }}</li>
<li><span>逾期金额:</span>{{ item.ovducmpsamt }}</li> <li><span>违约金金额:</span>{{ item.ovducmpsamt }}</li>
<li><span>剩余应还金额:</span>{{ item.recdueamt_total_str }}</li> <li><span>剩余应还金额:</span>{{ item.recdueamt_total_str }}</li>
<li><span>现金流项目</span>{{ item.characterid_n }}</li> <li><span>收款类别</span>{{ item.characterid_n }}</li>
</ul> </ul>
</li> </li>
</ul> </ul>
<!-- 总计还款金额 --> <!-- 总计还款金额 -->
<div v-if="bottomType == 0" class="bottomBox"> <div v-if="bottomType == 0" class="bottomBox">
<div class="total"> <div class="total">
<span>合计还款金额:{{ total }}</span> <div class="counter"><span>合计还款金额:{{ total }}</span></div>
<input id="payamount" type="number" placeholder="请输入支付金额" required oninvalid="setCustomValidity('请输入支付金额!');" <input
id="payamount" type="number" placeholder="请输入支付金额" required
oninvalid="setCustomValidity('请输入支付金额!');"
oninput="setCustomValidity('');"> oninput="setCustomValidity('');">
</div> </div>
<button @click="pay">支付</button> <button @click="pay">支付</button>
...@@ -32,7 +34,7 @@ ...@@ -32,7 +34,7 @@
</button> </button>
<p>扫码支付</p> <p>扫码支付</p>
</div> </div>
<div id="qrcode" /> <div id="qrcode"/>
</div> </div>
</div> </div>
...@@ -90,7 +92,7 @@ export default { ...@@ -90,7 +92,7 @@ export default {
for (let i = 0; i < vm.ListNum; i++) { for (let i = 0; i < vm.ListNum; i++) {
// console.log('给checked初始值'); // console.log('给checked初始值');
vm.checked[i] = false vm.checked[i] = false
vm.unchecked[i] = dataInfo.lists[i].select_flag == 'N' vm.unchecked[i] = dataInfo.lists[i].select_flag === 'N'
} }
vm.Lists = dataInfo.lists vm.Lists = dataInfo.lists
} else { } else {
...@@ -280,9 +282,6 @@ export default { ...@@ -280,9 +282,6 @@ export default {
vm.hlsPopup.showLongCenter(res.respMsg) vm.hlsPopup.showLongCenter(res.respMsg)
} }
}) })
},
showPaypage () {
}, },
close () { close () {
// 点击关闭二维码页面; // 点击关闭二维码页面;
...@@ -346,7 +345,7 @@ export default { ...@@ -346,7 +345,7 @@ export default {
ul { ul {
margin-right: 3%; margin-right: 3%;
width: 87%; width: 87%;
border: 2px solid #b08f8f; border: 2px solid #afafaf;
border-radius: 8px; border-radius: 8px;
li { li {
padding-left: 8px; padding-left: 8px;
...@@ -358,10 +357,10 @@ export default { ...@@ -358,10 +357,10 @@ export default {
} }
} }
} }
.uncheck-ul { .uncheck-ul{
background-color: #d5d5d5; background-color: #ffffff;
} }
.check-ul { .check-ul{
background-color: #ffffff; background-color: #ffffff;
} }
} }
...@@ -397,8 +396,8 @@ input[type="checkbox"] { ...@@ -397,8 +396,8 @@ input[type="checkbox"] {
} }
.uncheck-box[type="checkbox"]::after { .uncheck-box[type="checkbox"]::after {
position: absolute; position: absolute;
background-color: #d5d5d5; background-color: #d9d9d9;
border: 2px solid #8e8e8e; border: 2px solid #bfbfbf;
width: 18px; width: 18px;
height: 18px; height: 18px;
display: inline-block; display: inline-block;
...@@ -411,28 +410,33 @@ input[type="checkbox"] { ...@@ -411,28 +410,33 @@ input[type="checkbox"] {
position: absolute; position: absolute;
bottom: 0px; bottom: 0px;
width: 100%; width: 100%;
height: 15%; height: 18%;
background-color: #fffffe; background-color: #fffffe;
border-top: 2px solid #7aae3b; border-top: 2px solid #7aae3b;
.total { .total {
font-size: 12px; font-size: 14px;
font-weight: bolder;
color: rgb(180, 0, 0); color: rgb(180, 0, 0);
width: 75%; width: 90%;
height: 20%; // height: 20%;
margin: 20px auto; margin: 20px auto;
display: flex; display: flex;
justify-content: space-between; justify-content: space-around;
span { align-items: flex-end;
height: 25px; .counter{
line-height: 25px; vertical-align: bottom;
text-align: center; position: relative;
bottom: 0px;
} }
input { input {
font-size: 12px;
position: relative; position: relative;
right: 0px; right: 0px;
width: 40%; width: 36%;
border: 1px solid #dab2b2; border: 1px solid #a69a9a;
border-radius: 5px; border-radius: 5px;
padding-left: 5%;
padding-right: 3%;
text-align: center; text-align: center;
} }
} }
...@@ -443,8 +447,8 @@ input[type="checkbox"] { ...@@ -443,8 +447,8 @@ input[type="checkbox"] {
left: 50%; left: 50%;
transform: translateX(-50%); transform: translateX(-50%);
color: #ffffff; color: #ffffff;
border-radius: 5px; border-radius: 8px;
border: 1px solid #dab2b2; border: 1px solid rgb(0, 200, 0);
background-color: rgb(0, 200, 0); background-color: rgb(0, 200, 0);
} }
} }
...@@ -499,7 +503,7 @@ input[type="checkbox"] { ...@@ -499,7 +503,7 @@ input[type="checkbox"] {
text-align: center; text-align: center;
} }
} }
#qrcode { #qrcode{
position: absolute; position: absolute;
width: 128px; width: 128px;
height: 128px; height: 128px;
...@@ -517,4 +521,5 @@ input[type="checkbox"] { ...@@ -517,4 +521,5 @@ input[type="checkbox"] {
// } // }
} }
} }
</style> </style>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment