Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gxpt_wechat
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
pseer
gxpt_wechat
Commits
484dd93f
Commit
484dd93f
authored
Nov 28, 2023
by
zhangzhen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
细节优化
parent
6cdac951
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
4 deletions
+10
-4
share.vue
pages/share/share.vue
+10
-4
No files found.
pages/share/share.vue
View file @
484dd93f
...
@@ -62,9 +62,15 @@
...
@@ -62,9 +62,15 @@
return
val
?
moment
(
val
).
format
(
"MM-DD HH:mm"
)
:
'-'
return
val
?
moment
(
val
).
format
(
"MM-DD HH:mm"
)
:
'-'
}
}
},
},
onLoad
(
option
)
{
onLoad
(
query
)
{
console
.
log
(
option
,
909090
)
if
(
query
&&
query
.
q
){
this
.
orderNo
=
option
.
orderNo
;
const
q
=
decodeURIComponent
(
query
.
q
)
// 获取到二维码原始链接内容
if
(
q
){
this
.
orderNo
=
q
.
split
(
"?"
)[
1
].
split
(
'='
)[
1
]
}
}
else
{
this
.
orderNo
=
query
.
orderNo
}
this
.
onLoading
();
this
.
onLoading
();
},
},
onShareAppMessage
()
{
onShareAppMessage
()
{
...
@@ -86,7 +92,7 @@
...
@@ -86,7 +92,7 @@
endTime
:
res
.
data
.
data
.
preEndDate
.
split
(
" "
)[
1
],
endTime
:
res
.
data
.
data
.
preEndDate
.
split
(
" "
)[
1
],
payTime
:
moment
(
res
.
data
.
data
.
payTime
).
format
(
"YYYY-MM-DD HH:mm:ss"
)
payTime
:
moment
(
res
.
data
.
data
.
payTime
).
format
(
"YYYY-MM-DD HH:mm:ss"
)
}
}
this
.
text
=
"http
://www.coujio.com/
share?orderNo="
+
this
.
orderNo
this
.
text
=
"http
s://www.coujio.com/wx-
share?orderNo="
+
this
.
orderNo
})
})
},
},
qrR
(
r
)
{
qrR
(
r
)
{
...
...
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