Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
Y
ybf
Project
Project
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
xulili
ybf
Commits
f84eafcb
Commit
f84eafcb
authored
Mar 20, 2020
by
Z
Browse files
Options
Browse Files
Download
Plain Diff
Z: Dot: Wx: qrCode 优惠券详情页更新至第二版,优惠券详情界面样式改为卡券样式。
parents
9f4685f3
9d44bbc3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
473 additions
and
131 deletions
+473
-131
move.vue
ybf_admin/src/pages/in/contact/components/move.vue
+2
-2
QRCodeOY.png
ybf_wx/public/QRCodeOY.png
+0
-0
index-backup-V1.html
ybf_wx/public/qrCode/index-backup-V1.html
+89
-0
index.html
ybf_wx/public/qrCode/index.html
+251
-69
index.html
ybf_wx/public/qrCodeV2/index.html
+131
-60
No files found.
ybf_admin/src/pages/in/contact/components/move.vue
View file @
f84eafcb
...
...
@@ -108,12 +108,12 @@ export default {
let
groupId
=
this
.
$refs
.
tree
.
getCheckedKeys
()[
0
]
let
data
=
{
departmentId
:
groupId
,
id
:
this
.
idList
[
0
]
id
s
:
this
.
idList
}
moveMember
(
data
).
then
(
res
=>
{
this
.
$emit
(
"handleFinish"
,
false
);
})
},
/* handleChange() {},
handleClose() {
...
...
ybf_wx/public/QRCodeOY.png
0 → 100644
View file @
f84eafcb
255 KB
ybf_wx/public/qrCode/index-backup-V1.html
0 → 100644
View file @
f84eafcb
<!DOCTYPE html>
<html>
<head>
<meta
lang=
"zh-cn"
>
<title>
QRCode
</title>
<script
src=
"https://cdn.jsdelivr.net/npm/axios/dist/axios.min.js"
></script>
<script
src=
'https://code.jquery.com/jquery-3.2.1.min.js'
></script>
<style>
.qr-code
{
text-align
:
center
;
padding-top
:
50px
;
}
.qr-code
>
#image
{
display
:
inline-block
;
width
:
60%
;
}
</style>
</head>
<body>
<!-- <div id="uri">Uri:</div> -->
<div
class=
"qr-code"
>
<img
id=
"image"
src=
""
alt
/>
</div>
<!--<h1>Hola qrCode.</h1>-->
<!-- <img src="./3.png"> -->
<script>
const
cleanUrlAndPostQRInfo
=
()
=>
{
// alert(`--->qrCode: cleanUrlAndPostQRInfo: IN.`)
let
nowUrl
=
''
let
id
=
''
let
actionid
=
''
let
activeId
=
''
let
voucherId
=
''
let
unionId
=
''
nowUrl
=
document
.
location
.
toString
().
slice
(
42
);
// alert(`--->nowUrl =${nowUrl}`)
id
=
String
(
nowUrl
.
split
(
"?"
)[
1
].
slice
(
3
).
split
(
"&"
)[
0
]);
actionid
=
String
(
nowUrl
.
split
(
"?"
)[
1
].
slice
(
3
).
split
(
"&"
)[
1
].
split
(
"="
)[
1
]);
activeId
=
String
(
nowUrl
.
split
(
"?"
)[
1
].
slice
(
3
).
split
(
"&"
)[
2
].
split
(
"="
)[
1
]);
voucherId
=
String
(
nowUrl
.
split
(
"?"
)[
1
].
slice
(
3
).
split
(
"&"
)[
3
].
split
(
"="
)[
1
]);
unionId
=
String
(
nowUrl
.
split
(
"?"
)[
1
].
slice
(
3
).
split
(
"&"
)[
4
].
split
(
"="
)[
1
]);
// let pageUri = `${nowUrl}&detailid=${voucherId}&actionid=${activeId}&unionid=${unionId}`;
let
pageUri
=
`
${
nowUrl
}
`
;
pageUri
=
pageUri
.
split
(
'&'
).
slice
(
0
,
5
).
join
(
'&'
)
let
pageUrl
=
`http://139.155.48.151:8085/workWx/auth/oauth2/wxMiniQrCode?pageUri=
${
pageUri
}
`
;
// document.getElementById('uri').innerHTML = 'Uri=' + String(pageUri)
// alert(`--->qrCode: Ajax: POST: pageUrl = ${pageUrl}`)
// document.location = pageUri
$
.
ajax
({
type
:
"POST"
,
url
:
pageUrl
,
// data: JSON.stringify({ path: "pages/signIn/signIn" }),
data
:
{},
success
:
function
(
res
)
{
// alert(`--->qrCode: ajax: res.`)
// alert(`--->qrCode: ajax: res: res =${JSON.stringify(res)}`)
console
.
log
(
res
)
$
(
'#image'
).
attr
(
'src'
,
res
.
data
)
// $('#image').attr('src', 'http://qywx2.100smartdata.com/qrCode/1584512690487.jpeg')
},
error
:
function
(
data
)
{
alert
(
`--->qrCode: ajax: err.`
)
alert
(
`--->qrCode: ajax: err: err =
${
JSON
.
stringify
(
err
)}
`
)
alert
(
'error'
+
JSON
.
stringify
(
data
))
console
.
log
(
data
);
}
});
}
const
__main
=
()
=>
{
cleanUrlAndPostQRInfo
()
}
__main
()
</script>
</body>
</html>
\ No newline at end of file
ybf_wx/public/qrCode/index.html
View file @
f84eafcb
This diff is collapsed.
Click to expand it.
ybf_wx/public/qrCodeV2/index.html
View file @
f84eafcb
This diff is collapsed.
Click to expand it.
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