moreZu.vue
1.18 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
<template>
<view class="page">
<view class="cardZu" v-for="(item,index) in moban">
<view class="zuTitle">{{item.policyName}}</view>
<view class="">
<view style="padding: 10rpx; color: #3f9b6a;font-size: 16px;padding: 15px 0;">
{{item.rentalPrice}}元/{{item.leaseTerm}}
</view>
<view class="youTitle">
优惠政策:
</view>
<view class="youcont">
<u-parse :html="item.preferentialPolicy"></u-parse>
</view>
<view class="youTitle">
其他说明:
</view>
<view class="youcont">
<u-parse :html="item.otherDescription"></u-parse>
</view>
</view>
</view>
</view>
</template>
<script>
export default {
data() {
return {
paesize: {
pageNumber: 0,
pageSize: 100,
resourcesId: ''
},
moban: [],
zhengce:''
};
},
onLoad(opting) {
this.paesize.resourcesId = opting.resourcesId
},
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>