moreZu.vue
1.92 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
<template>
<view class="page">
<view class="cardZu" v-for="(item,index) in moban">
<view class="zuTitle">{{item.policyName}}</view>
<view class="">
<view v-if="item.rentalPrice" style="padding: 10rpx; color: #3f9b6a;font-size: 16px;padding: 15px 0;">
{{item.rentalPrice*moprice}}元/{{item.leaseTerm}}
</view>
<view style="padding: 10rpx; color: #3f9b6a;font-size: 16px;padding: 15px 0;" v-else>自营</view>
<view class="youTitle">
优惠政策:
</view>
<view class="youcont">
<u-parse :html="item.preferentialPolicy" v-if="item.preferentialPolicy!='<p><br></p>'"></u-parse>
<view v-else>无</view>
</view>
<view class="youTitle">
其他说明:
</view>
<view class="youcont">
<u-parse :html="item.otherDescription" v-if="item.otherDescription!='<p><br></p>'"></u-parse>
<view v-else>无</view>
</view>
<view class="youTitle">
免租期:
</view>
<view class="youcont">
<view v-if="item.rentFreePeriod!=''">{{item.rentFreePeriod}}</view>
<view v-else>无</view>
</view>
<view class="youTitle">
免租条件:
</view>
<view class="youcont">
<view v-if="item.rentFreeCondition!='<p><br></p>'">{{item.rentFreeCondition}}</view>
<view v-else>无</view>
</view>
</view>
</view>
</view>
</template>
<script>
export default {
data() {
return {
moprice:1,
paesize: {
pageNumber: 0,
pageSize: 100,
resourcesId: ''
},
moban: [],
zhengce:''
};
},
onLoad(opting) {
this.paesize.resourcesId = opting.resourcesId
this.moprice = opting.moprice
},
onShow() {
this.getAll()
},
methods: {
getAll(){
this.$http.sendRequest('/cereResourceStrategy/queryByResources', 'POST', this.paesize,1).then(res => {
this.moban = res.data.data
})
}
}
}
</script>
<style scoped lang="scss">
@import 'moreZu.scss';
</style>