Commit ace60226 authored by linxin's avatar linxin

更新帮助与反馈和合同还款

parent 6d7e82d4
src/assets/help/call.png

1.43 KB | W: | H:

src/assets/help/call.png

1.41 KB | W: | H:

src/assets/help/call.png
src/assets/help/call.png
src/assets/help/call.png
src/assets/help/call.png
  • 2-up
  • Swipe
  • Onion skin
src/assets/help/down.png

479 Bytes | W: | H:

src/assets/help/down.png

527 Bytes | W: | H:

src/assets/help/down.png
src/assets/help/down.png
src/assets/help/down.png
src/assets/help/down.png
  • 2-up
  • Swipe
  • Onion skin
src/assets/help/feedback.png

1.11 KB | W: | H:

src/assets/help/feedback.png

1.1 KB | W: | H:

src/assets/help/feedback.png
src/assets/help/feedback.png
src/assets/help/feedback.png
src/assets/help/feedback.png
  • 2-up
  • Swipe
  • Onion skin
<!--
* @Author: your name
* @Date: 2019-10-31 09:49:57
* @LastEditTime: 2019-11-01 09:36:50
* @LastEditors: Please set LastEditors
* @Description: 还款
* @FilePath:
-->
<template>
<h-view id="repay-plan" class="public-style">
<h-header :proportion="[5,1,1]" class="bar-custom">
<div slot="left" class="h-header-btn">
<img src="@/assets/userBind/arrow.png" @click="$routeGo()" >
<span>融资明细</span>
</div>
</h-header>
<div class="center">
<div class="plan-name">
<div class="header">还款计划</div>
</div>
</div>
<h-content id="content" class="plan-content">
<!-- 已结清 black , 逾期 orange , 还款中 blue , 未还款 green -->
<div
v-for="(item,index) in lists"
:key="index"
:class="{'plan-list':true,'or':statu==='orange','bl':statu==='blue','gr':statu==='green'}"
>
<div
:class="{'period':true,'orange':statu==='orange','blue':statu==='blue','green':statu==='green'}"
>{{ index + 1 }}</div>
<img v-if="statu === 'black'" src="@/assets/contractInquire/black.png" alt class="left" >
<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" >
<img v-if="statu === 'green'" src="@/assets/contractInquire/green.png" alt class="left" >
<div class="time">
<p>{{ selectYear(item.repayment_date) }}</p>
<span>{{ selectMonth(item.repayment_date) }}</span>
</div>
<div class="message">
<p class="top">
现金流项目
<span>{{ item.cf_item_name }}</span>&nbsp; &nbsp; 支付
<span>{{ item.pay_method }}</span>
</p>
<div class="name">
<p>应还金额</p>
<p>已还金额</p>
</div>
<div class="number">
<span>{{ item.due_amount|currency }}</span>
<span
:class="{'orang':statu==='orange','blu':statu==='blue','gree':statu==='green'}"
>{{ item.received_amount|currency }}</span>
</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>
</h-content>
</h-view>
</template>
<script>
export default {
components: {},
data () {
return {
// 已结清 black , 逾期 orange , 还款中 blue , 未还款 green
statu: 'orange',
info: {},
lists: [
{
due_amount: '48800',
cf_item: '2',
cf_item_name: '首付款',
received_amount: '0',
pay_method: '自主还款',
repayment_date: '2019/10/17',
},
{
due_amount: '4000',
cf_item: '3',
cf_item_name: '手续费',
received_amount: '400',
pay_method: '代扣',
repayment_date: '2020/10/12',
},
{
due_amount: '400',
cf_item: '14',
cf_item_name: 'gps费用',
received_amount: '200',
pay_method: '自主还款',
repayment_date: '2021/10/19',
},
],
}
},
beforeRouteEnter (to, from, next) {
next(vm => {
vm.getRefund()
})
},
methods: {
selectMonth (e) {
let arr = e.split('/')
return `${arr[1]}-${arr[2]}`
},
selectYear (e) {
return e.substring(0, 4)
},
getRefund () {
let vm = this
let url = process.env.basePath + 'con_equip_repayment_plan'
let param = {
contract_id: this.$route.params.contract_id,
}
hlsPopup.showLoading('请稍候')
vm.$post(url, param).then(function (res) {
vm.hlsPopup.hideLoading()
if (res.result === 'S') {
vm.lists = res.lists
} else {
hlsPopup.showLongCenter(res.message)
}
})
},
},
}
</script>
<style lang='less' >
#repay-plan {
.h-header {
background-color: #1d3fff;
.h-header-btn {
img {
width: 16px;
height: 16px;
margin-left: 4px;
}
span {
font-family: PingFangSC-Semibold;
margin-left: 16px;
font-size: 17px;
letter-spacing: 0.61px;
line-height: 24px;
}
}
}
.plan-name {
position: relative;
background-color: #1d3fff;
width: 100%;
img {
position: absolute;
right: 30px;
top: 12px;
height: 20px;
transition: 0s;
}
.rotate {
transform: rotate(180deg);
}
.header {
position: relative;
height: 48px;
line-height: 48px;
background-color: #fff;
font-family: PingFangSC-Semibold;
font-size: 14px;
color: #21254c;
font-weight: 700;
text-indent: 2em;
border-radius: 24px 0 0 0;
&:before {
content: "";
position: absolute;
top: 16px;
left: 15px;
width: 4px;
height: 16px;
background: #1d3fff;
}
}
}
.plan-content {
background-color: #fff;
padding: 0px 11px;
.plan-list {
position: relative;
background-color: #f7f7f7;
height: 106px;
display: flex;
padding-right: 20px;
padding-left: 10px;
padding-top: 16px;
margin-bottom: 10px;
.message {
flex: 12;
}
.left {
height: 30px;
position: absolute;
left: -8px;
top: 24px;
}
.status {
position: absolute;
width: 18px;
right: -3px;
top: -5px;
}
.period {
position: absolute;
top: 0;
left: 0;
background: rgba(75, 74, 75, 0.5);
border-radius: 4px 0 4px 0;
width: 30px;
height: 15px;
color: #fff;
font-family: PingFangSC-Semibold;
font-size: 12px;
letter-spacing: 1.09px;
line-height: 15px;
text-align: center;
}
.orange {
background: rgba(253, 182, 47, 0.5);
}
.blue {
background-color: rgba(29, 63, 255, 0.5);
}
.green {
background-color: rgba(27, 162, 97, 0.5);
}
.top {
font-family: PingFangSC-Regular;
font-size: 13px;
color: rgba(56, 63, 69, 0.6);
letter-spacing: 0;
span {
margin-left: 20px;
font-family: PingFangSC-Regular;
font-size: 13px;
color: #4b4a4b;
letter-spacing: 0;
}
}
.time {
flex: 3;
p {
font-family: DIN-Regular;
font-size: 12px;
color: rgba(56, 63, 69, 0.6);
margin-bottom: 4px;
margin-top: 5px;
}
span {
font-family: DIN-Bold;
font-weight: 700;
font-size: 14px;
color: #21254c;
}
}
.name {
opacity: 0.6;
font-family: PingFangSC-Regular;
font-size: 13px;
color: #4b4a4b;
float: left;
p {
margin-top: 17px;
}
}
.number {
text-align: right;
font-family: PingFangSC-Regular;
font-size: 13px;
color: #4b4a4b;
float: right;
p {
margin-bottom: 17px;
}
span {
display: block;
margin-top: 18px;
}
span.orang {
color: rgb(253, 182, 47);
font-weight: 700;
font-family: PingFangSC-Semibold;
}
span.blu {
color: #1d3fff;
font-weight: 700;
font-family: PingFangSC-Semibold;
}
span.gree {
color: #1ba261;
}
}
}
.or {
background-color: rgba(253, 182, 47, 0.05);
}
.bl,
.gr {
background: #ffffff;
box-shadow: 0 1px 5px 0 rgba(219, 219, 219, 0.69);
}
}
}
</style>
...@@ -34,7 +34,6 @@ ...@@ -34,7 +34,6 @@
<script> <script>
export default { export default {
name: 'RepayPlan',
components: { components: {
}, },
data () { data () {
......
...@@ -21,6 +21,14 @@ ...@@ -21,6 +21,14 @@
<div slot="name">发动机号</div> <div slot="name">发动机号</div>
<input slot="content" v-model="info.engine" placeholder="自动识别发动机号" > <input slot="content" v-model="info.engine" placeholder="自动识别发动机号" >
</item> </item>
<item>
<div slot="name">车辆型号 </div>
<input slot="content" v-model="info.type" placeholder="自动识别车辆型号" >
</item>
<item>
<div slot="name">合格证编号 </div>
<input slot="content" v-model="info.number" placeholder="自动识别合格证编号" >
</item>
<item> <item>
<div slot="name">厂商型号</div> <div slot="name">厂商型号</div>
<input <input
...@@ -268,10 +276,12 @@ export default { ...@@ -268,10 +276,12 @@ export default {
], ],
info: { info: {
contract_id: '', contract_id: '',
frame_number: '1', frame_number: '',
engine: '1', engine: '',
manufacturer: '1', manufacturer: '',
license_plate_number: '1', license_plate_number: '',
type: '',
number: '',
}, },
detail: { detail: {
product_num: '', product_num: '',
...@@ -621,7 +631,7 @@ export default { ...@@ -621,7 +631,7 @@ export default {
.down { .down {
position: relative; position: relative;
width: 314px; width: 314px;
height: 456px; height: 536px;
background-size: 301px 24.7px; background-size: 301px 24.7px;
background-color: #fff; background-color: #fff;
} }
......
<template> <template>
<h-view id="help-detail" class="public-style"> <h-view id="help-detail" class="public-style">
<h-header :proportion="[5,1,1]" class="header"> <h-header :proportion="[5,1,1]" class="bar-custom">
<div slot="left" class="h-header-btn"> <div slot="left" class="h-header-btn">
<img src="@/assets/userBind/arrow.png" @click="$routeGo()" > <img src="@/assets/userBind/arrow.png" @click="$routeGo()" >
<span>帮助与反馈</span> <span>帮助与反馈</span>
...@@ -21,28 +21,11 @@ export default { ...@@ -21,28 +21,11 @@ export default {
</script> </script>
<style lang="less" scoped> <style lang="less" scoped>
#help-detail{ #help-detail{
.header {
background-color: #00469c;
color: #ffffff;
.h-header-btn {
img {
width: 16px;
height: 16px;
}
span {
font-family: PingFangSC-Semibold;
font-size: 17px;
color: #ffffff;
letter-spacing: 0.61px;
margin-left: 16px;
}
}
}
.my-content{ .my-content{
h4{ h4{
font-family: PingFangSC-Semibold; font-family: PingFangSC-Semibold;
font-size: 15px; font-size: 15px;
color: #00469C; color: @headerColor;
letter-spacing: 0; letter-spacing: 0;
line-height: 20px; line-height: 20px;
margin-top:16px; margin-top:16px;
...@@ -52,7 +35,7 @@ position: relative; ...@@ -52,7 +35,7 @@ position: relative;
h4::before{ h4::before{
content:''; content:'';
display:inline-block; display:inline-block;
background-color: #00469C; background-color: @headerColor;
position: absolute; position: absolute;
top:5px; top:5px;
left:24px; left:24px;
......
<template> <template>
<h-view id="help-detail" class="public-style"> <h-view id="help-detail" class="public-style">
<h-header :proportion="[5,1,1]" class="header"> <h-header :proportion="[5,1,1]" class="bar-custom">
<div slot="left" class="h-header-btn"> <div slot="left" class="h-header-btn">
<img src="@/assets/userBind/arrow.png" @click="$routeGo()" /> <img src="@/assets/userBind/arrow.png" @click="$routeGo()" >
<span>帮助与反馈</span> <span>帮助与反馈</span>
</div> </div>
</h-header> </h-header>
...@@ -19,19 +19,19 @@ ...@@ -19,19 +19,19 @@
<span>添加图片说明</span> <span>添加图片说明</span>
<div class="file-content"> <div class="file-content">
<div class="file"> <div class="file">
<img src="@/assets/help/1.jpg" /> <img src="@/assets/help/1.jpg" >
</div> </div>
<div class="file"> <div class="file">
<img src="@/assets/help/1.jpg" /> <img src="@/assets/help/1.jpg" >
</div> </div>
<div class="file"> <div class="file">
<img src="@/assets/help/1.jpg" /> <img src="@/assets/help/1.jpg" >
</div> </div>
<div class="file"> <div class="file">
<img src="@/assets/help/1.jpg" /> <img src="@/assets/help/1.jpg" >
</div> </div>
<div class="file"> <div class="file">
<img class="photo" src="@/assets/help/photo.png" /> <img class="photo" src="@/assets/help/photo.png" >
</div> </div>
</div> </div>
</div> </div>
...@@ -44,7 +44,7 @@ ...@@ -44,7 +44,7 @@
</h-view> </h-view>
</template> </template>
<script> <script>
export default {}; export default {}
</script> </script>
<style lang="less" scoped> <style lang="less" scoped>
#help-detail { #help-detail {
...@@ -54,28 +54,11 @@ export default {}; ...@@ -54,28 +54,11 @@ export default {};
color: #b4b4b5; color: #b4b4b5;
letter-spacing: 0; letter-spacing: 0;
} }
.header {
background-color: #00469c;
color: #ffffff;
.h-header-btn {
img {
width: 16px;
height: 16px;
}
span {
font-family: PingFangSC-Semibold;
font-size: 17px;
color: #ffffff;
letter-spacing: 0.61px;
margin-left: 16px;
}
}
}
.my-content { .my-content {
h4 { h4 {
font-family: PingFangSC-Semibold; font-family: PingFangSC-Semibold;
font-size: 15px; font-size: 15px;
color: #00469c; color: @headerColor;
letter-spacing: 0; letter-spacing: 0;
line-height: 20px; line-height: 20px;
margin-top: 16px; margin-top: 16px;
...@@ -85,7 +68,7 @@ export default {}; ...@@ -85,7 +68,7 @@ export default {};
h4::before { h4::before {
content: ""; content: "";
display: inline-block; display: inline-block;
background-color: #00469c; background-color: @headerColor;
position: absolute; position: absolute;
top: 5px; top: 5px;
left: 15px; left: 15px;
...@@ -170,7 +153,7 @@ export default {}; ...@@ -170,7 +153,7 @@ export default {};
} }
.bottom-button { .bottom-button {
color: #fff; color: #fff;
background-color: #00469c; background-color: @headerColor;
} }
} }
</style> </style>
<template> <template>
<h-view id="help-list" class="public-style"> <h-view id="help-list" class="public-style">
<h-header :proportion="[5,1,1]" class="header"> <h-header :proportion="[5,1,1]" class="bar-custom">
<div slot="left" class="h-header-btn"> <div slot="left" class="h-header-btn">
<img src="@/assets/userBind/arrow.png" @click="$routeGo()" > <img src="@/assets/userBind/arrow.png" @click="$routeGo()" >
<span>帮助与反馈</span> <span>帮助与反馈</span>
...@@ -166,7 +166,7 @@ export default { ...@@ -166,7 +166,7 @@ export default {
position: relative; position: relative;
font-family: PingFangSC-Regular; font-family: PingFangSC-Regular;
font-size: 13px; font-size: 13px;
color: #00469c; color: @headerColor;
letter-spacing: 0; letter-spacing: 0;
line-height: 20px; line-height: 20px;
text-indent: 8px; text-indent: 8px;
...@@ -180,7 +180,7 @@ export default { ...@@ -180,7 +180,7 @@ export default {
left: 0px; left: 0px;
width:4px; width:4px;
height:12px; height:12px;
background-color:#00469C; background-color:@headerColor;
} }
img{ img{
width: 20px; width: 20px;
...@@ -222,7 +222,7 @@ export default { ...@@ -222,7 +222,7 @@ export default {
.bottom-button{ .bottom-button{
font-family: PingFangSC-Regular; font-family: PingFangSC-Regular;
font-size: 15px; font-size: 15px;
color: #00469C; color: @headerColor;
line-height: 20px; line-height: 20px;
img{ img{
width:16px; width:16px;
......
...@@ -27,8 +27,10 @@ ...@@ -27,8 +27,10 @@
<img v-show="select !== 'two'" src="@/assets/payment/unselect.png" alt=""> <img v-show="select !== 'two'" src="@/assets/payment/unselect.png" alt="">
</section> </section>
</item> </item>
<item v-for="(item,index) in newList" :proportion="[7,1,1]" :key="index" @click.native="isSelect(`three${index}`)"> <item
<div slot="name" style="flex=3"> <img :src="selectImg(item)" alt="" class="icon"> {{ item.bank_full_name }}({{ selectLast(item) }})</div> v-for="(item,index) in newList" :proportion="[7,1,1]" :key="index"
@click.native="isSelect(`three${index}`)">
<div slot="name" style="flex=3"> <img :src="selectImg(item)" alt="" class="icon"> {{ item.bank_full_name }}({{ selectLast(item) }})<img v-show="item.recommand" class="push" src="@/assets/payment/push.png"></div>
<section slot="content"> <section slot="content">
<img v-show="select === `three${index}`" src="@/assets/payment/select.png" alt=""> <img v-show="select === `three${index}`" src="@/assets/payment/select.png" alt="">
<img v-show="select !== `three${index}`" src="@/assets/payment/unselect.png" alt=""> <img v-show="select !== `three${index}`" src="@/assets/payment/unselect.png" alt="">
...@@ -70,6 +72,7 @@ export default { ...@@ -70,6 +72,7 @@ export default {
money: '', money: '',
select: 'three0', select: 'three0',
name: '', name: '',
recommand: false,
flag: false, // 用于判断是否有农业银行卡 flag: false, // 用于判断是否有农业银行卡
lists: [], lists: [],
} }
...@@ -110,6 +113,7 @@ export default { ...@@ -110,6 +113,7 @@ export default {
if (e.bank_full_name.indexOf('建设') !== -1) { if (e.bank_full_name.indexOf('建设') !== -1) {
return js return js
} else if (e.bank_full_name.indexOf('农业') !== -1) { } else if (e.bank_full_name.indexOf('农业') !== -1) {
e.recommand = true
return ny return ny
} else if (e.bank_full_name.indexOf('光大') !== -1) { } else if (e.bank_full_name.indexOf('光大') !== -1) {
return gd return gd
...@@ -185,6 +189,12 @@ export default { ...@@ -185,6 +189,12 @@ export default {
</script> </script>
<style lang='less' > <style lang='less' >
#pay-entry { #pay-entry {
.push{
position: absolute;
top:10px;
margin-left:10px;
width:35px;
}
.h-header { .h-header {
background-color: #00469C; background-color: #00469C;
.h-header-btn { .h-header-btn {
...@@ -257,6 +267,7 @@ export default { ...@@ -257,6 +267,7 @@ export default {
width: 30px; width: 30px;
display: block; display: block;
float: left; float: left;
position: relative;
margin: 12px 8px 0 3px; margin: 12px 8px 0 3px;
} }
} }
......
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
</section> </section>
</item> </item>
<item v-for="(item,index) in newList" :proportion="[7,1,1]" :key="index" @click.native="isSelect(`three${index}`)"> <item v-for="(item,index) in newList" :proportion="[7,1,1]" :key="index" @click.native="isSelect(`three${index}`)">
<div slot="name" style="flex=3"> <img :src="selectImg(item)" alt="" class="icon"> {{ item.bank_full_name }}({{ selectLast(item) }})</div> <div slot="name" style="flex=3"> <img :src="selectImg(item)" alt="" class="icon"> {{ item.bank_full_name }}({{ selectLast(item) }})<img v-show="item.recommand" class="push" src="@/assets/payment/push.png"></div>
<section slot="content"> <section slot="content">
<img v-show="select === `three${index}`" src="@/assets/payment/select.png" alt=""> <img v-show="select === `three${index}`" src="@/assets/payment/select.png" alt="">
<img v-show="select !== `three${index}`" src="@/assets/payment/unselect.png" alt=""> <img v-show="select !== `three${index}`" src="@/assets/payment/unselect.png" alt="">
...@@ -121,6 +121,7 @@ export default { ...@@ -121,6 +121,7 @@ export default {
if (e.bank_full_name.indexOf('建设') !== -1) { if (e.bank_full_name.indexOf('建设') !== -1) {
return js return js
} else if (e.bank_full_name.indexOf('农业') !== -1) { } else if (e.bank_full_name.indexOf('农业') !== -1) {
e.recommand = true
return ny return ny
} else if (e.bank_full_name.indexOf('光大') !== -1) { } else if (e.bank_full_name.indexOf('光大') !== -1) {
return gd return gd
......
...@@ -210,7 +210,8 @@ export default { ...@@ -210,7 +210,8 @@ export default {
height: 190px; height: 190px;
box-shadow: 0 5px 20px 0 rgba(101, 101, 101, 0.25); box-shadow: 0 5px 20px 0 rgba(101, 101, 101, 0.25);
border-radius: 6px; border-radius: 6px;
background-size: 320px 190px; background-size: 370px 240px;
background-position: -20px;
.card-info { .card-info {
font-family: PingFangSC-Medium; font-family: PingFangSC-Medium;
color: #ffffff; color: #ffffff;
......
...@@ -218,7 +218,8 @@ export default { ...@@ -218,7 +218,8 @@ export default {
height: 190px; height: 190px;
box-shadow: 0 5px 20px 0 rgba(101, 101, 101, 0.25); box-shadow: 0 5px 20px 0 rgba(101, 101, 101, 0.25);
border-radius: 6px; border-radius: 6px;
background-size: 320px 190px; background-size: 370px 240px;
background-position: -20px;
.card-info { .card-info {
font-family: PingFangSC-Medium; font-family: PingFangSC-Medium;
color: #ffffff; color: #ffffff;
......
...@@ -78,7 +78,7 @@ import ReimburseDetail from '@/pages/reimburseMyself/reimburse-detail' ...@@ -78,7 +78,7 @@ import ReimburseDetail from '@/pages/reimburseMyself/reimburse-detail'
// 合同还款 // 合同还款
import ContractRepayment from '@/pages/contractRepayment/contract-repayment' import ContractRepayment from '@/pages/contractRepayment/contract-repayment'
import RepayDetails from '@/pages/contractRepayment/repay-details' import RepayDetails from '@/pages/contractRepayment/repay-details'
import RepayPlan from '@/pages/contractRepayment/repay-plan' import RepayPlan from '@/pages/contractRepayment/refund'
// 发车申请 // 发车申请
import StartList from '@/pages/contractStart/start-list' import StartList from '@/pages/contractStart/start-list'
......
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