Commit 22966637 authored by linxin's avatar linxin

改图片

parent 0bcd44f7
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
</h-header> </h-header>
<scroll <scroll
v-if="data!==null" v-if="data!==null"
ref="scroll" :updateData="[lists]" :pullUp="true" class="pay-content has-header" ref="scroll" :updateData="[lists]" :pullUp="true" class="pay-content"
@pullingUp="getList"> @pullingUp="getList">
<div v-for="(item,index) in lists" :key="index" class="contract-item"> <div v-for="(item,index) in lists" :key="index" class="contract-item">
<div class="header"> <div class="header">
...@@ -28,11 +28,9 @@ ...@@ -28,11 +28,9 @@
</div> </div>
</div> </div>
</scroll> </scroll>
<h-content v-if="data===null" class="null"> <h-content v-if="data===null" class="null has-header">
<div class="display"> <div class="noData">
<img src="@/assets/contractRepayment/null.png" alt=""> <img src="@/assets/messageCenter/noMsg.png" alt="">
<p>暂时没有还款记录</p>
<div @click="$routeGo()">返回</div>
</div> </div>
</h-content> </h-content>
</h-view> </h-view>
...@@ -119,6 +117,17 @@ export default { ...@@ -119,6 +117,17 @@ export default {
</script> </script>
<style lang='less' > <style lang='less' >
#contract-repayment { #contract-repayment {
.null{
margin-top:46px;
}
.noData{
width:100%;
height:100%;
img{
height:100%;
width:100%;
}
}
.h-header { .h-header {
background-color: @headerColor; background-color: @headerColor;
.h-header-btn { .h-header-btn {
...@@ -282,46 +291,6 @@ export default { ...@@ -282,46 +291,6 @@ export default {
} }
} }
} }
.null {
position: relative;
.display {
width:150px;
position: absolute;
left: 50%;
transform: translateX(-50%);
top: 100px;
img {
width:150px;
}
p {
text-align: center;
opacity: 0.7;
font-family: PingFangSC-Semibold;
font-size: 17px;
color: #21254C;
letter-spacing: 0;
font-weight: 700;
margin-top: 10px;
}
div {
width: 140px;
height: 32px;
background: @headerColor;
border-radius: 4px;
color: white;
line-height: 32px;
text-align: center;
margin-left: 5px;
margin-top: 20px;
}
}
}
.content { .content {
position: absolute; position: absolute;
top: 0; top: 0;
...@@ -337,6 +306,9 @@ export default { ...@@ -337,6 +306,9 @@ export default {
.scrollContent { .scrollContent {
padding-top: 1.2rem; padding-top: 1.2rem;
} }
.null{
margin-top:1.32em;
}
} }
} }
...@@ -345,6 +317,9 @@ export default { ...@@ -345,6 +317,9 @@ export default {
#contract-repayment { #contract-repayment {
.scrollContent { .scrollContent {
padding-top: 1.6rem; padding-top: 1.6rem;
}
.null{
margin-top:1.72em;
} }
} }
} }
...@@ -355,6 +330,9 @@ export default { ...@@ -355,6 +330,9 @@ export default {
#contract-repayment { #contract-repayment {
.scrollContent { .scrollContent {
padding-top: 1.6rem; padding-top: 1.6rem;
}
.null{
margin-top:1.72em;
} }
} }
} }
......
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