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
f4de0b05
Commit
f4de0b05
authored
Sep 20, 2019
by
xuzhenghua
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pull
parent
5392662d
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
309 additions
and
10 deletions
+309
-10
build/precache-manifest.2a9aea50cb51b7745ebd9e403ea2d88a.js
+299
-0
src/components/detail/redPacket/index.js
+10
-9
src/components/passport/login/index.js
+0
-1
No files found.
build/precache-manifest.2a9aea50cb51b7745ebd9e403ea2d88a.js
0 → 100644
View file @
f4de0b05
self
.
__precacheManifest
=
[
{
"revision"
:
"97ffa61007dd9a74fea0"
,
"url"
:
"/mrstatic/js/search.2e5adc28.chunk.js"
},
{
"revision"
:
"2b19d6c800ae4e376979"
,
"url"
:
"/mrstatic/js/0.3c608af8.chunk.js"
},
{
"revision"
:
"571f7f4e289b0c8e5b07"
,
"url"
:
"/mrstatic/js/BargainMiddlePage.d28924c0.chunk.js"
},
{
"revision"
:
"8edaf2ff2566ed17e2dd22cf4f8ad7ae"
,
"url"
:
"/mrstatic/media/redb_chai_bj@2x.8edaf2ff.png"
},
{
"revision"
:
"aa9be1915aaee9266070"
,
"url"
:
"/mrstatic/js/Classify.8a2c1fd3.chunk.js"
},
{
"revision"
:
"6902434f8f18a23319d57d0ac8aaea8c"
,
"url"
:
"/mrstatic/media/redb_sp_bj@2x.6902434f.png"
},
{
"revision"
:
"af4ba4cd68af9af3180d"
,
"url"
:
"/mrstatic/js/CourseList.13168d06.chunk.js"
},
{
"revision"
:
"c79abf5cb7ae8a82009cf68fe44d1078"
,
"url"
:
"/mrstatic/media/redb_money_bj@2x.c79abf5c.png"
},
{
"revision"
:
"a7c466df715e34fa32c7"
,
"url"
:
"/mrstatic/js/DrawDocument.c30d15cc.chunk.js"
},
{
"revision"
:
"79139f6aad350256e151f9f73c226348"
,
"url"
:
"/mrstatic/media/hb_bj.79139f6a.png"
},
{
"revision"
:
"7ba4b7087757a69df755"
,
"url"
:
"/mrstatic/js/Examination.11290f74.chunk.js"
},
{
"revision"
:
"8c838ccb6e5421be3f34"
,
"url"
:
"/mrstatic/js/MyEdit.dc2fcec3.chunk.js"
},
{
"revision"
:
"80011994e30adf599e5f47fcc81bc06d"
,
"url"
:
"/mrstatic/media/progress-share-bg.80011994.png"
},
{
"revision"
:
"81a132265535b8edf30c"
,
"url"
:
"/mrstatic/js/Order.d825bc01.chunk.js"
},
{
"revision"
:
"8bcc71141025a0a26e71"
,
"url"
:
"/mrstatic/js/Orderinfo.42619af1.chunk.js"
},
{
"revision"
:
"81a489ac63f2f2df5ab412e0782bd54c"
,
"url"
:
"/mrstatic/media/kanjia_cg_icon.81a489ac.png"
},
{
"revision"
:
"43e17204d615175ae23d"
,
"url"
:
"/mrstatic/js/PayOrder.bc8a8286.chunk.js"
},
{
"revision"
:
"b9b072e1116fd1830cc8f425dc163a6b"
,
"url"
:
"/mrstatic/media/iconfont.b9b072e1.svg"
},
{
"revision"
:
"097d4a44d79af17383ab"
,
"url"
:
"/mrstatic/js/Preferential.28c71511.chunk.js"
},
{
"revision"
:
"7aa984cefad739ea18edb76c541aa1fd"
,
"url"
:
"/mrstatic/media/iconfont.7aa984ce.eot"
},
{
"revision"
:
"180d74e0216e4d6e1b73"
,
"url"
:
"/mrstatic/js/SearchResult.f79a2980.chunk.js"
},
{
"revision"
:
"258b4b114d3d9be3018cd113b2470a13"
,
"url"
:
"/mrstatic/media/iconfont.258b4b11.ttf"
},
{
"revision"
:
"492b95183a0844093451"
,
"url"
:
"/mrstatic/js/ShopCart.dee53780.chunk.js"
},
{
"revision"
:
"e0655d4da66dce391e6b5227b400e037"
,
"url"
:
"/mrstatic/media/iconfont.e0655d4d.woff"
},
{
"revision"
:
"27f9d9540da8233f9293"
,
"url"
:
"/mrstatic/js/aist-share.51511d1b.chunk.js"
},
{
"revision"
:
"ab6afb1621b4e40c5ea7"
,
"url"
:
"/mrstatic/js/33.bc552a9f.chunk.js"
},
{
"revision"
:
"d61bc90d63c5a99bb9f0"
,
"url"
:
"/mrstatic/js/coupons.3e4026dd.chunk.js"
},
{
"revision"
:
"10a4e54e48c170ef581d"
,
"url"
:
"/mrstatic/js/32.13c1e54f.chunk.js"
},
{
"revision"
:
"aef9f8f547af601fc0e8"
,
"url"
:
"/mrstatic/js/detail.97e639f8.chunk.js"
},
{
"revision"
:
"404888da706a3a3e11cd"
,
"url"
:
"/mrstatic/js/31.4842bd5f.chunk.js"
},
{
"revision"
:
"cd4e9264aa200fd0102c"
,
"url"
:
"/mrstatic/js/main.6cd19132.chunk.js"
},
{
"revision"
:
"baa70543f1413323881e"
,
"url"
:
"/mrstatic/js/30.6f94640f.chunk.js"
},
{
"revision"
:
"cf62424c4ae983c83573"
,
"url"
:
"/mrstatic/js/myorders.43e38704.chunk.js"
},
{
"revision"
:
"c969ba8377d08cea36c7"
,
"url"
:
"/mrstatic/js/29.674748dc.chunk.js"
},
{
"revision"
:
"f6a5982b6e5b820e5a11"
,
"url"
:
"/mrstatic/js/purchased.ff5a1270.chunk.js"
},
{
"revision"
:
"e030296d349f1f13197e"
,
"url"
:
"/mrstatic/js/runtime~main.9666b1e0.js"
},
{
"revision"
:
"bdfa686c3e1bd11589c8"
,
"url"
:
"/mrstatic/js/28.855a3c26.chunk.js"
},
{
"revision"
:
"6a6832c91fcb2f288f0b"
,
"url"
:
"/mrstatic/js/27.e5e5b0ee.chunk.js"
},
{
"revision"
:
"ff14a80f4bb7fe379ee7"
,
"url"
:
"/mrstatic/js/26.e7895bdb.chunk.js"
},
{
"revision"
:
"4c675ced53e92299273a"
,
"url"
:
"/mrstatic/js/shareposter.17788085.chunk.js"
},
{
"revision"
:
"a5067a547690a861292c"
,
"url"
:
"/mrstatic/js/25.35f85153.chunk.js"
},
{
"revision"
:
"f72af8403ed010c31d67"
,
"url"
:
"/mrstatic/js/study.65556270.chunk.js"
},
{
"revision"
:
"56a0d5ce886e701d2a98"
,
"url"
:
"/mrstatic/js/video.5ee02a16.chunk.js"
},
{
"revision"
:
"fdc8b789c469332e5f1b"
,
"url"
:
"/mrstatic/js/togroup.0f717610.chunk.js"
},
{
"revision"
:
"10a4e54e48c170ef581d"
,
"url"
:
"/mrstatic/css/32.278ad3b1.chunk.css"
},
{
"revision"
:
"56a0d5ce886e701d2a98"
,
"url"
:
"/mrstatic/css/video.b57a1aec.chunk.css"
},
{
"revision"
:
"aef9f8f547af601fc0e8"
,
"url"
:
"/mrstatic/css/detail.4c28ce89.chunk.css"
},
{
"revision"
:
"a5067a547690a861292c"
,
"url"
:
"/mrstatic/css/25.aebbab68.chunk.css"
},
{
"revision"
:
"4c675ced53e92299273a"
,
"url"
:
"/mrstatic/css/shareposter.f09a5959.chunk.css"
},
{
"revision"
:
"6a6832c91fcb2f288f0b"
,
"url"
:
"/mrstatic/css/27.4c706a4e.chunk.css"
},
{
"revision"
:
"571f7f4e289b0c8e5b07"
,
"url"
:
"/mrstatic/css/BargainMiddlePage.718dff83.chunk.css"
},
{
"revision"
:
"bdfa686c3e1bd11589c8"
,
"url"
:
"/mrstatic/css/28.2471f477.chunk.css"
},
{
"revision"
:
"97ffa61007dd9a74fea0"
,
"url"
:
"/mrstatic/css/search.fab97849.chunk.css"
},
{
"revision"
:
"c969ba8377d08cea36c7"
,
"url"
:
"/mrstatic/css/29.0bb224f2.chunk.css"
},
{
"revision"
:
"f6a5982b6e5b820e5a11"
,
"url"
:
"/mrstatic/css/purchased.1daf107b.chunk.css"
},
{
"revision"
:
"baa70543f1413323881e"
,
"url"
:
"/mrstatic/css/30.5ed15c7e.chunk.css"
},
{
"revision"
:
"cf62424c4ae983c83573"
,
"url"
:
"/mrstatic/css/myorders.3ae12dec.chunk.css"
},
{
"revision"
:
"404888da706a3a3e11cd"
,
"url"
:
"/mrstatic/css/31.ecbb6f9a.chunk.css"
},
{
"revision"
:
"cd4e9264aa200fd0102c"
,
"url"
:
"/mrstatic/css/main.9d631122.chunk.css"
},
{
"revision"
:
"fdc8b789c469332e5f1b"
,
"url"
:
"/mrstatic/css/togroup.49988cae.chunk.css"
},
{
"revision"
:
"f72af8403ed010c31d67"
,
"url"
:
"/mrstatic/css/study.5e9927d1.chunk.css"
},
{
"revision"
:
"ab6afb1621b4e40c5ea7"
,
"url"
:
"/mrstatic/css/33.03fe7b57.chunk.css"
},
{
"revision"
:
"d61bc90d63c5a99bb9f0"
,
"url"
:
"/mrstatic/css/coupons.de0ae9dc.chunk.css"
},
{
"revision"
:
"27f9d9540da8233f9293"
,
"url"
:
"/mrstatic/css/aist-share.bef8c404.chunk.css"
},
{
"revision"
:
"492b95183a0844093451"
,
"url"
:
"/mrstatic/css/ShopCart.3a4dbb7a.chunk.css"
},
{
"revision"
:
"180d74e0216e4d6e1b73"
,
"url"
:
"/mrstatic/css/SearchResult.2649d43f.chunk.css"
},
{
"revision"
:
"097d4a44d79af17383ab"
,
"url"
:
"/mrstatic/css/Preferential.cda7a495.chunk.css"
},
{
"revision"
:
"43e17204d615175ae23d"
,
"url"
:
"/mrstatic/css/PayOrder.e5315535.chunk.css"
},
{
"revision"
:
"81a132265535b8edf30c"
,
"url"
:
"/mrstatic/css/Order.8bb031ea.chunk.css"
},
{
"revision"
:
"7ba4b7087757a69df755"
,
"url"
:
"/mrstatic/css/Examination.f2cc3163.chunk.css"
},
{
"revision"
:
"a7c466df715e34fa32c7"
,
"url"
:
"/mrstatic/css/DrawDocument.2e7d81ca.chunk.css"
},
{
"revision"
:
"af4ba4cd68af9af3180d"
,
"url"
:
"/mrstatic/css/CourseList.c0829f24.chunk.css"
},
{
"revision"
:
"aa9be1915aaee9266070"
,
"url"
:
"/mrstatic/css/Classify.f2f19957.chunk.css"
},
{
"revision"
:
"e39f8a0f41de7c3287caef6ad1a52363"
,
"url"
:
"/index.html"
}
];
\ No newline at end of file
src/components/detail/redPacket/index.js
View file @
f4de0b05
...
@@ -9,6 +9,8 @@ import { Toast } from 'antd-mobile';
...
@@ -9,6 +9,8 @@ import { Toast } from 'antd-mobile';
import
Captcha
from
'@/common/Captcha'
;
import
Captcha
from
'@/common/Captcha'
;
import
FollowQRcode
from
'./../followQRcode'
;
import
FollowQRcode
from
'./../followQRcode'
;
import
'./index.scss'
;
import
'./index.scss'
;
import
{
Link
}
from
"react-router-dom"
;
import
cookie
from
'js-cookie'
import
cookie
from
'js-cookie'
class
RedPacket
extends
PureComponent
{
class
RedPacket
extends
PureComponent
{
...
@@ -206,7 +208,7 @@ class RedPacket extends PureComponent {
...
@@ -206,7 +208,7 @@ class RedPacket extends PureComponent {
const
{
code
,
data
}
=
res
.
data
;
const
{
code
,
data
}
=
res
.
data
;
if
(
code
===
200
)
{
if
(
code
===
200
)
{
// is_receive 是否领取过 0-否 1-是
// is_receive 是否领取过 0-否 1-是
if
(
data
.
is_receive
)
{
if
(
data
.
is_receive
)
{
this
.
judgeReceiveStatus
(
data
,
8
);
this
.
judgeReceiveStatus
(
data
,
8
);
}
else
{
}
else
{
...
@@ -626,7 +628,6 @@ class RedPacket extends PureComponent {
...
@@ -626,7 +628,6 @@ class RedPacket extends PureComponent {
bindInfo
,
bindInfo
,
country
country
}
=
this
.
state
;
}
=
this
.
state
;
// console.log(share_code);
const
cls
=
classnames
(
'popup-mask'
,{
const
cls
=
classnames
(
'popup-mask'
,{
'popup-mask--no'
:
type
!==
2
'popup-mask--no'
:
type
!==
2
});
});
...
@@ -665,7 +666,7 @@ class RedPacket extends PureComponent {
...
@@ -665,7 +666,7 @@ class RedPacket extends PureComponent {
{
!
isCopy
{
!
isCopy
?
userInfo
&&
userInfo
.
uid
?
userInfo
&&
userInfo
.
uid
?
(
?
(
<
CopyToClipboard
<
CopyToClipboard
text
=
{
command
}
text
=
{
command
}
onCopy
=
{()
=>
this
.
setState
({
onCopy
=
{()
=>
this
.
setState
({
isCopy
:
true
isCopy
:
true
...
@@ -675,8 +676,8 @@ class RedPacket extends PureComponent {
...
@@ -675,8 +676,8 @@ class RedPacket extends PureComponent {
<
/CopyToClipboard
>
<
/CopyToClipboard
>
)
)
:
(
:
(
<
button
<
button
className
=
"popup-password__button--copy"
className
=
"popup-password__button--copy"
onClick
=
{()
=>
{
onClick
=
{()
=>
{
window
.
localStorage
.
setItem
(
'redpacket-click'
,
'copy'
);
window
.
localStorage
.
setItem
(
'redpacket-click'
,
'copy'
);
history
.
push
(
'/passport/login'
);
history
.
push
(
'/passport/login'
);
...
@@ -850,12 +851,12 @@ class RedPacket extends PureComponent {
...
@@ -850,12 +851,12 @@ class RedPacket extends PureComponent {
<
Form
className
=
"popup-form__content"
>
<
Form
className
=
"popup-form__content"
>
<
h4
className
=
"popup-form__title"
>
绑定手机号
<
/h4
>
<
h4
className
=
"popup-form__title"
>
绑定手机号
<
/h4
>
<
div
className
=
"popup-form__item"
>
<
div
className
=
"popup-form__item"
>
<
a
<
Link
className
=
"popup-form__button--num"
className
=
"popup-form__button--num"
href
=
{
`/country?id=
${
getParam
(
'id'
)}
&share_code=
${
share_code
}
`
}
>
to
=
{
`/country?id=
${
getParam
(
'id'
)}
&share_code=
${
share_code
}
`
}
>
+
{
country
.
num
}
+
{
country
.
num
}
<
i
className
=
"iconfont iconiconfront-69"
><
/i
>
<
i
className
=
"iconfont iconiconfront-69"
/
>
<
/
a
>
<
/
Link
>
<
Field
<
Field
name
=
"tel"
name
=
"tel"
render
=
{({
field
})
=>
{
render
=
{({
field
})
=>
{
...
...
src/components/passport/login/index.js
View file @
f4de0b05
...
@@ -13,7 +13,6 @@ import { connect } from 'react-redux';
...
@@ -13,7 +13,6 @@ import { connect } from 'react-redux';
import
{
compose
}
from
'redux'
;
import
{
compose
}
from
'redux'
;
import
{
isEmpty
}
from
'lodash'
import
{
isEmpty
}
from
'lodash'
import
{
Toast
}
from
'antd-mobile'
;
import
{
Toast
}
from
'antd-mobile'
;
import
{
validateTel
}
from
"@/utils"
;
import
{
HeaderBar
}
from
"@/common"
;
import
{
HeaderBar
}
from
"@/common"
;
...
...
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