propertyPayList.vue
3.76 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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
<template>
<view class="page">
<view class="search-box">
<view>
<u-input v-model="value" type="select" border @click="show = true" style="background-color: #F7F7F7;"/>
<u-select v-model="show" :list="list"></u-select>
</view>
<view class="search-total">
<view class="left">
<text class="price-total"><u-icon name="rmb" style="font-size: 24rpx;" />800.00</text>
<text>(含代缴费)</text>
</view>
<div class="right" @click='toDetail'>
<text>缴费记录<u-icon name="arrow-right" style="margin-left: 8rpx;"></u-icon></text>
</div>
</view>
</view>
<!-- 记录列表 -->
<view class="record-list">
<view class="record-list-box" v-for="(item,index) in recordList" :key="index">
<u-checkbox-group class="list-group" style="width: 100%;">
<view class="list">
<u-checkbox v-model="checked" shape="circle" :label-disabled="false" />
<view class="list-item">
<view class="list-info">
<view class="img">
<image :src="$imgUrl('/img/2.jpg')"></image>
</view>
<view class="info-items">
<view class="info-title">{{item.name}}:<text class="price"><u-icon name="rmb" style="font-size: 24rpx;" />300.00</text></view>
<view class="info-item">
<text>单价:¥15</text>
<text>费率:100%</text>
</view>
</view>
</view>
</view>
<view @click="recordList[index].showItem = !recordList[index].showItem"><u-icon name="arrow-right"></u-icon></view>
</view>
<view class="list" v-if="recordList[index].showItem">
<u-checkbox v-model="checked" shape="circle" :label-disabled="false" />
<view class="">
<view class="info-item">周期:2022.02.22 - 2022.02.22</view>
<view class="info-item">
<text>数量:100m²</text>
<text>门店号:A5646</text>
</view>
</view>
<view class="">
<text class="price"><u-icon name="rmb" style="font-size: 24rpx;" />300.00</text>
</view>
</view>
</u-checkbox-group>
</view>
</view>
<view style="height: 120rpx;"></view>
<view class="page-footer">
<view class="footer-buy">
<u-radio shape="circle">全选</u-radio>
<view class="">
合计:<text class="price"><u-icon name="rmb" style="font-size: 24rpx;" />300.00</text>
</view>
<u-button type="success" style="margin: 0 10rpx;">去支付</u-button>
</view>
</view>
</view>
</template>
<script>
export default {
data() {
return {
show: false,
value: '',
list: [{ value: '1', label: '大兴鸡排(A2144' }, { value: '2', label: '湖' }],
checked: [],
recordList:[
{
img: '',
name: '物业费',
price: 15,
rate: '100%',
chilren: [],
showItem: false,
},
{
img: '',
name: '卫生费',
price: 15,
rate: '100%',
chilren: [],
showItem: false,
},
{
img: '',
name: '水费',
price: 15,
rate: '100%',
chilren: [],
showItem: false,
},
{
img: '',
name: '电费',
price: 15,
rate: '100%',
chilren: [],
showItem: false,
},
{
img: '',
name: '燃气费',
price: 15,
rate: '100%',
chilren: [],
showItem: false,
},
],
};
},
methods: {
recordXq(item){
const encodedItem = encodeURIComponent(JSON.stringify(item));
uni.navigateTo({
url: `/pages/accepting/accepting?item=${encodedItem}`,
})
},
toDetail() {
uni.navigateTo({
url: '/pages/propertyPay/payRecord/payRecord'
})
},
contractdetail(){
// uni.navigateTo({
// })
}
}
}
</script>
<style scoped lang="scss">
@import 'propertyPayList.scss';
</style>