Commit f9a22669 authored by linxin's avatar linxin

Merge branch 'liuxin' into develop

parents fbb040e7 e0f34019
...@@ -47,49 +47,48 @@ ...@@ -47,49 +47,48 @@
</div> </div>
<h-content id="content" class="plan-content"> <h-content id="content" class="plan-content">
<!-- 已结清 black , 逾期 orange , 还款中 blue , 未还款 green --> <!-- 已结清 black , 逾期 orange , 还款中 blue , 未还款 green -->
<scroll ref="scroll" :updateData="[lists]" :pullUp="true" style="background:#fff">
<div
v-for="(item,index) in lists"
:key="index"
:class="{'plan-list':true,'or':statu==='orange','bl':statu==='blue','gr':statu==='green'}"
@click="showModel(item)"
>
<div <div
v-for="(item,index) in lists" :class="{'period':true,'orange':statu==='orange','blue':statu==='blue','green':statu==='green'}"
:key="index" >{{ item.times }}</div>
:class="{'plan-list':true,'or':statu==='orange','bl':statu==='blue','gr':statu==='green'}" <img v-if="statu === 'black'" src="@/assets/contractInquire/black.png" alt class="left" >
@click="showModel(item)" <img v-if="statu === 'orange'" src="@/assets/contractInquire/orange.png" alt class="left" >
> <img v-if="statu === 'blue'" src="@/assets/contractInquire/blue.png" alt class="left" >
<div <img v-if="statu === 'green'" src="@/assets/contractInquire/green.png" alt class="left" >
:class="{'period':true,'orange':statu==='orange','blue':statu==='blue','green':statu==='green'}" <div class="time">
>{{ item.times }}</div> <p>{{ selectYear(item.repayment_date) }}</p>
<img v-if="statu === 'black'" src="@/assets/contractInquire/black.png" alt class="left" > <span>{{ selectMonth(item.repayment_date) }}</span>
<img v-if="statu === 'orange'" src="@/assets/contractInquire/orange.png" alt class="left" > </div>
<img v-if="statu === 'blue'" src="@/assets/contractInquire/blue.png" alt class="left" > <div class="message">
<img v-if="statu === 'green'" src="@/assets/contractInquire/green.png" alt class="left" > <p class="top">
<div class="time"> 款项
<p>{{ selectYear(item.repayment_date) }}</p> <span>{{ item.cf_item_name }}</span>&nbsp; &nbsp; 付款方式
<span>{{ selectMonth(item.repayment_date) }}</span> <span>{{ item.pay_method }}</span>
</div> </p>
<div class="message"> <div class="name">
<p class="top"> <p>
款项 应还金额
<span>{{ item.cf_item_name }}</span>&nbsp; &nbsp; 付款方式 <span>已还金额</span>
<span>{{ item.pay_method }}</span> </p>
<p>
{{ item.due_amount|currency }}
<span
:class="{'orang':statu==='orange','blu':statu==='blue','gree':statu==='green'}"
>{{ item.received_amount|currency }}</span>
</p> </p>
<div class="name">
<p>
应还金额
<span>已还金额</span>
</p>
<p>
{{ item.due_amount|currency }}
<span
:class="{'orang':statu==='orange','blu':statu==='blue','gree':statu==='green'}"
>{{ item.received_amount|currency }}</span>
</p>
</div>
</div> </div>
<img v-if="statu === 'black'" src="@/assets/contractInquire/done.png" alt class="status" >
<img v-if="statu === 'orange'" src="@/assets/contractInquire/prompt.png" alt class="status" >
</div> </div>
</scroll></h-content>
<img v-if="statu === 'black'" src="@/assets/contractInquire/done.png" alt class="status" >
<img v-if="statu === 'orange'" src="@/assets/contractInquire/prompt.png" alt class="status" >
</div>
</h-content>
</h-view> </h-view>
</template> </template>
...@@ -135,9 +134,6 @@ export default { ...@@ -135,9 +134,6 @@ export default {
vm.hlsPopup.hideLoading() vm.hlsPopup.hideLoading()
if (res.result === 'S') { if (res.result === 'S') {
vm.lists = res.lists vm.lists = res.lists
if (res.lists.length >= 0 && res.lists.length < 10) {
vm.$refs.scroll.update(true)
}
} else { } else {
hlsPopup.showLongCenter(res.message) hlsPopup.showLongCenter(res.message)
} }
......
...@@ -283,7 +283,9 @@ export default { ...@@ -283,7 +283,9 @@ export default {
display:block; display:block;
width: 16px; width: 16px;
height: 16px; height: 16px;
border-bottom: 16px solid rgba(75,74,75,0.10); border: 16px solid #fff;
border-left:transparent;
border-right:transparent;
border-top:transparent; border-top:transparent;
} }
} }
......
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