Commit dfde9d1e authored by linxin's avatar linxin

add

parent edf77cc9
...@@ -72,7 +72,10 @@ export default { ...@@ -72,7 +72,10 @@ export default {
onInput (value) { onInput (value) {
// if (this.disable) return // if (this.disable) return
this.newVal = this.value this.newVal = this.value
if (this.newVal.includes('.') && value === '.') {
} else {
this.newVal += ('' + value) this.newVal += ('' + value)
}
this.$emit('input', this.newVal) this.$emit('input', this.newVal)
}, },
onDelete () { onDelete () {
...@@ -92,7 +95,7 @@ export default { ...@@ -92,7 +95,7 @@ export default {
event.target.value = '' event.target.value = ''
event.target.value = value event.target.value = value
setTimeout(function () { setTimeout(function () {
event.target.type = 'number' event.target.type = 'text'
event.target.focus() event.target.focus()
}, 0) }, 0)
}, },
......
<template> <template>
<h-view class="public-style about" title="关于徐工金服"> <h-view class="public-style about" title="关于徐工金服">
<h-header :proportion="[5,1,1]" class="bar-custom"> <h-header :proportion="[5,1,1]" class="bar-custom">
<div slot="left" class="h-header-btn" @click="$routeGo()"> <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>
......
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
<section v-for="(item,index) in prj_lists" :key="index" class="contract-item"> <section v-for="(item,index) in prj_lists" :key="index" class="contract-item">
<div class="header"> <div class="header">
<img src="@/assets/payment/file.png" > <img src="@/assets/payment/file.png" >
<p>&nbsp; {{ item.project_number }}</p> <p>{{ item.project_number }}</p>
<span>{{ item.bp_name }}</span> <span>{{ item.bp_name }}</span>
</div> </div>
<div class="content"> <div class="content">
...@@ -254,20 +254,22 @@ export default { ...@@ -254,20 +254,22 @@ export default {
background: #fff; background: #fff;
display: flex; display: flex;
font-family: PingFangSC-Semibold; font-family: PingFangSC-Semibold;
font-size: 15px; font-size: 12px;
color: #383f45; color: #383f45;
letter-spacing: 0; letter-spacing: 0;
line-height: 44px; // line-height: 44px;
padding: 0 16px; // padding: 0 16px;
justify-content: space-around;
align-items: center;
img { img {
height: 30px; height: 30px;
margin-top: 10px; // margin-top: 10px;
margin-right: 6px; // margin-right: 6px;
} }
p { p {
flex: 2; // flex: 2;
border-bottom: 1px solid #f3f3f7; border-bottom: 1px solid #f3f3f7;
font-weight: 700; font-weight: 700;
} }
...@@ -275,6 +277,7 @@ export default { ...@@ -275,6 +277,7 @@ export default {
span { span {
border-bottom: 1px solid #f3f3f7; border-bottom: 1px solid #f3f3f7;
font-weight: 700; font-weight: 700;
// margin-left:10px;
} }
} }
......
...@@ -27,7 +27,9 @@ ...@@ -27,7 +27,9 @@
</div> </div>
<div class="pay-input"> <div class="pay-input">
<span>应还首付款</span> <span>应还首付款</span>
<CurrencyInput ref="payInput" v-model="money" class="currencyInput" placeholder="请输入支付金额" /> <CurrencyInput
ref="payInput" v-model="money" class="currencyInput"
placeholder="请输入支付金额" />
<div @click="createOrder"> <div @click="createOrder">
<img src="@/assets/payment/into.png" > <img src="@/assets/payment/into.png" >
</div> </div>
......
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
<section v-for="(item,index) in showList" :key="index" class="contract-item"> <section v-for="(item,index) in showList" :key="index" class="contract-item">
<div class="header"> <div class="header">
<img src="@/assets/payment/file.png" alt > <img src="@/assets/payment/file.png" alt >
<p>&nbsp; {{ item.project_number }}</p> <p>{{ item.project_number }}</p>
<span>还款中</span> <span>还款中</span>
</div> </div>
<div class="my-content"> <div class="my-content">
...@@ -379,17 +379,18 @@ export default { ...@@ -379,17 +379,18 @@ export default {
height: 34px; height: 34px;
background: #fff; background: #fff;
display: flex; display: flex;
justify-content: space-around;
align-items: center; align-items: center;
line-height: 37px; // line-height: 37px;
padding: 0 16px; padding: 0 16px;
img { img {
height: 30px; height: 30px;
} }
p { p {
flex: 2; // flex: 2;
font-family: PingFangSC-Semibold; font-family: PingFangSC-Semibold;
font-size: 15px; font-size: 12px;
color: #383f45; color: #383f45;
letter-spacing: 0; letter-spacing: 0;
font-weight: 700; font-weight: 700;
...@@ -403,7 +404,7 @@ export default { ...@@ -403,7 +404,7 @@ export default {
border: 1px solid #1d3fff; border: 1px solid #1d3fff;
border-radius: 2px; border-radius: 2px;
font-family: PingFangSC-Regular; font-family: PingFangSC-Regular;
font-size: 14px; font-size: 12px;
color: #3957ff; color: #3957ff;
letter-spacing: 0; letter-spacing: 0;
} }
......
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