Blame view

lvdao-miniapp/pagesA/moreZu/moreZu.vue 1.92 KB
0fd8b750   杨鑫   '最新落地1'
1
2
3
4
5
  <template>
  	<view class="page">
  		<view class="cardZu" v-for="(item,index) in moban">
  			<view class="zuTitle">{{item.policyName}}</view>
  			<view class="">
84cb5fa7   wesley88   1
6
  				<view v-if="item.rentalPrice" style="padding: 10rpx; color: #3f9b6a;font-size: 16px;padding: 15px 0;">
3c4666ce   杨鑫   '最新'
7
  					{{item.rentalPrice*moprice}}元/{{item.leaseTerm}}
0fd8b750   杨鑫   '最新落地1'
8
  				</view>
84cb5fa7   wesley88   1
9
  				<view style="padding: 10rpx; color: #3f9b6a;font-size: 16px;padding: 15px 0;" v-else>自营</view>
0fd8b750   杨鑫   '最新落地1'
10
11
12
13
  				<view class="youTitle">
  					优惠政策:
  				</view>
  				<view class="youcont">
3c4666ce   杨鑫   '最新'
14
15
  					<u-parse :html="item.preferentialPolicy" v-if="item.preferentialPolicy!='<p><br></p>'"></u-parse>
  					<view v-else>无</view>
0fd8b750   杨鑫   '最新落地1'
16
17
18
19
20
  				</view>
  				<view class="youTitle">
  					其他说明:
  				</view>
  				<view class="youcont">
3c4666ce   杨鑫   '最新'
21
22
  					<u-parse :html="item.otherDescription" v-if="item.otherDescription!='<p><br></p>'"></u-parse>
  					<view v-else>无</view>
0fd8b750   杨鑫   '最新落地1'
23
  				</view>
a4aeeb1e   杨鑫   '最新'
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
  				<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>
0fd8b750   杨鑫   '最新落地1'
40
41
42
43
44
45
46
47
48
  			</view>
  		</view>
  	</view>
  </template>
  
  <script>
  	export default {
  		data() {
  			return {
3c4666ce   杨鑫   '最新'
49
  				moprice:1,
0fd8b750   杨鑫   '最新落地1'
50
51
52
53
54
55
56
57
58
59
60
61
62
  				paesize: {
  						pageNumber: 0,
  						pageSize: 100,
  						resourcesId: ''
  				
  				},
  				moban: [],
  				zhengce:''
  			};
  		},
  		onLoad(opting) {
  			
  		this.paesize.resourcesId = opting.resourcesId
3c4666ce   杨鑫   '最新'
63
  		this.moprice = opting.moprice
0fd8b750   杨鑫   '最新落地1'
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
  		},
  		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>