<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>