Commit bd15fe25 authored by 王建文's avatar 王建文

融资方案

parent 08081855
......@@ -13,7 +13,7 @@ export default {
name: 'CurrencyInput',
props: {
value: {
default: '4',
default: '',
},
// disable: {
// type: Boolean,
......@@ -43,7 +43,7 @@ export default {
let currency = this.$options.filters['rate']
if (!this.focused) {
if (this.value !== '' && this.value !== null) {
return `${currency(this.value)}%`
return `${currency(this.value*100)}%`
}
} else {
return this.value
......@@ -68,15 +68,16 @@ export default {
// let uncurrency = this.$options.filter['uncurrency']
// this.newVal = uncurrency(this.value)
this.newVal = this.value
if (this.newVal.includes('.') && value === '.') {
if (this.newVal !=''&&this.newVal.includes('.') && value === '.') {
} else {
this.newVal += ('' + value)
}
this.$emit('input', this.newVal)
this.$emit('input', this.newVal/100)
},
onDelete () {
this.newVal = ''
this.$emit('input', this.newVal)
this.$emit('input', this.newVal/100)
},
// onInput: function (value) {
// if (this.disable) return
......@@ -86,6 +87,7 @@ export default {
// },
onFocus (event) {
// if (this.disable) return
debugger
let vm = this
this.focused = true
let value = (event.target.value).trim()
......
This diff is collapsed.
......@@ -8,7 +8,7 @@
</h-header>
<h-content>
<div class="contact-us">
<p class="title">金融科技事业部</p>
<p class="title">中煤科工金融租赁股份有限公</p>
<div class="Address">
<ul>
<li>地址:北京市东城区环球贸易中心A座28层</li>
......@@ -17,22 +17,22 @@
<li>网址:www.cctegfl.com</li>
</ul>
</div>
<div class="RentCentral">
<!-- <div class="RentCentral">
<ul>
<li>汉得金融科技核心条线集中交付中心</li>
<li>监督举报</li>
<li>电话:01234-567890</li>
</ul>
</div>
</div> -->
<div class="Ercode">
<ul>
<!--<li><img src="@/assets/myInfo/xugongFinancial.jpg"></li>-->
<li><img src="@/assets/myInfo/zhongmei.jpeg"></li>
<li>演示demo<br>微信公众号</li>
</ul>
<ul>
<!-- <ul> -->
<!--<li><img src="@/assets/myInfo/xugongRent.jpg"></li>-->
<li>演示demo<br>微信公众号</li>
</ul>
<!-- <li>演示demo<br>微信公众号</li>
</ul> -->
</div>
</div>
</h-content>
......
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