Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Sign in
Toggle navigation
X
xzf_uniapp-wechat-web
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
李智书
xzf_uniapp-wechat-web
Commits
688dcedf
Commit
688dcedf
authored
Mar 22, 2022
by
李智书
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.修改缴费项目;
parent
e46ed571
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
4 deletions
+11
-4
src/pages/StudentPayment/PayOrderDetails/PayOrderDetails.vue
src/pages/StudentPayment/PayOrderDetails/PayOrderDetails.vue
+3
-1
src/pages/StudentPayment/PayProject/PayProject.vue
src/pages/StudentPayment/PayProject/PayProject.vue
+8
-3
No files found.
src/pages/StudentPayment/PayOrderDetails/PayOrderDetails.vue
View file @
688dcedf
...
@@ -144,7 +144,9 @@
...
@@ -144,7 +144,9 @@
PaymentRsults
:
-
1
,
PaymentRsults
:
-
1
,
allData
:
{},
allData
:
{},
// 交费项目详情信息
// 交费项目详情信息
ChargeProDetail
:
{},
ChargeProDetail
:
{
descInfo
:
''
},
// 备注信息
// 备注信息
remarks
:
""
,
remarks
:
""
,
remarksType
:
[
"
备注
"
,
"
邮箱
"
,
"
手机号码
"
,
"
身份证
"
],
remarksType
:
[
"
备注
"
,
"
邮箱
"
,
"
手机号码
"
,
"
身份证
"
],
...
...
src/pages/StudentPayment/PayProject/PayProject.vue
View file @
688dcedf
...
@@ -23,7 +23,7 @@
...
@@ -23,7 +23,7 @@
</text>
</text>
</view>
</view>
<view
class=
"listitem botto"
style=
"align-items: baseline;"
>
<view
class=
"listitem botto"
style=
"align-items: baseline;"
>
<van-icon
name=
"clock-o"
/>
<text
class=
"Tips"
>
{{
item
.
diffTime
}}
天后
收费结束
</text>
<van-icon
name=
"clock-o"
/>
<text
class=
"Tips"
>
{{
item
.
diffTime
}}
收费结束
</text>
</view>
</view>
</view>
</view>
<view
class=
"bottomtxt"
>
已经到底啦~
</view>
<view
class=
"bottomtxt"
>
已经到底啦~
</view>
...
@@ -156,8 +156,13 @@
...
@@ -156,8 +156,13 @@
let
tmp
=
data
.
data
.
records
;
let
tmp
=
data
.
data
.
records
;
let
newArr
=
[]
let
newArr
=
[]
for
(
let
s
of
tmp
)
{
for
(
let
s
of
tmp
)
{
let
diffTime
=
dayjs
().
diff
(
s
.
endTime
,
'
day
'
);
let
diffTime
=
dayjs
(
s
.
endTime
).
diff
(
new
Date
(),
'
hour
'
);
s
.
diffTime
=
Math
.
abs
(
diffTime
)
==
0
?
"
今
"
:
Math
.
abs
(
diffTime
)
if
(
diffTime
>
24
)
{
diffTime
=
dayjs
(
s
.
endTime
).
diff
(
new
Date
(),
'
day
'
);
s
.
diffTime
=
diffTime
+
'
天后
'
}
else
{
s
.
diffTime
=
diffTime
+
'
小时后
'
}
s
.
amountMust
=
(
s
.
amountMust
/
100
).
toFixed
(
2
)
s
.
amountMust
=
(
s
.
amountMust
/
100
).
toFixed
(
2
)
newArr
.
push
(
s
)
newArr
.
push
(
s
)
}
}
...
...
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