Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
H
h5-base
Project
Project
Details
Activity
Releases
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
new-sing
h5-base
Commits
dc00503b
Commit
dc00503b
authored
Jul 11, 2019
by
chenyishuai@singsingenglish.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
711
parent
5bf3cfb3
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
5 deletions
+7
-5
index.html
dev/index.html
+1
-1
7.361dc79b8b485f2aa394.js
dev/static/js/7.361dc79b8b485f2aa394.js
+1
-1
manifest.fe70b07b9729554b2ee7.js
dev/static/js/manifest.fe70b07b9729554b2ee7.js
+1
-1
index.vue
src/components/buy/index.vue
+4
-2
No files found.
dev/index.html
View file @
dc00503b
...
@@ -11,4 +11,4 @@
...
@@ -11,4 +11,4 @@
position
:
fixed
;
position
:
fixed
;
background
:
#f4f4f4
;
background
:
#f4f4f4
;
}
}
/* html{font-size: 1px;} */
</style><link
href=
static/css/app.91d2eea1dfca80994de99748f577fac4.css
rel=
stylesheet
></head><body><div
id=
app
></div><script
src=
https://res.wx.qq.com/open/js/jweixin-1.3.2.js
></script><script></script><script
type=
text/javascript
src=
static/js/manifest.2c0c5762cdbd349bb1ff.js
></script><script
type=
text/javascript
src=
static/js/vendor.79c3f4ae5c5bb7637f02.js
></script><script
type=
text/javascript
src=
static/js/app.a1f77571f39e1d53e547.js
></script></body></html>
/* html{font-size: 1px;} */
</style><link
href=
static/css/app.91d2eea1dfca80994de99748f577fac4.css
rel=
stylesheet
></head><body><div
id=
app
></div><script
src=
https://res.wx.qq.com/open/js/jweixin-1.3.2.js
></script><script></script><script
type=
text/javascript
src=
static/js/manifest.fe70b07b9729554b2ee7.js
></script><script
type=
text/javascript
src=
static/js/vendor.79c3f4ae5c5bb7637f02.js
></script><script
type=
text/javascript
src=
static/js/app.a1f77571f39e1d53e547.js
></script></body></html>
\ No newline at end of file
\ No newline at end of file
dev/static/js/7.
a318c606742059e27039
.js
→
dev/static/js/7.
361dc79b8b485f2aa394
.js
View file @
dc00503b
This source diff could not be displayed because it is too large. You can
view the blob
instead.
dev/static/js/manifest.
2c0c5762cdbd349bb1ff
.js
→
dev/static/js/manifest.
fe70b07b9729554b2ee7
.js
View file @
dc00503b
!
function
(
e
){
var
a
=
window
.
webpackJsonp
;
window
.
webpackJsonp
=
function
(
c
,
b
,
n
){
for
(
var
r
,
t
,
o
,
i
=
0
,
u
=
[];
i
<
c
.
length
;
i
++
)
t
=
c
[
i
],
d
[
t
]
&&
u
.
push
(
d
[
t
][
0
]),
d
[
t
]
=
0
;
for
(
r
in
b
)
Object
.
prototype
.
hasOwnProperty
.
call
(
b
,
r
)
&&
(
e
[
r
]
=
b
[
r
]);
for
(
a
&&
a
(
c
,
b
,
n
);
u
.
length
;)
u
.
shift
()();
if
(
n
)
for
(
i
=
0
;
i
<
n
.
length
;
i
++
)
o
=
f
(
f
.
s
=
n
[
i
]);
return
o
};
var
c
=
{},
d
=
{
52
:
0
};
function
f
(
a
){
if
(
c
[
a
])
return
c
[
a
].
exports
;
var
d
=
c
[
a
]
=
{
i
:
a
,
l
:
!
1
,
exports
:{}};
return
e
[
a
].
call
(
d
.
exports
,
d
,
d
.
exports
,
f
),
d
.
l
=!
0
,
d
.
exports
}
f
.
e
=
function
(
e
){
var
a
=
d
[
e
];
if
(
0
===
a
)
return
new
Promise
(
function
(
e
){
e
()});
if
(
a
)
return
a
[
2
];
var
c
=
new
Promise
(
function
(
c
,
f
){
a
=
d
[
e
]
=
[
c
,
f
]});
a
[
2
]
=
c
;
var
b
=
document
.
getElementsByTagName
(
"head"
)[
0
],
n
=
document
.
createElement
(
"script"
);
n
.
type
=
"text/javascript"
,
n
.
charset
=
"utf-8"
,
n
.
async
=!
0
,
n
.
timeout
=
12
e4
,
f
.
nc
&&
n
.
setAttribute
(
"nonce"
,
f
.
nc
),
n
.
src
=
f
.
p
+
"static/js/"
+
({
0
:
"vendor-async"
}[
e
]
||
e
)
+
"."
+
{
0
:
"b3e0b0ac832c1c96db0b"
,
1
:
"fc4f94c799da9f38b968"
,
2
:
"2d04d9a946c9f28bedd9"
,
3
:
"b515f2412b5ea7f539ff"
,
4
:
"5f0e45001dcaf39b46b5"
,
5
:
"1c6257fd6ca8e53d2a3a"
,
6
:
"9113f900cdecdac1d513"
,
7
:
"a318c606742059e27039"
,
8
:
"1d9849293682f67c2bc7"
,
9
:
"4e60e7455a575f159690"
,
10
:
"38d1b4703f9ce3ff3dd4"
,
11
:
"69326e150742ffc71911"
,
12
:
"53d10363a02c97e1a166"
,
13
:
"2afbbb3abeaaa10eb2e8"
,
14
:
"fda7a09a946961495ed0"
,
15
:
"e11fe74579a069f798a1"
,
16
:
"e1a6fe427d51aa1fe666"
,
17
:
"4e7a9017ef55dd693abb"
,
18
:
"a631a17874248effda29"
,
19
:
"2b848e880dfc44973ea2"
,
20
:
"109f646a7537bb65965f"
,
21
:
"4e81f04b516b686e5da9"
,
22
:
"83faea4bd05fd97c6d6a"
,
23
:
"7ec369094869cb4485be"
,
24
:
"04cb7aed92bf156129ec"
,
25
:
"02deae11bdf7f8c38a54"
,
26
:
"43e9ab7074dbc19786a5"
,
27
:
"54c5bc1b6a45fd7ad76c"
,
28
:
"9de4b97ca1a1e9de9d23"
,
29
:
"8c79842a926bce1d6b5c"
,
30
:
"072de6f1aeb9702d2cd5"
,
31
:
"27a441d42f0bbbf9bbe8"
,
32
:
"b7d3ac2150891063d053"
,
33
:
"f65d4104084f5a34cbbd"
,
34
:
"299faf0cbab95fd6d868"
,
35
:
"a9e8913aa163a0e9a33c"
,
36
:
"d4f393c265a4299049e1"
,
37
:
"62acf364c0f5ade7b597"
,
38
:
"f7f4eacc2abcafd19676"
,
39
:
"53e3d39ea59b5c7bdb1c"
,
40
:
"768c4314233e302cd5e1"
,
41
:
"2a295886cae89b21b058"
,
42
:
"b30b6ad88d137abd92e7"
,
43
:
"e2654995557db9d4a9ce"
,
44
:
"bcc4cda30647cf92f7a2"
,
45
:
"2fe02f5bccbdc3d930a2"
,
46
:
"24c7eb96bb71d8dd6d7a"
,
47
:
"6fa088443b3eea54dd31"
,
48
:
"591c34810b4d8dae8945"
,
49
:
"6f70a5e57ca051fcb52a"
}[
e
]
+
".js"
;
var
r
=
setTimeout
(
t
,
12
e4
);
function
t
(){
n
.
onerror
=
n
.
onload
=
null
,
clearTimeout
(
r
);
var
a
=
d
[
e
];
0
!==
a
&&
(
a
&&
a
[
1
](
new
Error
(
"Loading chunk "
+
e
+
" failed."
)),
d
[
e
]
=
void
0
)}
return
n
.
onerror
=
n
.
onload
=
t
,
b
.
appendChild
(
n
),
c
},
f
.
m
=
e
,
f
.
c
=
c
,
f
.
d
=
function
(
e
,
a
,
c
){
f
.
o
(
e
,
a
)
||
Object
.
defineProperty
(
e
,
a
,{
configurable
:
!
1
,
enumerable
:
!
0
,
get
:
c
})},
f
.
n
=
function
(
e
){
var
a
=
e
&&
e
.
__esModule
?
function
(){
return
e
.
default
}:
function
(){
return
e
};
return
f
.
d
(
a
,
"a"
,
a
),
a
},
f
.
o
=
function
(
e
,
a
){
return
Object
.
prototype
.
hasOwnProperty
.
call
(
e
,
a
)},
f
.
p
=
""
,
f
.
oe
=
function
(
e
){
throw
console
.
error
(
e
),
e
}}([]);
!
function
(
e
){
var
a
=
window
.
webpackJsonp
;
window
.
webpackJsonp
=
function
(
c
,
b
,
n
){
for
(
var
r
,
t
,
o
,
i
=
0
,
u
=
[];
i
<
c
.
length
;
i
++
)
t
=
c
[
i
],
d
[
t
]
&&
u
.
push
(
d
[
t
][
0
]),
d
[
t
]
=
0
;
for
(
r
in
b
)
Object
.
prototype
.
hasOwnProperty
.
call
(
b
,
r
)
&&
(
e
[
r
]
=
b
[
r
]);
for
(
a
&&
a
(
c
,
b
,
n
);
u
.
length
;)
u
.
shift
()();
if
(
n
)
for
(
i
=
0
;
i
<
n
.
length
;
i
++
)
o
=
f
(
f
.
s
=
n
[
i
]);
return
o
};
var
c
=
{},
d
=
{
52
:
0
};
function
f
(
a
){
if
(
c
[
a
])
return
c
[
a
].
exports
;
var
d
=
c
[
a
]
=
{
i
:
a
,
l
:
!
1
,
exports
:{}};
return
e
[
a
].
call
(
d
.
exports
,
d
,
d
.
exports
,
f
),
d
.
l
=!
0
,
d
.
exports
}
f
.
e
=
function
(
e
){
var
a
=
d
[
e
];
if
(
0
===
a
)
return
new
Promise
(
function
(
e
){
e
()});
if
(
a
)
return
a
[
2
];
var
c
=
new
Promise
(
function
(
c
,
f
){
a
=
d
[
e
]
=
[
c
,
f
]});
a
[
2
]
=
c
;
var
b
=
document
.
getElementsByTagName
(
"head"
)[
0
],
n
=
document
.
createElement
(
"script"
);
n
.
type
=
"text/javascript"
,
n
.
charset
=
"utf-8"
,
n
.
async
=!
0
,
n
.
timeout
=
12
e4
,
f
.
nc
&&
n
.
setAttribute
(
"nonce"
,
f
.
nc
),
n
.
src
=
f
.
p
+
"static/js/"
+
({
0
:
"vendor-async"
}[
e
]
||
e
)
+
"."
+
{
0
:
"b3e0b0ac832c1c96db0b"
,
1
:
"fc4f94c799da9f38b968"
,
2
:
"2d04d9a946c9f28bedd9"
,
3
:
"b515f2412b5ea7f539ff"
,
4
:
"5f0e45001dcaf39b46b5"
,
5
:
"1c6257fd6ca8e53d2a3a"
,
6
:
"9113f900cdecdac1d513"
,
7
:
"361dc79b8b485f2aa394"
,
8
:
"1d9849293682f67c2bc7"
,
9
:
"4e60e7455a575f159690"
,
10
:
"38d1b4703f9ce3ff3dd4"
,
11
:
"69326e150742ffc71911"
,
12
:
"53d10363a02c97e1a166"
,
13
:
"2afbbb3abeaaa10eb2e8"
,
14
:
"fda7a09a946961495ed0"
,
15
:
"e11fe74579a069f798a1"
,
16
:
"e1a6fe427d51aa1fe666"
,
17
:
"4e7a9017ef55dd693abb"
,
18
:
"a631a17874248effda29"
,
19
:
"2b848e880dfc44973ea2"
,
20
:
"109f646a7537bb65965f"
,
21
:
"4e81f04b516b686e5da9"
,
22
:
"83faea4bd05fd97c6d6a"
,
23
:
"7ec369094869cb4485be"
,
24
:
"04cb7aed92bf156129ec"
,
25
:
"02deae11bdf7f8c38a54"
,
26
:
"43e9ab7074dbc19786a5"
,
27
:
"54c5bc1b6a45fd7ad76c"
,
28
:
"9de4b97ca1a1e9de9d23"
,
29
:
"8c79842a926bce1d6b5c"
,
30
:
"072de6f1aeb9702d2cd5"
,
31
:
"27a441d42f0bbbf9bbe8"
,
32
:
"b7d3ac2150891063d053"
,
33
:
"f65d4104084f5a34cbbd"
,
34
:
"299faf0cbab95fd6d868"
,
35
:
"a9e8913aa163a0e9a33c"
,
36
:
"d4f393c265a4299049e1"
,
37
:
"62acf364c0f5ade7b597"
,
38
:
"f7f4eacc2abcafd19676"
,
39
:
"53e3d39ea59b5c7bdb1c"
,
40
:
"768c4314233e302cd5e1"
,
41
:
"2a295886cae89b21b058"
,
42
:
"b30b6ad88d137abd92e7"
,
43
:
"e2654995557db9d4a9ce"
,
44
:
"bcc4cda30647cf92f7a2"
,
45
:
"2fe02f5bccbdc3d930a2"
,
46
:
"24c7eb96bb71d8dd6d7a"
,
47
:
"6fa088443b3eea54dd31"
,
48
:
"591c34810b4d8dae8945"
,
49
:
"6f70a5e57ca051fcb52a"
}[
e
]
+
".js"
;
var
r
=
setTimeout
(
t
,
12
e4
);
function
t
(){
n
.
onerror
=
n
.
onload
=
null
,
clearTimeout
(
r
);
var
a
=
d
[
e
];
0
!==
a
&&
(
a
&&
a
[
1
](
new
Error
(
"Loading chunk "
+
e
+
" failed."
)),
d
[
e
]
=
void
0
)}
return
n
.
onerror
=
n
.
onload
=
t
,
b
.
appendChild
(
n
),
c
},
f
.
m
=
e
,
f
.
c
=
c
,
f
.
d
=
function
(
e
,
a
,
c
){
f
.
o
(
e
,
a
)
||
Object
.
defineProperty
(
e
,
a
,{
configurable
:
!
1
,
enumerable
:
!
0
,
get
:
c
})},
f
.
n
=
function
(
e
){
var
a
=
e
&&
e
.
__esModule
?
function
(){
return
e
.
default
}:
function
(){
return
e
};
return
f
.
d
(
a
,
"a"
,
a
),
a
},
f
.
o
=
function
(
e
,
a
){
return
Object
.
prototype
.
hasOwnProperty
.
call
(
e
,
a
)},
f
.
p
=
""
,
f
.
oe
=
function
(
e
){
throw
console
.
error
(
e
),
e
}}([]);
\ No newline at end of file
\ No newline at end of file
src/components/buy/index.vue
View file @
dc00503b
...
@@ -88,6 +88,7 @@
...
@@ -88,6 +88,7 @@
</div>
</div>
</div>
</div>
</mt-popup>
</mt-popup>
<!-- 优惠券弹窗 -->
<mt-popup
<mt-popup
class=
"couponPop"
class=
"couponPop"
popup-transition=
"popup-fade"
popup-transition=
"popup-fade"
...
@@ -99,7 +100,7 @@
...
@@ -99,7 +100,7 @@
<img
class=
"closeImg"
@
click=
"closeCouponPop"
:src=
"closeImg"
alt
/>
<img
class=
"closeImg"
@
click=
"closeCouponPop"
:src=
"closeImg"
alt
/>
<div
class=
"content"
>
<div
class=
"content"
>
<p>
您的好友
<span
class=
"name"
>
{{
shareName
}}
</span>
赠您
</p>
<p>
您的好友
<span
class=
"name"
>
{{
shareName
}}
</span>
赠您
</p>
<img
class=
"btn"
@
click=
"getCoupon"
:src=
"couponBtn"
alt
/>
<img
class=
"btn"
ref=
"couponBtn"
@
click=
"getCoupon"
:src=
"couponBtn"
alt
/>
</div>
</div>
</div>
</div>
</mt-popup>
</mt-popup>
...
@@ -302,6 +303,7 @@ export default {
...
@@ -302,6 +303,7 @@ export default {
},
},
methods
:
{
methods
:
{
getCoupon
()
{
getCoupon
()
{
this
.
$sa
.
quick
(
'trackHeatMap'
,
this
.
$refs
.
couponBtn
)
getReceiveCouponApi
(
this
.
$route
.
query
.
shopId
).
then
(
res
=>
{
getReceiveCouponApi
(
this
.
$route
.
query
.
shopId
).
then
(
res
=>
{
this
.
couponShadow
=
true
;
this
.
couponShadow
=
true
;
this
.
couponPopup
=
false
;
this
.
couponPopup
=
false
;
...
@@ -352,7 +354,6 @@ export default {
...
@@ -352,7 +354,6 @@ export default {
}
}
if
(
localStorage
.
getItem
(
"gdt_vid"
))
{
if
(
localStorage
.
getItem
(
"gdt_vid"
))
{
query
.
gdt_vid
=
localStorage
.
getItem
(
"gdt_vid"
);
query
.
gdt_vid
=
localStorage
.
getItem
(
"gdt_vid"
);
// console.log(query.gdt_vid)
}
}
if
(
window
.
location
.
href
.
indexOf
(
"cct_user_id"
)
>
-
1
)
{
if
(
window
.
location
.
href
.
indexOf
(
"cct_user_id"
)
>
-
1
)
{
...
@@ -584,6 +585,7 @@ export default {
...
@@ -584,6 +585,7 @@ export default {
this
.
couponInfo
=
res
;
this
.
couponInfo
=
res
;
this
.
couponInfo
.
money
=
res
.
original_price
;
this
.
couponInfo
.
money
=
res
.
original_price
;
this
.
couponPopup
=
true
;
this
.
couponPopup
=
true
;
this
.
$sa
.
track
(
'ViewShareCouponWindow'
,{});
// res.original_price
// res.original_price
}
}
});
});
...
...
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