|
@@ -1,6 +1,6 @@
|
|
|
<template>
|
|
|
<view class="content">
|
|
|
- <image class="topImg" :src="dataInfo.image" mode="aspectFill"></image>
|
|
|
+ <image class="topImg" :src="dataInfo.projectFocusImage" mode="aspectFill"></image>
|
|
|
<view class="sectionA">
|
|
|
<view class="topSection">
|
|
|
<view class="title">{{dataInfo.name}}</view>
|
|
@@ -285,7 +285,12 @@
|
|
|
}
|
|
|
},
|
|
|
priceReload(val) {
|
|
|
- return parseFloat(val / 10000).toFixed(2) + '万'
|
|
|
+ let money = parseFloat(val / 10000);
|
|
|
+ if(String(money).indexOf('.')>-1){
|
|
|
+ return parseFloat(val / 10000).toFixed(2) + '万'
|
|
|
+ }else{
|
|
|
+ return parseFloat(val / 10000) + '万'
|
|
|
+ }
|
|
|
},
|
|
|
|
|
|
toShareCard(type) {
|