Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
marketing
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
marketing-web
marketing
Commits
e394e5c9
Commit
e394e5c9
authored
Jul 12, 2019
by
chenxin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:code
parent
3364e791
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
6 deletions
+6
-6
index.html
dist/index.html
+2
-2
manifest.5c923e7a26221fc15541.js
dist/static/js/manifest.5c923e7a26221fc15541.js
+2
-2
wechat.5aa3ca7e326ef2ff5b56.js
dist/static/js/wechat.5aa3ca7e326ef2ff5b56.js
+0
-0
index.vue
src/components/ueditorWrap/index.vue
+2
-2
No files found.
dist/index.html
View file @
e394e5c9
<!DOCTYPE html>
<html><head><meta
charset=
utf-8
><meta
name=
viewport
content=
"width=device-width,initial-scale=1"
><link
rel=
"shortcut icon"
href=
./static/img/favicon.ico
><title>
GIC后台
</title><link
rel=
stylesheet
type=
text/css
href=
static/css/iconfont.css
><link
rel=
stylesheet
type=
text/css
href=
static/css/common.css
><link
href=
/marketing/static/css/main.55b33a80cc38edbe81498a9c86570b07.css
rel=
stylesheet
></head><body><div
id=
app
></div><script
src=
//web-1251519181.file.myqcloud.com/lib/vue/2.5.2/vue.min.js
></script><script
src=
//web-1251519181.file.myqcloud.com/lib/vue-router/3.0.2/vue-router.min.js
></script><script
src=
//web-1251519181.file.myqcloud.com/lib/vuex/3.1.0/vuex.min.js
></script><script
src=
//web-1251519181.file.myqcloud.com/lib/elementUI/index.2.5.4.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/header.2.0.20.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/footer.2.0.02.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/card.2.0.02.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/store.2.0.01.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/img-preview.2.0.00.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/member-group.2.0.01.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/store-card.2.0.02.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/confirm-people.2.0.01.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/people.2.0.25.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/export-excel.2.0.04.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/input.2.0.00.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/delete.2.0.00.js
></script><script
type=
text/javascript
src=
/marketing/static/js/manifest.1202303058ad9d26ab0c.js
></script><script
type=
text/javascript
src=
/marketing/static/js/vendor.4f54dc53154967b3adc7.js
></script><script
type=
text/javascript
src=
/marketing/static/js/main.949fc9b6a672743a453a.js
></script></body></html>
\ No newline at end of file
<!DOCTYPE html>
<html><head><meta
charset=
utf-8
><meta
name=
viewport
content=
"width=device-width,initial-scale=1"
><link
rel=
"shortcut icon"
href=
./static/img/favicon.ico
><title>
GIC后台
</title><link
rel=
stylesheet
type=
text/css
href=
static/css/iconfont.css
><link
rel=
stylesheet
type=
text/css
href=
static/css/common.css
><link
href=
/marketing/static/css/main.55b33a80cc38edbe81498a9c86570b07.css
rel=
stylesheet
></head><body><div
id=
app
></div><script
src=
//web-1251519181.file.myqcloud.com/lib/vue/2.5.2/vue.min.js
></script><script
src=
//web-1251519181.file.myqcloud.com/lib/vue-router/3.0.2/vue-router.min.js
></script><script
src=
//web-1251519181.file.myqcloud.com/lib/vuex/3.1.0/vuex.min.js
></script><script
src=
//web-1251519181.file.myqcloud.com/lib/elementUI/index.2.5.4.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/header.2.0.20.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/footer.2.0.02.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/card.2.0.02.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/store.2.0.01.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/img-preview.2.0.00.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/member-group.2.0.01.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/store-card.2.0.02.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/confirm-people.2.0.01.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/people.2.0.25.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/export-excel.2.0.04.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/input.2.0.00.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/delete.2.0.00.js
></script><script
type=
text/javascript
src=
/marketing/static/js/manifest.5c923e7a26221fc15541.js
></script><script
type=
text/javascript
src=
/marketing/static/js/vendor.4f54dc53154967b3adc7.js
></script><script
type=
text/javascript
src=
/marketing/static/js/main.949fc9b6a672743a453a.js
></script></body></html>
\ No newline at end of file
dist/static/js/manifest.
1202303058ad9d26ab0c
.js
→
dist/static/js/manifest.
5c923e7a26221fc15541
.js
View file @
e394e5c9
!
function
(
e
){
var
r
=
window
.
webpackJsonp
;
window
.
webpackJsonp
=
function
(
n
,
o
,
c
){
for
(
var
i
,
u
,
f
,
s
=
0
,
l
=
[];
s
<
n
.
length
;
s
++
)
u
=
n
[
s
],
t
[
u
]
&&
l
.
push
(
t
[
u
][
0
]),
t
[
u
]
=
0
;
for
(
i
in
o
)
Object
.
prototype
.
hasOwnProperty
.
call
(
o
,
i
)
&&
(
e
[
i
]
=
o
[
i
]);
for
(
r
&&
r
(
n
,
o
,
c
);
l
.
length
;)
l
.
shift
()();
if
(
c
)
for
(
s
=
0
;
s
<
c
.
length
;
s
++
)
f
=
a
(
a
.
s
=
c
[
s
]);
return
f
};
var
n
=
{},
t
=
{
11
:
0
};
function
a
(
r
){
if
(
n
[
r
])
return
n
[
r
].
exports
;
var
t
=
n
[
r
]
=
{
i
:
r
,
l
:
!
1
,
exports
:{}};
return
e
[
r
].
call
(
t
.
exports
,
t
,
t
.
exports
,
a
),
t
.
l
=!
0
,
t
.
exports
}
a
.
e
=
function
(
e
){
var
r
=
t
[
e
];
if
(
0
===
r
)
return
new
Promise
(
function
(
e
){
e
()});
if
(
r
)
return
r
[
2
];
var
n
=
new
Promise
(
function
(
n
,
a
){
r
=
t
[
e
]
=
[
n
,
a
]});
r
[
2
]
=
n
;
var
o
=
document
.
getElementsByTagName
(
"head"
)[
0
],
c
=
document
.
createElement
(
"script"
);
c
.
type
=
"text/javascript"
,
c
.
charset
=
"utf-8"
,
c
.
async
=!
0
,
c
.
timeout
=
12
e4
,
a
.
nc
&&
c
.
setAttribute
(
"nonce"
,
a
.
nc
),
c
.
src
=
a
.
p
+
"static/js/"
+
({
0
:
"game"
,
1
:
"card"
,
2
:
"wechat"
,
3
:
"evaluation"
,
4
:
"message"
,
5
:
"ecm"
,
6
:
"recharge"
,
7
:
"msg"
,
8
:
"calllog"
}[
e
]
||
e
)
+
"."
+
{
0
:
"0ea5eee276916402d464"
,
1
:
"3019f63f20abe9bd6773"
,
2
:
"bac1cbe595a25ca3ec0a"
,
3
:
"650a38a154a63ff404db"
,
4
:
"9ebc76d53481e7de020d"
,
5
:
"b557a0d0fc31be27a314"
,
6
:
"727cccae0b80bca129d5"
,
7
:
"8b5caebf83a79ac810ca"
,
8
:
"73199fa96bf2a53581b9"
}[
e
]
+
".js"
;
var
i
=
setTimeout
(
u
,
12
e4
);
function
u
(){
c
.
onerror
=
c
.
onload
=
null
,
clearTimeout
(
i
);
var
r
=
t
[
e
];
0
!==
r
&&
(
r
&&
r
[
1
](
new
Error
(
"Loading chunk "
+
e
+
" failed."
)),
t
[
e
]
=
void
0
)}
return
c
.
onerror
=
c
.
onload
=
u
,
o
.
appendChild
(
c
),
n
},
a
.
m
=
e
,
a
.
c
=
n
,
a
.
d
=
function
(
e
,
r
,
n
){
a
.
o
(
e
,
r
)
||
Object
.
defineProperty
(
e
,
r
,{
configurable
:
!
1
,
enumerable
:
!
0
,
get
:
n
})},
a
.
n
=
function
(
e
){
var
r
=
e
&&
e
.
__esModule
?
function
(){
return
e
.
default
}:
function
(){
return
e
};
return
a
.
d
(
r
,
"a"
,
r
),
r
},
a
.
o
=
function
(
e
,
r
){
return
Object
.
prototype
.
hasOwnProperty
.
call
(
e
,
r
)},
a
.
p
=
"/marketing/"
,
a
.
oe
=
function
(
e
){
throw
console
.
error
(
e
),
e
}}([]);
\ No newline at end of file
!
function
(
e
){
var
r
=
window
.
webpackJsonp
;
window
.
webpackJsonp
=
function
(
n
,
o
,
c
){
for
(
var
i
,
f
,
u
,
s
=
0
,
l
=
[];
s
<
n
.
length
;
s
++
)
f
=
n
[
s
],
t
[
f
]
&&
l
.
push
(
t
[
f
][
0
]),
t
[
f
]
=
0
;
for
(
i
in
o
)
Object
.
prototype
.
hasOwnProperty
.
call
(
o
,
i
)
&&
(
e
[
i
]
=
o
[
i
]);
for
(
r
&&
r
(
n
,
o
,
c
);
l
.
length
;)
l
.
shift
()();
if
(
c
)
for
(
s
=
0
;
s
<
c
.
length
;
s
++
)
u
=
a
(
a
.
s
=
c
[
s
]);
return
u
};
var
n
=
{},
t
=
{
11
:
0
};
function
a
(
r
){
if
(
n
[
r
])
return
n
[
r
].
exports
;
var
t
=
n
[
r
]
=
{
i
:
r
,
l
:
!
1
,
exports
:{}};
return
e
[
r
].
call
(
t
.
exports
,
t
,
t
.
exports
,
a
),
t
.
l
=!
0
,
t
.
exports
}
a
.
e
=
function
(
e
){
var
r
=
t
[
e
];
if
(
0
===
r
)
return
new
Promise
(
function
(
e
){
e
()});
if
(
r
)
return
r
[
2
];
var
n
=
new
Promise
(
function
(
n
,
a
){
r
=
t
[
e
]
=
[
n
,
a
]});
r
[
2
]
=
n
;
var
o
=
document
.
getElementsByTagName
(
"head"
)[
0
],
c
=
document
.
createElement
(
"script"
);
c
.
type
=
"text/javascript"
,
c
.
charset
=
"utf-8"
,
c
.
async
=!
0
,
c
.
timeout
=
12
e4
,
a
.
nc
&&
c
.
setAttribute
(
"nonce"
,
a
.
nc
),
c
.
src
=
a
.
p
+
"static/js/"
+
({
0
:
"game"
,
1
:
"card"
,
2
:
"wechat"
,
3
:
"evaluation"
,
4
:
"message"
,
5
:
"ecm"
,
6
:
"recharge"
,
7
:
"msg"
,
8
:
"calllog"
}[
e
]
||
e
)
+
"."
+
{
0
:
"0ea5eee276916402d464"
,
1
:
"3019f63f20abe9bd6773"
,
2
:
"5aa3ca7e326ef2ff5b56"
,
3
:
"650a38a154a63ff404db"
,
4
:
"9ebc76d53481e7de020d"
,
5
:
"b557a0d0fc31be27a314"
,
6
:
"727cccae0b80bca129d5"
,
7
:
"8b5caebf83a79ac810ca"
,
8
:
"73199fa96bf2a53581b9"
}[
e
]
+
".js"
;
var
i
=
setTimeout
(
f
,
12
e4
);
function
f
(){
c
.
onerror
=
c
.
onload
=
null
,
clearTimeout
(
i
);
var
r
=
t
[
e
];
0
!==
r
&&
(
r
&&
r
[
1
](
new
Error
(
"Loading chunk "
+
e
+
" failed."
)),
t
[
e
]
=
void
0
)}
return
c
.
onerror
=
c
.
onload
=
f
,
o
.
appendChild
(
c
),
n
},
a
.
m
=
e
,
a
.
c
=
n
,
a
.
d
=
function
(
e
,
r
,
n
){
a
.
o
(
e
,
r
)
||
Object
.
defineProperty
(
e
,
r
,{
configurable
:
!
1
,
enumerable
:
!
0
,
get
:
n
})},
a
.
n
=
function
(
e
){
var
r
=
e
&&
e
.
__esModule
?
function
(){
return
e
.
default
}:
function
(){
return
e
};
return
a
.
d
(
r
,
"a"
,
r
),
r
},
a
.
o
=
function
(
e
,
r
){
return
Object
.
prototype
.
hasOwnProperty
.
call
(
e
,
r
)},
a
.
p
=
"/marketing/"
,
a
.
oe
=
function
(
e
){
throw
console
.
error
(
e
),
e
}}([]);
\ No newline at end of file
dist/static/js/wechat.
bac1cbe595a25ca3ec0a
.js
→
dist/static/js/wechat.
5aa3ca7e326ef2ff5b56
.js
View file @
e394e5c9
This source diff could not be displayed because it is too large. You can
view the blob
instead.
src/components/ueditorWrap/index.vue
View file @
e394e5c9
...
...
@@ -167,7 +167,7 @@ export default {
let
cardticketString
=
node
.
getAttr
(
'data-cardticket'
);
let
cardticket
=
JSON
.
parse
(
unescape
(
cardticketString
));
let
html
=
''
;
const
redirect_uri
=
encodeURIComponent
(
`
${
cardticket
.
fwhHost
}
/to_coupon?cardId=
${
cardticket
.
wechatCardId
}
&filaappkey=
${
cardticket
.
filaappkey
}
&outerId=002
&response_type=code&scope=snsapi_base&state=1&component_appid=
${
cardticket
.
componentAppid
}
#wechat_redirect
`
);
const
redirect_uri
=
encodeURIComponent
(
`
${
cardticket
.
fwhHost
}
/to_coupon?cardId=
${
cardticket
.
wechatCardId
}
&filaappkey=
${
cardticket
.
filaappkey
}
&outerId=002`
);
html
+=
`<div class="coupon-card-type-flag" data-is-cardticket data-cardticket="
${
cardticketString
}
" style="border-radius: 5px; border: 1px solid #e7e7eb; width: auto ;box-sizing: border-box;">`
;
html
+=
`<div style="padding: 21px 13px 21px 13px; height: 102px; background-color:
${
cardticket
.
cardColor
||
'#63b359'
}
; font-size: 18px; border-radius: 3px 3px 0 0; color: #fff; font-weight: normal; box-sizing: border-box;">`
;
html
+=
'<div style="display: inline-block; width: 60px; height: 60px; border-radius: 100%; padding-top: 0; margin-top: 0; margin-right: 10px;">'
;
...
...
@@ -185,7 +185,7 @@ export default {
html
+=
'</div>'
;
html
+=
'</div>'
;
html
+=
'<p style="border-radius: 0 0 3px 3px; padding: 13px; color: #8d8d8d; text-align: center;">'
;
html
+=
`<a href="https://open.weixin.qq.com/connect/oauth2/authorize?appid=
${
cardticket
.
appkey
}
&redirect_uri=
${
redirect_uri
}
" style="font-size: 14px; border-radius: 3px; padding: 8px 20px; height: 32px; line-height: 14px; color: #fff; border: 1px solid #63b359; background-color: #63b359; text-decoration: none; cursor: pointer;">领取卡券</a>`
;
html
+=
`<a href="https://open.weixin.qq.com/connect/oauth2/authorize?appid=
${
cardticket
.
appkey
}
&redirect_uri=
${
redirect_uri
}
&response_type=code&scope=snsapi_base&state=1&component_appid=
${
cardticket
.
componentAppid
}
#wechat_redirect
" style="font-size: 14px; border-radius: 3px; padding: 8px 20px; height: 32px; line-height: 14px; color: #fff; border: 1px solid #63b359; background-color: #63b359; text-decoration: none; cursor: pointer;">领取卡券</a>`
;
html
+=
'</p>'
;
html
+=
'</div>'
;
let
newNode
=
new
UE
.
uNode
.
createElement
(
html
);
...
...
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