|
|
@@ -10,18 +10,18 @@
|
|
|
|
|
|
<view class="project-box">
|
|
|
<view class="project-content display-around-column" v-for="(item, idx) in projectData" :key="idx" style="padding-top: 20rpx;"
|
|
|
- :class="{ borderBottom: idx == projectData.length - 1 }" @click="enterProjectDeatil()">
|
|
|
+ :class="{ borderBottom: idx == projectData.length - 1 }" @click="enterProjectDeatil(item.id)">
|
|
|
<view class="display-between items-center pos-class">
|
|
|
- <view style="font-size: 30rpx;">{{item.title}}</view>
|
|
|
- <!-- <image src="/static/important_icon.png" mode="aspectFit" style="width:80rpx;height: 80rpx;"></image> -->
|
|
|
+ <view style="font-size: 30rpx;">{{item.name}}</view>
|
|
|
+ <image v-if="item.importent === '1'" src="/static/important_icon.png" mode="aspectFit" style="width:80rpx;height: 80rpx;"></image>
|
|
|
</view>
|
|
|
<view class="display-flex-start pos-class">
|
|
|
<view class="left-title">业主名称</view>
|
|
|
- <view>{{item.name}}</view>
|
|
|
+ <view>{{item.owner}}</view>
|
|
|
</view>
|
|
|
<view class="display-flex-start pos-class" style="margin-bottom: 20rpx;">
|
|
|
<view class="left-title">总投资</view>
|
|
|
- <view>{{item.maxMony}}</view>
|
|
|
+ <view>{{item.investment_count}}</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
@@ -38,11 +38,12 @@
|
|
|
swiperList: [],
|
|
|
projectList: ["新建", "续建"],
|
|
|
active: 0,
|
|
|
- projectData: new Array(5).fill({
|
|
|
- title:"普汇中金生命科学国际合作中心",
|
|
|
- name: "普汇中金国际控股有限公司",
|
|
|
- maxMony: "160000(万元)",
|
|
|
- }),
|
|
|
+ projectData:[],
|
|
|
+ // projectData: new Array(5).fill({
|
|
|
+ // title:"普汇中金生命科学国际合作中心",
|
|
|
+ // name: "普汇中金国际控股有限公司",
|
|
|
+ // maxMony: "160000(万元)",
|
|
|
+ // }),
|
|
|
};
|
|
|
},
|
|
|
onLoad(option) {
|
|
|
@@ -86,7 +87,7 @@
|
|
|
},
|
|
|
success: (res) => {
|
|
|
if (res.data.code === 200) {
|
|
|
-
|
|
|
+ this.projectData = res.data.data
|
|
|
}
|
|
|
},
|
|
|
fail: () => {
|