Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mr-julyedu
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
baiguangyao
mr-julyedu
Commits
2f385e73
Commit
2f385e73
authored
Nov 02, 2022
by
dazhou
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
拼团文案修改
parent
d2a0a612
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
+2
-1
build/mrstaticjs/togroup.013b5bb9.chunk.js
+2
-1
No files found.
build/mrstaticjs/togroup.013b5bb9.chunk.js
View file @
2f385e73
(
this
[
"webpackJsonpmr-julyedu"
]
=
this
[
"webpackJsonpmr-julyedu"
]
||
[]).
push
([[
44
],{
1500
:
function
(
e
,
a
,
t
){
"use strict"
;
t
.
r
(
a
);
t
(
133
);
var
n
,
s
=
t
(
70
),
c
=
t
.
n
(
s
),
r
=
(
t
(
82
),
t
(
29
)),
o
=
t
.
n
(
r
),
i
=
(
t
(
132
),
t
(
35
)),
l
=
t
.
n
(
i
),
d
=
(
t
(
197
),
t
(
84
)),
m
=
t
.
n
(
d
),
u
=
(
t
(
36
),
t
(
10
)),
p
=
t
.
n
(
u
),
_
=
t
(
3
),
f
=
t
(
4
),
E
=
t
(
6
),
h
=
t
(
7
),
v
=
t
(
0
),
N
=
t
.
n
(
v
),
g
=
(
t
(
863
),
t
(
24
)),
b
=
t
(
1
),
w
=
t
(
20
),
y
=
t
(
15
),
C
=
Object
(
w
.
b
)((
function
(
e
){
return
{
user
:
e
.
user
}}))(
n
=
function
(
e
){
Object
(
E
.
a
)(
t
,
e
);
var
a
=
Object
(
h
.
a
)(
t
);
function
t
(
e
){
var
n
;
return
Object
(
_
.
a
)(
this
,
t
),(
n
=
a
.
call
(
this
,
e
)).
invitedFriends
=
function
(){
var
e
=
n
.
state
,
a
=
e
.
pdd_price
,
t
=
e
.
number
,
s
=
e
.
data
;
if
(
b
.
b
.
isWeixin
){
var
c
=
n
.
state
.
share
;
n
.
setState
({
share
:
!
c
}),
Object
(
b
.
m
)({
title
:
"
\
u3010
\
u4ec5
\
u5269"
.
concat
(
t
,
"
\
u4e2a
\
u540d
\
u989d
\
u3011
\
u6211"
).
concat
(
a
,
"
\
u5143
\
u62fc
\
u4e86
\
u300a"
).
concat
(
s
.
course_title
,
"
\
u300b"
),
desc
:
s
.
course_title
,
link
:
window
.
location
.
href
+
"&is_originator=1"
,
imgUrl
:
s
.
image_name
})}
else
p
.
a
.
info
(
"
\
u8bf7
\
u5728
\
u5fae
\
u4fe1
\
u4e2d
\
u4f7f
\
u7528
\
u5206
\
u4eab
\
u529f
\
u80fd
\
uff01"
,
2
)},
n
.
toCourseDetail
=
function
(
e
){
return
n
.
props
.
history
.
push
(
"/detail?id="
.
concat
(
e
),{
href
:
"/classify"
}),
!
1
},
n
.
handleToGroup
=
function
(){
var
e
=
n
.
state
,
a
=
e
.
isBuy
,
t
=
void
0
!==
a
&&
a
,
s
=
e
.
data
,
c
=
void
0
===
s
?{}:
s
,
r
=
n
.
props
,
o
=
r
.
user
,
i
=
r
.
history
,
l
=
r
.
location
;
if
(
o
.
hasError
)
if
(
b
.
b
.
isWeixin
){
var
d
=
window
.
location
.
href
;
if
(
d
.
includes
(
"code="
)
&&
d
.
includes
(
"state=STATE"
)){
var
m
=
d
.
lastIndexOf
(
"code="
);
d
=
d
.
substr
(
0
,
m
-
1
)}
window
.
location
.
assign
(
"https://open.weixin.qq.com/connect/oauth2/authorize?appid=wx23dac6775ac82877&redirect_uri="
.
concat
(
encodeURIComponent
(
d
),
"&response_type=code&scope=snsapi_userinfo&state=STATE#wechat_redirect"
))}
else
i
.
push
(
"/passport"
,{
from
:
l
});
else
t
?
n
.
setState
({
modal
:
!
0
}):
i
.
push
(
"/order?id="
.
concat
(
c
.
course_id
),{
group
:
1
,
pdd_order_id
:
n
.
state
.
pddOrderId
})},
n
.
state
=
{
data
:{},
share
:
!
1
,
pdd_price
:
0
,
groupon_member
:[],
person_num
:
0
,
is_success
:
!
1
,
number
:
0
,
isBuy
:
!
1
,
modal
:
!
1
,
pddOrderId
:
""
,
is_new_user
:
!
0
,
user_info_sample_http
:
!
1
},
n
}
return
Object
(
f
.
a
)(
t
,[{
key
:
"componentDidMount"
,
value
:
function
(){
var
e
=
this
;
b
.
f
.
get
(
""
.
concat
(
API
[
"base-api"
],
"/pdd/info/"
).
concat
(
Object
(
b
.
c
)(
"id"
))).
then
((
function
(
a
){
if
(
0
===
a
.
data
.
errno
){
if
(
e
.
setState
({
data
:
a
.
data
.
data
.
course_info
,
pdd_price
:
a
.
data
.
data
.
pdd_price
,
groupon_member
:
a
.
data
.
data
.
groupon_member
,
is_success
:
a
.
data
.
data
.
is_success
,
person_num
:
a
.
data
.
data
.
person_num
,
course_list
:
a
.
data
.
data
.
course_list
,
number
:
a
.
data
.
data
.
number
,
pddOrderId
:
a
.
data
.
data
.
pdd_order_id
,
countdown
:
""
,
isBuy
:
a
.
data
.
data
.
is_buy
}),
0
===
a
.
data
.
data
.
is_success
){
var
t
=
1
e3
*
a
.
data
.
data
.
end_time
,
n
=
0
,
s
=
0
,
c
=
0
,
r
=
0
;
setInterval
((
function
(){
t
-=
1
e3
,
a
.
data
.
data
.
end_time
>
86400
?(
n
=
""
.
concat
(
parseInt
(
t
/
864
e5
)).
padStart
(
2
,
0
),
s
=
""
.
concat
(
parseInt
((
t
-
36
e5
*
n
*
24
)
/
36
e5
)).
padStart
(
2
,
0
),
c
=
""
.
concat
(
parseInt
((
t
-
36
e5
*
n
*
24
-
36
e5
*
s
)
/
6
e4
)).
padStart
(
2
,
0
),
e
.
setState
({
countdown
:
""
.
concat
(
n
,
"
\
u5929"
).
concat
(
s
,
"
\
u65f6"
).
concat
(
c
,
"
\
u5206"
)})):(
s
=
""
.
concat
(
parseInt
(
t
/
36
e5
)).
padStart
(
2
,
0
),
c
=
""
.
concat
(
parseInt
((
t
-
36
e5
*
s
)
/
6
e4
)).
padStart
(
2
,
0
),
r
=
""
.
concat
(
parseInt
((
t
-
36
e5
*
s
-
6
e4
*
c
)
/
1
e3
)).
padStart
(
2
,
0
),
e
.
setState
({
countdown
:
""
.
concat
(
s
,
":"
).
concat
(
c
,
":"
).
concat
(
r
)}))}),
1
e3
)}}
else
p
.
a
.
info
(
a
.
data
.
msg
,
2
)})),
this
.
state
.
user_info_sample_http
||
b
.
f
.
get
(
""
.
concat
(
API
.
home
,
"/m/user_info_sample/0"
)).
then
((
function
(
a
){
200
===
a
.
data
.
code
?
console
.
log
(
"
\
u5df2
\
u7ecf
\
u767b
\
u5f55"
):
console
.
log
(
"
\
u53bb
\
u767b
\
u5f55"
),
e
.
setState
({
is_new_user
:
a
.
data
.
data
.
is_new_user
,
user_info_sample_http
:
!
0
})}))}},{
key
:
"render"
,
value
:
function
(){
var
e
=
this
,
a
=
this
.
state
,
t
=
a
.
data
,
n
=
t
.
course_id
,
s
=
t
.
course_title
,
c
=
t
.
simpledescription
,
r
=
t
.
price0
,
o
=
t
.
price1
,
i
=
a
.
is_success
,
d
=
a
.
course_list
,
u
=
(
a
.
is_new_user
,
N
.
a
.
createElement
(
"div"
,{
className
:
"info"
},
N
.
a
.
createElement
(
"p"
,{
className
:
"title"
,
onClick
:
function
(){
return
e
.
toCourseDetail
(
n
)}},
s
),
N
.
a
.
createElement
(
"p"
,{
className
:
"contact text-overflow-2"
},
c
),
N
.
a
.
createElement
(
"div"
,{
className
:
"des"
},
N
.
a
.
createElement
(
"p"
,{
className
:
"course-price"
},
N
.
a
.
createElement
(
"span"
,{
className
:
"new"
},
"
\
xa5"
,
o
),
N
.
a
.
createElement
(
"span"
,{
className
:
"old"
},
"
\
xa5"
,
r
)))));
return
N
.
a
.
createElement
(
"div"
,{
className
:
"to-group-box"
},
N
.
a
.
createElement
(
g
.
e
,{
title
:
"
\
u62fc
\
u56e2"
,
cart
:
!
1
,
toHref
:
"/"
}),
N
.
a
.
createElement
(
m
.
a
,{
transparent
:
!
0
,
visible
:
this
.
state
.
modal
,
title
:
"
\
u63d0
\
u793a"
,
footer
:[{
text
:
"
\
u786e
\
u5b9a"
,
onPress
:
function
(){
e
.
setState
({
modal
:
!
1
}),
e
.
props
.
history
.
push
(
"/"
)}}]},
N
.
a
.
createElement
(
"p"
,
null
,
"
\
u60a8
\
u5df2
\
u7ecf
\
u8d2d
\
u4e70
\
u8fc7
\
u8be5
\
u8bfe
\
u7a0b
\
uff5e"
)),
!
i
&&
N
.
a
.
createElement
(
g
.
j
,{
img
:
this
.
state
.
data
.
image_name
,
id
:
this
.
state
.
data
.
course_id
,
info
:
u
,
toDetail
:
this
.
toCourseDetail
}),
N
.
a
.
createElement
(
I
,{
data
:
this
.
state
,
invitedFriends
:
this
.
invitedFriends
,
handleToGroup
:
this
.
handleToGroup
,
userInfo
:
this
.
props
.
user
}),
N
.
a
.
createElement
(
l
.
a
,
null
),
N
.
a
.
createElement
(
"div"
,{
className
:
"group-course"
},
N
.
a
.
createElement
(
"div"
,{
className
:
"top-title"
},
N
.
a
.
createElement
(
"span"
,
null
,
"
\
u672c
\
u5468
\
u7279
\
u60e0"
)),
d
&&
d
.
length
>
0
&&
d
[
0
].
course
&&
d
[
0
].
course
.
length
>
0
&&
d
[
0
].
course
.
slice
(
0
,
4
).
map
((
function
(
a
){
var
t
=
N
.
a
.
createElement
(
"div"
,{
className
:
"info"
},
N
.
a
.
createElement
(
"p"
,{
className
:
"title"
,
onClick
:
function
(){
return
e
.
toCourseDetail
(
a
.
course_id
)}},
a
.
course_title
),
N
.
a
.
createElement
(
"p"
,{
className
:
"contact text-overflow-2"
},
a
.
simpledescription
),
N
.
a
.
createElement
(
"div"
,{
className
:
"des"
},
N
.
a
.
createElement
(
"p"
,{
className
:
"course-price"
},
N
.
a
.
createElement
(
"span"
,{
className
:
"new"
},
"
\
xa5"
,
a
.
pdd_price
),
N
.
a
.
createElement
(
"span"
,{
className
:
"old"
},
"
\
xa5"
,
a
.
price0
))));
return
N
.
a
.
createElement
(
g
.
j
,{
img
:
a
.
image_name
,
key
:
a
.
course_id
,
id
:
a
.
course_id
,
info
:
t
,
toDetail
:
e
.
toCourseDetail
})}))))}}]),
t
}(
v
.
Component
))
||
n
;
function
I
(
e
){
var
a
,
t
,
n
,
s
;
console
.
log
(
"GorupContent------data:"
,
e
);
for
(
var
r
=
e
.
data
,
i
=
r
.
pdd_price
,
l
=
r
.
data
,
d
=
r
.
groupon_member
,
m
=
r
.
is_success
,
u
=
r
.
person_num
,
p
=
r
.
share
,
_
=
r
.
number
,
f
=
r
.
countdown
,
E
=
r
.
is_new_user
,
h
=
e
.
userInfo
,
v
=
[],
g
=
_
;
0
!=
g
;)
v
.
push
(
g
),
g
--
;
if
(
s
=
N
.
a
.
createElement
(
"div"
,{
className
:
"group-user-list"
},
N
.
a
.
createElement
(
o
.
a
,{
justify
:
"center"
,
className
:
"imgList"
},
d
.
map
((
function
(
e
){
return
N
.
a
.
createElement
(
"div"
,{
className
:
"imgContainer"
,
key
:
Math
.
random
()},
N
.
a
.
createElement
(
"img"
,{
className
:
"imgname"
,
src
:
e
.
avatar
,
alt
:
""
}),
1
===
e
.
user_type
?
N
.
a
.
createElement
(
"div"
,{
className
:
"leaderFlag"
},
N
.
a
.
createElement
(
"span"
,
null
,
"
\
u56e2
\
u957f"
)):
null
)})),
v
.
map
((
function
(
e
){
return
N
.
a
.
createElement
(
"div"
,{
className
:
"imgContainer"
,
key
:
Math
.
random
()},
N
.
a
.
createElement
(
"div"
,{
className
:
"imgname"
},
N
.
a
.
createElement
(
"i"
,{
className
:
"iconfont iconwode-xianxing no-body"
})))})))),
d
&&
d
.
length
>
0
){
var
w
=!
1
;
!
h
.
hasError
&&
d
.
forEach
((
function
(
e
){
e
.
uid
==
h
.
data
.
uid
&&
(
w
=!
0
)})),
w
?(
a
=
E
?
N
.
a
.
createElement
(
"p"
,{
className
:
"tip"
},
"
\
u62fc
\
u56e2
\
u7701
\
uffe5"
.
concat
(
Math
.
round
(
l
.
price1
-
i
,
2
),
"
\
u5143"
)):
N
.
a
.
createElement
(
"p"
,
null
,
"
\
u60a8
\
u5df2
\
u662f
\
u4e03
\
u6708
\
u7
684
\
u8001
\
u670b
\
u53cb
\
uff0c
\
u5feb
\
u5f00
\
u56e2
\
u9080
\
u8bf7
\
u597d
\
u53cb
\
u52a0
\
u5165
\
u5427
\
uff08
\
u8001
\
u7528
\
u6237
\
u81ea
\
u52a8
\
u5f00
\
u65b0
\
u56e2
\
uff09"
),
t
=
N
.
a
.
createElement
(
"span"
,{
className
:
"group-btn"
,
onClick
:
e
.
invitedFriends
},
"
\
u9080
\
u8bf7
\
u597d
\
u53cb
\
u53c2
\
u56e2 "
,
f
,
"
\
u540e
\
u7ed3
\
u675f"
),
n
=
N
.
a
.
createElement
(
"p"
,{
className
:
"dec"
},
"
\
u5206
\
u4eab
\
u52303
\
u4e2a
\
u7fa4
\
u540e
\
uff0c
\
u6210
\
u56e2
\
u7387
\
u9ad8
\
u8fbe98%"
)):
1
==
Object
(
b
.
c
)(
"is_originator"
)?(
a
=
E
?
N
.
a
.
createElement
(
"p"
,{
className
:
"tip"
},
"
\
u62fc
\
u56e2
\
u7701
\
uffe5"
.
concat
(
Math
.
round
(
l
.
price1
-
i
,
2
),
"
\
u5143"
)):
N
.
a
.
createElement
(
"p"
,
null
,
"
\
u60a8
\
u5df2
\
u662f
\
u4e03
\
u6708
\
u7684
\
u8001
\
u670b
\
u53cb
\
uff0c
\
u5feb
\
u5f00
\
u56e2
\
u9080
\
u8bf7
\
u597d
\
u53cb
\
u52a0
\
u5165
\
u5427
\
uff08
\
u8001
\
u7528
\
u6237
\
u81ea
\
u52a8
\
u5f00
\
u65b0
\
u56e2
\
uff09"
),
t
=
E
?
N
.
a
.
createElement
(
"a"
,{
href
:
"javascript:;"
,
className
:
"group-btn"
,
onClick
:
e
.
handleToGroup
},
"
\
u4e00
\
u952e
\
u53c2
\
u56e2"
):
N
.
a
.
createElement
(
"a"
,{
href
:
"javascript:;"
,
className
:
"group-btn"
,
onClick
:
e
.
handleToGroup
},
"
\
u4e00
\
u952e
\
u5f00
\
u56e2"
)):(
a
=
E
?
N
.
a
.
createElement
(
"p"
,{
className
:
"tip"
},
"
\
u62fc
\
u56e2
\
u7701
\
uffe5"
.
concat
(
Math
.
round
(
l
.
price1
-
i
,
2
),
"
\
u5143"
)):
N
.
a
.
createElement
(
"p"
,
null
,
"
\
u60a8
\
u5df2
\
u662f
\
u4e03
\
u6708
\
u7684
\
u8001
\
u670b
\
u53cb
\
uff0c
\
u5feb
\
u5f00
\
u56e2
\
u9080
\
u8bf7
\
u597d
\
u53cb
\
u52a0
\
u5165
\
u5427
\
uff08
\
u8001
\
u7528
\
u6237
\
u81ea
\
u52a8
\
u5f00
\
u65b0
\
u56e2
\
uff09
"
),
t
=
N
.
a
.
createElement
(
"span"
,{
className
:
"group-btn"
,
onClick
:
e
.
invitedFriends
},
"
\
u9080
\
u8bf7
\
u597d
\
u53cb
\
u53c2
\
u56e2 "
,
f
,
"
\
u540e
\
u7ed3
\
u675f"
),
n
=
N
.
a
.
createElement
(
"p"
,{
className
:
"dec"
},
"
\
u5206
\
u4eab
\
u52303
\
u4e2a
\
u7fa4
\
u540e
\
uff0c
\
u6210
\
u56e2
\
u7387
\
u9ad8
\
u8fbe98%"
))}
return
1
===
m
&&
(
a
=
N
.
a
.
createElement
(
"p"
,{
className
:
"success"
},
"
\
u62fc
\
u56e2
\
u6210
\
u529f"
),
t
=
N
.
a
.
createElement
(
y
.
b
,{
to
:
"/detail?id="
.
concat
(
l
.
course_id
),
className
:
"tostudy"
},
"
\
u53bb
\
u5b66
\
u4e60"
)),
N
.
a
.
createElement
(
"div"
,{
className
:
"gorup-content"
},
p
?
N
.
a
.
createElement
(
"div"
,{
className
:
"groupSuccessMbc"
,
onClick
:
e
.
invitedFriends
},
N
.
a
.
createElement
(
"div"
,{
className
:
"tipContent"
},
"
\
u8fd8
\
u5dee"
.
concat
(
_
,
"
\
u4eba
\
uff0c
\
u5206
\
u4eab
\
u52303
\
u4e2a
\
u7fa4
\
uff0c
\
u6210
\
u56e2
\
u7387
\
u9ad8
\
u8fbe98%"
)),
N
.
a
.
createElement
(
"div"
,{
className
:
"tipArrow"
},
N
.
a
.
createElement
(
"i"
,{
className
:
"iconfont iconyindao"
}))):
null
,
a
,
N
.
a
.
createElement
(
c
.
a
,
null
,
s
),
N
.
a
.
createElement
(
c
.
a
,
null
,
t
),
n
,
!
m
&&
N
.
a
.
createElement
(
"div"
,{
className
:
"group-dec"
},
N
.
a
.
createElement
(
"span"
,
null
,
N
.
a
.
createElement
(
"i"
,{
className
:
"iconfont iconiconfront-1"
}),
"
\
xb7
\
u597d
\
u53cb
\
u53c2
\
u56e2
\
xb7
\
u4eba
\
u6ee1
\
u6210
\
u4ea4
\
xb7
\
u4eba
\
u4e0d
\
u6ee1
\
u9000
\
u6b3e"
),
N
.
a
.
createElement
(
"span"
,{
className
:
"allNum"
},
"
\
u7d2f
\
u8ba1"
.
concat
(
u
,
"
\
u4eba
\
u6210
\
u56e2"
))))}
a
.
default
=
C
},
863
:
function
(
e
,
a
,
t
){}}]);
(
this
[
"webpackJsonpmr-julyedu"
]
=
this
[
"webpackJsonpmr-julyedu"
]
||
[]).
push
([[
44
],{
1500
:
function
(
e
,
a
,
t
){
"use strict"
;
t
.
r
(
a
);
t
(
133
);
var
n
,
s
=
t
(
70
),
c
=
t
.
n
(
s
),
r
=
(
t
(
82
),
t
(
29
)),
o
=
t
.
n
(
r
),
i
=
(
t
(
132
),
t
(
35
)),
l
=
t
.
n
(
i
),
d
=
(
t
(
197
),
t
(
84
)),
m
=
t
.
n
(
d
),
u
=
(
t
(
36
),
t
(
10
)),
p
=
t
.
n
(
u
),
_
=
t
(
3
),
f
=
t
(
4
),
E
=
t
(
6
),
h
=
t
(
7
),
v
=
t
(
0
),
N
=
t
.
n
(
v
),
g
=
(
t
(
863
),
t
(
24
)),
b
=
t
(
1
),
w
=
t
(
20
),
y
=
t
(
15
),
C
=
Object
(
w
.
b
)((
function
(
e
){
return
{
user
:
e
.
user
}}))(
n
=
function
(
e
){
Object
(
E
.
a
)(
t
,
e
);
var
a
=
Object
(
h
.
a
)(
t
);
function
t
(
e
){
var
n
;
return
Object
(
_
.
a
)(
this
,
t
),(
n
=
a
.
call
(
this
,
e
)).
invitedFriends
=
function
(){
var
e
=
n
.
state
,
a
=
e
.
pdd_price
,
t
=
e
.
number
,
s
=
e
.
data
;
if
(
b
.
b
.
isWeixin
){
var
c
=
n
.
state
.
share
;
n
.
setState
({
share
:
!
c
}),
Object
(
b
.
m
)({
title
:
"
\
u3010
\
u4ec5
\
u5269"
.
concat
(
t
,
"
\
u4e2a
\
u540d
\
u989d
\
u3011
\
u6211"
).
concat
(
a
,
"
\
u5143
\
u62fc
\
u4e86
\
u300a"
).
concat
(
s
.
course_title
,
"
\
u300b"
),
desc
:
s
.
course_title
,
link
:
window
.
location
.
href
+
"&is_originator=1"
,
imgUrl
:
s
.
image_name
})}
else
p
.
a
.
info
(
"
\
u8bf7
\
u5728
\
u5fae
\
u4fe1
\
u4e2d
\
u4f7f
\
u7528
\
u5206
\
u4eab
\
u529f
\
u80fd
\
uff01"
,
2
)},
n
.
toCourseDetail
=
function
(
e
){
return
n
.
props
.
history
.
push
(
"/detail?id="
.
concat
(
e
),{
href
:
"/classify"
}),
!
1
},
n
.
handleToGroup
=
function
(){
var
e
=
n
.
state
,
a
=
e
.
isBuy
,
t
=
void
0
!==
a
&&
a
,
s
=
e
.
data
,
c
=
void
0
===
s
?{}:
s
,
r
=
n
.
props
,
o
=
r
.
user
,
i
=
r
.
history
,
l
=
r
.
location
;
if
(
o
.
hasError
)
if
(
b
.
b
.
isWeixin
){
var
d
=
window
.
location
.
href
;
if
(
d
.
includes
(
"code="
)
&&
d
.
includes
(
"state=STATE"
)){
var
m
=
d
.
lastIndexOf
(
"code="
);
d
=
d
.
substr
(
0
,
m
-
1
)}
window
.
location
.
assign
(
"https://open.weixin.qq.com/connect/oauth2/authorize?appid=wx23dac6775ac82877&redirect_uri="
.
concat
(
encodeURIComponent
(
d
),
"&response_type=code&scope=snsapi_userinfo&state=STATE#wechat_redirect"
))}
else
i
.
push
(
"/passport"
,{
from
:
l
});
else
t
?
n
.
setState
({
modal
:
!
0
}):
i
.
push
(
"/order?id="
.
concat
(
c
.
course_id
),{
group
:
1
,
pdd_order_id
:
n
.
state
.
pddOrderId
})},
n
.
state
=
{
data
:{},
share
:
!
1
,
pdd_price
:
0
,
groupon_member
:[],
person_num
:
0
,
is_success
:
!
1
,
number
:
0
,
isBuy
:
!
1
,
modal
:
!
1
,
pddOrderId
:
""
,
is_new_user
:
!
0
,
user_info_sample_http
:
!
1
},
n
}
return
Object
(
f
.
a
)(
t
,[{
key
:
"componentDidMount"
,
value
:
function
(){
var
e
=
this
;
b
.
f
.
get
(
""
.
concat
(
API
[
"base-api"
],
"/pdd/info/"
).
concat
(
Object
(
b
.
c
)(
"id"
))).
then
((
function
(
a
){
if
(
0
===
a
.
data
.
errno
){
if
(
e
.
setState
({
data
:
a
.
data
.
data
.
course_info
,
pdd_price
:
a
.
data
.
data
.
pdd_price
,
groupon_member
:
a
.
data
.
data
.
groupon_member
,
is_success
:
a
.
data
.
data
.
is_success
,
person_num
:
a
.
data
.
data
.
person_num
,
course_list
:
a
.
data
.
data
.
course_list
,
number
:
a
.
data
.
data
.
number
,
pddOrderId
:
a
.
data
.
data
.
pdd_order_id
,
countdown
:
""
,
isBuy
:
a
.
data
.
data
.
is_buy
}),
0
===
a
.
data
.
data
.
is_success
){
var
t
=
1
e3
*
a
.
data
.
data
.
end_time
,
n
=
0
,
s
=
0
,
c
=
0
,
r
=
0
;
setInterval
((
function
(){
t
-=
1
e3
,
a
.
data
.
data
.
end_time
>
86400
?(
n
=
""
.
concat
(
parseInt
(
t
/
864
e5
)).
padStart
(
2
,
0
),
s
=
""
.
concat
(
parseInt
((
t
-
36
e5
*
n
*
24
)
/
36
e5
)).
padStart
(
2
,
0
),
c
=
""
.
concat
(
parseInt
((
t
-
36
e5
*
n
*
24
-
36
e5
*
s
)
/
6
e4
)).
padStart
(
2
,
0
),
e
.
setState
({
countdown
:
""
.
concat
(
n
,
"
\
u5929"
).
concat
(
s
,
"
\
u65f6"
).
concat
(
c
,
"
\
u5206"
)})):(
s
=
""
.
concat
(
parseInt
(
t
/
36
e5
)).
padStart
(
2
,
0
),
c
=
""
.
concat
(
parseInt
((
t
-
36
e5
*
s
)
/
6
e4
)).
padStart
(
2
,
0
),
r
=
""
.
concat
(
parseInt
((
t
-
36
e5
*
s
-
6
e4
*
c
)
/
1
e3
)).
padStart
(
2
,
0
),
e
.
setState
({
countdown
:
""
.
concat
(
s
,
":"
).
concat
(
c
,
":"
).
concat
(
r
)}))}),
1
e3
)}}
else
p
.
a
.
info
(
a
.
data
.
msg
,
2
)})),
this
.
state
.
user_info_sample_http
||
b
.
f
.
get
(
""
.
concat
(
API
.
home
,
"/m/user_info_sample/0"
)).
then
((
function
(
a
){
200
===
a
.
data
.
code
?
console
.
log
(
"
\
u5df2
\
u7ecf
\
u767b
\
u5f55"
):
console
.
log
(
"
\
u53bb
\
u767b
\
u5f55"
),
e
.
setState
({
is_new_user
:
a
.
data
.
data
.
is_new_user
,
user_info_sample_http
:
!
0
})}))}},{
key
:
"render"
,
value
:
function
(){
var
e
=
this
,
a
=
this
.
state
,
t
=
a
.
data
,
n
=
t
.
course_id
,
s
=
t
.
course_title
,
c
=
t
.
simpledescription
,
r
=
t
.
price0
,
o
=
t
.
price1
,
i
=
a
.
is_success
,
d
=
a
.
course_list
,
u
=
(
a
.
is_new_user
,
N
.
a
.
createElement
(
"div"
,{
className
:
"info"
},
N
.
a
.
createElement
(
"p"
,{
className
:
"title"
,
onClick
:
function
(){
return
e
.
toCourseDetail
(
n
)}},
s
),
N
.
a
.
createElement
(
"p"
,{
className
:
"contact text-overflow-2"
},
c
),
N
.
a
.
createElement
(
"div"
,{
className
:
"des"
},
N
.
a
.
createElement
(
"p"
,{
className
:
"course-price"
},
N
.
a
.
createElement
(
"span"
,{
className
:
"new"
},
"
\
xa5"
,
o
),
N
.
a
.
createElement
(
"span"
,{
className
:
"old"
},
"
\
xa5"
,
r
)))));
return
N
.
a
.
createElement
(
"div"
,{
className
:
"to-group-box"
},
N
.
a
.
createElement
(
g
.
e
,{
title
:
"
\
u62fc
\
u56e2"
,
cart
:
!
1
,
toHref
:
"/"
}),
N
.
a
.
createElement
(
m
.
a
,{
transparent
:
!
0
,
visible
:
this
.
state
.
modal
,
title
:
"
\
u63d0
\
u793a"
,
footer
:[{
text
:
"
\
u786e
\
u5b9a"
,
onPress
:
function
(){
e
.
setState
({
modal
:
!
1
}),
e
.
props
.
history
.
push
(
"/"
)}}]},
N
.
a
.
createElement
(
"p"
,
null
,
"
\
u60a8
\
u5df2
\
u7ecf
\
u8d2d
\
u4e70
\
u8fc7
\
u8be5
\
u8bfe
\
u7a0b
\
uff5e"
)),
!
i
&&
N
.
a
.
createElement
(
g
.
j
,{
img
:
this
.
state
.
data
.
image_name
,
id
:
this
.
state
.
data
.
course_id
,
info
:
u
,
toDetail
:
this
.
toCourseDetail
}),
N
.
a
.
createElement
(
I
,{
data
:
this
.
state
,
invitedFriends
:
this
.
invitedFriends
,
handleToGroup
:
this
.
handleToGroup
,
userInfo
:
this
.
props
.
user
}),
N
.
a
.
createElement
(
l
.
a
,
null
),
N
.
a
.
createElement
(
"div"
,{
className
:
"group-course"
},
N
.
a
.
createElement
(
"div"
,{
className
:
"top-title"
},
N
.
a
.
createElement
(
"span"
,
null
,
"
\
u672c
\
u5468
\
u7279
\
u60e0"
)),
d
&&
d
.
length
>
0
&&
d
[
0
].
course
&&
d
[
0
].
course
.
length
>
0
&&
d
[
0
].
course
.
slice
(
0
,
4
).
map
((
function
(
a
){
var
t
=
N
.
a
.
createElement
(
"div"
,{
className
:
"info"
},
N
.
a
.
createElement
(
"p"
,{
className
:
"title"
,
onClick
:
function
(){
return
e
.
toCourseDetail
(
a
.
course_id
)}},
a
.
course_title
),
N
.
a
.
createElement
(
"p"
,{
className
:
"contact text-overflow-2"
},
a
.
simpledescription
),
N
.
a
.
createElement
(
"div"
,{
className
:
"des"
},
N
.
a
.
createElement
(
"p"
,{
className
:
"course-price"
},
N
.
a
.
createElement
(
"span"
,{
className
:
"new"
},
"
\
xa5"
,
a
.
pdd_price
),
N
.
a
.
createElement
(
"span"
,{
className
:
"old"
},
"
\
xa5"
,
a
.
price0
))));
return
N
.
a
.
createElement
(
g
.
j
,{
img
:
a
.
image_name
,
key
:
a
.
course_id
,
id
:
a
.
course_id
,
info
:
t
,
toDetail
:
e
.
toCourseDetail
})}))))}}]),
t
}(
v
.
Component
))
||
n
;
function
I
(
e
){
var
a
,
t
,
n
,
s
;
console
.
log
(
"GorupContent------data:"
,
e
);
for
(
var
r
=
e
.
data
,
i
=
r
.
pdd_price
,
l
=
r
.
data
,
d
=
r
.
groupon_member
,
m
=
r
.
is_success
,
u
=
r
.
person_num
,
p
=
r
.
share
,
_
=
r
.
number
,
f
=
r
.
countdown
,
E
=
r
.
is_new_user
,
h
=
e
.
userInfo
,
v
=
[],
g
=
_
;
0
!=
g
;)
v
.
push
(
g
),
g
--
;
if
(
s
=
N
.
a
.
createElement
(
"div"
,{
className
:
"group-user-list"
},
N
.
a
.
createElement
(
o
.
a
,{
justify
:
"center"
,
className
:
"imgList"
},
d
.
map
((
function
(
e
){
return
N
.
a
.
createElement
(
"div"
,{
className
:
"imgContainer"
,
key
:
Math
.
random
()},
N
.
a
.
createElement
(
"img"
,{
className
:
"imgname"
,
src
:
e
.
avatar
,
alt
:
""
}),
1
===
e
.
user_type
?
N
.
a
.
createElement
(
"div"
,{
className
:
"leaderFlag"
},
N
.
a
.
createElement
(
"span"
,
null
,
"
\
u56e2
\
u957f"
)):
null
)})),
v
.
map
((
function
(
e
){
return
N
.
a
.
createElement
(
"div"
,{
className
:
"imgContainer"
,
key
:
Math
.
random
()},
N
.
a
.
createElement
(
"div"
,{
className
:
"imgname"
},
N
.
a
.
createElement
(
"i"
,{
className
:
"iconfont iconwode-xianxing no-body"
})))})))),
d
&&
d
.
length
>
0
){
var
w
=!
1
;
!
h
.
hasError
&&
d
.
forEach
((
function
(
e
){
e
.
uid
==
h
.
data
.
uid
&&
(
w
=!
0
)})),
w
?(
a
=
E
?
N
.
a
.
createElement
(
"p"
,{
className
:
"tip"
},
"
\
u62fc
\
u56e2
\
u7701
\
uffe5"
.
concat
(
Math
.
round
(
l
.
price1
-
i
,
2
),
"
\
u5143"
)):
N
.
a
.
createElement
(
"p"
,
null
,
"
\
u60a8
\
u5df2
\
u662f
\
u4e03
\
u6708
\
u7
528
\
u6237
\
u65e0
\
u6cd5
\
u53c2
\
u4e0e
\
u8be5
\
u56e2
\
uff0c
\
u5f00
\
u65b0
\
u56e2
\
u9080
\
u8bf7
\
u5c1a
\
u672a
\
u6ce8
\
u518c
\
u4e03
\
u6708
\
u7684
\
u52a0
\
u5165
\
u5427"
),
t
=
N
.
a
.
createElement
(
"span"
,{
className
:
"group-btn"
,
onClick
:
e
.
invitedFriends
},
"
\
u9080
\
u8bf7
\
u597d
\
u53cb
\
u53c2
\
u56e2 "
,
f
,
"
\
u540e
\
u7ed3
\
u675f"
),
n
=
N
.
a
.
createElement
(
"p"
,{
className
:
"dec"
},
"
\
u5206
\
u4eab
\
u52303
\
u4e2a
\
u7fa4
\
u540e
\
uff0c
\
u6210
\
u56e2
\
u7387
\
u9ad8
\
u8fbe98%"
)):
1
==
Object
(
b
.
c
)(
"is_originator"
)?(
a
=
E
?
N
.
a
.
createElement
(
"p"
,{
className
:
"tip"
},
"
\
u62fc
\
u56e2
\
u7701
\
uffe5"
.
concat
(
Math
.
round
(
l
.
price1
-
i
,
2
),
"
\
u5143"
)):
N
.
a
.
createElement
(
"p"
,
null
,
"
\
u60a8
\
u5df2
\
u662f
\
u4e03
\
u6708
\
u7528
\
u6237
\
u65e0
\
u6cd5
\
u53c2
\
u4e0e
\
u8be5
\
u56e2
\
uff0c
\
u5f00
\
u65b0
\
u56e2
\
u9080
\
u8bf7
\
u5c1a
\
u672a
\
u6ce8
\
u518c
\
u4e03
\
u6708
\
u7684
\
u52a0
\
u5165
\
u5427"
),
t
=
E
?
N
.
a
.
createElement
(
"a"
,{
href
:
"javascript:;"
,
className
:
"group-btn"
,
onClick
:
e
.
handleToGroup
},
"
\
u4e00
\
u952e
\
u53c2
\
u56e2"
):
N
.
a
.
createElement
(
"a"
,{
href
:
"javascript:;"
,
className
:
"group-btn"
,
onClick
:
e
.
handleToGroup
},
"
\
u4e00
\
u952e
\
u5f00
\
u56e2"
)):(
a
=
E
?
N
.
a
.
createElement
(
"p"
,{
className
:
"tip"
},
"
\
u62fc
\
u56e2
\
u7701
\
uffe5"
.
concat
(
Math
.
round
(
l
.
price1
-
i
,
2
),
"
\
u5143"
)):
N
.
a
.
createElement
(
"p"
,
null
,
"
\
u60a8
\
u5df2
\
u662f
\
u4e03
\
u6708
\
u7528
\
u6237
\
u65e0
\
u6cd5
\
u53c2
\
u4e0e
\
u8be5
\
u56e2
\
uff0c
\
u5f00
\
u65b0
\
u56e2
\
u9080
\
u8bf7
\
u5c1a
\
u672a
\
u6ce8
\
u518c
\
u4e03
\
u6708
\
u7684
\
u52a0
\
u5165
\
u5427
"
),
t
=
N
.
a
.
createElement
(
"span"
,{
className
:
"group-btn"
,
onClick
:
e
.
invitedFriends
},
"
\
u9080
\
u8bf7
\
u597d
\
u53cb
\
u53c2
\
u56e2 "
,
f
,
"
\
u540e
\
u7ed3
\
u675f"
),
n
=
N
.
a
.
createElement
(
"p"
,{
className
:
"dec"
},
"
\
u5206
\
u4eab
\
u52303
\
u4e2a
\
u7fa4
\
u540e
\
uff0c
\
u6210
\
u56e2
\
u7387
\
u9ad8
\
u8fbe98%"
))}
return
1
===
m
&&
(
a
=
N
.
a
.
createElement
(
"p"
,{
className
:
"success"
},
"
\
u62fc
\
u56e2
\
u6210
\
u529f"
),
t
=
N
.
a
.
createElement
(
y
.
b
,{
to
:
"/detail?id="
.
concat
(
l
.
course_id
),
className
:
"tostudy"
},
"
\
u53bb
\
u5b66
\
u4e60"
)),
N
.
a
.
createElement
(
"div"
,{
className
:
"gorup-content"
},
p
?
N
.
a
.
createElement
(
"div"
,{
className
:
"groupSuccessMbc"
,
onClick
:
e
.
invitedFriends
},
N
.
a
.
createElement
(
"div"
,{
className
:
"tipContent"
},
"
\
u8fd8
\
u5dee"
.
concat
(
_
,
"
\
u4eba
\
uff0c
\
u5206
\
u4eab
\
u52303
\
u4e2a
\
u7fa4
\
uff0c
\
u6210
\
u56e2
\
u7387
\
u9ad8
\
u8fbe98%"
)),
N
.
a
.
createElement
(
"div"
,{
className
:
"tipArrow"
},
N
.
a
.
createElement
(
"i"
,{
className
:
"iconfont iconyindao"
}))):
null
,
a
,
N
.
a
.
createElement
(
c
.
a
,
null
,
s
),
N
.
a
.
createElement
(
c
.
a
,
null
,
t
),
n
,
!
m
&&
N
.
a
.
createElement
(
"div"
,{
className
:
"group-dec"
},
N
.
a
.
createElement
(
"span"
,
null
,
N
.
a
.
createElement
(
"i"
,{
className
:
"iconfont iconiconfront-1"
}),
"
\
xb7
\
u597d
\
u53cb
\
u53c2
\
u56e2
\
xb7
\
u4eba
\
u6ee1
\
u6210
\
u4ea4
\
xb7
\
u4eba
\
u4e0d
\
u6ee1
\
u9000
\
u6b3e"
),
N
.
a
.
createElement
(
"span"
,{
className
:
"allNum"
},
"
\
u7d2f
\
u8ba1"
.
concat
(
u
,
"
\
u4eba
\
u6210
\
u56e2"
))))}
a
.
default
=
C
},
863
:
function
(
e
,
a
,
t
){}}]);
//# sourceMappingURL=togroup.013b5bb9.chunk.js.map
\ No newline at end of file
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