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
bb53a6f1
Commit
bb53a6f1
authored
Jun 21, 2019
by
chenyishuai@singsingenglish.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
620
parent
9a12c877
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
19 additions
and
9 deletions
+19
-9
index.html
dev/index.html
+1
-1
0.66f30f37970d706e6b17.js
dev/static/js/0.66f30f37970d706e6b17.js
+1
-1
18.4d2a96cc4b7a79d3a61c.js
dev/static/js/18.4d2a96cc4b7a79d3a61c.js
+1
-1
manifest.965957e4039c8f71b383.js
dev/static/js/manifest.965957e4039c8f71b383.js
+1
-1
index.vue
src/components/buy/index.vue
+13
-5
login.vue
src/components/buy/login.vue
+2
-0
No files found.
dev/index.html
View file @
bb53a6f1
...
...
@@ -6,4 +6,4 @@
overflow
:
hidden
;
position
:
fixed
;
background
:
#f4f4f4
;
}
</style><link
href=
static/css/app.3c0ad5f24e07150c06bc3b21fbd29d4b.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
src=
static/vconsole/vconsole.min.js
></script><script></script><script
type=
text/javascript
src=
static/js/manifest.e10689d3b0f6a69ba8ed.js
></script><script
type=
text/javascript
src=
static/js/vendor.a5a943cd8fb34eed2a77.js
></script><script
type=
text/javascript
src=
static/js/app.66faa984322e04e868f1.js
></script></body></html>
\ No newline at end of file
}
</style><link
href=
static/css/app.3c0ad5f24e07150c06bc3b21fbd29d4b.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
src=
static/vconsole/vconsole.min.js
></script><script></script><script
type=
text/javascript
src=
static/js/manifest.965957e4039c8f71b383.js
></script><script
type=
text/javascript
src=
static/js/vendor.a5a943cd8fb34eed2a77.js
></script><script
type=
text/javascript
src=
static/js/app.66faa984322e04e868f1.js
></script></body></html>
\ No newline at end of file
dev/static/js/0.
8a8b96ea02c965f74ffc
.js
→
dev/static/js/0.
66f30f37970d706e6b17
.js
View file @
bb53a6f1
This source diff could not be displayed because it is too large. You can
view the blob
instead.
dev/static/js/18.
538e644b110e24fa0d9a
.js
→
dev/static/js/18.
4d2a96cc4b7a79d3a61c
.js
View file @
bb53a6f1
webpackJsonp
([
18
],{
"5W4P"
:
function
(
n
,
e
,
t
){(
n
.
exports
=
t
(
"FZ+f"
)(
!
0
)).
push
([
n
.
i
,
'
\
n.fl-r[data-v-ff30e8ae] {
\
n float: right;
\
n}
\
n.fr[data-v-ff30e8ae] {
\
n float: right;
\
n}
\
n.fl[data-v-ff30e8ae] {
\
n float: left;
\
n}
\
n.main-block[data-v-ff30e8ae] {
\
n margin: 5px;
\
n background: white;
\
n padding: 5px;
\
n}
\
n.clear-both[data-v-ff30e8ae]:after {
\
n content:
\'\'
;
\
n display: block;
\
n clear: both;
\
n}
\
n[data-v-ff30e8ae]::-webkit-scrollbar-track-piece {
\
n border-radius: 10px;
\
n}
\
n[data-v-ff30e8ae]::-webkit-scrollbar {
\
n width: 5px;
\
n height: 5px;
\
n}
\
n[data-v-ff30e8ae]::-webkit-scrollbar-thumb {
\
n background-color: #999;
\
n border-radius: 10px;
\
n min-height: 10px;
\
n}
\
n@-webkit-keyframes myfirst-data-v-ff30e8ae {
\
n0% {
\
n -webkit-transform: scale(1);
\
n}
\
n50% {
\
n -webkit-transform: scale(1.1);
\
n}
\
n100% {
\
n -webkit-transform: scale(1);
\
n}
\
n}
\
n.van-button--info[data-v-ff30e8ae] {
\
n background: #40A9FF;
\
n border: 1px solid #40A9FF;
\
n}
\
n.van-popup[data-v-ff30e8ae] {
\
n background: transparent;
\
n}
\
n.img-cvs[data-v-ff30e8ae] {
\
n position: absolute;
\
n width: 62.13333333vw;
\
n top: 46.93333333vw;
\
n left: 7.73333333vw;
\
n}
\
n.img-cvs .qrcode[data-v-ff30e8ae] {
\
n position: absolute;
\
n top: 81.33333333vw;
\
n left: 4vw;
\
n width: 16vw;
\
n}
\
n.cvs-img[data-v-ff30e8ae] {
\
n position: absolute;
\
n width: 62.13333333vw;
\
n top: 46.93333333vw;
\
n left: 7.73333333vw;
\
n z-index: 10;
\
n}
\
n.ref-content[data-v-ff30e8ae] {
\
n width: 79.73333333vw;
\
n height: 150.4vw;
\
n background-size: 100% 100%;
\
n position: relative;
\
n}
\
n.ref-content .tips[data-v-ff30e8ae] {
\
n font-size: 12px;
\
n position: absolute;
\
n color: #666;
\
n right: 2.66666667vw;
\
n top: 66.66666667vw;
\
n width: 1em;
\
n}
\
n.group-index[data-v-ff30e8ae] {
\
n z-index: 2;
\
n padding-bottom: toVw(150);
\
n background: #f0f0f0;
\
n font-family: PingFangSC-Regular;
\
n}
\
n.group-index .ref-icon[data-v-ff30e8ae] {
\
n position: fixed;
\
n height: 24vw;
\
n top: 70vw;
\
n z-index: 6;
\
n right: 2.66666667vw;
\
n /*border-radius: 100px;*/
\
n}
\
n.group-index .banner[data-v-ff30e8ae] {
\
n background: white;
\
n}
\
n.group-index .banner img[data-v-ff30e8ae] {
\
n width: 100%;
\
n}
\
n.group-index .head[data-v-ff30e8ae] {
\
n background: white;
\
n margin-bottom: 10px;
\
n padding: 2.66666667vw;
\
n}
\
n.group-index .head .title[data-v-ff30e8ae] {
\
n font-size: 20px;
\
n color: #333333;
\
n margin-bottom: 2vw;
\
n}
\
n.group-index .head .detail[data-v-ff30e8ae] {
\
n font-size: 12px;
\
n line-height: 1.6em;
\
n color: #333333;
\
n display: block;
\
n margin-bottom: 2vw;
\
n}
\
n.group-index .head .price .price-content[data-v-ff30e8ae] {
\
n font-family: PingFang-SC-Bold;
\
n font-size: 20px;
\
n color: #f83534;
\
n}
\
n.group-index .head-icon[data-v-ff30e8ae] {
\
n padding: 2.66666667vw;
\
n background: white;
\
n margin-bottom: 2px;
\
n}
\
n.group-index .head-icon .icon[data-v-ff30e8ae] {
\
n display: inline-block;
\
n width: 8vw;
\
n margin: 0 1.33333333vw;
\
n border-radius: 1000px;
\
n vertical-align: middle;
\
n}
\
n.group-index .head-icon .more[data-v-ff30e8ae] {
\
n width: 6.66666667vw;
\
n vertical-align: middle;
\
n}
\
n.group-index .head-icon .has[data-v-ff30e8ae] {
\
n font-size: 12px;
\
n line-height: 8vw;
\
n color: #999999;
\
n float: right;
\
n}
\
n.group-index .welfare[data-v-ff30e8ae] {
\
n background: white;
\
n padding: 1.33333333vw;
\
n font-size: 12px;
\
n text-align: center;
\
n color: #999999;
\
n margin-bottom: 20px;
\
n}
\
n.group-index .main-detail[data-v-ff30e8ae] {
\
n padding: 2.66666667vw;
\
n background: white;
\
n}
\
n.group-index .main-detail .tab-content[data-v-ff30e8ae] {
\
n border-radius: 9px;
\
n border: 1px solid #f63539;
\
n}
\
n.group-index .main-detail .tab-content[data-v-ff30e8ae]:after {
\
n content: "";
\
n display: block;
\
n clear: both;
\
n}
\
n.group-index .main-detail .tab-content .tab-btn[data-v-ff30e8ae] {
\
n width: 50%;
\
n float: left;
\
n height: 10.66666667vw;
\
n line-height: 10.66666667vw;
\
n text-align: center;
\
n color: #f63539;
\
n border-radius: 9px;
\
n}
\
n.group-index .main-detail .tab-content .tab-btn.active[data-v-ff30e8ae] {
\
n background: #f63539;
\
n color: white;
\
n}
\
n.group-index .main-detail .qa-block[data-v-ff30e8ae] {
\
n padding-bottom: 13.33333333vw;
\
n}
\
n.group-index .main-detail .qa-block img[data-v-ff30e8ae],
\
n.group-index .main-detail .qa-block video[data-v-ff30e8ae] {
\
n max-width: 100%;
\
n}
\
n.group-index .main-detail .qa-block .qa-content[data-v-ff30e8ae] {
\
n margin: toVw(10) 0;
\
n}
\
n.group-index .main-detail .qa-block .qa-content .qa-q[data-v-ff30e8ae] {
\
n font-size: 16px;
\
n color: #666666;
\
n}
\
n.group-index .main-detail .qa-block .qa-content .qa-a[data-v-ff30e8ae] {
\
n font-size: 16px;
\
n color: #333333;
\
n}
\
n.group-index .main-detail .detail[data-v-ff30e8ae] {
\
n padding: 2.66666667vw 0 20vw 0;
\
n}
\
n.group-index .main-detail .detail .detail-content img[data-v-ff30e8ae],
\
n.group-index .main-detail .detail .detail-content video[data-v-ff30e8ae] {
\
n max-width: 100%;
\
n}
\
n.group-index .couponBox[data-v-ff30e8ae] {
\
n position: fixed;
\
n width: 100%;
\
n height: 6.66666667vw;
\
n background: #FFE83C;
\
n bottom: 18.66666667vw;
\
n text-align: center;
\
n color: #FF4D4F;
\
n line-height: 6.66666667vw;
\
n font-size: 12px;
\
n}
\
n.group-index footer[data-v-ff30e8ae] {
\
n position: absolute;
\
n position: fixed;
\
n bottom: 0;
\
n width: 97.7vw;
\
n height: 16vw;
\
n display: -webkit-box;
\
n display: -ms-flexbox;
\
n display: flex;
\
n background: white;
\
n padding: 1.3vw;
\
n border-top: 1px solid #d8d8d8;
\
n -ms-flex-pack: distribute;
\
n justify-content: space-around;
\
n}
\
n.group-index footer .btn[data-v-ff30e8ae] {
\
n border: 1px solid #cccccc;
\
n border-radius: 8px;
\
n width: 0;
\
n -webkit-box-flex: 2;
\
n -ms-flex-positive: 2;
\
n flex-grow: 2;
\
n text-align: center;
\
n padding: 2vw 0;
\
n margin: 0 1.33333333vw;
\
n line-height: 1.4em;
\
n font-size: 16px;
\
n color: #666666;
\
n}
\
n.group-index footer .btn .free[data-v-ff30e8ae] {
\
n line-height: 13.33333333vw;
\
n}
\
n.group-index footer .btn span[data-v-ff30e8ae] {
\
n display: block;
\
n font-size: 20px;
\
n font-family: PingFang-SC-Bold;
\
n}
\
n.group-index footer .btn img[data-v-ff30e8ae] {
\
n width: 6.66666667vw;
\
n}
\
n.group-index footer .btn.big[data-v-ff30e8ae] {
\
n padding: 0.66666667vw 0;
\
n -webkit-box-flex: 5;
\
n -ms-flex-positive: 5;
\
n flex-grow: 5;
\
n}
\
n.group-index footer .btn.big.price[data-v-ff30e8ae] {
\
n background: #f83534;
\
n border-color: #f83534;
\
n color: white;
\
n}
\
n.group-index footer .btn.big.price.full[data-v-ff30e8ae] {
\
n background: #dddddd;
\
n border-color: #dddddd;
\
n line-height: 13.33333333vw;
\
n}
\
n.group-index .pop-block[data-v-ff30e8ae] {
\
n padding: 5.33333333vw 1.33333333vw;
\
n width: 80vw;
\
n text-align: center;
\
n font-size: 14px;
\
n color: #666666;
\
n position: relative;
\
n}
\
n.group-index .pop-block img[data-v-ff30e8ae] {
\
n width: 33.33333333vw;
\
n}
\
n.group-index .pop-block .close[data-v-ff30e8ae] {
\
n width: 6.66666667vw;
\
n position: absolute;
\
n top: 2.66666667vw;
\
n right: 2.66666667vw;
\
n}
\
n.group-index .pop-fill[data-v-ff30e8ae] {
\
n width: 66.66666667vw;
\
n padding: 4vw 4vw;
\
n font-size: 16px;
\
n color: #333333;
\
n}
\
n.group-index .pop-fill .btn-block[data-v-ff30e8ae] {
\
n margin-top: 4vw;
\
n}
\
n.group-index .pop-fill .btn-block[data-v-ff30e8ae]:after {
\
n content: "";
\
n display: block;
\
n clear: both;
\
n}
\
n.group-index .pop-fill .btn-block .btn[data-v-ff30e8ae] {
\
n float: right;
\
n background: #f83534;
\
n font-size: 14px;
\
n padding: 0.66666667vw 1.33333333vw;
\
n border-radius: 8px;
\
n color: #ffffff;
\
n}
\
n'
,
""
,{
version
:
3
,
sources
:[
"C:/Users/Administrator/Desktop/h5/wechat/src/components/buy/index.vue"
],
names
:[],
mappings
:
";AACA;EACE,aAAa;CACd;AACD;EACE,aAAa;CACd;AACD;EACE,YAAY;CACb;AACD;EACE,YAAY;EACZ,kBAAkB;EAClB,aAAa;CACd;AACD;EACE,YAAY;EACZ,eAAe;EACf,YAAY;CACb;AACD;EACE,oBAAoB;CACrB;AACD;EACE,WAAW;EACX,YAAY;CACb;AACD;EACE,uBAAuB;EACvB,oBAAoB;EACpB,iBAAiB;CAClB;AACD;AACA;IACI,4BAA4B;CAC/B;AACD;IACI,8BAA8B;CACjC;AACD;IACI,4BAA4B;CAC/B;CACA;AACD;EACE,oBAAoB;EACpB,0BAA0B;CAC3B;AACD;EACE,wBAAwB;CACzB;AACD;EACE,mBAAmB;EACnB,qBAAqB;EACrB,mBAAmB;EACnB,mBAAmB;CACpB;AACD;EACE,mBAAmB;EACnB,mBAAmB;EACnB,UAAU;EACV,YAAY;CACb;AACD;EACE,mBAAmB;EACnB,qBAAqB;EACrB,mBAAmB;EACnB,mBAAmB;EACnB,YAAY;CACb;AACD;EACE,qBAAqB;EACrB,gBAAgB;EAChB,2BAA2B;EAC3B,mBAAmB;CACpB;AACD;EACE,gBAAgB;EAChB,mBAAmB;EACnB,YAAY;EACZ,oBAAoB;EACpB,mBAAmB;EACnB,WAAW;CACZ;AACD;EACE,WAAW;EACX,0BAA0B;EAC1B,oBAAoB;EACpB,gCAAgC;CACjC;AACD;EACE,gBAAgB;EAChB,aAAa;EACb,UAAU;EACV,WAAW;EACX,oBAAoB;EACpB,yBAAyB;CAC1B;AACD;EACE,kBAAkB;CACnB;AACD;EACE,YAAY;CACb;AACD;EACE,kBAAkB;EAClB,oBAAoB;EACpB,sBAAsB;CACvB;AACD;EACE,gBAAgB;EAChB,eAAe;EACf,mBAAmB;CACpB;AACD;EACE,gBAAgB;EAChB,mBAAmB;EACnB,eAAe;EACf,eAAe;EACf,mBAAmB;CACpB;AACD;EACE,8BAA8B;EAC9B,gBAAgB;EAChB,eAAe;CAChB;AACD;EACE,sBAAsB;EACtB,kBAAkB;EAClB,mBAAmB;CACpB;AACD;EACE,sBAAsB;EACtB,WAAW;EACX,uBAAuB;EACvB,sBAAsB;EACtB,uBAAuB;CACxB;AACD;EACE,oBAAoB;EACpB,uBAAuB;CACxB;AACD;EACE,gBAAgB;EAChB,iBAAiB;EACjB,eAAe;EACf,aAAa;CACd;AACD;EACE,kBAAkB;EAClB,sBAAsB;EACtB,gBAAgB;EAChB,mBAAmB;EACnB,eAAe;EACf,oBAAoB;CACrB;AACD;EACE,sBAAsB;EACtB,kBAAkB;CACnB;AACD;EACE,mBAAmB;EACnB,0BAA0B;CAC3B;AACD;EACE,YAAY;EACZ,eAAe;EACf,YAAY;CACb;AACD;EACE,WAAW;EACX,YAAY;EACZ,sBAAsB;EACtB,2BAA2B;EAC3B,mBAAmB;EACnB,eAAe;EACf,mBAAmB;CACpB;AACD;EACE,oBAAoB;EACpB,aAAa;CACd;AACD;EACE,8BAA8B;CAC/B;AACD;;EAEE,gBAAgB;CACjB;AACD;EACE,mBAAmB;CACpB;AACD;EACE,gBAAgB;EAChB,eAAe;CAChB;AACD;EACE,gBAAgB;EAChB,eAAe;CAChB;AACD;EACE,+BAA+B;CAChC;AACD;;EAEE,gBAAgB;CACjB;AACD;EACE,gBAAgB;EAChB,YAAY;EACZ,qBAAqB;EACrB,oBAAoB;EACpB,sBAAsB;EACtB,mBAAmB;EACnB,eAAe;EACf,0BAA0B;EAC1B,gBAAgB;CACjB;AACD;EACE,mBAAmB;EACnB,gBAAgB;EAChB,UAAU;EACV,cAAc;EACd,aAAa;EACb,qBAAqB;EACrB,qBAAqB;EACrB,cAAc;EACd,kBAAkB;EAClB,eAAe;EACf,8BAA8B;EAC9B,0BAA0B;MACtB,8BAA8B;CACnC;AACD;EACE,0BAA0B;EAC1B,mBAAmB;EACnB,SAAS;EACT,oBAAoB;MAChB,qBAAqB;UACjB,aAAa;EACrB,mBAAmB;EACnB,eAAe;EACf,uBAAuB;EACvB,mBAAmB;EACnB,gBAAgB;EAChB,eAAe;CAChB;AACD;EACE,2BAA2B;CAC5B;AACD;EACE,eAAe;EACf,gBAAgB;EAChB,8BAA8B;CAC/B;AACD;EACE,oBAAoB;CACrB;AACD;EACE,wBAAwB;EACxB,oBAAoB;MAChB,qBAAqB;UACjB,aAAa;CACtB;AACD;EACE,oBAAoB;EACpB,sBAAsB;EACtB,aAAa;CACd;AACD;EACE,oBAAoB;EACpB,sBAAsB;EACtB,2BAA2B;CAC5B;AACD;EACE,mCAAmC;EACnC,YAAY;EACZ,mBAAmB;EACnB,gBAAgB;EAChB,eAAe;EACf,mBAAmB;CACpB;AACD;EACE,qBAAqB;CACtB;AACD;EACE,oBAAoB;EACpB,mBAAmB;EACnB,kBAAkB;EAClB,oBAAoB;CACrB;AACD;EACE,qBAAqB;EACrB,iBAAiB;EACjB,gBAAgB;EAChB,eAAe;CAChB;AACD;EACE,gBAAgB;CACjB;AACD;EACE,YAAY;EACZ,eAAe;EACf,YAAY;CACb;AACD;EACE,aAAa;EACb,oBAAoB;EACpB,gBAAgB;EAChB,mCAAmC;EACnC,mBAAmB;EACnB,eAAe;CAChB"
,
file
:
"index.vue"
,
sourcesContent
:[
'
\
n.fl-r[data-v-ff30e8ae] {
\
n float: right;
\
n}
\
n.fr[data-v-ff30e8ae] {
\
n float: right;
\
n}
\
n.fl[data-v-ff30e8ae] {
\
n float: left;
\
n}
\
n.main-block[data-v-ff30e8ae] {
\
n margin: 5px;
\
n background: white;
\
n padding: 5px;
\
n}
\
n.clear-both[data-v-ff30e8ae]:after {
\
n content:
\'\'
;
\
n display: block;
\
n clear: both;
\
n}
\
n[data-v-ff30e8ae]::-webkit-scrollbar-track-piece {
\
n border-radius: 10px;
\
n}
\
n[data-v-ff30e8ae]::-webkit-scrollbar {
\
n width: 5px;
\
n height: 5px;
\
n}
\
n[data-v-ff30e8ae]::-webkit-scrollbar-thumb {
\
n background-color: #999;
\
n border-radius: 10px;
\
n min-height: 10px;
\
n}
\
n@-webkit-keyframes myfirst-data-v-ff30e8ae {
\
n0% {
\
n -webkit-transform: scale(1);
\
n}
\
n50% {
\
n -webkit-transform: scale(1.1);
\
n}
\
n100% {
\
n -webkit-transform: scale(1);
\
n}
\
n}
\
n.van-button--info[data-v-ff30e8ae] {
\
n background: #40A9FF;
\
n border: 1px solid #40A9FF;
\
n}
\
n.van-popup[data-v-ff30e8ae] {
\
n background: transparent;
\
n}
\
n.img-cvs[data-v-ff30e8ae] {
\
n position: absolute;
\
n width: 62.13333333vw;
\
n top: 46.93333333vw;
\
n left: 7.73333333vw;
\
n}
\
n.img-cvs .qrcode[data-v-ff30e8ae] {
\
n position: absolute;
\
n top: 81.33333333vw;
\
n left: 4vw;
\
n width: 16vw;
\
n}
\
n.cvs-img[data-v-ff30e8ae] {
\
n position: absolute;
\
n width: 62.13333333vw;
\
n top: 46.93333333vw;
\
n left: 7.73333333vw;
\
n z-index: 10;
\
n}
\
n.ref-content[data-v-ff30e8ae] {
\
n width: 79.73333333vw;
\
n height: 150.4vw;
\
n background-size: 100% 100%;
\
n position: relative;
\
n}
\
n.ref-content .tips[data-v-ff30e8ae] {
\
n font-size: 12px;
\
n position: absolute;
\
n color: #666;
\
n right: 2.66666667vw;
\
n top: 66.66666667vw;
\
n width: 1em;
\
n}
\
n.group-index[data-v-ff30e8ae] {
\
n z-index: 2;
\
n padding-bottom: toVw(150);
\
n background: #f0f0f0;
\
n font-family: PingFangSC-Regular;
\
n}
\
n.group-index .ref-icon[data-v-ff30e8ae] {
\
n position: fixed;
\
n height: 24vw;
\
n top: 70vw;
\
n z-index: 6;
\
n right: 2.66666667vw;
\
n /*border-radius: 100px;*/
\
n}
\
n.group-index .banner[data-v-ff30e8ae] {
\
n background: white;
\
n}
\
n.group-index .banner img[data-v-ff30e8ae] {
\
n width: 100%;
\
n}
\
n.group-index .head[data-v-ff30e8ae] {
\
n background: white;
\
n margin-bottom: 10px;
\
n padding: 2.66666667vw;
\
n}
\
n.group-index .head .title[data-v-ff30e8ae] {
\
n font-size: 20px;
\
n color: #333333;
\
n margin-bottom: 2vw;
\
n}
\
n.group-index .head .detail[data-v-ff30e8ae] {
\
n font-size: 12px;
\
n line-height: 1.6em;
\
n color: #333333;
\
n display: block;
\
n margin-bottom: 2vw;
\
n}
\
n.group-index .head .price .price-content[data-v-ff30e8ae] {
\
n font-family: PingFang-SC-Bold;
\
n font-size: 20px;
\
n color: #f83534;
\
n}
\
n.group-index .head-icon[data-v-ff30e8ae] {
\
n padding: 2.66666667vw;
\
n background: white;
\
n margin-bottom: 2px;
\
n}
\
n.group-index .head-icon .icon[data-v-ff30e8ae] {
\
n display: inline-block;
\
n width: 8vw;
\
n margin: 0 1.33333333vw;
\
n border-radius: 1000px;
\
n vertical-align: middle;
\
n}
\
n.group-index .head-icon .more[data-v-ff30e8ae] {
\
n width: 6.66666667vw;
\
n vertical-align: middle;
\
n}
\
n.group-index .head-icon .has[data-v-ff30e8ae] {
\
n font-size: 12px;
\
n line-height: 8vw;
\
n color: #999999;
\
n float: right;
\
n}
\
n.group-index .welfare[data-v-ff30e8ae] {
\
n background: white;
\
n padding: 1.33333333vw;
\
n font-size: 12px;
\
n text-align: center;
\
n color: #999999;
\
n margin-bottom: 20px;
\
n}
\
n.group-index .main-detail[data-v-ff30e8ae] {
\
n padding: 2.66666667vw;
\
n background: white;
\
n}
\
n.group-index .main-detail .tab-content[data-v-ff30e8ae] {
\
n border-radius: 9px;
\
n border: 1px solid #f63539;
\
n}
\
n.group-index .main-detail .tab-content[data-v-ff30e8ae]:after {
\
n content: "";
\
n display: block;
\
n clear: both;
\
n}
\
n.group-index .main-detail .tab-content .tab-btn[data-v-ff30e8ae] {
\
n width: 50%;
\
n float: left;
\
n height: 10.66666667vw;
\
n line-height: 10.66666667vw;
\
n text-align: center;
\
n color: #f63539;
\
n border-radius: 9px;
\
n}
\
n.group-index .main-detail .tab-content .tab-btn.active[data-v-ff30e8ae] {
\
n background: #f63539;
\
n color: white;
\
n}
\
n.group-index .main-detail .qa-block[data-v-ff30e8ae] {
\
n padding-bottom: 13.33333333vw;
\
n}
\
n.group-index .main-detail .qa-block img[data-v-ff30e8ae],
\
n.group-index .main-detail .qa-block video[data-v-ff30e8ae] {
\
n max-width: 100%;
\
n}
\
n.group-index .main-detail .qa-block .qa-content[data-v-ff30e8ae] {
\
n margin: toVw(10) 0;
\
n}
\
n.group-index .main-detail .qa-block .qa-content .qa-q[data-v-ff30e8ae] {
\
n font-size: 16px;
\
n color: #666666;
\
n}
\
n.group-index .main-detail .qa-block .qa-content .qa-a[data-v-ff30e8ae] {
\
n font-size: 16px;
\
n color: #333333;
\
n}
\
n.group-index .main-detail .detail[data-v-ff30e8ae] {
\
n padding: 2.66666667vw 0 20vw 0;
\
n}
\
n.group-index .main-detail .detail .detail-content img[data-v-ff30e8ae],
\
n.group-index .main-detail .detail .detail-content video[data-v-ff30e8ae] {
\
n max-width: 100%;
\
n}
\
n.group-index .couponBox[data-v-ff30e8ae] {
\
n position: fixed;
\
n width: 100%;
\
n height: 6.66666667vw;
\
n background: #FFE83C;
\
n bottom: 18.66666667vw;
\
n text-align: center;
\
n color: #FF4D4F;
\
n line-height: 6.66666667vw;
\
n font-size: 12px;
\
n}
\
n.group-index footer[data-v-ff30e8ae] {
\
n position: absolute;
\
n position: fixed;
\
n bottom: 0;
\
n width: 97.7vw;
\
n height: 16vw;
\
n display: -webkit-box;
\
n display: -ms-flexbox;
\
n display: flex;
\
n background: white;
\
n padding: 1.3vw;
\
n border-top: 1px solid #d8d8d8;
\
n -ms-flex-pack: distribute;
\
n justify-content: space-around;
\
n}
\
n.group-index footer .btn[data-v-ff30e8ae] {
\
n border: 1px solid #cccccc;
\
n border-radius: 8px;
\
n width: 0;
\
n -webkit-box-flex: 2;
\
n -ms-flex-positive: 2;
\
n flex-grow: 2;
\
n text-align: center;
\
n padding: 2vw 0;
\
n margin: 0 1.33333333vw;
\
n line-height: 1.4em;
\
n font-size: 16px;
\
n color: #666666;
\
n}
\
n.group-index footer .btn .free[data-v-ff30e8ae] {
\
n line-height: 13.33333333vw;
\
n}
\
n.group-index footer .btn span[data-v-ff30e8ae] {
\
n display: block;
\
n font-size: 20px;
\
n font-family: PingFang-SC-Bold;
\
n}
\
n.group-index footer .btn img[data-v-ff30e8ae] {
\
n width: 6.66666667vw;
\
n}
\
n.group-index footer .btn.big[data-v-ff30e8ae] {
\
n padding: 0.66666667vw 0;
\
n -webkit-box-flex: 5;
\
n -ms-flex-positive: 5;
\
n flex-grow: 5;
\
n}
\
n.group-index footer .btn.big.price[data-v-ff30e8ae] {
\
n background: #f83534;
\
n border-color: #f83534;
\
n color: white;
\
n}
\
n.group-index footer .btn.big.price.full[data-v-ff30e8ae] {
\
n background: #dddddd;
\
n border-color: #dddddd;
\
n line-height: 13.33333333vw;
\
n}
\
n.group-index .pop-block[data-v-ff30e8ae] {
\
n padding: 5.33333333vw 1.33333333vw;
\
n width: 80vw;
\
n text-align: center;
\
n font-size: 14px;
\
n color: #666666;
\
n position: relative;
\
n}
\
n.group-index .pop-block img[data-v-ff30e8ae] {
\
n width: 33.33333333vw;
\
n}
\
n.group-index .pop-block .close[data-v-ff30e8ae] {
\
n width: 6.66666667vw;
\
n position: absolute;
\
n top: 2.66666667vw;
\
n right: 2.66666667vw;
\
n}
\
n.group-index .pop-fill[data-v-ff30e8ae] {
\
n width: 66.66666667vw;
\
n padding: 4vw 4vw;
\
n font-size: 16px;
\
n color: #333333;
\
n}
\
n.group-index .pop-fill .btn-block[data-v-ff30e8ae] {
\
n margin-top: 4vw;
\
n}
\
n.group-index .pop-fill .btn-block[data-v-ff30e8ae]:after {
\
n content: "";
\
n display: block;
\
n clear: both;
\
n}
\
n.group-index .pop-fill .btn-block .btn[data-v-ff30e8ae] {
\
n float: right;
\
n background: #f83534;
\
n font-size: 14px;
\
n padding: 0.66666667vw 1.33333333vw;
\
n border-radius: 8px;
\
n color: #ffffff;
\
n}
\
n'
],
sourceRoot
:
""
}])},
"9Nk9"
:
function
(
n
,
e
,
t
){
var
i
=
t
(
"yEDY"
);
"string"
==
typeof
i
&&
(
i
=
[[
n
.
i
,
i
,
""
]]),
i
.
locals
&&
(
n
.
exports
=
i
.
locals
);
t
(
"rjj0"
)(
"134c077c"
,
i
,
!
1
,{})},
bNYG
:
function
(
n
,
e
,
t
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
t
(
"v2ns"
);
var
i
=
t
(
"7QTg"
),
a
=
t
(
"sf/l"
),
o
=
t
(
"CCn6"
),
r
=
t
(
"E26C"
),
d
=
t
.
n
(
r
),
A
=
t
(
"kXdI"
),
s
=
t
.
n
(
A
),
p
=
t
(
"XaoW"
),
l
=
t
.
n
(
p
),
c
=
t
(
"zpE/"
),
g
=
t
.
n
(
c
),
f
=
t
(
"WIsT"
),
u
=
t
(
"0ZjB"
),
C
=
t
.
n
(
u
),
v
=
t
(
"1UEi"
),
B
=
t
.
n
(
v
),
h
=
{
name
:
"index"
,
components
:{
swiper
:
i
.
swiper
,
swiperSlide
:
i
.
swiperSlide
,
loginPage
:
f
.
a
},
data
:
function
(){
return
{
refBg
:
d
.
a
,
bindMobile
:{
show
:
!
1
,
mobile
:
""
,
img_code
:
""
,
verify_code
:
""
,
flag
:
!
1
},
join
:
!
1
,
popType
:
!
1
,
popFill
:
!
1
,
popupVisible
:
!
1
,
refVisible
:
!
1
,
tabType
:
!
0
,
popcontentW
:
"您已经购买过课程,无需重复<br>购买,您可以添加微信公众号了解更多"
,
popcontentT
:
"为了更好地为您进行课程服务,<br>请扫码添加老师二维码"
,
qrCode
:
g
.
a
,
weChatIcon
:
l
.
a
,
closeUrl
:
C
.
a
,
moreUrl
:
s
.
a
,
refIcon
:
B
.
a
,
swiperOption
:{
pagination
:{
el
:
".swiper-pagination"
}},
QRCodeB
:
!
1
,
payFlag
:
!
0
,
dataURL
:
null
,
user_id
:
null
,
invite_code_f
:
!
0
,
invite_code
:
""
,
this_code
:
""
,
shopId
:
""
,
buyType
:
""
,
groupId
:
null
,
groupDetail
:
!
1
,
groupData
:
null
,
couponInfo
:{},
couponShadow
:
!
1
}},
mounted
:
function
(){
this
.
getDetail
()},
methods
:{
goToBuyPage
:
function
(){
var
n
=
this
,
e
=
{
shopId
:
this
.
shopId
,
invite_code
:
this
.
invite_code
},
t
=
this
.
invite_code
;
if
(
this
.
$sa
.
track
(
"buyCourse"
,{
buyType
:
2
===
this
.
groupDetail
.
goods_type
&&
0
===
this
.
buyType
?
"团购"
:
"直购"
,
goodsID
:
this
.
shopId
,
salesType
:
t
?
t
.
split
(
"-"
)[
1
]:
"null"
,
salesID
:
t
?
Number
(
t
.
split
(
"-"
)[
2
]):
0
}),
this
.
groupId
&&
(
e
.
group_order_id
=
this
.
groupId
),
console
.
log
(
this
.
buyType
),
0
!==
this
.
buyType
||
this
.
groupId
){
if
(
0
===
this
.
buyType
&&
this
.
groupId
)
return
this
.
$router
.
push
({
name
:
"buyDetail"
,
query
:{
shopId
:
this
.
shopId
,
invite_code
:
this
.
invite_code
}}),
window
.
location
.
reload
(),
!
1
;
e
.
type
=
""
}
else
e
.
type
=
"single"
,
this
.
buyType
=
"single"
;
localStorage
.
getItem
(
"gdt_vid"
)
&&
(
e
.
gdt_vid
=
localStorage
.
getItem
(
"gdt_vid"
)),
window
.
location
.
href
.
indexOf
(
"cct_user_id"
)
>-
1
&&
(
e
.
cct_user_id
=
a
.
a
.
getUrlParam
().
cct_user_id
),
this
.
$router
.
push
({
name
:
"buy"
,
query
:
e
}),
this
.
$nextTick
(
function
(){
n
.
payFlag
=!
0
})},
goToActivity
:
function
(){
var
n
=
{};
window
.
location
.
href
.
indexOf
(
"shopId"
)
>-
1
&&
(
n
.
shopId
=
this
.
$route
.
query
.
shopId
),
window
.
location
.
href
.
indexOf
(
"groupId"
)
>-
1
&&
(
n
.
groupId
=
this
.
$route
.
query
.
groupId
),
window
.
location
.
href
.
indexOf
(
"invite_code"
)
>-
1
&&
(
n
.
invite_code
=
this
.
$route
.
query
.
invite_code
),
this
.
$router
.
push
({
name
:
"activity"
,
query
:
n
})},
enableShare
:
function
(
n
){
Object
(
o
.
Q
)({
api_list
:
"onMenuShareAppMessage,onMenuShareTimeline"
,
url
:
window
.
location
.
href
.
split
(
"#"
)[
0
]}).
then
(
function
(
e
){
wx
.
config
({
debug
:
!
1
,
appId
:
e
.
appId
,
timestamp
:
parseInt
(
e
.
timestamp
),
nonceStr
:
e
.
nonceStr
,
signature
:
e
.
signature
,
jsApiList
:
e
.
jsApiList
}),
wx
.
ready
(
function
(){
wx
.
onMenuShareTimeline
({
title
:
n
.
product_title
,
desc
:
n
.
desc
,
link
:
n
.
shareUrl
,
imgUrl
:
n
.
shareIcon
||
"https://cdn.singsingenglish.com/singsing/recommend/logo-refer.png"
,
success
:
function
(){
console
.
log
(
"分享成功"
)},
cancel
:
function
(){
console
.
log
(
"分享失败"
)}}),
wx
.
onMenuShareAppMessage
({
title
:
n
.
product_title
,
desc
:
n
.
desc
,
link
:
n
.
shareUrl
,
imgUrl
:
n
.
shareIcon
||
"https://cdn.singsingenglish.com/singsing/recommend/logo-refer.png"
,
success
:
function
(){},
cancel
:
function
(){}})})})},
handleInviteCode
:
function
(){
if
(
this
.
invite_code
){
var
n
=
this
.
invite_code
.
split
(
"-"
);
n
.
length
>
2
&&
(
"TEACHER"
===
n
[
1
]
||
"XXMM"
===
n
[
1
])
&&
(
n
[
1
]
=
"USER"
);
var
e
=
n
[
0
]
+
"-"
+
n
[
1
];
this
.
this_code
=
e
+
"-"
+
this
.
user_id
}
else
this
.
this_code
=
"CC-USER-"
+
this
.
user_id
},
onShare
:
function
(
n
){
this
.
handleInviteCode
();
var
e
=
"https://wechat-test.changchangenglish.com/#/buyDetail?shopId="
+
this
.
shopId
+
"&invite_code="
+
this
.
this_code
;
this
.
enableShare
({
product_title
:
this
.
groupDetail
.
share_desc
.
title
,
desc
:
this
.
groupDetail
.
share_desc
.
content
,
shareIcon
:
this
.
groupDetail
.
share_desc
.
img
[
0
].
url
,
shareUrl
:
e
})},
toDataURLBase64
:
function
(
n
,
e
){
var
t
=
new
XMLHttpRequest
;
t
.
onload
=
function
(){
var
n
=
new
FileReader
;
n
.
onloadend
=
function
(){
e
(
n
.
result
)},
n
.
readAsDataURL
(
t
.
response
)},
t
.
responseType
=
"blob"
,
t
.
open
(
"GET"
,
n
,
!
0
),
t
.
send
()},
getDetail
:
function
(){
var
n
=
this
;
window
.
location
.
href
.
indexOf
(
"invite_code"
)
>-
1
&&
(
this
.
invite_code
=
this
.
$route
.
query
.
invite_code
,
2
===
this
.
invite_code
.
split
(
"-"
).
length
&&
(
this
.
invite_code_f
=!
1
));
this
.
$route
.
query
.
invite_code
&&
(
this
.
invite_code
=
this
.
$route
.
query
.
invite_code
),
this
.
user_id
=
JSON
.
parse
(
localStorage
.
getItem
(
"userDesc"
)).
user_id
,
window
.
location
.
href
.
indexOf
(
"shopId"
)
>-
1
&&
(
this
.
shopId
=
this
.
$route
.
query
.
shopId
,
Object
(
o
.
q
)(
this
.
shopId
).
then
(
function
(
e
){
if
(
e
.
desc
=
JSON
.
parse
(
e
.
desc
),
e
.
goods_desc
=
JSON
.
parse
(
e
.
goods_desc
),
e
.
share_desc
=
JSON
.
parse
(
e
.
share_desc
),
2
===
e
.
status
&&
e
.
bind_goods_id
)
return
n
.
$router
.
push
({
name
:
"buyDetail"
,
query
:{
shopId
:
e
.
bind_goods_id
,
invite_code
:
n
.
invite_code
}}),
void
n
.
getDetail
();
n
.
groupDetail
=
e
;
for
(
var
t
=
0
;
t
<
n
.
groupDetail
.
header_url
.
length
;
t
++
)
n
.
groupDetail
.
header_url
[
t
]
=
n
.
groupDetail
.
header_url
[
t
].
replace
(
"http://"
,
"https://"
);
if
(
n
.
groupDetail
.
desc
.
detail
=
n
.
groupDetail
.
desc
.
detail
.
replace
(
/http:
\/\/
/g
,
"https://"
),
n
.
groupDetail
.
desc
.
qa
=
n
.
groupDetail
.
desc
.
qa
.
replace
(
/http:
\/\/
/g
,
"https://"
),
n
.
groupDetail
.
share_desc
.
refImg
&&
1
===
n
.
groupDetail
.
share_desc
.
refImg
.
length
){
n
.
groupDetail
.
share_desc
.
refImg
[
0
].
url
=
n
.
groupDetail
.
share_desc
.
refImg
[
0
].
url
.
replace
(
"http://"
,
"https://"
);
var
i
=
n
;
n
.
toDataURLBase64
(
n
.
groupDetail
.
share_desc
.
refImg
[
0
].
url
,
function
(
n
){
i
.
groupDetail
.
share_desc
.
refImg
[
0
].
url
=
n
})}
var
a
=
n
.
invite_code
;
n
.
$sa
.
track
(
"viewCourseDetail"
,{
goodsID
:
n
.
groupDetail
.
id
.
toString
(),
courseCate
:
1
===
n
.
groupDetail
.
course_type
?
"体验课"
:
"正式课"
,
lessonNumber
:
n
.
groupDetail
.
watch_num
,
goodsName
:
n
.
groupDetail
.
name
,
coursePrice
:
Number
(
n
.
groupDetail
.
original_price
/
100
),
discountPrice
:
Number
(
n
.
groupDetail
.
current_price
/
100
),
courseID
:
n
.
groupDetail
.
course_id
,
courseName
:
""
,
salesType
:
a
?
a
.
split
(
"-"
)[
1
]:
"null"
,
salesID
:
a
?
Number
(
a
.
split
(
"-"
)[
2
]):
0
}),
2
===
n
.
groupDetail
.
goods_type
?(
localStorage
.
getItem
(
"cc_token"
)
&&
Object
(
o
.
H
)({
goods_id
:
n
.
shopId
}).
then
(
function
(
e
){
e
.
out_trade_no
&&
(
1
===
e
.
buy_type
?
n
.
$router
.
push
({
name
:
"buySuccess"
,
query
:{
out_trade_no
:
e
.
out_trade_no
}}):
n
.
$router
.
push
({
name
:
"success"
,
query
:{
out_trade_no
:
e
.
out_trade_no
}}))}),
window
.
location
.
href
.
indexOf
(
"groupId"
)
>-
1
?(
n
.
groupId
=
n
.
$route
.
query
.
groupId
,
Object
(
o
.
s
)(
n
.
groupId
).
then
(
function
(
e
){
n
.
groupData
=
e
}),
n
.
onShare
(
0
)):
n
.
onShare
(
1
)):(
n
.
onShare
(
1
),
n
.
handleInviteCode
())}));
var
e
=
JSON
.
parse
(
localStorage
.
getItem
(
"userCourse"
));
e
&&!
e
.
periods_list
&&
Object
(
o
.
m
)(
this
.
$route
.
query
.
shopId
).
then
(
function
(
e
){
e
.
length
&&
(
n
.
couponInfo
=
e
[
0
],
n
.
couponShadow
=!
0
),
console
.
log
(
n
.
couponInfo
)})},
showTeacher
:
function
(){
this
.
popType
=!
1
,
this
.
popupVisible
=!
0
},
buttonClick
:
function
(
n
,
e
){
this
.
$sa
.
track
(
"buttonClick"
,{
tabTitle
:
"商品"
,
moduleTitle
:
"详情页"
,
buttonType
:
n
,
buttonName
:
e
})},
groupPay
:
function
(
n
){
var
e
=
this
;
this
.
buyType
=
n
,
JSON
.
parse
(
localStorage
.
getItem
(
"userDesc"
)).
mobile
&&
""
!==
JSON
.
parse
(
localStorage
.
getItem
(
"userDesc"
)).
mobile
?
this
.
goToBuyPage
():(
this
.
bindMobile
.
flag
=
n
,
this
.
bindMobile
.
show
=!
0
,
setTimeout
(
function
(){
e
.
$sa
.
track
(
"ViewRegisterpage"
,{})},
1
e3
))}}},
b
=
function
(){
var
n
=
this
,
e
=
n
.
$createElement
,
t
=
n
.
_self
.
_c
||
e
;
return
t
(
"div"
,[
t
(
"div"
,{
staticStyle
:{
height
:
"100vh"
,
overflow
:
"auto"
}},[
n
.
groupDetail
?
t
(
"div"
,{
ref
:
"index"
,
staticClass
:
"group-index"
,
staticStyle
:{
"min-height"
:
"120vh"
}},[
t
(
"swiper"
,{
ref
:
"mySwiper"
,
staticClass
:
"banner"
,
attrs
:{
options
:
n
.
swiperOption
}},[
n
.
_l
(
n
.
groupDetail
.
goods_desc
.
img
,
function
(
e
,
i
){
return
n
.
groupDetail
.
goods_desc
?
t
(
"swiper-slide"
,{
key
:
i
},[
t
(
"img"
,{
attrs
:{
src
:
e
.
url
}})]):
n
.
_e
()}),
n
.
_v
(
" "
),
t
(
"div"
,{
staticClass
:
"swiper-pagination"
,
attrs
:{
slot
:
"pagination"
},
slot
:
"pagination"
})],
2
),
n
.
_v
(
" "
),
1
===
n
.
groupDetail
.
is_auth_user
?
t
(
"img"
,{
staticClass
:
"ref-icon shake"
,
attrs
:{
src
:
n
.
refIcon
},
on
:{
click
:
function
(
e
){
n
.
goToActivity
(),
n
.
buttonClick
(
"功能"
,
"生成海报"
)}}}):
n
.
_e
(),
n
.
_v
(
" "
),
t
(
"div"
,{
staticClass
:
"head"
},[
t
(
"div"
,{
staticClass
:
"title"
},[
n
.
_v
(
n
.
_s
(
n
.
groupDetail
.
name
))]),
n
.
_v
(
" "
),
t
(
"span"
,{
staticClass
:
"detail"
},[
n
.
_v
(
n
.
_s
(
n
.
groupDetail
.
goods_desc
.
desc
))]),
n
.
_v
(
" "
),
t
(
"div"
,{
staticClass
:
"price"
},[
t
(
"span"
,{
staticClass
:
"price-content"
},[
n
.
_v
(
"¥"
+
n
.
_s
(
n
.
groupDetail
.
current_price
/
100
)
+
"元"
)]),
n
.
_v
(
" "
),
1
===
n
.
groupDetail
.
goods_type
&&
n
.
groupDetail
.
original_price
>
n
.
groupDetail
.
current_price
?
t
(
"span"
,{
staticStyle
:{
"text-decoration"
:
"line-through"
,
color
:
"#bbb"
,
"font-size"
:
"14px"
}},[
n
.
_v
(
"¥"
+
n
.
_s
(
n
.
groupDetail
.
original_price
/
100
))]):
n
.
_e
()])]),
n
.
_v
(
" "
),
t
(
"div"
,{
staticClass
:
"head-icon"
},[
n
.
_l
(
n
.
groupDetail
.
header_url
,
function
(
e
,
i
){
return
i
<
5
?
t
(
"img"
,{
key
:
e
,
staticClass
:
"icon"
,
attrs
:{
src
:
e
}}):
n
.
_e
()}),
n
.
_v
(
" "
),
t
(
"img"
,{
staticClass
:
"more"
,
attrs
:{
src
:
n
.
moreUrl
}}),
n
.
_v
(
" "
),
t
(
"span"
,{
staticClass
:
"has"
},[
n
.
_v
(
"已售"
+
n
.
_s
(
n
.
groupDetail
.
has_group_num
)
+
"件"
)])],
2
),
n
.
_v
(
" "
),
n
.
groupDetail
.
head_welfare
&&
""
!==
n
.
groupDetail
.
head_welfare
&&
null
!==
n
.
groupDetail
.
head_welfare
?
t
(
"div"
,{
staticClass
:
"welfare"
},[
n
.
_v
(
"团长福利:"
+
n
.
_s
(
n
.
groupDetail
.
head_welfare
))]):
n
.
_e
(),
n
.
_v
(
" "
),
t
(
"div"
,{
staticClass
:
"main-detail"
},[
t
(
"div"
,{
staticClass
:
"tab-content"
},[
t
(
"div"
,{
class
:{
"tab-btn"
:
!
0
,
active
:
n
.
tabType
},
on
:{
click
:
function
(
e
){
n
.
tabType
=!
0
,
n
.
buttonClick
(
"展示"
,
"图文详情"
)}}},[
n
.
_v
(
"图文详情"
)]),
n
.
_v
(
" "
),
t
(
"div"
,{
class
:{
"tab-btn"
:
!
0
,
active
:
!
n
.
tabType
},
on
:{
click
:
function
(
e
){
n
.
tabType
=!
1
,
n
.
buttonClick
(
"展示"
,
"购买须知"
)}}},[
n
.
_v
(
"购买须知"
)])]),
n
.
_v
(
" "
),
n
.
tabType
?
t
(
"div"
,{
staticClass
:
"detail"
},[
t
(
"div"
,{
staticClass
:
"detail-content"
,
domProps
:{
innerHTML
:
n
.
_s
(
n
.
groupDetail
.
desc
.
detail
)}})]):
n
.
_e
(),
n
.
_v
(
" "
),
n
.
tabType
?
n
.
_e
():
t
(
"div"
,{
staticClass
:
"qa-block"
},[
t
(
"div"
,{
staticClass
:
"qa-content qaDetail"
,
domProps
:{
innerHTML
:
n
.
_s
(
n
.
groupDetail
.
desc
.
qa
)}})])]),
n
.
_v
(
" "
),
n
.
groupDetail
.
desc
.
customer_service
[
0
]?
t
(
"div"
,[
t
(
"mt-popup"
,{
model
:{
value
:
n
.
popupVisible
,
callback
:
function
(
e
){
n
.
popupVisible
=
e
},
expression
:
"popupVisible"
}},[
t
(
"div"
,{
staticClass
:
"pop-block"
},[
n
.
popType
?
t
(
"img"
,{
attrs
:{
src
:
n
.
qrCode
}}):
n
.
_e
(),
n
.
_v
(
" "
),
n
.
popType
?
n
.
_e
():
t
(
"img"
,{
attrs
:{
src
:
n
.
groupDetail
.
desc
.
customer_service
[
0
].
url
}}),
n
.
_v
(
" "
),
t
(
"div"
,[
n
.
popType
?
t
(
"span"
,{
domProps
:{
innerHTML
:
n
.
_s
(
n
.
popcontentW
)}}):
n
.
_e
(),
n
.
_v
(
" "
),
n
.
popType
?
n
.
_e
():
t
(
"span"
,{
domProps
:{
innerHTML
:
n
.
_s
(
n
.
popcontentT
)}})]),
n
.
_v
(
" "
),
t
(
"img"
,{
staticClass
:
"close"
,
attrs
:{
src
:
n
.
closeUrl
},
on
:{
click
:
function
(
e
){
n
.
popupVisible
=!
1
}}})])])],
1
):
n
.
_e
(),
n
.
_v
(
" "
),
t
(
"mt-popup"
,{
attrs
:{
closeOnClickModal
:
!
1
},
model
:{
value
:
n
.
popFill
,
callback
:
function
(
e
){
n
.
popFill
=
e
},
expression
:
"popFill"
}},[
t
(
"div"
,{
staticClass
:
"pop-fill"
},[
n
.
_v
(
"
\n
您好,本次拼团已经结束。您可以选择重新开团或单独购买
\n
"
),
t
(
"div"
,{
staticClass
:
"btn-block"
},[
t
(
"div"
,{
staticClass
:
"btn"
,
on
:{
click
:
function
(
e
){
n
.
rePlay
()}}},[
n
.
_v
(
"重新开团"
)])])])]),
n
.
_v
(
" "
),
t
(
"mt-popup"
,{
staticStyle
:{
"background-color"
:
"transparent"
,
"margin-top"
:
"-80vw"
,
"margin-left"
:
"-40vw"
,
transform
:
"none"
},
model
:{
value
:
n
.
refVisible
,
callback
:
function
(
e
){
n
.
refVisible
=
e
},
expression
:
"refVisible"
}},[
n
.
groupDetail
.
share_desc
.
refImg
&&
n
.
groupDetail
.
share_desc
.
refImg
.
length
>
0
?
t
(
"div"
,{
staticClass
:
"ref-content"
,
style
:{
backgroundImage
:
"url("
+
n
.
refBg
+
")"
}},[
t
(
"div"
,{
staticClass
:
"tips"
},[
n
.
_v
(
"长按保存图片"
)])]):
n
.
_e
(),
n
.
_v
(
" "
),
n
.
groupDetail
.
share_desc
.
refImg
&&
n
.
groupDetail
.
share_desc
.
refImg
.
length
>
0
?
t
(
"div"
,{
ref
:
"imageWrapper"
,
staticClass
:
"img-cvs"
,
attrs
:{
id
:
"capture"
}},[
t
(
"img"
,{
attrs
:{
src
:
n
.
groupDetail
.
share_desc
.
refImg
[
0
].
url
}}),
n
.
_v
(
" "
),
t
(
"div"
,{
staticClass
:
"qrcode"
,
attrs
:{
id
:
"qrcode"
}})]):
n
.
_e
(),
n
.
_v
(
" "
),
t
(
"img"
,{
staticClass
:
"cvs-img"
,
attrs
:{
src
:
n
.
dataURL
}})]),
n
.
_v
(
" "
),
1
===
n
.
groupDetail
.
status
&&
n
.
invite_code_f
?
t
(
"div"
,[
n
.
couponInfo
.
money
?
t
(
"div"
,{
staticClass
:
"couponBox"
},[
n
.
_v
(
"您有"
+
n
.
_s
(
n
.
couponInfo
.
money
/
100
)
+
"元优惠券可使用"
)]):
n
.
_e
(),
n
.
_v
(
" "
),
n
.
groupDetail
.
goods_type
&&
2
===
n
.
groupDetail
.
goods_type
?
t
(
"footer"
,[
n
.
groupDetail
.
desc
.
customer_service
[
0
]?
t
(
"div"
,{
staticClass
:
"btn"
,
on
:{
click
:
function
(
e
){
n
.
showTeacher
(),
n
.
buttonClick
(
"老师"
,
"客服"
)}}},[
t
(
"img"
,{
attrs
:{
src
:
n
.
weChatIcon
}})]):
n
.
_e
(),
n
.
_v
(
" "
),
n
.
groupData
&&
0
!==
n
.
groupData
.
status
?
t
(
"div"
,{
staticClass
:
"btn big price full"
},[
n
.
groupId
?
t
(
"div"
,[
n
.
_v
(
"该团已满"
)]):
n
.
_e
()]):
n
.
_e
(),
n
.
_v
(
" "
),
t
(
"div"
,{
class
:
n
.
groupData
&&
0
!==
n
.
groupData
.
status
?
"btn big price"
:
"btn big"
,
attrs
:{
id
:
n
.
groupId
?
"reGroup"
:
"singleBuy"
},
on
:{
click
:
function
(
e
){
n
.
groupPay
(
0
),
n
.
buttonClick
(
"购买按钮"
,
n
.
groupId
?
"重新开团"
:
"单独购买"
)}}},[
n
.
groupId
?
n
.
_e
():
t
(
"span"
,[
n
.
_v
(
"¥"
+
n
.
_s
(
n
.
groupDetail
.
original_price
/
100
))]),
n
.
_v
(
" "
),
n
.
groupId
?
n
.
_e
():
t
(
"div"
,[
n
.
_v
(
"单独购"
)]),
n
.
_v
(
" "
),
n
.
groupId
?
t
(
"span"
,[
n
.
_v
(
"¥"
+
n
.
_s
(
n
.
groupDetail
.
current_price
/
100
))]):
n
.
_e
(),
n
.
_v
(
" "
),
n
.
groupId
?
t
(
"div"
,[
n
.
_v
(
"重新开团"
)]):
n
.
_e
()]),
n
.
_v
(
" "
),
n
.
groupData
&&
0
!==
n
.
groupData
.
status
?
n
.
_e
():
t
(
"div"
,{
staticClass
:
"btn big price"
,
attrs
:{
id
:
n
.
groupId
?
"joinGroup"
:
"newGroup"
},
on
:{
click
:
function
(
e
){
n
.
groupPay
(
1
),
n
.
buttonClick
(
"购买按钮"
,
n
.
groupId
?
"立即参团"
:
"创建团"
)}}},[
t
(
"span"
,[
n
.
_v
(
"¥"
+
n
.
_s
(
n
.
groupDetail
.
current_price
/
100
))]),
n
.
_v
(
" "
),
n
.
groupId
?
n
.
_e
():
t
(
"div"
,[
n
.
_v
(
n
.
_s
(
n
.
groupDetail
.
desc
.
group_number
)
+
"人团"
)]),
n
.
_v
(
" "
),
n
.
groupId
?
t
(
"div"
,[
n
.
_v
(
"立即参团"
)]):
n
.
_e
()])]):
n
.
_e
(),
n
.
_v
(
" "
),
n
.
groupDetail
.
goods_type
&&
2
!==
n
.
groupDetail
.
goods_type
?
t
(
"footer"
,[
n
.
groupDetail
.
desc
.
customer_service
[
0
]?
t
(
"div"
,{
staticClass
:
"btn"
,
on
:{
click
:
function
(
e
){
n
.
showTeacher
(),
n
.
buttonClick
(
"功能"
,
"客服"
)}}},[
t
(
"img"
,{
attrs
:{
src
:
n
.
weChatIcon
}})]):
n
.
_e
(),
n
.
_v
(
" "
),
n
.
groupDetail
.
current_price
>
0
?
t
(
"div"
,{
staticClass
:
"btn big price"
,
on
:{
click
:
function
(
e
){
n
.
groupPay
(
1
),
n
.
buttonClick
(
"购买按钮"
,
"直购购买"
)}}},[
t
(
"span"
,[
n
.
_v
(
"¥"
+
n
.
_s
(
n
.
groupDetail
.
current_price
/
100
))]),
n
.
_v
(
" "
),
t
(
"div"
,[
n
.
_v
(
"立即购买"
)])]):
n
.
_e
(),
n
.
_v
(
" "
),
0
==
n
.
groupDetail
.
current_price
?
t
(
"div"
,{
staticClass
:
"btn big price"
,
on
:{
click
:
function
(
e
){
n
.
groupPay
(
1
),
n
.
buttonClick
(
"购买按钮"
,
"直购购买"
)}}},[
t
(
"div"
,{
staticClass
:
"free"
},[
n
.
_v
(
"免费领"
)])]):
n
.
_e
()]):
n
.
_e
()]):
n
.
_e
(),
n
.
_v
(
" "
),
1
!==
n
.
groupDetail
.
status
?
t
(
"div"
,[
n
.
_m
(
0
)]):
n
.
_e
()],
1
):
n
.
_e
()]),
n
.
_v
(
" "
),
n
.
groupDetail
?
t
(
"login-page"
,{
attrs
:{
"bind-mobile"
:
n
.
bindMobile
,
groupDetail
:
n
.
groupDetail
},
on
:{
goToBuyPage
:
n
.
goToBuyPage
}}):
n
.
_e
()],
1
)};
b
.
_withStripped
=!
0
;
var
m
=
{
render
:
b
,
staticRenderFns
:[
function
(){
var
n
=
this
.
$createElement
,
e
=
this
.
_self
.
_c
||
n
;
return
e
(
"footer"
,[
e
(
"div"
,{
staticStyle
:{
color
:
"#888"
}},[
this
.
_v
(
"已售罄"
)])])}]},
w
=
m
;
var
E
=!
1
;
var
_
=
t
(
"VU/8"
)(
h
,
w
,
!
1
,
function
(
n
){
E
||
(
t
(
"9Nk9"
),
t
(
"rC6I"
))},
"data-v-ff30e8ae"
,
null
);
_
.
options
.
__file
=
"src/components/buy/index.vue"
;
e
.
default
=
_
.
exports
},
rC6I
:
function
(
n
,
e
,
t
){
var
i
=
t
(
"5W4P"
);
"string"
==
typeof
i
&&
(
i
=
[[
n
.
i
,
i
,
""
]]),
i
.
locals
&&
(
n
.
exports
=
i
.
locals
);
t
(
"rjj0"
)(
"dc25c13e"
,
i
,
!
1
,{})},
yEDY
:
function
(
n
,
e
,
t
){(
n
.
exports
=
t
(
"FZ+f"
)(
!
0
)).
push
([
n
.
i
,
"
\n
img,
\
r
\n
video {
\
r
\n
max-width: 100%;
\n
}
\n
@-webkit-keyframes swing {
\n
10% {
\
r
\n
-webkit-transform: rotate(15deg);
\
r
\n
transform: rotate(15deg);
\n
}
\n
20% {
\
r
\n
-webkit-transform: rotate(-10deg);
\
r
\n
transform: rotate(-10deg);
\n
}
\n
30% {
\
r
\n
-webkit-transform: rotate(5deg);
\
r
\n
transform: rotate(5deg);
\n
}
\n
40% {
\
r
\n
-webkit-transform: rotate(-5deg);
\
r
\n
transform: rotate(-5deg);
\n
}
\n
50%,
\
r
\n
100% {
\
r
\n
-webkit-transform: rotate(0deg);
\
r
\n
transform: rotate(0deg);
\n
}
\n
}
\n
.shake {
\
r
\n
-webkit-animation-name: swing;
\
r
\n
-webkit-animation-duration: 0.8s;
\
r
\n
-webkit-transform-origin: 50% 50%;
\
r
\n
-webkit-animation-iteration-count: infinite;
\
r
\n
-webkit-animation-timing-function: linear;
\n
}
\
r
\n
"
,
""
,{
version
:
3
,
sources
:[
"C:/Users/Administrator/Desktop/h5/wechat/src/components/buy/index.vue"
],
names
:[],
mappings
:
";AACA;;EAEE,gBAAgB;CACjB;AACD;AACA;IACI,iCAAiC;YACzB,yBAAyB;CACpC;AACD;IACI,kCAAkC;YAC1B,0BAA0B;CACrC;AACD;IACI,gCAAgC;YACxB,wBAAwB;CACnC;AACD;IACI,iCAAiC;YACzB,yBAAyB;CACpC;AACD;;IAEI,gCAAgC;YACxB,wBAAwB;CACnC;CACA;AACD;EACE,8BAA8B;EAC9B,iCAAiC;EACjC,kCAAkC;EAClC,4CAA4C;EAC5C,0CAA0C;CAC3C"
,
file
:
"index.vue"
,
sourcesContent
:[
"
\n
img,
\
r
\n
video {
\
r
\n
max-width: 100%;
\n
}
\n
@-webkit-keyframes swing {
\n
10% {
\
r
\n
-webkit-transform: rotate(15deg);
\
r
\n
transform: rotate(15deg);
\n
}
\n
20% {
\
r
\n
-webkit-transform: rotate(-10deg);
\
r
\n
transform: rotate(-10deg);
\n
}
\n
30% {
\
r
\n
-webkit-transform: rotate(5deg);
\
r
\n
transform: rotate(5deg);
\n
}
\n
40% {
\
r
\n
-webkit-transform: rotate(-5deg);
\
r
\n
transform: rotate(-5deg);
\n
}
\n
50%,
\
r
\n
100% {
\
r
\n
-webkit-transform: rotate(0deg);
\
r
\n
transform: rotate(0deg);
\n
}
\n
}
\n
.shake {
\
r
\n
-webkit-animation-name: swing;
\
r
\n
-webkit-animation-duration: 0.8s;
\
r
\n
-webkit-transform-origin: 50% 50%;
\
r
\n
-webkit-animation-iteration-count: infinite;
\
r
\n
-webkit-animation-timing-function: linear;
\n
}
\
r
\n
"
],
sourceRoot
:
""
}])}});
\ No newline at end of file
webpackJsonp
([
18
],{
"5W4P"
:
function
(
e
,
n
,
t
){(
e
.
exports
=
t
(
"FZ+f"
)(
!
0
)).
push
([
e
.
i
,
'
\
n.fl-r[data-v-ff30e8ae] {
\
n float: right;
\
n}
\
n.fr[data-v-ff30e8ae] {
\
n float: right;
\
n}
\
n.fl[data-v-ff30e8ae] {
\
n float: left;
\
n}
\
n.main-block[data-v-ff30e8ae] {
\
n margin: 5px;
\
n background: white;
\
n padding: 5px;
\
n}
\
n.clear-both[data-v-ff30e8ae]:after {
\
n content:
\'\'
;
\
n display: block;
\
n clear: both;
\
n}
\
n[data-v-ff30e8ae]::-webkit-scrollbar-track-piece {
\
n border-radius: 10px;
\
n}
\
n[data-v-ff30e8ae]::-webkit-scrollbar {
\
n width: 5px;
\
n height: 5px;
\
n}
\
n[data-v-ff30e8ae]::-webkit-scrollbar-thumb {
\
n background-color: #999;
\
n border-radius: 10px;
\
n min-height: 10px;
\
n}
\
n@-webkit-keyframes myfirst-data-v-ff30e8ae {
\
n0% {
\
n -webkit-transform: scale(1);
\
n}
\
n50% {
\
n -webkit-transform: scale(1.1);
\
n}
\
n100% {
\
n -webkit-transform: scale(1);
\
n}
\
n}
\
n.van-button--info[data-v-ff30e8ae] {
\
n background: #40A9FF;
\
n border: 1px solid #40A9FF;
\
n}
\
n.van-popup[data-v-ff30e8ae] {
\
n background: transparent;
\
n}
\
n.img-cvs[data-v-ff30e8ae] {
\
n position: absolute;
\
n width: 62.13333333vw;
\
n top: 46.93333333vw;
\
n left: 7.73333333vw;
\
n}
\
n.img-cvs .qrcode[data-v-ff30e8ae] {
\
n position: absolute;
\
n top: 81.33333333vw;
\
n left: 4vw;
\
n width: 16vw;
\
n}
\
n.cvs-img[data-v-ff30e8ae] {
\
n position: absolute;
\
n width: 62.13333333vw;
\
n top: 46.93333333vw;
\
n left: 7.73333333vw;
\
n z-index: 10;
\
n}
\
n.ref-content[data-v-ff30e8ae] {
\
n width: 79.73333333vw;
\
n height: 150.4vw;
\
n background-size: 100% 100%;
\
n position: relative;
\
n}
\
n.ref-content .tips[data-v-ff30e8ae] {
\
n font-size: 12px;
\
n position: absolute;
\
n color: #666;
\
n right: 2.66666667vw;
\
n top: 66.66666667vw;
\
n width: 1em;
\
n}
\
n.group-index[data-v-ff30e8ae] {
\
n z-index: 2;
\
n padding-bottom: toVw(150);
\
n background: #f0f0f0;
\
n font-family: PingFangSC-Regular;
\
n}
\
n.group-index .ref-icon[data-v-ff30e8ae] {
\
n position: fixed;
\
n height: 24vw;
\
n top: 70vw;
\
n z-index: 6;
\
n right: 2.66666667vw;
\
n /*border-radius: 100px;*/
\
n}
\
n.group-index .banner[data-v-ff30e8ae] {
\
n background: white;
\
n}
\
n.group-index .banner img[data-v-ff30e8ae] {
\
n width: 100%;
\
n}
\
n.group-index .head[data-v-ff30e8ae] {
\
n background: white;
\
n margin-bottom: 10px;
\
n padding: 2.66666667vw;
\
n}
\
n.group-index .head .title[data-v-ff30e8ae] {
\
n font-size: 20px;
\
n color: #333333;
\
n margin-bottom: 2vw;
\
n}
\
n.group-index .head .detail[data-v-ff30e8ae] {
\
n font-size: 12px;
\
n line-height: 1.6em;
\
n color: #333333;
\
n display: block;
\
n margin-bottom: 2vw;
\
n}
\
n.group-index .head .price .price-content[data-v-ff30e8ae] {
\
n font-family: PingFang-SC-Bold;
\
n font-size: 20px;
\
n color: #f83534;
\
n}
\
n.group-index .head-icon[data-v-ff30e8ae] {
\
n padding: 2.66666667vw;
\
n background: white;
\
n margin-bottom: 2px;
\
n}
\
n.group-index .head-icon .icon[data-v-ff30e8ae] {
\
n display: inline-block;
\
n width: 8vw;
\
n margin: 0 1.33333333vw;
\
n border-radius: 1000px;
\
n vertical-align: middle;
\
n}
\
n.group-index .head-icon .more[data-v-ff30e8ae] {
\
n width: 6.66666667vw;
\
n vertical-align: middle;
\
n}
\
n.group-index .head-icon .has[data-v-ff30e8ae] {
\
n font-size: 12px;
\
n line-height: 8vw;
\
n color: #999999;
\
n float: right;
\
n}
\
n.group-index .welfare[data-v-ff30e8ae] {
\
n background: white;
\
n padding: 1.33333333vw;
\
n font-size: 12px;
\
n text-align: center;
\
n color: #999999;
\
n margin-bottom: 20px;
\
n}
\
n.group-index .main-detail[data-v-ff30e8ae] {
\
n padding: 2.66666667vw;
\
n background: white;
\
n}
\
n.group-index .main-detail .tab-content[data-v-ff30e8ae] {
\
n border-radius: 9px;
\
n border: 1px solid #f63539;
\
n}
\
n.group-index .main-detail .tab-content[data-v-ff30e8ae]:after {
\
n content: "";
\
n display: block;
\
n clear: both;
\
n}
\
n.group-index .main-detail .tab-content .tab-btn[data-v-ff30e8ae] {
\
n width: 50%;
\
n float: left;
\
n height: 10.66666667vw;
\
n line-height: 10.66666667vw;
\
n text-align: center;
\
n color: #f63539;
\
n border-radius: 9px;
\
n}
\
n.group-index .main-detail .tab-content .tab-btn.active[data-v-ff30e8ae] {
\
n background: #f63539;
\
n color: white;
\
n}
\
n.group-index .main-detail .qa-block[data-v-ff30e8ae] {
\
n padding-bottom: 13.33333333vw;
\
n}
\
n.group-index .main-detail .qa-block img[data-v-ff30e8ae],
\
n.group-index .main-detail .qa-block video[data-v-ff30e8ae] {
\
n max-width: 100%;
\
n}
\
n.group-index .main-detail .qa-block .qa-content[data-v-ff30e8ae] {
\
n margin: toVw(10) 0;
\
n}
\
n.group-index .main-detail .qa-block .qa-content .qa-q[data-v-ff30e8ae] {
\
n font-size: 16px;
\
n color: #666666;
\
n}
\
n.group-index .main-detail .qa-block .qa-content .qa-a[data-v-ff30e8ae] {
\
n font-size: 16px;
\
n color: #333333;
\
n}
\
n.group-index .main-detail .detail[data-v-ff30e8ae] {
\
n padding: 2.66666667vw 0 20vw 0;
\
n}
\
n.group-index .main-detail .detail .detail-content img[data-v-ff30e8ae],
\
n.group-index .main-detail .detail .detail-content video[data-v-ff30e8ae] {
\
n max-width: 100%;
\
n}
\
n.group-index .couponBox[data-v-ff30e8ae] {
\
n position: fixed;
\
n width: 100%;
\
n height: 6.66666667vw;
\
n background: #FFE83C;
\
n bottom: 18.66666667vw;
\
n text-align: center;
\
n color: #FF4D4F;
\
n line-height: 6.66666667vw;
\
n font-size: 12px;
\
n}
\
n.group-index footer[data-v-ff30e8ae] {
\
n position: absolute;
\
n position: fixed;
\
n bottom: 0;
\
n width: 97.7vw;
\
n height: 16vw;
\
n display: -webkit-box;
\
n display: -ms-flexbox;
\
n display: flex;
\
n background: white;
\
n padding: 1.3vw;
\
n border-top: 1px solid #d8d8d8;
\
n -ms-flex-pack: distribute;
\
n justify-content: space-around;
\
n}
\
n.group-index footer .btn[data-v-ff30e8ae] {
\
n border: 1px solid #cccccc;
\
n border-radius: 8px;
\
n width: 0;
\
n -webkit-box-flex: 2;
\
n -ms-flex-positive: 2;
\
n flex-grow: 2;
\
n text-align: center;
\
n padding: 2vw 0;
\
n margin: 0 1.33333333vw;
\
n line-height: 1.4em;
\
n font-size: 16px;
\
n color: #666666;
\
n}
\
n.group-index footer .btn .free[data-v-ff30e8ae] {
\
n line-height: 13.33333333vw;
\
n}
\
n.group-index footer .btn span[data-v-ff30e8ae] {
\
n display: block;
\
n font-size: 20px;
\
n font-family: PingFang-SC-Bold;
\
n}
\
n.group-index footer .btn img[data-v-ff30e8ae] {
\
n width: 6.66666667vw;
\
n}
\
n.group-index footer .btn.big[data-v-ff30e8ae] {
\
n padding: 0.66666667vw 0;
\
n -webkit-box-flex: 5;
\
n -ms-flex-positive: 5;
\
n flex-grow: 5;
\
n}
\
n.group-index footer .btn.big.price[data-v-ff30e8ae] {
\
n background: #f83534;
\
n border-color: #f83534;
\
n color: white;
\
n}
\
n.group-index footer .btn.big.price.full[data-v-ff30e8ae] {
\
n background: #dddddd;
\
n border-color: #dddddd;
\
n line-height: 13.33333333vw;
\
n}
\
n.group-index .pop-block[data-v-ff30e8ae] {
\
n padding: 5.33333333vw 1.33333333vw;
\
n width: 80vw;
\
n text-align: center;
\
n font-size: 14px;
\
n color: #666666;
\
n position: relative;
\
n}
\
n.group-index .pop-block img[data-v-ff30e8ae] {
\
n width: 33.33333333vw;
\
n}
\
n.group-index .pop-block .close[data-v-ff30e8ae] {
\
n width: 6.66666667vw;
\
n position: absolute;
\
n top: 2.66666667vw;
\
n right: 2.66666667vw;
\
n}
\
n.group-index .pop-fill[data-v-ff30e8ae] {
\
n width: 66.66666667vw;
\
n padding: 4vw 4vw;
\
n font-size: 16px;
\
n color: #333333;
\
n}
\
n.group-index .pop-fill .btn-block[data-v-ff30e8ae] {
\
n margin-top: 4vw;
\
n}
\
n.group-index .pop-fill .btn-block[data-v-ff30e8ae]:after {
\
n content: "";
\
n display: block;
\
n clear: both;
\
n}
\
n.group-index .pop-fill .btn-block .btn[data-v-ff30e8ae] {
\
n float: right;
\
n background: #f83534;
\
n font-size: 14px;
\
n padding: 0.66666667vw 1.33333333vw;
\
n border-radius: 8px;
\
n color: #ffffff;
\
n}
\
n'
,
""
,{
version
:
3
,
sources
:[
"C:/Users/Administrator/Desktop/h5/wechat/src/components/buy/index.vue"
],
names
:[],
mappings
:
";AACA;EACE,aAAa;CACd;AACD;EACE,aAAa;CACd;AACD;EACE,YAAY;CACb;AACD;EACE,YAAY;EACZ,kBAAkB;EAClB,aAAa;CACd;AACD;EACE,YAAY;EACZ,eAAe;EACf,YAAY;CACb;AACD;EACE,oBAAoB;CACrB;AACD;EACE,WAAW;EACX,YAAY;CACb;AACD;EACE,uBAAuB;EACvB,oBAAoB;EACpB,iBAAiB;CAClB;AACD;AACA;IACI,4BAA4B;CAC/B;AACD;IACI,8BAA8B;CACjC;AACD;IACI,4BAA4B;CAC/B;CACA;AACD;EACE,oBAAoB;EACpB,0BAA0B;CAC3B;AACD;EACE,wBAAwB;CACzB;AACD;EACE,mBAAmB;EACnB,qBAAqB;EACrB,mBAAmB;EACnB,mBAAmB;CACpB;AACD;EACE,mBAAmB;EACnB,mBAAmB;EACnB,UAAU;EACV,YAAY;CACb;AACD;EACE,mBAAmB;EACnB,qBAAqB;EACrB,mBAAmB;EACnB,mBAAmB;EACnB,YAAY;CACb;AACD;EACE,qBAAqB;EACrB,gBAAgB;EAChB,2BAA2B;EAC3B,mBAAmB;CACpB;AACD;EACE,gBAAgB;EAChB,mBAAmB;EACnB,YAAY;EACZ,oBAAoB;EACpB,mBAAmB;EACnB,WAAW;CACZ;AACD;EACE,WAAW;EACX,0BAA0B;EAC1B,oBAAoB;EACpB,gCAAgC;CACjC;AACD;EACE,gBAAgB;EAChB,aAAa;EACb,UAAU;EACV,WAAW;EACX,oBAAoB;EACpB,yBAAyB;CAC1B;AACD;EACE,kBAAkB;CACnB;AACD;EACE,YAAY;CACb;AACD;EACE,kBAAkB;EAClB,oBAAoB;EACpB,sBAAsB;CACvB;AACD;EACE,gBAAgB;EAChB,eAAe;EACf,mBAAmB;CACpB;AACD;EACE,gBAAgB;EAChB,mBAAmB;EACnB,eAAe;EACf,eAAe;EACf,mBAAmB;CACpB;AACD;EACE,8BAA8B;EAC9B,gBAAgB;EAChB,eAAe;CAChB;AACD;EACE,sBAAsB;EACtB,kBAAkB;EAClB,mBAAmB;CACpB;AACD;EACE,sBAAsB;EACtB,WAAW;EACX,uBAAuB;EACvB,sBAAsB;EACtB,uBAAuB;CACxB;AACD;EACE,oBAAoB;EACpB,uBAAuB;CACxB;AACD;EACE,gBAAgB;EAChB,iBAAiB;EACjB,eAAe;EACf,aAAa;CACd;AACD;EACE,kBAAkB;EAClB,sBAAsB;EACtB,gBAAgB;EAChB,mBAAmB;EACnB,eAAe;EACf,oBAAoB;CACrB;AACD;EACE,sBAAsB;EACtB,kBAAkB;CACnB;AACD;EACE,mBAAmB;EACnB,0BAA0B;CAC3B;AACD;EACE,YAAY;EACZ,eAAe;EACf,YAAY;CACb;AACD;EACE,WAAW;EACX,YAAY;EACZ,sBAAsB;EACtB,2BAA2B;EAC3B,mBAAmB;EACnB,eAAe;EACf,mBAAmB;CACpB;AACD;EACE,oBAAoB;EACpB,aAAa;CACd;AACD;EACE,8BAA8B;CAC/B;AACD;;EAEE,gBAAgB;CACjB;AACD;EACE,mBAAmB;CACpB;AACD;EACE,gBAAgB;EAChB,eAAe;CAChB;AACD;EACE,gBAAgB;EAChB,eAAe;CAChB;AACD;EACE,+BAA+B;CAChC;AACD;;EAEE,gBAAgB;CACjB;AACD;EACE,gBAAgB;EAChB,YAAY;EACZ,qBAAqB;EACrB,oBAAoB;EACpB,sBAAsB;EACtB,mBAAmB;EACnB,eAAe;EACf,0BAA0B;EAC1B,gBAAgB;CACjB;AACD;EACE,mBAAmB;EACnB,gBAAgB;EAChB,UAAU;EACV,cAAc;EACd,aAAa;EACb,qBAAqB;EACrB,qBAAqB;EACrB,cAAc;EACd,kBAAkB;EAClB,eAAe;EACf,8BAA8B;EAC9B,0BAA0B;MACtB,8BAA8B;CACnC;AACD;EACE,0BAA0B;EAC1B,mBAAmB;EACnB,SAAS;EACT,oBAAoB;MAChB,qBAAqB;UACjB,aAAa;EACrB,mBAAmB;EACnB,eAAe;EACf,uBAAuB;EACvB,mBAAmB;EACnB,gBAAgB;EAChB,eAAe;CAChB;AACD;EACE,2BAA2B;CAC5B;AACD;EACE,eAAe;EACf,gBAAgB;EAChB,8BAA8B;CAC/B;AACD;EACE,oBAAoB;CACrB;AACD;EACE,wBAAwB;EACxB,oBAAoB;MAChB,qBAAqB;UACjB,aAAa;CACtB;AACD;EACE,oBAAoB;EACpB,sBAAsB;EACtB,aAAa;CACd;AACD;EACE,oBAAoB;EACpB,sBAAsB;EACtB,2BAA2B;CAC5B;AACD;EACE,mCAAmC;EACnC,YAAY;EACZ,mBAAmB;EACnB,gBAAgB;EAChB,eAAe;EACf,mBAAmB;CACpB;AACD;EACE,qBAAqB;CACtB;AACD;EACE,oBAAoB;EACpB,mBAAmB;EACnB,kBAAkB;EAClB,oBAAoB;CACrB;AACD;EACE,qBAAqB;EACrB,iBAAiB;EACjB,gBAAgB;EAChB,eAAe;CAChB;AACD;EACE,gBAAgB;CACjB;AACD;EACE,YAAY;EACZ,eAAe;EACf,YAAY;CACb;AACD;EACE,aAAa;EACb,oBAAoB;EACpB,gBAAgB;EAChB,mCAAmC;EACnC,mBAAmB;EACnB,eAAe;CAChB"
,
file
:
"index.vue"
,
sourcesContent
:[
'
\
n.fl-r[data-v-ff30e8ae] {
\
n float: right;
\
n}
\
n.fr[data-v-ff30e8ae] {
\
n float: right;
\
n}
\
n.fl[data-v-ff30e8ae] {
\
n float: left;
\
n}
\
n.main-block[data-v-ff30e8ae] {
\
n margin: 5px;
\
n background: white;
\
n padding: 5px;
\
n}
\
n.clear-both[data-v-ff30e8ae]:after {
\
n content:
\'\'
;
\
n display: block;
\
n clear: both;
\
n}
\
n[data-v-ff30e8ae]::-webkit-scrollbar-track-piece {
\
n border-radius: 10px;
\
n}
\
n[data-v-ff30e8ae]::-webkit-scrollbar {
\
n width: 5px;
\
n height: 5px;
\
n}
\
n[data-v-ff30e8ae]::-webkit-scrollbar-thumb {
\
n background-color: #999;
\
n border-radius: 10px;
\
n min-height: 10px;
\
n}
\
n@-webkit-keyframes myfirst-data-v-ff30e8ae {
\
n0% {
\
n -webkit-transform: scale(1);
\
n}
\
n50% {
\
n -webkit-transform: scale(1.1);
\
n}
\
n100% {
\
n -webkit-transform: scale(1);
\
n}
\
n}
\
n.van-button--info[data-v-ff30e8ae] {
\
n background: #40A9FF;
\
n border: 1px solid #40A9FF;
\
n}
\
n.van-popup[data-v-ff30e8ae] {
\
n background: transparent;
\
n}
\
n.img-cvs[data-v-ff30e8ae] {
\
n position: absolute;
\
n width: 62.13333333vw;
\
n top: 46.93333333vw;
\
n left: 7.73333333vw;
\
n}
\
n.img-cvs .qrcode[data-v-ff30e8ae] {
\
n position: absolute;
\
n top: 81.33333333vw;
\
n left: 4vw;
\
n width: 16vw;
\
n}
\
n.cvs-img[data-v-ff30e8ae] {
\
n position: absolute;
\
n width: 62.13333333vw;
\
n top: 46.93333333vw;
\
n left: 7.73333333vw;
\
n z-index: 10;
\
n}
\
n.ref-content[data-v-ff30e8ae] {
\
n width: 79.73333333vw;
\
n height: 150.4vw;
\
n background-size: 100% 100%;
\
n position: relative;
\
n}
\
n.ref-content .tips[data-v-ff30e8ae] {
\
n font-size: 12px;
\
n position: absolute;
\
n color: #666;
\
n right: 2.66666667vw;
\
n top: 66.66666667vw;
\
n width: 1em;
\
n}
\
n.group-index[data-v-ff30e8ae] {
\
n z-index: 2;
\
n padding-bottom: toVw(150);
\
n background: #f0f0f0;
\
n font-family: PingFangSC-Regular;
\
n}
\
n.group-index .ref-icon[data-v-ff30e8ae] {
\
n position: fixed;
\
n height: 24vw;
\
n top: 70vw;
\
n z-index: 6;
\
n right: 2.66666667vw;
\
n /*border-radius: 100px;*/
\
n}
\
n.group-index .banner[data-v-ff30e8ae] {
\
n background: white;
\
n}
\
n.group-index .banner img[data-v-ff30e8ae] {
\
n width: 100%;
\
n}
\
n.group-index .head[data-v-ff30e8ae] {
\
n background: white;
\
n margin-bottom: 10px;
\
n padding: 2.66666667vw;
\
n}
\
n.group-index .head .title[data-v-ff30e8ae] {
\
n font-size: 20px;
\
n color: #333333;
\
n margin-bottom: 2vw;
\
n}
\
n.group-index .head .detail[data-v-ff30e8ae] {
\
n font-size: 12px;
\
n line-height: 1.6em;
\
n color: #333333;
\
n display: block;
\
n margin-bottom: 2vw;
\
n}
\
n.group-index .head .price .price-content[data-v-ff30e8ae] {
\
n font-family: PingFang-SC-Bold;
\
n font-size: 20px;
\
n color: #f83534;
\
n}
\
n.group-index .head-icon[data-v-ff30e8ae] {
\
n padding: 2.66666667vw;
\
n background: white;
\
n margin-bottom: 2px;
\
n}
\
n.group-index .head-icon .icon[data-v-ff30e8ae] {
\
n display: inline-block;
\
n width: 8vw;
\
n margin: 0 1.33333333vw;
\
n border-radius: 1000px;
\
n vertical-align: middle;
\
n}
\
n.group-index .head-icon .more[data-v-ff30e8ae] {
\
n width: 6.66666667vw;
\
n vertical-align: middle;
\
n}
\
n.group-index .head-icon .has[data-v-ff30e8ae] {
\
n font-size: 12px;
\
n line-height: 8vw;
\
n color: #999999;
\
n float: right;
\
n}
\
n.group-index .welfare[data-v-ff30e8ae] {
\
n background: white;
\
n padding: 1.33333333vw;
\
n font-size: 12px;
\
n text-align: center;
\
n color: #999999;
\
n margin-bottom: 20px;
\
n}
\
n.group-index .main-detail[data-v-ff30e8ae] {
\
n padding: 2.66666667vw;
\
n background: white;
\
n}
\
n.group-index .main-detail .tab-content[data-v-ff30e8ae] {
\
n border-radius: 9px;
\
n border: 1px solid #f63539;
\
n}
\
n.group-index .main-detail .tab-content[data-v-ff30e8ae]:after {
\
n content: "";
\
n display: block;
\
n clear: both;
\
n}
\
n.group-index .main-detail .tab-content .tab-btn[data-v-ff30e8ae] {
\
n width: 50%;
\
n float: left;
\
n height: 10.66666667vw;
\
n line-height: 10.66666667vw;
\
n text-align: center;
\
n color: #f63539;
\
n border-radius: 9px;
\
n}
\
n.group-index .main-detail .tab-content .tab-btn.active[data-v-ff30e8ae] {
\
n background: #f63539;
\
n color: white;
\
n}
\
n.group-index .main-detail .qa-block[data-v-ff30e8ae] {
\
n padding-bottom: 13.33333333vw;
\
n}
\
n.group-index .main-detail .qa-block img[data-v-ff30e8ae],
\
n.group-index .main-detail .qa-block video[data-v-ff30e8ae] {
\
n max-width: 100%;
\
n}
\
n.group-index .main-detail .qa-block .qa-content[data-v-ff30e8ae] {
\
n margin: toVw(10) 0;
\
n}
\
n.group-index .main-detail .qa-block .qa-content .qa-q[data-v-ff30e8ae] {
\
n font-size: 16px;
\
n color: #666666;
\
n}
\
n.group-index .main-detail .qa-block .qa-content .qa-a[data-v-ff30e8ae] {
\
n font-size: 16px;
\
n color: #333333;
\
n}
\
n.group-index .main-detail .detail[data-v-ff30e8ae] {
\
n padding: 2.66666667vw 0 20vw 0;
\
n}
\
n.group-index .main-detail .detail .detail-content img[data-v-ff30e8ae],
\
n.group-index .main-detail .detail .detail-content video[data-v-ff30e8ae] {
\
n max-width: 100%;
\
n}
\
n.group-index .couponBox[data-v-ff30e8ae] {
\
n position: fixed;
\
n width: 100%;
\
n height: 6.66666667vw;
\
n background: #FFE83C;
\
n bottom: 18.66666667vw;
\
n text-align: center;
\
n color: #FF4D4F;
\
n line-height: 6.66666667vw;
\
n font-size: 12px;
\
n}
\
n.group-index footer[data-v-ff30e8ae] {
\
n position: absolute;
\
n position: fixed;
\
n bottom: 0;
\
n width: 97.7vw;
\
n height: 16vw;
\
n display: -webkit-box;
\
n display: -ms-flexbox;
\
n display: flex;
\
n background: white;
\
n padding: 1.3vw;
\
n border-top: 1px solid #d8d8d8;
\
n -ms-flex-pack: distribute;
\
n justify-content: space-around;
\
n}
\
n.group-index footer .btn[data-v-ff30e8ae] {
\
n border: 1px solid #cccccc;
\
n border-radius: 8px;
\
n width: 0;
\
n -webkit-box-flex: 2;
\
n -ms-flex-positive: 2;
\
n flex-grow: 2;
\
n text-align: center;
\
n padding: 2vw 0;
\
n margin: 0 1.33333333vw;
\
n line-height: 1.4em;
\
n font-size: 16px;
\
n color: #666666;
\
n}
\
n.group-index footer .btn .free[data-v-ff30e8ae] {
\
n line-height: 13.33333333vw;
\
n}
\
n.group-index footer .btn span[data-v-ff30e8ae] {
\
n display: block;
\
n font-size: 20px;
\
n font-family: PingFang-SC-Bold;
\
n}
\
n.group-index footer .btn img[data-v-ff30e8ae] {
\
n width: 6.66666667vw;
\
n}
\
n.group-index footer .btn.big[data-v-ff30e8ae] {
\
n padding: 0.66666667vw 0;
\
n -webkit-box-flex: 5;
\
n -ms-flex-positive: 5;
\
n flex-grow: 5;
\
n}
\
n.group-index footer .btn.big.price[data-v-ff30e8ae] {
\
n background: #f83534;
\
n border-color: #f83534;
\
n color: white;
\
n}
\
n.group-index footer .btn.big.price.full[data-v-ff30e8ae] {
\
n background: #dddddd;
\
n border-color: #dddddd;
\
n line-height: 13.33333333vw;
\
n}
\
n.group-index .pop-block[data-v-ff30e8ae] {
\
n padding: 5.33333333vw 1.33333333vw;
\
n width: 80vw;
\
n text-align: center;
\
n font-size: 14px;
\
n color: #666666;
\
n position: relative;
\
n}
\
n.group-index .pop-block img[data-v-ff30e8ae] {
\
n width: 33.33333333vw;
\
n}
\
n.group-index .pop-block .close[data-v-ff30e8ae] {
\
n width: 6.66666667vw;
\
n position: absolute;
\
n top: 2.66666667vw;
\
n right: 2.66666667vw;
\
n}
\
n.group-index .pop-fill[data-v-ff30e8ae] {
\
n width: 66.66666667vw;
\
n padding: 4vw 4vw;
\
n font-size: 16px;
\
n color: #333333;
\
n}
\
n.group-index .pop-fill .btn-block[data-v-ff30e8ae] {
\
n margin-top: 4vw;
\
n}
\
n.group-index .pop-fill .btn-block[data-v-ff30e8ae]:after {
\
n content: "";
\
n display: block;
\
n clear: both;
\
n}
\
n.group-index .pop-fill .btn-block .btn[data-v-ff30e8ae] {
\
n float: right;
\
n background: #f83534;
\
n font-size: 14px;
\
n padding: 0.66666667vw 1.33333333vw;
\
n border-radius: 8px;
\
n color: #ffffff;
\
n}
\
n'
],
sourceRoot
:
""
}])},
"9Nk9"
:
function
(
e
,
n
,
t
){
var
i
=
t
(
"yEDY"
);
"string"
==
typeof
i
&&
(
i
=
[[
e
.
i
,
i
,
""
]]),
i
.
locals
&&
(
e
.
exports
=
i
.
locals
);
t
(
"rjj0"
)(
"134c077c"
,
i
,
!
1
,{})},
bNYG
:
function
(
e
,
n
,
t
){
"use strict"
;
Object
.
defineProperty
(
n
,
"__esModule"
,{
value
:
!
0
});
t
(
"v2ns"
);
var
i
=
t
(
"7QTg"
),
a
=
t
(
"sf/l"
),
o
=
t
(
"CCn6"
),
r
=
t
(
"E26C"
),
d
=
t
.
n
(
r
),
A
=
t
(
"kXdI"
),
s
=
t
.
n
(
A
),
p
=
t
(
"XaoW"
),
l
=
t
.
n
(
p
),
c
=
t
(
"zpE/"
),
g
=
t
.
n
(
c
),
f
=
t
(
"WIsT"
),
u
=
t
(
"0ZjB"
),
C
=
t
.
n
(
u
),
v
=
t
(
"1UEi"
),
B
=
t
.
n
(
v
),
h
=
{
name
:
"index"
,
components
:{
swiper
:
i
.
swiper
,
swiperSlide
:
i
.
swiperSlide
,
loginPage
:
f
.
a
},
data
:
function
(){
return
{
refBg
:
d
.
a
,
bindMobile
:{
show
:
!
1
,
mobile
:
""
,
img_code
:
""
,
verify_code
:
""
,
flag
:
!
1
},
join
:
!
1
,
popType
:
!
1
,
popFill
:
!
1
,
popupVisible
:
!
1
,
refVisible
:
!
1
,
tabType
:
!
0
,
popcontentW
:
"您已经购买过课程,无需重复<br>购买,您可以添加微信公众号了解更多"
,
popcontentT
:
"为了更好地为您进行课程服务,<br>请扫码添加老师二维码"
,
qrCode
:
g
.
a
,
weChatIcon
:
l
.
a
,
closeUrl
:
C
.
a
,
moreUrl
:
s
.
a
,
refIcon
:
B
.
a
,
swiperOption
:{
pagination
:{
el
:
".swiper-pagination"
}},
QRCodeB
:
!
1
,
payFlag
:
!
0
,
dataURL
:
null
,
user_id
:
null
,
invite_code_f
:
!
0
,
invite_code
:
""
,
this_code
:
""
,
shopId
:
""
,
buyType
:
""
,
groupId
:
null
,
groupDetail
:
!
1
,
groupData
:
null
,
couponInfo
:{},
couponShadow
:
!
1
}},
mounted
:
function
(){
this
.
getDetail
()},
methods
:{
goToBuyPage
:
function
(){
var
e
=
this
,
n
=
{
shopId
:
this
.
shopId
,
invite_code
:
this
.
invite_code
},
t
=
this
.
invite_code
;
if
(
this
.
$sa
.
track
(
"buyCourse"
,{
buyType
:
2
===
this
.
groupDetail
.
goods_type
&&
0
===
this
.
buyType
?
"团购"
:
"直购"
,
goodsID
:
this
.
shopId
,
salesType
:
t
?
t
.
split
(
"-"
)[
1
]:
"null"
,
salesID
:
t
?
Number
(
t
.
split
(
"-"
)[
2
]):
0
}),
this
.
groupId
&&
(
n
.
group_order_id
=
this
.
groupId
),
console
.
log
(
this
.
buyType
),
0
!==
this
.
buyType
||
this
.
groupId
){
if
(
0
===
this
.
buyType
&&
this
.
groupId
)
return
this
.
$router
.
push
({
name
:
"buyDetail"
,
query
:{
shopId
:
this
.
shopId
,
invite_code
:
this
.
invite_code
}}),
window
.
location
.
reload
(),
!
1
;
n
.
type
=
""
}
else
n
.
type
=
"single"
,
this
.
buyType
=
"single"
;
localStorage
.
getItem
(
"gdt_vid"
)
&&
(
n
.
gdt_vid
=
localStorage
.
getItem
(
"gdt_vid"
)),
window
.
location
.
href
.
indexOf
(
"cct_user_id"
)
>-
1
&&
(
n
.
cct_user_id
=
a
.
a
.
getUrlParam
().
cct_user_id
),
this
.
$router
.
push
({
name
:
"buy"
,
query
:
n
}),
this
.
$nextTick
(
function
(){
e
.
payFlag
=!
0
})},
goToActivity
:
function
(){
var
e
=
{};
window
.
location
.
href
.
indexOf
(
"shopId"
)
>-
1
&&
(
e
.
shopId
=
this
.
$route
.
query
.
shopId
),
window
.
location
.
href
.
indexOf
(
"groupId"
)
>-
1
&&
(
e
.
groupId
=
this
.
$route
.
query
.
groupId
),
window
.
location
.
href
.
indexOf
(
"invite_code"
)
>-
1
&&
(
e
.
invite_code
=
this
.
$route
.
query
.
invite_code
),
this
.
$router
.
push
({
name
:
"activity"
,
query
:
e
})},
enableShare
:
function
(
e
){
Object
(
o
.
Q
)({
api_list
:
"onMenuShareAppMessage,onMenuShareTimeline"
,
url
:
window
.
location
.
href
.
split
(
"#"
)[
0
]}).
then
(
function
(
n
){
wx
.
config
({
debug
:
!
1
,
appId
:
n
.
appId
,
timestamp
:
parseInt
(
n
.
timestamp
),
nonceStr
:
n
.
nonceStr
,
signature
:
n
.
signature
,
jsApiList
:
n
.
jsApiList
}),
wx
.
ready
(
function
(){
wx
.
onMenuShareTimeline
({
title
:
e
.
product_title
,
desc
:
e
.
desc
,
link
:
e
.
shareUrl
,
imgUrl
:
e
.
shareIcon
||
"https://cdn.singsingenglish.com/singsing/recommend/logo-refer.png"
,
success
:
function
(){
console
.
log
(
"分享成功"
)},
cancel
:
function
(){
console
.
log
(
"分享失败"
)}}),
wx
.
onMenuShareAppMessage
({
title
:
e
.
product_title
,
desc
:
e
.
desc
,
link
:
e
.
shareUrl
,
imgUrl
:
e
.
shareIcon
||
"https://cdn.singsingenglish.com/singsing/recommend/logo-refer.png"
,
success
:
function
(){},
cancel
:
function
(){}})})})},
handleInviteCode
:
function
(){
if
(
this
.
invite_code
){
var
e
=
this
.
invite_code
.
split
(
"-"
);
e
.
length
>
2
&&
(
"TEACHER"
===
e
[
1
]
||
"XXMM"
===
e
[
1
])
&&
(
e
[
1
]
=
"USER"
);
var
n
=
e
[
0
]
+
"-"
+
e
[
1
];
this
.
this_code
=
n
+
"-"
+
this
.
user_id
}
else
this
.
this_code
=
"CC-USER-"
+
this
.
user_id
},
onShare
:
function
(
e
){
this
.
handleInviteCode
();
var
n
=
"https://wechat-test.changchangenglish.com/#/buyDetail?shopId="
+
this
.
shopId
+
"&invite_code="
+
this
.
this_code
;
this
.
enableShare
({
product_title
:
this
.
groupDetail
.
share_desc
.
title
,
desc
:
this
.
groupDetail
.
share_desc
.
content
,
shareIcon
:
this
.
groupDetail
.
share_desc
.
img
[
0
].
url
,
shareUrl
:
n
})},
toDataURLBase64
:
function
(
e
,
n
){
var
t
=
new
XMLHttpRequest
;
t
.
onload
=
function
(){
var
e
=
new
FileReader
;
e
.
onloadend
=
function
(){
n
(
e
.
result
)},
e
.
readAsDataURL
(
t
.
response
)},
t
.
responseType
=
"blob"
,
t
.
open
(
"GET"
,
e
,
!
0
),
t
.
send
()},
getDetail
:
function
(){
var
e
=
this
;
window
.
location
.
href
.
indexOf
(
"invite_code"
)
>-
1
&&
(
this
.
invite_code
=
this
.
$route
.
query
.
invite_code
,
2
===
this
.
invite_code
.
split
(
"-"
).
length
&&
(
this
.
invite_code_f
=!
1
));
this
.
$route
.
query
.
invite_code
&&
(
this
.
invite_code
=
this
.
$route
.
query
.
invite_code
),
this
.
user_id
=
JSON
.
parse
(
localStorage
.
getItem
(
"userDesc"
)).
user_id
,
window
.
location
.
href
.
indexOf
(
"shopId"
)
>-
1
&&
(
this
.
shopId
=
this
.
$route
.
query
.
shopId
,
Object
(
o
.
q
)(
this
.
shopId
).
then
(
function
(
n
){
if
(
n
.
desc
=
JSON
.
parse
(
n
.
desc
),
n
.
goods_desc
=
JSON
.
parse
(
n
.
goods_desc
),
n
.
share_desc
=
JSON
.
parse
(
n
.
share_desc
),
2
===
n
.
status
&&
n
.
bind_goods_id
)
return
e
.
$router
.
push
({
name
:
"buyDetail"
,
query
:{
shopId
:
n
.
bind_goods_id
,
invite_code
:
e
.
invite_code
}}),
void
e
.
getDetail
();
e
.
groupDetail
=
n
;
for
(
var
t
=
0
;
t
<
e
.
groupDetail
.
header_url
.
length
;
t
++
)
e
.
groupDetail
.
header_url
[
t
]
=
e
.
groupDetail
.
header_url
[
t
].
replace
(
"http://"
,
"https://"
);
if
(
e
.
groupDetail
.
desc
.
detail
=
e
.
groupDetail
.
desc
.
detail
.
replace
(
/http:
\/\/
/g
,
"https://"
),
e
.
groupDetail
.
desc
.
qa
=
e
.
groupDetail
.
desc
.
qa
.
replace
(
/http:
\/\/
/g
,
"https://"
),
e
.
groupDetail
.
share_desc
.
refImg
&&
1
===
e
.
groupDetail
.
share_desc
.
refImg
.
length
){
e
.
groupDetail
.
share_desc
.
refImg
[
0
].
url
=
e
.
groupDetail
.
share_desc
.
refImg
[
0
].
url
.
replace
(
"http://"
,
"https://"
);
var
i
=
e
;
e
.
toDataURLBase64
(
e
.
groupDetail
.
share_desc
.
refImg
[
0
].
url
,
function
(
e
){
i
.
groupDetail
.
share_desc
.
refImg
[
0
].
url
=
e
})}
var
a
=
e
.
invite_code
;
e
.
$sa
.
track
(
"viewCourseDetail"
,{
goodsID
:
e
.
groupDetail
.
id
.
toString
(),
courseCate
:
1
===
e
.
groupDetail
.
course_type
?
"体验课"
:
"正式课"
,
lessonNumber
:
e
.
groupDetail
.
watch_num
,
goodsName
:
e
.
groupDetail
.
name
,
coursePrice
:
Number
(
e
.
groupDetail
.
original_price
/
100
),
discountPrice
:
Number
(
e
.
groupDetail
.
current_price
/
100
),
courseID
:
e
.
groupDetail
.
course_id
,
courseName
:
""
,
salesType
:
a
?
a
.
split
(
"-"
)[
1
]:
"null"
,
salesID
:
a
?
Number
(
a
.
split
(
"-"
)[
2
]):
0
}),
2
===
e
.
groupDetail
.
goods_type
?(
localStorage
.
getItem
(
"cc_token"
)
&&
Object
(
o
.
H
)({
goods_id
:
e
.
shopId
}).
then
(
function
(
n
){
n
.
out_trade_no
&&
(
1
===
n
.
buy_type
?
e
.
$router
.
push
({
name
:
"buySuccess"
,
query
:{
out_trade_no
:
n
.
out_trade_no
}}):
e
.
$router
.
push
({
name
:
"success"
,
query
:{
out_trade_no
:
n
.
out_trade_no
}}))}),
window
.
location
.
href
.
indexOf
(
"groupId"
)
>-
1
?(
e
.
groupId
=
e
.
$route
.
query
.
groupId
,
Object
(
o
.
s
)(
e
.
groupId
).
then
(
function
(
n
){
e
.
groupData
=
n
}),
e
.
onShare
(
0
)):
e
.
onShare
(
1
)):(
e
.
onShare
(
1
),
e
.
handleInviteCode
())}));
var
n
=
JSON
.
parse
(
localStorage
.
getItem
(
"userCourse"
));
n
&&!
n
.
periods_list
&&
Object
(
o
.
m
)(
this
.
$route
.
query
.
shopId
).
then
(
function
(
n
){
n
.
length
&&
(
e
.
couponInfo
=
n
[
0
],
e
.
couponShadow
=!
0
),
console
.
log
(
e
.
couponInfo
)})},
showTeacher
:
function
(){
this
.
popType
=!
1
,
this
.
popupVisible
=!
0
},
buttonClick
:
function
(
e
,
n
){
this
.
$sa
.
track
(
"buttonClick"
,{
tabTitle
:
"商品"
,
moduleTitle
:
"详情页"
,
buttonType
:
e
,
buttonName
:
n
})},
groupPay
:
function
(
e
){
var
n
=
this
;
console
.
log
(
JSON
.
parse
(
localStorage
.
getItem
(
"userDesc"
)).
mobile
),
this
.
buyType
=
e
,
JSON
.
parse
(
localStorage
.
getItem
(
"userDesc"
)).
mobile
&&
""
!==
JSON
.
parse
(
localStorage
.
getItem
(
"userDesc"
)).
mobile
?
this
.
goToBuyPage
():
this
.
$route
.
query
.
groupId
?
this
.
goToBuyPage
():(
this
.
bindMobile
.
flag
=
e
,
this
.
bindMobile
.
show
=!
0
,
setTimeout
(
function
(){
n
.
$sa
.
track
(
"ViewRegisterpage"
,{})},
1
e3
))}}},
b
=
function
(){
var
e
=
this
,
n
=
e
.
$createElement
,
t
=
e
.
_self
.
_c
||
n
;
return
t
(
"div"
,[
t
(
"div"
,{
staticStyle
:{
height
:
"100vh"
,
overflow
:
"auto"
}},[
e
.
groupDetail
?
t
(
"div"
,{
ref
:
"index"
,
staticClass
:
"group-index"
,
staticStyle
:{
"min-height"
:
"120vh"
}},[
t
(
"swiper"
,{
ref
:
"mySwiper"
,
staticClass
:
"banner"
,
attrs
:{
options
:
e
.
swiperOption
}},[
e
.
_l
(
e
.
groupDetail
.
goods_desc
.
img
,
function
(
n
,
i
){
return
e
.
groupDetail
.
goods_desc
?
t
(
"swiper-slide"
,{
key
:
i
},[
t
(
"img"
,{
attrs
:{
src
:
n
.
url
}})]):
e
.
_e
()}),
e
.
_v
(
" "
),
t
(
"div"
,{
staticClass
:
"swiper-pagination"
,
attrs
:{
slot
:
"pagination"
},
slot
:
"pagination"
})],
2
),
e
.
_v
(
" "
),
1
===
e
.
groupDetail
.
is_auth_user
?
t
(
"img"
,{
staticClass
:
"ref-icon shake"
,
attrs
:{
src
:
e
.
refIcon
},
on
:{
click
:
function
(
n
){
e
.
goToActivity
(),
e
.
buttonClick
(
"功能"
,
"生成海报"
)}}}):
e
.
_e
(),
e
.
_v
(
" "
),
t
(
"div"
,{
staticClass
:
"head"
},[
t
(
"div"
,{
staticClass
:
"title"
},[
e
.
_v
(
e
.
_s
(
e
.
groupDetail
.
name
))]),
e
.
_v
(
" "
),
t
(
"span"
,{
staticClass
:
"detail"
},[
e
.
_v
(
e
.
_s
(
e
.
groupDetail
.
goods_desc
.
desc
))]),
e
.
_v
(
" "
),
t
(
"div"
,{
staticClass
:
"price"
},[
t
(
"span"
,{
staticClass
:
"price-content"
},[
e
.
_v
(
"¥"
+
e
.
_s
(
e
.
groupDetail
.
current_price
/
100
)
+
"元"
)]),
e
.
_v
(
" "
),
1
===
e
.
groupDetail
.
goods_type
&&
e
.
groupDetail
.
original_price
>
e
.
groupDetail
.
current_price
?
t
(
"span"
,{
staticStyle
:{
"text-decoration"
:
"line-through"
,
color
:
"#bbb"
,
"font-size"
:
"14px"
}},[
e
.
_v
(
"¥"
+
e
.
_s
(
e
.
groupDetail
.
original_price
/
100
))]):
e
.
_e
()])]),
e
.
_v
(
" "
),
t
(
"div"
,{
staticClass
:
"head-icon"
},[
e
.
_l
(
e
.
groupDetail
.
header_url
,
function
(
n
,
i
){
return
i
<
5
?
t
(
"img"
,{
key
:
n
,
staticClass
:
"icon"
,
attrs
:{
src
:
n
}}):
e
.
_e
()}),
e
.
_v
(
" "
),
t
(
"img"
,{
staticClass
:
"more"
,
attrs
:{
src
:
e
.
moreUrl
}}),
e
.
_v
(
" "
),
t
(
"span"
,{
staticClass
:
"has"
},[
e
.
_v
(
"已售"
+
e
.
_s
(
e
.
groupDetail
.
has_group_num
)
+
"件"
)])],
2
),
e
.
_v
(
" "
),
e
.
groupDetail
.
head_welfare
&&
""
!==
e
.
groupDetail
.
head_welfare
&&
null
!==
e
.
groupDetail
.
head_welfare
?
t
(
"div"
,{
staticClass
:
"welfare"
},[
e
.
_v
(
"团长福利:"
+
e
.
_s
(
e
.
groupDetail
.
head_welfare
))]):
e
.
_e
(),
e
.
_v
(
" "
),
t
(
"div"
,{
staticClass
:
"main-detail"
},[
t
(
"div"
,{
staticClass
:
"tab-content"
},[
t
(
"div"
,{
class
:{
"tab-btn"
:
!
0
,
active
:
e
.
tabType
},
on
:{
click
:
function
(
n
){
e
.
tabType
=!
0
,
e
.
buttonClick
(
"展示"
,
"图文详情"
)}}},[
e
.
_v
(
"图文详情"
)]),
e
.
_v
(
" "
),
t
(
"div"
,{
class
:{
"tab-btn"
:
!
0
,
active
:
!
e
.
tabType
},
on
:{
click
:
function
(
n
){
e
.
tabType
=!
1
,
e
.
buttonClick
(
"展示"
,
"购买须知"
)}}},[
e
.
_v
(
"购买须知"
)])]),
e
.
_v
(
" "
),
e
.
tabType
?
t
(
"div"
,{
staticClass
:
"detail"
},[
t
(
"div"
,{
staticClass
:
"detail-content"
,
domProps
:{
innerHTML
:
e
.
_s
(
e
.
groupDetail
.
desc
.
detail
)}})]):
e
.
_e
(),
e
.
_v
(
" "
),
e
.
tabType
?
e
.
_e
():
t
(
"div"
,{
staticClass
:
"qa-block"
},[
t
(
"div"
,{
staticClass
:
"qa-content qaDetail"
,
domProps
:{
innerHTML
:
e
.
_s
(
e
.
groupDetail
.
desc
.
qa
)}})])]),
e
.
_v
(
" "
),
e
.
groupDetail
.
desc
.
customer_service
[
0
]?
t
(
"div"
,[
t
(
"mt-popup"
,{
model
:{
value
:
e
.
popupVisible
,
callback
:
function
(
n
){
e
.
popupVisible
=
n
},
expression
:
"popupVisible"
}},[
t
(
"div"
,{
staticClass
:
"pop-block"
},[
e
.
popType
?
t
(
"img"
,{
attrs
:{
src
:
e
.
qrCode
}}):
e
.
_e
(),
e
.
_v
(
" "
),
e
.
popType
?
e
.
_e
():
t
(
"img"
,{
attrs
:{
src
:
e
.
groupDetail
.
desc
.
customer_service
[
0
].
url
}}),
e
.
_v
(
" "
),
t
(
"div"
,[
e
.
popType
?
t
(
"span"
,{
domProps
:{
innerHTML
:
e
.
_s
(
e
.
popcontentW
)}}):
e
.
_e
(),
e
.
_v
(
" "
),
e
.
popType
?
e
.
_e
():
t
(
"span"
,{
domProps
:{
innerHTML
:
e
.
_s
(
e
.
popcontentT
)}})]),
e
.
_v
(
" "
),
t
(
"img"
,{
staticClass
:
"close"
,
attrs
:{
src
:
e
.
closeUrl
},
on
:{
click
:
function
(
n
){
e
.
popupVisible
=!
1
}}})])])],
1
):
e
.
_e
(),
e
.
_v
(
" "
),
t
(
"mt-popup"
,{
attrs
:{
closeOnClickModal
:
!
1
},
model
:{
value
:
e
.
popFill
,
callback
:
function
(
n
){
e
.
popFill
=
n
},
expression
:
"popFill"
}},[
t
(
"div"
,{
staticClass
:
"pop-fill"
},[
e
.
_v
(
"
\n
您好,本次拼团已经结束。您可以选择重新开团或单独购买
\n
"
),
t
(
"div"
,{
staticClass
:
"btn-block"
},[
t
(
"div"
,{
staticClass
:
"btn"
,
on
:{
click
:
function
(
n
){
e
.
rePlay
()}}},[
e
.
_v
(
"重新开团"
)])])])]),
e
.
_v
(
" "
),
t
(
"mt-popup"
,{
staticStyle
:{
"background-color"
:
"transparent"
,
"margin-top"
:
"-80vw"
,
"margin-left"
:
"-40vw"
,
transform
:
"none"
},
model
:{
value
:
e
.
refVisible
,
callback
:
function
(
n
){
e
.
refVisible
=
n
},
expression
:
"refVisible"
}},[
e
.
groupDetail
.
share_desc
.
refImg
&&
e
.
groupDetail
.
share_desc
.
refImg
.
length
>
0
?
t
(
"div"
,{
staticClass
:
"ref-content"
,
style
:{
backgroundImage
:
"url("
+
e
.
refBg
+
")"
}},[
t
(
"div"
,{
staticClass
:
"tips"
},[
e
.
_v
(
"长按保存图片"
)])]):
e
.
_e
(),
e
.
_v
(
" "
),
e
.
groupDetail
.
share_desc
.
refImg
&&
e
.
groupDetail
.
share_desc
.
refImg
.
length
>
0
?
t
(
"div"
,{
ref
:
"imageWrapper"
,
staticClass
:
"img-cvs"
,
attrs
:{
id
:
"capture"
}},[
t
(
"img"
,{
attrs
:{
src
:
e
.
groupDetail
.
share_desc
.
refImg
[
0
].
url
}}),
e
.
_v
(
" "
),
t
(
"div"
,{
staticClass
:
"qrcode"
,
attrs
:{
id
:
"qrcode"
}})]):
e
.
_e
(),
e
.
_v
(
" "
),
t
(
"img"
,{
staticClass
:
"cvs-img"
,
attrs
:{
src
:
e
.
dataURL
}})]),
e
.
_v
(
" "
),
1
===
e
.
groupDetail
.
status
&&
e
.
invite_code_f
?
t
(
"div"
,[
e
.
couponInfo
.
money
?
t
(
"div"
,{
staticClass
:
"couponBox"
},[
e
.
_v
(
"您有"
+
e
.
_s
(
e
.
couponInfo
.
money
/
100
)
+
"元优惠券可使用"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
e
.
groupDetail
.
goods_type
&&
2
===
e
.
groupDetail
.
goods_type
?
t
(
"footer"
,[
e
.
groupDetail
.
desc
.
customer_service
[
0
]?
t
(
"div"
,{
staticClass
:
"btn"
,
on
:{
click
:
function
(
n
){
e
.
showTeacher
(),
e
.
buttonClick
(
"老师"
,
"客服"
)}}},[
t
(
"img"
,{
attrs
:{
src
:
e
.
weChatIcon
}})]):
e
.
_e
(),
e
.
_v
(
" "
),
e
.
groupData
&&
0
!==
e
.
groupData
.
status
?
t
(
"div"
,{
staticClass
:
"btn big price full"
},[
e
.
groupId
?
t
(
"div"
,[
e
.
_v
(
"该团已满"
)]):
e
.
_e
()]):
e
.
_e
(),
e
.
_v
(
" "
),
t
(
"div"
,{
class
:
e
.
groupData
&&
0
!==
e
.
groupData
.
status
?
"btn big price"
:
"btn big"
,
attrs
:{
id
:
e
.
groupId
?
"reGroup"
:
"singleBuy"
},
on
:{
click
:
function
(
n
){
e
.
groupPay
(
0
),
e
.
buttonClick
(
"购买按钮"
,
e
.
groupId
?
"重新开团"
:
"单独购买"
)}}},[
e
.
groupId
?
e
.
_e
():
t
(
"span"
,[
e
.
_v
(
"¥"
+
e
.
_s
(
e
.
groupDetail
.
original_price
/
100
))]),
e
.
_v
(
" "
),
e
.
groupId
?
e
.
_e
():
t
(
"div"
,[
e
.
_v
(
"单独购"
)]),
e
.
_v
(
" "
),
e
.
groupId
?
t
(
"span"
,[
e
.
_v
(
"¥"
+
e
.
_s
(
e
.
groupDetail
.
current_price
/
100
))]):
e
.
_e
(),
e
.
_v
(
" "
),
e
.
groupId
?
t
(
"div"
,[
e
.
_v
(
"重新开团"
)]):
e
.
_e
()]),
e
.
_v
(
" "
),
e
.
groupData
&&
0
!==
e
.
groupData
.
status
?
e
.
_e
():
t
(
"div"
,{
staticClass
:
"btn big price"
,
attrs
:{
id
:
e
.
groupId
?
"joinGroup"
:
"newGroup"
},
on
:{
click
:
function
(
n
){
e
.
groupPay
(
1
),
e
.
buttonClick
(
"购买按钮"
,
e
.
groupId
?
"立即参团"
:
"创建团"
)}}},[
t
(
"span"
,[
e
.
_v
(
"¥"
+
e
.
_s
(
e
.
groupDetail
.
current_price
/
100
))]),
e
.
_v
(
" "
),
e
.
groupId
?
e
.
_e
():
t
(
"div"
,[
e
.
_v
(
e
.
_s
(
e
.
groupDetail
.
desc
.
group_number
)
+
"人团"
)]),
e
.
_v
(
" "
),
e
.
groupId
?
t
(
"div"
,[
e
.
_v
(
"立即参团"
)]):
e
.
_e
()])]):
e
.
_e
(),
e
.
_v
(
" "
),
e
.
groupDetail
.
goods_type
&&
2
!==
e
.
groupDetail
.
goods_type
?
t
(
"footer"
,[
e
.
groupDetail
.
desc
.
customer_service
[
0
]?
t
(
"div"
,{
staticClass
:
"btn"
,
on
:{
click
:
function
(
n
){
e
.
showTeacher
(),
e
.
buttonClick
(
"功能"
,
"客服"
)}}},[
t
(
"img"
,{
attrs
:{
src
:
e
.
weChatIcon
}})]):
e
.
_e
(),
e
.
_v
(
" "
),
e
.
groupDetail
.
current_price
>
0
?
t
(
"div"
,{
staticClass
:
"btn big price"
,
on
:{
click
:
function
(
n
){
e
.
groupPay
(
1
),
e
.
buttonClick
(
"购买按钮"
,
"直购购买"
)}}},[
t
(
"span"
,[
e
.
_v
(
"¥"
+
e
.
_s
(
e
.
groupDetail
.
current_price
/
100
))]),
e
.
_v
(
" "
),
t
(
"div"
,[
e
.
_v
(
"立即购买"
)])]):
e
.
_e
(),
e
.
_v
(
" "
),
0
==
e
.
groupDetail
.
current_price
?
t
(
"div"
,{
staticClass
:
"btn big price"
,
on
:{
click
:
function
(
n
){
e
.
groupPay
(
1
),
e
.
buttonClick
(
"购买按钮"
,
"直购购买"
)}}},[
t
(
"div"
,{
staticClass
:
"free"
},[
e
.
_v
(
"免费领"
)])]):
e
.
_e
()]):
e
.
_e
()]):
e
.
_e
(),
e
.
_v
(
" "
),
1
!==
e
.
groupDetail
.
status
?
t
(
"div"
,[
e
.
_m
(
0
)]):
e
.
_e
()],
1
):
e
.
_e
()]),
e
.
_v
(
" "
),
e
.
groupDetail
?
t
(
"login-page"
,{
attrs
:{
"bind-mobile"
:
e
.
bindMobile
,
groupDetail
:
e
.
groupDetail
},
on
:{
goToBuyPage
:
e
.
goToBuyPage
}}):
e
.
_e
()],
1
)};
b
.
_withStripped
=!
0
;
var
m
=
{
render
:
b
,
staticRenderFns
:[
function
(){
var
e
=
this
.
$createElement
,
n
=
this
.
_self
.
_c
||
e
;
return
n
(
"footer"
,[
n
(
"div"
,{
staticStyle
:{
color
:
"#888"
}},[
this
.
_v
(
"已售罄"
)])])}]},
w
=
m
;
var
E
=!
1
;
var
_
=
t
(
"VU/8"
)(
h
,
w
,
!
1
,
function
(
e
){
E
||
(
t
(
"9Nk9"
),
t
(
"rC6I"
))},
"data-v-ff30e8ae"
,
null
);
_
.
options
.
__file
=
"src/components/buy/index.vue"
;
n
.
default
=
_
.
exports
},
rC6I
:
function
(
e
,
n
,
t
){
var
i
=
t
(
"5W4P"
);
"string"
==
typeof
i
&&
(
i
=
[[
e
.
i
,
i
,
""
]]),
i
.
locals
&&
(
e
.
exports
=
i
.
locals
);
t
(
"rjj0"
)(
"dc25c13e"
,
i
,
!
1
,{})},
yEDY
:
function
(
e
,
n
,
t
){(
e
.
exports
=
t
(
"FZ+f"
)(
!
0
)).
push
([
e
.
i
,
"
\n
img,
\
r
\n
video {
\
r
\n
max-width: 100%;
\n
}
\n
@-webkit-keyframes swing {
\n
10% {
\
r
\n
-webkit-transform: rotate(15deg);
\
r
\n
transform: rotate(15deg);
\n
}
\n
20% {
\
r
\n
-webkit-transform: rotate(-10deg);
\
r
\n
transform: rotate(-10deg);
\n
}
\n
30% {
\
r
\n
-webkit-transform: rotate(5deg);
\
r
\n
transform: rotate(5deg);
\n
}
\n
40% {
\
r
\n
-webkit-transform: rotate(-5deg);
\
r
\n
transform: rotate(-5deg);
\n
}
\n
50%,
\
r
\n
100% {
\
r
\n
-webkit-transform: rotate(0deg);
\
r
\n
transform: rotate(0deg);
\n
}
\n
}
\n
.shake {
\
r
\n
-webkit-animation-name: swing;
\
r
\n
-webkit-animation-duration: 0.8s;
\
r
\n
-webkit-transform-origin: 50% 50%;
\
r
\n
-webkit-animation-iteration-count: infinite;
\
r
\n
-webkit-animation-timing-function: linear;
\n
}
\
r
\n
"
,
""
,{
version
:
3
,
sources
:[
"C:/Users/Administrator/Desktop/h5/wechat/src/components/buy/index.vue"
],
names
:[],
mappings
:
";AACA;;EAEE,gBAAgB;CACjB;AACD;AACA;IACI,iCAAiC;YACzB,yBAAyB;CACpC;AACD;IACI,kCAAkC;YAC1B,0BAA0B;CACrC;AACD;IACI,gCAAgC;YACxB,wBAAwB;CACnC;AACD;IACI,iCAAiC;YACzB,yBAAyB;CACpC;AACD;;IAEI,gCAAgC;YACxB,wBAAwB;CACnC;CACA;AACD;EACE,8BAA8B;EAC9B,iCAAiC;EACjC,kCAAkC;EAClC,4CAA4C;EAC5C,0CAA0C;CAC3C"
,
file
:
"index.vue"
,
sourcesContent
:[
"
\n
img,
\
r
\n
video {
\
r
\n
max-width: 100%;
\n
}
\n
@-webkit-keyframes swing {
\n
10% {
\
r
\n
-webkit-transform: rotate(15deg);
\
r
\n
transform: rotate(15deg);
\n
}
\n
20% {
\
r
\n
-webkit-transform: rotate(-10deg);
\
r
\n
transform: rotate(-10deg);
\n
}
\n
30% {
\
r
\n
-webkit-transform: rotate(5deg);
\
r
\n
transform: rotate(5deg);
\n
}
\n
40% {
\
r
\n
-webkit-transform: rotate(-5deg);
\
r
\n
transform: rotate(-5deg);
\n
}
\n
50%,
\
r
\n
100% {
\
r
\n
-webkit-transform: rotate(0deg);
\
r
\n
transform: rotate(0deg);
\n
}
\n
}
\n
.shake {
\
r
\n
-webkit-animation-name: swing;
\
r
\n
-webkit-animation-duration: 0.8s;
\
r
\n
-webkit-transform-origin: 50% 50%;
\
r
\n
-webkit-animation-iteration-count: infinite;
\
r
\n
-webkit-animation-timing-function: linear;
\n
}
\
r
\n
"
],
sourceRoot
:
""
}])}});
\ No newline at end of file
dev/static/js/manifest.
e10689d3b0f6a69ba8ed
.js
→
dev/static/js/manifest.
965957e4039c8f71b383
.js
View file @
bb53a6f1
!
function
(
e
){
var
a
=
window
.
webpackJsonp
;
window
.
webpackJsonp
=
function
(
f
,
r
,
t
){
for
(
var
d
,
b
,
o
,
i
=
0
,
u
=
[];
i
<
f
.
length
;
i
++
)
b
=
f
[
i
],
c
[
b
]
&&
u
.
push
(
c
[
b
][
0
]),
c
[
b
]
=
0
;
for
(
d
in
r
)
Object
.
prototype
.
hasOwnProperty
.
call
(
r
,
d
)
&&
(
e
[
d
]
=
r
[
d
]);
for
(
a
&&
a
(
f
,
r
,
t
);
u
.
length
;)
u
.
shift
()();
if
(
t
)
for
(
i
=
0
;
i
<
t
.
length
;
i
++
)
o
=
n
(
n
.
s
=
t
[
i
]);
return
o
};
var
f
=
{},
c
=
{
46
:
0
};
function
n
(
a
){
if
(
f
[
a
])
return
f
[
a
].
exports
;
var
c
=
f
[
a
]
=
{
i
:
a
,
l
:
!
1
,
exports
:{}};
return
e
[
a
].
call
(
c
.
exports
,
c
,
c
.
exports
,
n
),
c
.
l
=!
0
,
c
.
exports
}
n
.
e
=
function
(
e
){
var
a
=
c
[
e
];
if
(
0
===
a
)
return
new
Promise
(
function
(
e
){
e
()});
if
(
a
)
return
a
[
2
];
var
f
=
new
Promise
(
function
(
f
,
n
){
a
=
c
[
e
]
=
[
f
,
n
]});
a
[
2
]
=
f
;
var
r
=
document
.
getElementsByTagName
(
"head"
)[
0
],
t
=
document
.
createElement
(
"script"
);
t
.
type
=
"text/javascript"
,
t
.
charset
=
"utf-8"
,
t
.
async
=!
0
,
t
.
timeout
=
12
e4
,
n
.
nc
&&
t
.
setAttribute
(
"nonce"
,
n
.
nc
),
t
.
src
=
n
.
p
+
"static/js/"
+
e
+
"."
+
{
0
:
"8a8b96ea02c965f74ffc"
,
1
:
"d5f0428b3266b3abeda1"
,
2
:
"c82ef8973358b8a94a53"
,
3
:
"2107f1b9e184ae98213a"
,
4
:
"f2bf790adbbeb12829e1"
,
5
:
"3b0b1393953737345836"
,
6
:
"25de7942591869c92d4e"
,
7
:
"6ce25ae809dcabe97131"
,
8
:
"4c37bd70d65f96539867"
,
9
:
"d8fa80fce9ae41ef689a"
,
10
:
"de3e0e9cd5ee98d6c928"
,
11
:
"68ed40adad67d85c0313"
,
12
:
"569df6356ef277433bf8"
,
13
:
"80d75851ebf723ba0b00"
,
14
:
"49e2faaa5a02eff36984"
,
15
:
"443e7c8bba8ab9d657a7"
,
16
:
"98ce85ad5ab95594e0f7"
,
17
:
"c9ce4f409d177a19d16d"
,
18
:
"538e644b110e24fa0d9a"
,
19
:
"489a1a2bd284b566865d"
,
20
:
"ea0e446648e88f1d76e4"
,
21
:
"f62dfff013d1ecc467be"
,
22
:
"0a1864b54026b8c72ef7"
,
23
:
"52c139bed6992be26830"
,
24
:
"435db0664814c2a63988"
,
25
:
"62620e9bac18a036b452"
,
26
:
"74f2b27848334b451d54"
,
27
:
"3f1e7217c310f4810b2f"
,
28
:
"99da3828c1999d40671a"
,
29
:
"fa14b41d7c77e07c8120"
,
30
:
"8415ee1bca5daa87c09e"
,
31
:
"267ce6de032f1064248f"
,
32
:
"832df5bf4f39f1bb1834"
,
33
:
"39cebaea98826b57334e"
,
34
:
"2ef07273df25c5998fc7"
,
35
:
"4cc5c8808f6ddc45f715"
,
36
:
"521b496293b7bc33814e"
,
37
:
"5561b87aa887f3a9c76d"
,
38
:
"39491e7ffa5846071712"
,
39
:
"2eebc8580c2465fe6f3e"
,
40
:
"74eff696b7ca2b2659d0"
,
41
:
"333a8bf40e2fefa8f501"
,
42
:
"0f9cba645d90bf0157fd"
,
43
:
"6d2a78fce59048b83178"
}[
e
]
+
".js"
;
var
d
=
setTimeout
(
b
,
12
e4
);
function
b
(){
t
.
onerror
=
t
.
onload
=
null
,
clearTimeout
(
d
);
var
a
=
c
[
e
];
0
!==
a
&&
(
a
&&
a
[
1
](
new
Error
(
"Loading chunk "
+
e
+
" failed."
)),
c
[
e
]
=
void
0
)}
return
t
.
onerror
=
t
.
onload
=
b
,
r
.
appendChild
(
t
),
f
},
n
.
m
=
e
,
n
.
c
=
f
,
n
.
d
=
function
(
e
,
a
,
f
){
n
.
o
(
e
,
a
)
||
Object
.
defineProperty
(
e
,
a
,{
configurable
:
!
1
,
enumerable
:
!
0
,
get
:
f
})},
n
.
n
=
function
(
e
){
var
a
=
e
&&
e
.
__esModule
?
function
(){
return
e
.
default
}:
function
(){
return
e
};
return
n
.
d
(
a
,
"a"
,
a
),
a
},
n
.
o
=
function
(
e
,
a
){
return
Object
.
prototype
.
hasOwnProperty
.
call
(
e
,
a
)},
n
.
p
=
""
,
n
.
oe
=
function
(
e
){
throw
console
.
error
(
e
),
e
}}([]);
\ No newline at end of file
!
function
(
e
){
var
a
=
window
.
webpackJsonp
;
window
.
webpackJsonp
=
function
(
f
,
r
,
t
){
for
(
var
d
,
b
,
o
,
i
=
0
,
u
=
[];
i
<
f
.
length
;
i
++
)
b
=
f
[
i
],
c
[
b
]
&&
u
.
push
(
c
[
b
][
0
]),
c
[
b
]
=
0
;
for
(
d
in
r
)
Object
.
prototype
.
hasOwnProperty
.
call
(
r
,
d
)
&&
(
e
[
d
]
=
r
[
d
]);
for
(
a
&&
a
(
f
,
r
,
t
);
u
.
length
;)
u
.
shift
()();
if
(
t
)
for
(
i
=
0
;
i
<
t
.
length
;
i
++
)
o
=
n
(
n
.
s
=
t
[
i
]);
return
o
};
var
f
=
{},
c
=
{
46
:
0
};
function
n
(
a
){
if
(
f
[
a
])
return
f
[
a
].
exports
;
var
c
=
f
[
a
]
=
{
i
:
a
,
l
:
!
1
,
exports
:{}};
return
e
[
a
].
call
(
c
.
exports
,
c
,
c
.
exports
,
n
),
c
.
l
=!
0
,
c
.
exports
}
n
.
e
=
function
(
e
){
var
a
=
c
[
e
];
if
(
0
===
a
)
return
new
Promise
(
function
(
e
){
e
()});
if
(
a
)
return
a
[
2
];
var
f
=
new
Promise
(
function
(
f
,
n
){
a
=
c
[
e
]
=
[
f
,
n
]});
a
[
2
]
=
f
;
var
r
=
document
.
getElementsByTagName
(
"head"
)[
0
],
t
=
document
.
createElement
(
"script"
);
t
.
type
=
"text/javascript"
,
t
.
charset
=
"utf-8"
,
t
.
async
=!
0
,
t
.
timeout
=
12
e4
,
n
.
nc
&&
t
.
setAttribute
(
"nonce"
,
n
.
nc
),
t
.
src
=
n
.
p
+
"static/js/"
+
e
+
"."
+
{
0
:
"66f30f37970d706e6b17"
,
1
:
"d5f0428b3266b3abeda1"
,
2
:
"c82ef8973358b8a94a53"
,
3
:
"2107f1b9e184ae98213a"
,
4
:
"f2bf790adbbeb12829e1"
,
5
:
"3b0b1393953737345836"
,
6
:
"25de7942591869c92d4e"
,
7
:
"6ce25ae809dcabe97131"
,
8
:
"4c37bd70d65f96539867"
,
9
:
"d8fa80fce9ae41ef689a"
,
10
:
"de3e0e9cd5ee98d6c928"
,
11
:
"68ed40adad67d85c0313"
,
12
:
"569df6356ef277433bf8"
,
13
:
"80d75851ebf723ba0b00"
,
14
:
"49e2faaa5a02eff36984"
,
15
:
"443e7c8bba8ab9d657a7"
,
16
:
"98ce85ad5ab95594e0f7"
,
17
:
"c9ce4f409d177a19d16d"
,
18
:
"4d2a96cc4b7a79d3a61c"
,
19
:
"489a1a2bd284b566865d"
,
20
:
"ea0e446648e88f1d76e4"
,
21
:
"f62dfff013d1ecc467be"
,
22
:
"0a1864b54026b8c72ef7"
,
23
:
"52c139bed6992be26830"
,
24
:
"435db0664814c2a63988"
,
25
:
"62620e9bac18a036b452"
,
26
:
"74f2b27848334b451d54"
,
27
:
"3f1e7217c310f4810b2f"
,
28
:
"99da3828c1999d40671a"
,
29
:
"fa14b41d7c77e07c8120"
,
30
:
"8415ee1bca5daa87c09e"
,
31
:
"267ce6de032f1064248f"
,
32
:
"832df5bf4f39f1bb1834"
,
33
:
"39cebaea98826b57334e"
,
34
:
"2ef07273df25c5998fc7"
,
35
:
"4cc5c8808f6ddc45f715"
,
36
:
"521b496293b7bc33814e"
,
37
:
"5561b87aa887f3a9c76d"
,
38
:
"39491e7ffa5846071712"
,
39
:
"2eebc8580c2465fe6f3e"
,
40
:
"74eff696b7ca2b2659d0"
,
41
:
"333a8bf40e2fefa8f501"
,
42
:
"0f9cba645d90bf0157fd"
,
43
:
"6d2a78fce59048b83178"
}[
e
]
+
".js"
;
var
d
=
setTimeout
(
b
,
12
e4
);
function
b
(){
t
.
onerror
=
t
.
onload
=
null
,
clearTimeout
(
d
);
var
a
=
c
[
e
];
0
!==
a
&&
(
a
&&
a
[
1
](
new
Error
(
"Loading chunk "
+
e
+
" failed."
)),
c
[
e
]
=
void
0
)}
return
t
.
onerror
=
t
.
onload
=
b
,
r
.
appendChild
(
t
),
f
},
n
.
m
=
e
,
n
.
c
=
f
,
n
.
d
=
function
(
e
,
a
,
f
){
n
.
o
(
e
,
a
)
||
Object
.
defineProperty
(
e
,
a
,{
configurable
:
!
1
,
enumerable
:
!
0
,
get
:
f
})},
n
.
n
=
function
(
e
){
var
a
=
e
&&
e
.
__esModule
?
function
(){
return
e
.
default
}:
function
(){
return
e
};
return
n
.
d
(
a
,
"a"
,
a
),
a
},
n
.
o
=
function
(
e
,
a
){
return
Object
.
prototype
.
hasOwnProperty
.
call
(
e
,
a
)},
n
.
p
=
""
,
n
.
oe
=
function
(
e
){
throw
console
.
error
(
e
),
e
}}([]);
\ No newline at end of file
src/components/buy/index.vue
View file @
bb53a6f1
...
...
@@ -284,6 +284,7 @@ export default {
query
.
type
=
"single"
;
this
.
buyType
=
"single"
;
}
else
if
(
this
.
buyType
===
0
&&
this
.
groupId
)
{
// debugger
// 已购买生成团
this
.
$router
.
push
({
name
:
"buyDetail"
,
...
...
@@ -553,16 +554,23 @@ export default {
});
},
groupPay
(
type
)
{
console
.
log
(
JSON
.
parse
(
localStorage
.
getItem
(
"userDesc"
)).
mobile
)
this
.
buyType
=
type
;
if
(
!
JSON
.
parse
(
localStorage
.
getItem
(
"userDesc"
)).
mobile
||
JSON
.
parse
(
localStorage
.
getItem
(
"userDesc"
)).
mobile
===
""
)
{
this
.
bindMobile
.
flag
=
type
;
this
.
bindMobile
.
show
=
true
;
setTimeout
(()
=>
{
this
.
$sa
.
track
(
"ViewRegisterpage"
,
{});
},
1000
);
// debugger
if
(
!
this
.
$route
.
query
.
groupId
){
this
.
bindMobile
.
flag
=
type
;
this
.
bindMobile
.
show
=
true
;
setTimeout
(()
=>
{
this
.
$sa
.
track
(
"ViewRegisterpage"
,
{});
},
1000
);
}
else
{
this
.
goToBuyPage
();
}
}
else
{
this
.
goToBuyPage
();
}
...
...
src/components/buy/login.vue
View file @
bb53a6f1
...
...
@@ -80,8 +80,10 @@
console
.
log
(
'fun'
)
},
onBindMobile
(){
console
.
log
(
83
)
this
.
$sa
.
track
(
'clickSignUp'
,{});
if
(
this
.
payFlag
){
console
.
log
(
86
)
// this.payFlag = false;
if
(
this
.
bindMobile
.
verify_code
===
''
||!
this
.
bindMobile
.
verify_code
)
{
Toast
(
'请填写手机验证码'
);
...
...
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