Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
U
uni-app-wy
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
单欣鑫
uni-app-wy
Commits
db0395ab
Commit
db0395ab
authored
Jun 10, 2025
by
秦威威
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug修改完成
parent
5693f2df
Changes
15
Hide whitespace changes
Inline
Side-by-side
Showing
15 changed files
with
284 additions
and
64 deletions
+284
-64
pages.json
pages.json
+6
-0
wy-bmfw.vue
pages/wy-bmfw.vue
+36
-0
wy-home.vue
pages/wy-home.vue
+7
-1
wy-mine.vue
pages/wy-mine.vue
+2
-1
jfjl.vue
pagesMain/pages/jfjl.vue
+57
-0
jnzd.vue
pagesMain/pages/jnzd.vue
+6
-0
jnzd_ccs.vue
pagesMain/pages/jnzd_ccs.vue
+4
-0
jnzd_czf.vue
pagesMain/pages/jnzd_czf.vue
+36
-13
jnzd_qt.vue
pagesMain/pages/jnzd_qt.vue
+4
-1
jnzd_tcf.vue
pagesMain/pages/jnzd_tcf.vue
+33
-14
jnzd_tcfmx.vue
pagesMain/pages/jnzd_tcfmx.vue
+45
-15
jnzd_wyf.vue
pagesMain/pages/jnzd_wyf.vue
+17
-5
jnzd_wyfmx.vue
pagesMain/pages/jnzd_wyfmx.vue
+16
-2
dkpz.vue
pagesMine/pages/dkpz.vue
+14
-11
wx_lsgd.vue
pagesMine/pages/wx_lsgd.vue
+1
-1
No files found.
pages.json
View file @
db0395ab
...
@@ -166,6 +166,12 @@
...
@@ -166,6 +166,12 @@
"style"
:
{
"style"
:
{
"navigationBarTitleText"
:
"缴纳账单"
"navigationBarTitleText"
:
"缴纳账单"
}
}
},
{
"path"
:
"pages/jfjl"
,
"style"
:
{
"navigationBarTitleText"
:
"缴费记录"
}
}
}
]
]
},
},
...
...
pages/wy-bmfw.vue
View file @
db0395ab
...
@@ -73,6 +73,7 @@
...
@@ -73,6 +73,7 @@
onLoad
(
options
)
{
onLoad
(
options
)
{
this
.
getUserInfo
()
this
.
getUserInfo
()
this
.
getXqList
()
this
.
getXqList
()
this
.
getHouseList
()
},
},
methods
:
{
methods
:
{
onXz
()
{
onXz
()
{
...
@@ -142,6 +143,41 @@
...
@@ -142,6 +143,41 @@
this
.
listXq
=
res
.
data
this
.
listXq
=
res
.
data
})
})
},
},
getHouseList
()
{
uni
.
showLoading
({
title
:
''
})
const
than
=
this
;
const
params
=
{
url
:
'
/api/community/myRoomListAll
'
,
method
:
'
GET
'
,
}
than
.
$request
(
params
).
then
(
res
=>
{
if
(
than
.
$wskj
.
isNull
(
res
.
data
))
{
uni
.
hideLoading
()
return
}
than
.
houseList
=
res
.
data
than
.
houseList
.
forEach
(
function
(
item
,
index
)
{
if
(
item
.
room
==
than
.
userInfo
.
room
)
{
than
.
selecteIndex
=
index
}
});
//默认绑定房屋信息
than
.
setHouse
()
})
},
setHouse
()
{
const
params
=
{
url
:
'
/api/community/cut/
'
+
this
.
houseList
[
this
.
selecteIndex
].
communityId
+
"
/
"
+
this
.
houseList
[
this
.
selecteIndex
].
proprietorId
,
}
this
.
$request
(
params
).
then
(
res
=>
{
uni
.
hideLoading
()
uni
.
setStorageSync
(
'
fwInfo
'
,
res
.
data
)
this
.
address
=
res
.
data
.
communityName
})
},
}
}
};
};
...
...
pages/wy-home.vue
View file @
db0395ab
...
@@ -188,11 +188,12 @@
...
@@ -188,11 +188,12 @@
getBannerList
()
{
getBannerList
()
{
const
than
=
this
;
const
than
=
this
;
const
params
=
{
const
params
=
{
url
:
'
/api/slideshow/list
'
,
url
:
'
/api/slideshow/list
?type=1
'
,
method
:
'
GET
'
,
method
:
'
GET
'
,
data
:
{}
data
:
{}
}
}
this
.
$request
(
params
).
then
(
res
=>
{
this
.
$request
(
params
).
then
(
res
=>
{
than
.
bannerList
=
[];
res
.
data
.
forEach
(
function
(
item
,
index
)
{
res
.
data
.
forEach
(
function
(
item
,
index
)
{
than
.
bannerList
.
push
(
item
.
url
)
than
.
bannerList
.
push
(
item
.
url
)
});
});
...
@@ -258,6 +259,9 @@
...
@@ -258,6 +259,9 @@
})
})
},
},
getHouseList
()
{
getHouseList
()
{
uni
.
showLoading
({
title
:
''
})
const
than
=
this
;
const
than
=
this
;
const
params
=
{
const
params
=
{
url
:
'
/api/community/myRoomListAll
'
,
url
:
'
/api/community/myRoomListAll
'
,
...
@@ -265,6 +269,7 @@
...
@@ -265,6 +269,7 @@
}
}
than
.
$request
(
params
).
then
(
res
=>
{
than
.
$request
(
params
).
then
(
res
=>
{
if
(
than
.
$wskj
.
isNull
(
res
.
data
))
{
if
(
than
.
$wskj
.
isNull
(
res
.
data
))
{
uni
.
hideLoading
()
return
return
}
}
than
.
houseList
=
res
.
data
than
.
houseList
=
res
.
data
...
@@ -283,6 +288,7 @@
...
@@ -283,6 +288,7 @@
this
.
selecteIndex
].
proprietorId
,
this
.
selecteIndex
].
proprietorId
,
}
}
this
.
$request
(
params
).
then
(
res
=>
{
this
.
$request
(
params
).
then
(
res
=>
{
uni
.
hideLoading
()
uni
.
setStorageSync
(
'
fwInfo
'
,
res
.
data
)
uni
.
setStorageSync
(
'
fwInfo
'
,
res
.
data
)
this
.
address
=
res
.
data
.
communityName
this
.
address
=
res
.
data
.
communityName
})
})
...
...
pages/wy-mine.vue
View file @
db0395ab
...
@@ -74,11 +74,12 @@
...
@@ -74,11 +74,12 @@
getBannerList
()
{
getBannerList
()
{
const
than
=
this
;
const
than
=
this
;
const
params
=
{
const
params
=
{
url
:
'
/api/slideshow/list
'
,
url
:
'
/api/slideshow/list
?type=1
'
,
method
:
'
GET
'
,
method
:
'
GET
'
,
data
:
{}
data
:
{}
}
}
this
.
$request
(
params
).
then
(
res
=>
{
this
.
$request
(
params
).
then
(
res
=>
{
than
.
bannerList
=
[];
res
.
data
.
forEach
(
function
(
item
,
index
)
{
res
.
data
.
forEach
(
function
(
item
,
index
)
{
than
.
bannerList
.
push
(
item
.
url
)
than
.
bannerList
.
push
(
item
.
url
)
});
});
...
...
pagesMain/pages/jfjl.vue
0 → 100644
View file @
db0395ab
<
template
>
<view
class=
"center"
>
<scroll-view
scroll-y
style=
"height:100%;"
>
<view
v-if=
"list.length!=0"
v-for=
"(item, index) in list"
:key=
"index"
>
<view
class=
"flex-column fs-24 mb-20"
style=
"text-align: left;"
>
<text
class=
"fs-28 h-80 lh-80 plr-25"
style=
"background:#F2F2F2;"
>
{{
item
.
updateTime
.
slice
(
0
,
7
)
}}
</text>
<view
class=
"flex-row-between plr-25 mtb-20"
>
<text
style=
"color: #999999;"
>
缴费渠道:线上缴费
</text>
<text>
{{
item
.
payAmount
}}
</text>
</view>
<text
class=
"plr-25"
style=
"color: #999999;"
>
{{
item
.
updateTime
.
slice
(
5
)
}}
</text>
</view>
</view>
<view
v-if=
"list.length==0"
style=
"padding-top: 300rpx;"
>
<u-empty
mode=
"data"
></u-empty>
</view>
</scroll-view>
</view>
</
template
>
<
script
>
export
default
{
data
()
{
return
{
type
:
''
,
list
:
[],
};
},
onLoad
(
options
)
{
this
.
type
=
options
.
type
this
.
getList
()
},
methods
:
{
getList
()
{
const
params
=
{
url
:
'
/api/payRecord/listAll?type=
'
+
this
.
type
,
method
:
'
GET
'
,
}
this
.
$request
(
params
).
then
(
res
=>
{
this
.
list
=
res
.
data
})
},
}
};
</
script
>
<
style
>
.center
{
height
:
100vh
;
display
:
flex
;
flex-direction
:
column
;
background
:
white
;
overflow-y
:
auto
;
}
</
style
>
\ No newline at end of file
pagesMain/pages/jnzd.vue
View file @
db0395ab
...
@@ -38,6 +38,9 @@
...
@@ -38,6 +38,9 @@
<view
class=
"fullscreen-btn"
style=
"margin: 0;margin-top: 60rpx;"
@
click=
"onSubmit()"
>
<view
class=
"fullscreen-btn"
style=
"margin: 0;margin-top: 60rpx;"
@
click=
"onSubmit()"
>
立即缴费
立即缴费
</view>
</view>
<view
class=
"fullscreen-btn"
style=
"margin: 0;margin-top: 20rpx;background: #D9D9D9;"
@
click=
"onJfjl()"
>
缴费记录
</view>
</view>
</view>
</view>
</view>
...
@@ -74,6 +77,9 @@
...
@@ -74,6 +77,9 @@
this
.
indexTab
=
index
this
.
indexTab
=
index
this
.
money
=
(
index
+
1
)
*
20
this
.
money
=
(
index
+
1
)
*
20
},
},
onJfjl
()
{
this
.
$wskj
.
to
(
"
/pagesMain/pages/jfjl?type=
"
+
this
.
type
)
},
onSubmit
()
{
onSubmit
()
{
this
.
onCjdd
()
this
.
onCjdd
()
},
},
...
...
pagesMain/pages/jnzd_ccs.vue
View file @
db0395ab
...
@@ -20,6 +20,10 @@
...
@@ -20,6 +20,10 @@
<view
class=
"fullscreen-btn"
style=
"margin: 0;margin-top: 60rpx;"
@
click=
"onSubmit"
>
<view
class=
"fullscreen-btn"
style=
"margin: 0;margin-top: 60rpx;"
@
click=
"onSubmit"
>
立即缴费
立即缴费
</view>
</view>
<view
class=
"fullscreen-btn"
style=
"margin: 0;margin-top: 20rpx;background: #D9D9D9;"
@
click=
"$wskj.to('/pagesMain/pages/jfjl?type=6')"
>
缴费记录
</view>
<u-picker
:show=
"show"
:columns=
"columns"
closeOnClickOverlay=
"true"
@
cancel=
"close"
@
close=
"close"
<u-picker
:show=
"show"
:columns=
"columns"
closeOnClickOverlay=
"true"
@
cancel=
"close"
@
close=
"close"
@
confirm=
"confirm"
></u-picker>
@
confirm=
"confirm"
></u-picker>
<u-picker
:show=
"carShow"
:columns=
"list"
closeOnClickOverlay=
"true"
@
cancel=
"closeCar"
@
close=
"closeCar"
<u-picker
:show=
"carShow"
:columns=
"list"
closeOnClickOverlay=
"true"
@
cancel=
"closeCar"
@
close=
"closeCar"
...
...
pagesMain/pages/jnzd_czf.vue
View file @
db0395ab
...
@@ -20,9 +20,13 @@
...
@@ -20,9 +20,13 @@
<view
class=
"fullscreen-btn"
style=
"margin: 0;margin-top: 60rpx;"
@
click=
"onSubmit"
>
<view
class=
"fullscreen-btn"
style=
"margin: 0;margin-top: 60rpx;"
@
click=
"onSubmit"
>
立即缴费
立即缴费
</view>
</view>
<view
class=
"fullscreen-btn"
style=
"margin: 0;margin-top: 20rpx;background: #D9D9D9;"
@
click=
"$wskj.to('/pagesMain/pages/jfjl?type=5')"
>
缴费记录
</view>
<u-picker
:show=
"show"
:columns=
"columns"
closeOnClickOverlay=
"true"
@
cancel=
"close"
@
close=
"close"
<u-picker
:show=
"show"
:columns=
"columns"
closeOnClickOverlay=
"true"
@
cancel=
"close"
@
close=
"close"
@
confirm=
"confirm"
></u-picker>
@
confirm=
"confirm"
></u-picker>
<u-picker
:show=
"carShow"
:columns=
"list"
closeOnClickOverlay=
"true"
@
cancel=
"closeCar"
@
close=
"closeCar"
<u-picker
:show=
"carShow"
:columns=
"list
Car
"
closeOnClickOverlay=
"true"
@
cancel=
"closeCar"
@
close=
"closeCar"
@
confirm=
"confirmCar"
></u-picker>
@
confirm=
"confirmCar"
></u-picker>
</view>
</view>
</
template
>
</
template
>
...
@@ -33,9 +37,6 @@
...
@@ -33,9 +37,6 @@
return
{
return
{
show
:
false
,
show
:
false
,
carShow
:
false
,
carShow
:
false
,
list
:
[
[]
],
columns
:
[
columns
:
[
[
'
1个月
'
,
'
3个月
'
,
'
6个月
'
,
'
9个月
'
,
'
12个月
'
]
[
'
1个月
'
,
'
3个月
'
,
'
6个月
'
,
'
9个月
'
,
'
12个月
'
]
],
],
...
@@ -45,18 +46,17 @@
...
@@ -45,18 +46,17 @@
carportId
:
''
,
carportId
:
''
,
money
:
'
0
'
,
money
:
'
0
'
,
carIndex
:
0
,
carIndex
:
0
,
listCar
:
[
[]
],
list
:
[],
};
};
},
},
onLoad
(
options
)
{
onLoad
(
options
)
{
this
.
type
=
options
.
type
this
.
type
=
options
.
type
this
.
userinfo
=
uni
.
getStorageSync
(
"
userInfo
"
)
this
.
userinfo
=
uni
.
getStorageSync
(
"
userInfo
"
)
//1出售车库 2临时车辆 3固定车辆 4租赁车库)
this
.
getListCar
()
this
.
userinfo
.
carportVoList
.
forEach
(
item
=>
{
if
(
item
.
type
==
4
)
{
this
.
list
[
0
].
push
(
item
.
carportNumber
)
}
})
},
},
methods
:
{
methods
:
{
open
()
{
open
()
{
...
@@ -74,10 +74,14 @@
...
@@ -74,10 +74,14 @@
},
},
confirm
(
e
)
{
confirm
(
e
)
{
if
(
this
.
$wskj
.
isNull
(
this
.
carportId
))
{
this
.
$wskj
.
toast
(
'
请选择车位号
'
)
return
}
this
.
show
=
false
this
.
show
=
false
this
.
monthsNumber
=
e
.
value
[
0
]
this
.
monthsNumber
=
e
.
value
[
0
]
this
.
money
=
parseFloat
(
this
.
monthsNumber
.
replace
(
'
个月
'
,
''
))
*
parseFloat
(
this
.
userinfo
.
carportVoList
[
this
this
.
money
=
parseFloat
(
this
.
monthsNumber
.
replace
(
'
个月
'
,
''
))
*
parseFloat
(
this
.
list
[
this
.
carIndex
]
.
carIndex
].
monthMoney
);
.
monthMoney
);
this
.
money
=
this
.
money
.
toFixed
(
2
)
this
.
money
=
this
.
money
.
toFixed
(
2
)
console
.
log
(
"
LMG
"
,
this
.
money
)
console
.
log
(
"
LMG
"
,
this
.
money
)
...
@@ -86,7 +90,7 @@
...
@@ -86,7 +90,7 @@
this
.
carShow
=
false
this
.
carShow
=
false
this
.
carNumber
=
e
.
value
[
0
]
this
.
carNumber
=
e
.
value
[
0
]
this
.
carIndex
=
e
.
indexs
[
0
]
this
.
carIndex
=
e
.
indexs
[
0
]
this
.
carportId
=
this
.
userinfo
.
carportVoL
ist
[
e
.
indexs
[
0
]].
carportId
this
.
carportId
=
this
.
l
ist
[
e
.
indexs
[
0
]].
carportId
},
},
onSubmit
()
{
onSubmit
()
{
if
(
this
.
$wskj
.
isNull
(
this
.
carportId
))
{
if
(
this
.
$wskj
.
isNull
(
this
.
carportId
))
{
...
@@ -99,6 +103,25 @@
...
@@ -99,6 +103,25 @@
}
}
this
.
onCjdd
()
this
.
onCjdd
()
},
},
getListCar
()
{
const
params
=
{
url
:
'
/api/carport/listByType?type=2
'
,
method
:
'
GET
'
,
}
this
.
$request
(
params
).
then
(
res
=>
{
if
(
this
.
$wskj
.
isNull
(
res
.
data
))
{
return
}
this
.
list
=
res
.
data
res
.
data
.
forEach
(
item
=>
{
this
.
listCar
[
0
].
push
(
item
.
carportNumber
)
})
//默认第一个车位
this
.
carIndex
=
0
this
.
carNumber
=
res
.
data
[
0
].
carportNumber
this
.
carportId
=
res
.
data
[
0
].
carportId
})
},
onCjdd
()
{
onCjdd
()
{
const
params
=
{
const
params
=
{
url
:
'
/api/liveBill/add
'
,
url
:
'
/api/liveBill/add
'
,
...
...
pagesMain/pages/jnzd_qt.vue
View file @
db0395ab
...
@@ -30,7 +30,10 @@
...
@@ -30,7 +30,10 @@
<view
class=
"fullscreen-btn"
style=
"margin: 0;margin-top: 60rpx;"
@
click=
"onSubmit()"
>
<view
class=
"fullscreen-btn"
style=
"margin: 0;margin-top: 60rpx;"
@
click=
"onSubmit()"
>
立即缴费
立即缴费
</view>
</view>
<view
class=
"fullscreen-btn"
style=
"margin: 0;margin-top: 20rpx;background: #D9D9D9;"
@
click=
"$wskj.to('/pagesMain/pages/jfjl?type=7')"
>
缴费记录
</view>
</view>
</view>
</
template
>
</
template
>
...
...
pagesMain/pages/jnzd_tcf.vue
View file @
db0395ab
...
@@ -22,7 +22,7 @@
...
@@ -22,7 +22,7 @@
</view>
</view>
<u-picker
:show=
"show"
:columns=
"columns"
closeOnClickOverlay=
"true"
@
cancel=
"close"
@
close=
"close"
<u-picker
:show=
"show"
:columns=
"columns"
closeOnClickOverlay=
"true"
@
cancel=
"close"
@
close=
"close"
@
confirm=
"confirm"
></u-picker>
@
confirm=
"confirm"
></u-picker>
<u-picker
:show=
"carShow"
:columns=
"list"
closeOnClickOverlay=
"true"
@
cancel=
"closeCar"
@
close=
"closeCar"
<u-picker
:show=
"carShow"
:columns=
"list
Car
"
closeOnClickOverlay=
"true"
@
cancel=
"closeCar"
@
close=
"closeCar"
@
confirm=
"confirmCar"
></u-picker>
@
confirm=
"confirmCar"
></u-picker>
</view>
</view>
</
template
>
</
template
>
...
@@ -33,9 +33,6 @@
...
@@ -33,9 +33,6 @@
return
{
return
{
show
:
false
,
show
:
false
,
carShow
:
false
,
carShow
:
false
,
list
:
[
[]
],
columns
:
[
columns
:
[
[
'
1个月
'
,
'
3个月
'
,
'
6个月
'
,
'
9个月
'
,
'
12个月
'
]
[
'
1个月
'
,
'
3个月
'
,
'
6个月
'
,
'
9个月
'
,
'
12个月
'
]
],
],
...
@@ -45,18 +42,18 @@
...
@@ -45,18 +42,18 @@
carportId
:
''
,
carportId
:
''
,
money
:
''
,
money
:
''
,
carIndex
:
0
,
carIndex
:
0
,
listCar
:
[
[]
],
list
:
[],
};
};
},
},
onLoad
(
options
)
{
onLoad
(
options
)
{
this
.
type
=
options
.
type
this
.
type
=
options
.
type
this
.
userinfo
=
uni
.
getStorageSync
(
"
userInfo
"
)
this
.
userinfo
=
uni
.
getStorageSync
(
"
userInfo
"
)
//1出售车库 2临时车辆 3固定车辆 4租赁车库)
this
.
getListCar
()
this
.
userinfo
.
carportVoList
.
forEach
(
item
=>
{
if
(
item
.
type
==
3
)
{
this
.
list
[
0
].
push
(
item
.
carportNumber
)
}
})
},
},
methods
:
{
methods
:
{
open
()
{
open
()
{
...
@@ -74,19 +71,22 @@
...
@@ -74,19 +71,22 @@
},
},
confirm
(
e
)
{
confirm
(
e
)
{
if
(
this
.
$wskj
.
isNull
(
this
.
carportId
))
{
this
.
$wskj
.
toast
(
'
请选择车位号
'
)
return
}
this
.
show
=
false
this
.
show
=
false
this
.
monthsNumber
=
e
.
value
[
0
]
this
.
monthsNumber
=
e
.
value
[
0
]
this
.
money
=
parseFloat
(
this
.
monthsNumber
.
replace
(
'
个月
'
,
''
))
*
parseFloat
(
this
.
userinfo
.
carportVoList
[
this
this
.
money
=
parseFloat
(
this
.
monthsNumber
.
replace
(
'
个月
'
,
''
))
*
parseFloat
(
this
.
list
[
this
.
carIndex
]
.
carIndex
].
monthMoney
);
.
monthMoney
);
this
.
money
=
this
.
money
.
toFixed
(
2
)
this
.
money
=
this
.
money
.
toFixed
(
2
)
console
.
log
(
"
LMG
"
,
this
.
money
)
console
.
log
(
"
LMG
"
,
this
.
money
)
},
},
confirmCar
(
e
)
{
confirmCar
(
e
)
{
this
.
carShow
=
false
this
.
carShow
=
false
this
.
carNumber
=
e
.
value
[
0
]
this
.
carNumber
=
e
.
value
[
0
]
this
.
carIndex
=
e
.
indexs
[
0
]
this
.
carIndex
=
e
.
indexs
[
0
]
this
.
carportId
=
this
.
userinfo
.
carportVoL
ist
[
e
.
indexs
[
0
]].
carportId
this
.
carportId
=
this
.
l
ist
[
e
.
indexs
[
0
]].
carportId
},
},
onSubmit
()
{
onSubmit
()
{
if
(
this
.
$wskj
.
isNull
(
this
.
carportId
))
{
if
(
this
.
$wskj
.
isNull
(
this
.
carportId
))
{
...
@@ -99,6 +99,25 @@
...
@@ -99,6 +99,25 @@
}
}
this
.
onCjdd
()
this
.
onCjdd
()
},
},
getListCar
()
{
const
params
=
{
url
:
'
/api/carport/listByType?type=1
'
,
method
:
'
GET
'
,
}
this
.
$request
(
params
).
then
(
res
=>
{
if
(
this
.
$wskj
.
isNull
(
res
.
data
))
{
return
}
this
.
list
=
res
.
data
res
.
data
.
forEach
(
item
=>
{
this
.
listCar
[
0
].
push
(
item
.
carportNumber
)
})
//默认第一个车位
this
.
carIndex
=
0
this
.
carNumber
=
res
.
data
[
0
].
carportNumber
this
.
carportId
=
res
.
data
[
0
].
carportId
})
},
onCjdd
()
{
onCjdd
()
{
const
params
=
{
const
params
=
{
url
:
'
/api/liveBill/add
'
,
url
:
'
/api/liveBill/add
'
,
...
...
pagesMain/pages/jnzd_tcfmx.vue
View file @
db0395ab
...
@@ -44,7 +44,8 @@
...
@@ -44,7 +44,8 @@
</view>
</view>
<view
class=
"overflow-y"
style=
"background: white;"
>
<view
class=
"overflow-y"
style=
"background: white;"
>
<scroll-view
scroll-y
style=
"height:100%;"
>
<scroll-view
scroll-y
style=
"height:100%;"
>
<view
v-if=
"indexTab==1"
v-for=
"(item, index) in djList"
:key=
"index"
@
click=
"onClick(index)"
>
<view
v-if=
"indexTab==1&&djList.length!=0"
v-for=
"(item, index) in djList"
:key=
"index"
@
click=
"onClick(index)"
>
<view
class=
"flex-column fs-24 mar-20 pb-20"
style=
"border-bottom: 1rpx solid #E9E9E9;"
>
<view
class=
"flex-column fs-24 mar-20 pb-20"
style=
"border-bottom: 1rpx solid #E9E9E9;"
>
<view
class=
"flex v-center fs-28"
>
<view
class=
"flex v-center fs-28"
>
<text>
{{
item
.
month
}}
</text>
<text>
{{
item
.
month
}}
</text>
...
@@ -60,7 +61,11 @@
...
@@ -60,7 +61,11 @@
</view>
</view>
</view>
</view>
</view>
</view>
<view
v-if=
"indexTab==2"
v-for=
"(item, index) in jfjlList"
:key=
"index"
@
click=
"onClick(index)"
>
<view
v-if=
"indexTab==1&&djList.length==0"
style=
"padding-top: 100rpx;"
>
<u-empty
mode=
"data"
></u-empty>
</view>
<view
v-if=
"indexTab==2&&jfjlList.length==0"
v-for=
"(item, index) in jfjlList"
:key=
"index"
@
click=
"onClick(index)"
>
<view
class=
"flex-column fs-24 mb-20"
style=
"text-align: left;"
>
<view
class=
"flex-column fs-24 mb-20"
style=
"text-align: left;"
>
<text
class=
"fs-28 h-80 lh-80 plr-25"
<text
class=
"fs-28 h-80 lh-80 plr-25"
style=
"background:#F2F2F2;"
>
{{
item
.
updateTime
.
slice
(
0
,
7
)
}}
</text>
style=
"background:#F2F2F2;"
>
{{
item
.
updateTime
.
slice
(
0
,
7
)
}}
</text>
...
@@ -71,8 +76,11 @@
...
@@ -71,8 +76,11 @@
<text
class=
"plr-25"
style=
"color: #999999;"
>
{{
item
.
updateTime
.
slice
(
5
)
}}
</text>
<text
class=
"plr-25"
style=
"color: #999999;"
>
{{
item
.
updateTime
.
slice
(
5
)
}}
</text>
</view>
</view>
</view>
</view>
<view
v-if=
"indexTab==2&&jfjlList.length==0"
style=
"padding-top: 100rpx;"
>
<u-empty
mode=
"data"
></u-empty>
</view>
</scroll-view>
</scroll-view>
<u-picker
:show=
"show"
:columns=
"
columns
"
closeOnClickOverlay=
"true"
@
cancel=
"close"
@
close=
"close"
<u-picker
:show=
"show"
:columns=
"
listCar
"
closeOnClickOverlay=
"true"
@
cancel=
"close"
@
close=
"close"
@
confirm=
"confirm"
></u-picker>
@
confirm=
"confirm"
></u-picker>
</view>
</view>
</view>
</view>
...
@@ -86,27 +94,23 @@
...
@@ -86,27 +94,23 @@
indexNumber
:
0
,
indexNumber
:
0
,
type
:
0
,
type
:
0
,
show
:
false
,
show
:
false
,
columns
:
[
[]
],
carNumber
:
''
,
carNumber
:
''
,
userinfo
:
''
,
userinfo
:
''
,
jfjlList
:
[],
jfjlList
:
[],
djList
:
[],
djList
:
[],
carportId
:
''
,
carportId
:
''
,
money
:
0
,
money
:
0
,
listCar
:
[
[]
],
list
:
[],
};
};
},
},
onLoad
(
options
)
{
onLoad
(
options
)
{
this
.
type
=
options
.
type
this
.
type
=
options
.
type
this
.
userinfo
=
uni
.
getStorageSync
(
"
userInfo
"
)
this
.
userinfo
=
uni
.
getStorageSync
(
"
userInfo
"
)
//1出售车库 2临时车辆 3固定车辆 4租赁车库)
this
.
getListCar
()
this
.
userinfo
.
carportVoList
.
forEach
(
item
=>
{
if
(
item
.
type
==
3
)
{
this
.
columns
[
0
].
push
(
item
.
carportNumber
)
}
})
this
.
getJfjlList
()
this
.
getJfjlList
()
},
},
methods
:
{
methods
:
{
...
@@ -116,6 +120,14 @@
...
@@ -116,6 +120,14 @@
return
return
}
}
this
.
indexTab
=
index
this
.
indexTab
=
index
if
(
index
==
1
)
{
this
.
getDjList
()
return
}
if
(
index
==
2
)
{
this
.
getJfjlList
()
return
}
},
},
onClick
(
index
)
{
onClick
(
index
)
{
this
.
indexNumber
=
index
this
.
indexNumber
=
index
...
@@ -129,9 +141,27 @@
...
@@ -129,9 +141,27 @@
confirm
(
e
)
{
confirm
(
e
)
{
this
.
show
=
false
this
.
show
=
false
this
.
carNumber
=
e
.
value
[
0
]
this
.
carNumber
=
e
.
value
[
0
]
this
.
carportId
=
this
.
userinfo
.
carportVoL
ist
[
e
.
indexs
[
0
]].
carportId
this
.
carportId
=
this
.
l
ist
[
e
.
indexs
[
0
]].
carportId
this
.
getDjList
()
this
.
getDjList
()
},
},
getListCar
()
{
const
params
=
{
url
:
'
/api/carport/listByType?type=1
'
,
method
:
'
GET
'
,
}
this
.
$request
(
params
).
then
(
res
=>
{
if
(
this
.
$wskj
.
isNull
(
res
.
data
))
{
return
}
this
.
list
=
res
.
data
res
.
data
.
forEach
(
item
=>
{
this
.
listCar
[
0
].
push
(
item
.
carportNumber
)
})
//默认第一个车位
this
.
carNumber
=
res
.
data
[
0
].
carportNumber
this
.
carportId
=
res
.
data
[
0
].
carportId
})
},
//类型(1电费 2水费 3物业费 4车位管理费 5车位出租费 6储藏室出租 7其他费用)
//类型(1电费 2水费 3物业费 4车位管理费 5车位出租费 6储藏室出租 7其他费用)
getDjList
()
{
getDjList
()
{
const
params
=
{
const
params
=
{
...
@@ -139,9 +169,9 @@
...
@@ -139,9 +169,9 @@
method
:
'
GET
'
,
method
:
'
GET
'
,
}
}
this
.
$request
(
params
).
then
(
res
=>
{
this
.
$request
(
params
).
then
(
res
=>
{
let
money
=
0
this
.
djList
=
res
.
data
this
.
djList
=
res
.
data
const
money
=
0
res
.
data
.
forEach
(
item
=>
{
this
.
res
.
data
.
forEach
(
item
=>
{
money
=
money
+
parseFloat
(
item
.
money
)
money
=
money
+
parseFloat
(
item
.
money
)
})
})
this
.
money
=
money
.
toFixed
(
2
)
this
.
money
=
money
.
toFixed
(
2
)
...
...
pagesMain/pages/jnzd_wyf.vue
View file @
db0395ab
...
@@ -5,11 +5,11 @@
...
@@ -5,11 +5,11 @@
<text
class=
"fs-32 fw-700 mt-30"
style=
"text-align: left;padding-left: 30rpx;"
>
物业费
</text>
<text
class=
"fs-32 fw-700 mt-30"
style=
"text-align: left;padding-left: 30rpx;"
>
物业费
</text>
<text
class=
"fs-28 mt-30"
style=
"text-align: left;padding-left: 30rpx;"
>
房屋
</text>
<text
class=
"fs-28 mt-30"
style=
"text-align: left;padding-left: 30rpx;"
>
房屋
</text>
<view
class=
"flex-row-between mar-30 br-4 pad-25"
style=
"background: #F2F2F2;"
>
<view
class=
"flex-row-between mar-30 br-4 pad-25"
style=
"background: #F2F2F2;"
>
<text>
{{
user
i
nfo
.
room
}}
</text>
<text>
{{
user
I
nfo
.
room
}}
</text>
</view>
</view>
<text
class=
"fs-28 mt-30"
style=
"text-align: left;padding-left: 30rpx;"
>
房屋面积
</text>
<text
class=
"fs-28 mt-30"
style=
"text-align: left;padding-left: 30rpx;"
>
房屋面积
</text>
<view
class=
"flex-row-between mar-30 br-4 pad-25"
style=
"background: #F2F2F2;"
>
<view
class=
"flex-row-between mar-30 br-4 pad-25"
style=
"background: #F2F2F2;"
>
<text>
{{
user
i
nfo
.
sqm
}}
m²
</text>
<text>
{{
user
I
nfo
.
sqm
}}
m²
</text>
</view>
</view>
<text
class=
"fs-28 mt-30"
style=
"text-align: left;padding-left: 30rpx;"
>
缴费时长
</text>
<text
class=
"fs-28 mt-30"
style=
"text-align: left;padding-left: 30rpx;"
>
缴费时长
</text>
<view
class=
"flex-row-between mar-30 br-4 pad-25"
style=
"background: #F2F2F2;"
@
click=
"open"
>
<view
class=
"flex-row-between mar-30 br-4 pad-25"
style=
"background: #F2F2F2;"
@
click=
"open"
>
...
@@ -39,13 +39,13 @@
...
@@ -39,13 +39,13 @@
[
'
1个月
'
,
'
3个月
'
,
'
6个月
'
,
'
9个月
'
,
'
12个月
'
]
[
'
1个月
'
,
'
3个月
'
,
'
6个月
'
,
'
9个月
'
,
'
12个月
'
]
],
],
monthsNumber
:
''
,
monthsNumber
:
''
,
user
i
nfo
:
''
,
user
I
nfo
:
''
,
money
:
0
,
money
:
0
,
};
};
},
},
onLoad
(
options
)
{
onLoad
(
options
)
{
this
.
type
=
options
.
type
this
.
type
=
options
.
type
this
.
userinfo
=
uni
.
getStorageSync
(
"
userInfo
"
)
this
.
getUserInfo
(
)
},
},
methods
:
{
methods
:
{
...
@@ -58,7 +58,7 @@
...
@@ -58,7 +58,7 @@
confirm
(
e
)
{
confirm
(
e
)
{
this
.
show
=
false
this
.
show
=
false
this
.
monthsNumber
=
e
.
value
[
0
]
this
.
monthsNumber
=
e
.
value
[
0
]
this
.
money
=
parseFloat
(
this
.
monthsNumber
.
replace
(
'
个月
'
,
''
))
*
parseFloat
(
this
.
user
i
nfo
.
monthMoney
);
this
.
money
=
parseFloat
(
this
.
monthsNumber
.
replace
(
'
个月
'
,
''
))
*
parseFloat
(
this
.
user
I
nfo
.
monthMoney
);
this
.
money
=
this
.
money
.
toFixed
(
2
)
this
.
money
=
this
.
money
.
toFixed
(
2
)
console
.
log
(
this
.
money
)
console
.
log
(
this
.
money
)
},
},
...
@@ -69,6 +69,18 @@
...
@@ -69,6 +69,18 @@
}
}
this
.
onCjdd
()
this
.
onCjdd
()
},
},
getUserInfo
()
{
const
params
=
{
url
:
'
/api/login/userInfo
'
,
method
:
'
GET
'
,
data
:
{}
}
this
.
$request
(
params
).
then
(
res
=>
{
this
.
userInfo
=
res
.
data
//uni.setStorageSync('userInfo', res.data)
})
},
onCjdd
()
{
onCjdd
()
{
const
params
=
{
const
params
=
{
url
:
'
/api/liveBill/add
'
,
url
:
'
/api/liveBill/add
'
,
...
...
pagesMain/pages/jnzd_wyfmx.vue
View file @
db0395ab
...
@@ -40,6 +40,9 @@
...
@@ -40,6 +40,9 @@
</view>
</view>
</view>
</view>
</view>
</view>
<view
v-if=
"indexTab==1&&djList.length==0"
style=
"padding-top: 100rpx;"
>
<u-empty
mode=
"data"
></u-empty>
</view>
<view
v-if=
"indexTab==2"
v-for=
"(item, index) in jfjlList"
:key=
"index"
@
click=
"onClick(index)"
>
<view
v-if=
"indexTab==2"
v-for=
"(item, index) in jfjlList"
:key=
"index"
@
click=
"onClick(index)"
>
<view
class=
"flex-column fs-24 mb-20"
style=
"text-align: left;"
>
<view
class=
"flex-column fs-24 mb-20"
style=
"text-align: left;"
>
<text
class=
"fs-28 h-80 lh-80 plr-25"
<text
class=
"fs-28 h-80 lh-80 plr-25"
...
@@ -51,6 +54,9 @@
...
@@ -51,6 +54,9 @@
<text
class=
"plr-25"
style=
"color: #999999;"
>
{{
item
.
updateTime
.
slice
(
5
)
}}
</text>
<text
class=
"plr-25"
style=
"color: #999999;"
>
{{
item
.
updateTime
.
slice
(
5
)
}}
</text>
</view>
</view>
</view>
</view>
<view
v-if=
"indexTab==2&&jfjlList.length==0"
style=
"padding-top: 100rpx;"
>
<u-empty
mode=
"data"
></u-empty>
</view>
</scroll-view>
</scroll-view>
</view>
</view>
</view>
</view>
...
@@ -84,6 +90,14 @@
...
@@ -84,6 +90,14 @@
return
return
}
}
this
.
indexTab
=
index
this
.
indexTab
=
index
if
(
index
==
1
)
{
this
.
getDjList
()
return
}
if
(
index
==
2
)
{
this
.
getJfjlList
()
return
}
},
},
onClick
(
index
)
{
onClick
(
index
)
{
this
.
indexNumber
=
index
this
.
indexNumber
=
index
...
@@ -95,9 +109,9 @@
...
@@ -95,9 +109,9 @@
method
:
'
GET
'
,
method
:
'
GET
'
,
}
}
this
.
$request
(
params
).
then
(
res
=>
{
this
.
$request
(
params
).
then
(
res
=>
{
let
money
=
0
this
.
djList
=
res
.
data
this
.
djList
=
res
.
data
const
money
=
0
res
.
data
.
forEach
(
item
=>
{
this
.
res
.
data
.
forEach
(
item
=>
{
money
=
money
+
parseFloat
(
item
.
money
)
money
=
money
+
parseFloat
(
item
.
money
)
})
})
this
.
money
=
money
.
toFixed
(
2
)
this
.
money
=
money
.
toFixed
(
2
)
...
...
pagesMine/pages/dkpz.vue
View file @
db0395ab
...
@@ -56,18 +56,18 @@
...
@@ -56,18 +56,18 @@
</view>
</view>
<!-- 水印1 -->
<!-- 水印1 -->
<cover-view
class=
"cameraa"
>
<cover-view
class=
"cameraa"
>
<view
class=
"flex "
style=
"align-items: flex-end;"
>
<
cover-
view
class=
"flex "
style=
"align-items: flex-end;"
>
<
text
class=
"fs-10 fs-50"
>
<
cover-view
class=
"fs-10 fs-50"
>
{{
nowTimes
}}
{{
nowTimes
}}
</
text
>
</
cover-view
>
<
text
class=
"ml-40 fs-32"
>
<
cover-view
class=
"ml-40 fs-32"
>
{{
nowTime
}}
{{
nowTime
}}
</
text
>
</
cover-view
>
</view>
</
cover-
view>
<view
class=
"fs-28 mtb-20 mr-160"
>
<
cover-
view
class=
"fs-28 mtb-20 mr-160"
>
<
text
style=
"white-space: normal;"
>
{{
addRess
}}
</text
>
<
cover-view
style=
"white-space: normal;"
>
{{
addRess
}}
</cover-view
>
</view>
</
cover-
view>
<
view
class=
"hour"
>
{{
txtName
}}
</
view>
<
cover-view
class=
"hour"
>
{{
txtName
}}
</cover-
view>
</cover-view>
</cover-view>
...
@@ -189,6 +189,9 @@
...
@@ -189,6 +189,9 @@
})
})
},
},
takeCanvas
(
imginfo
)
{
takeCanvas
(
imginfo
)
{
uni
.
showLoading
({
title
:
""
})
console
.
log
(
imginfo
)
console
.
log
(
imginfo
)
var
that
=
this
var
that
=
this
// 获取图片信息
// 获取图片信息
...
@@ -198,7 +201,6 @@
...
@@ -198,7 +201,6 @@
that
.
w
=
ress
.
width
+
'
px
'
;
// 设置 canvas 元素宽度
that
.
w
=
ress
.
width
+
'
px
'
;
// 设置 canvas 元素宽度
that
.
h
=
ress
.
height
+
'
px
'
;
// 设置 canvas 元素高度
that
.
h
=
ress
.
height
+
'
px
'
;
// 设置 canvas 元素高度
console
.
log
(
that
.
w
,
that
.
h
)
console
.
log
(
that
.
w
,
that
.
h
)
let
ctx
=
uni
.
createCanvasContext
(
'
firstCanvas
'
);
/** 创建画布 */
let
ctx
=
uni
.
createCanvasContext
(
'
firstCanvas
'
);
/** 创建画布 */
const
maxWidth
=
200
;
// 设置最大行宽
const
maxWidth
=
200
;
// 设置最大行宽
const
lineHeight
=
30
;
// 设置行高
const
lineHeight
=
30
;
// 设置行高
...
@@ -255,6 +257,7 @@
...
@@ -255,6 +257,7 @@
//通过 eventChannel 发送数据
//通过 eventChannel 发送数据
uni
.
$emit
(
'
imageSrc
'
,
that
.
imageSrc
)
uni
.
$emit
(
'
imageSrc
'
,
that
.
imageSrc
)
setTimeout
(()
=>
{
setTimeout
(()
=>
{
uni
.
hideLoading
()
this
.
$wskj
.
goBack
(
1
)
this
.
$wskj
.
goBack
(
1
)
},
600
)
},
600
)
},
},
...
...
pagesMine/pages/wx_lsgd.vue
View file @
db0395ab
...
@@ -55,7 +55,7 @@
...
@@ -55,7 +55,7 @@
<view
style=
"padding-top: 300rpx;"
v-if=
"list.length==0"
>
<view
style=
"padding-top: 300rpx;"
v-if=
"list.length==0"
>
<u-empty
mode=
"data"
></u-empty>
<u-empty
mode=
"data"
></u-empty>
</view>
</view>
<u-popup
:show=
"show"
mode=
"center"
@
close=
"close"
@
open=
"open"
round=
"10"
>
<u-popup
:show=
"show"
mode=
"center"
@
close=
"close"
@
open=
"open"
round=
"10"
v-if=
"show"
>
<view
class=
"flex-column mlr-50 pb-30"
style=
"width:600rpx;text-align: center;"
>
<view
class=
"flex-column mlr-50 pb-30"
style=
"width:600rpx;text-align: center;"
>
<text
class=
"fs-32 fw-600 mtb-20"
>
设置维修费用
</text>
<text
class=
"fs-32 fw-600 mtb-20"
>
设置维修费用
</text>
<input
class=
"br-6 mtb-20 h-100"
placeholder=
"请输入维修费用金额"
type=
"digit"
<input
class=
"br-6 mtb-20 h-100"
placeholder=
"请输入维修费用金额"
type=
"digit"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment