Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
share
fe-common-library
Commits
b4416343
Commit
b4416343
authored
5 years ago
by
gitlab-ci
Browse files
Options
Download
Email Patches
Plain Diff
commit by
https://gitlab.cnyes.cool/share/fe-common-library/-/jobs/7549
parent
cf536875
Changes
29
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
20 changed files
with
490 additions
and
434 deletions
+490
-434
dest/components/AccountMenu/index.js
dest/components/AccountMenu/index.js
+4
-4
dest/components/AccountPanel/index.js
dest/components/AccountPanel/index.js
+6
-6
dest/components/AccountPanel/style.css
dest/components/AccountPanel/style.css
+1
-1
dest/components/CnyesProvider/index.js
dest/components/CnyesProvider/index.js
+2
-2
dest/components/Compare/index.js
dest/components/Compare/index.js
+62
-6
dest/components/Footer/index.js
dest/components/Footer/index.js
+146
-146
dest/components/Footer/style.css
dest/components/Footer/style.css
+4
-4
dest/components/Header/index.js
dest/components/Header/index.js
+81
-81
dest/components/Header/style.css
dest/components/Header/style.css
+6
-6
dest/components/List/index.js
dest/components/List/index.js
+3
-3
dest/components/LoginModal/index.js
dest/components/LoginModal/index.js
+2
-2
dest/components/LoginModal/style.css
dest/components/LoginModal/style.css
+3
-3
dest/components/MobileHeader/index.js
dest/components/MobileHeader/index.js
+147
-147
dest/components/MobileHeader/style.css
dest/components/MobileHeader/style.css
+7
-7
dest/components/Modal/index.js
dest/components/Modal/index.js
+2
-2
dest/components/NotFound/index.js
dest/components/NotFound/index.js
+2
-2
dest/components/NotFound/style.css
dest/components/NotFound/style.css
+4
-4
dest/components/ScrollToTitle/index.js
dest/components/ScrollToTitle/index.js
+2
-2
dest/components/ScrollToTitle/style.css
dest/components/ScrollToTitle/style.css
+4
-4
dest/components/ScrollToTop/index.js
dest/components/ScrollToTop/index.js
+2
-2
No files found.
dest/components/AccountMenu/index.js
View file @
b4416343
...
...
@@ -92,14 +92,14 @@ module.exports = __WEBPACK_EXTERNAL_MODULE_1__;
/***/
128
:
/***/
(
function
(
module
,
exports
)
{
module
.
exports
=
"
https://sfiles.cnyes.cool/fe-common/
ece353ac
/5fbdce716ea9936da801688b9979630e.svg
"
;
module
.
exports
=
"
https://sfiles.cnyes.cool/fe-common/
cf536875
/5fbdce716ea9936da801688b9979630e.svg
"
;
/***/
}),
/***/
129
:
/***/
(
function
(
module
,
exports
)
{
module
.
exports
=
"
https://sfiles.cnyes.cool/fe-common/
ece353ac
/eb76e4028e56f908b84c418dff18f51b.svg
"
;
module
.
exports
=
"
https://sfiles.cnyes.cool/fe-common/
cf536875
/eb76e4028e56f908b84c418dff18f51b.svg
"
;
/***/
}),
...
...
@@ -131,7 +131,7 @@ var _propTypes = __webpack_require__(0);
var
_propTypes2
=
_interopRequireDefault
(
_propTypes
);
var
_bind
=
__webpack_require__
(
7
);
var
_bind
=
__webpack_require__
(
8
);
var
_bind2
=
_interopRequireDefault
(
_bind
);
...
...
@@ -282,7 +282,7 @@ module.exports = {"account-menu__wrapper":"_rVz-R","account-menu__popup":"_1KDzL
/***/
}),
/***/
7
:
/***/
8
:
/***/
(
function
(
module
,
exports
,
__webpack_require__
)
{
var
__WEBPACK_AMD_DEFINE_ARRAY__
,
__WEBPACK_AMD_DEFINE_RESULT__
;
/*!
...
...
This diff is collapsed.
Click to expand it.
dest/components/AccountPanel/index.js
View file @
b4416343
...
...
@@ -92,14 +92,14 @@ module.exports = __WEBPACK_EXTERNAL_MODULE_1__;
/***/
128
:
/***/
(
function
(
module
,
exports
)
{
module
.
exports
=
"
https://sfiles.cnyes.cool/fe-common/
ece353ac
/5fbdce716ea9936da801688b9979630e.svg
"
;
module
.
exports
=
"
https://sfiles.cnyes.cool/fe-common/
cf536875
/5fbdce716ea9936da801688b9979630e.svg
"
;
/***/
}),
/***/
129
:
/***/
(
function
(
module
,
exports
)
{
module
.
exports
=
"
https://sfiles.cnyes.cool/fe-common/
ece353ac
/eb76e4028e56f908b84c418dff18f51b.svg
"
;
module
.
exports
=
"
https://sfiles.cnyes.cool/fe-common/
cf536875
/eb76e4028e56f908b84c418dff18f51b.svg
"
;
/***/
}),
...
...
@@ -135,7 +135,7 @@ var _classnames = __webpack_require__(4);
var
_classnames2
=
_interopRequireDefault
(
_classnames
);
var
_propTypes3
=
__webpack_require__
(
8
);
var
_propTypes3
=
__webpack_require__
(
9
);
var
_AccountPanel
=
__webpack_require__
(
330
);
...
...
@@ -434,14 +434,14 @@ module.exports = {"panel__member":"_2PQkB","panel__member__info":"_26yuU","panel
/***/
331
:
/***/
(
function
(
module
,
exports
)
{
module
.
exports
=
"
https://sfiles.cnyes.cool/fe-common/
ece353ac
/f1cae93a0d0ae20a370d25cd6640f3a3.svg
"
;
module
.
exports
=
"
https://sfiles.cnyes.cool/fe-common/
cf536875
/f1cae93a0d0ae20a370d25cd6640f3a3.svg
"
;
/***/
}),
/***/
332
:
/***/
(
function
(
module
,
exports
)
{
module
.
exports
=
"
https://sfiles.cnyes.cool/fe-common/
ece353ac
/76bfdbe59e3e432ffe6d5d203a37e64d.svg
"
;
module
.
exports
=
"
https://sfiles.cnyes.cool/fe-common/
cf536875
/76bfdbe59e3e432ffe6d5d203a37e64d.svg
"
;
/***/
}),
...
...
@@ -475,7 +475,7 @@ function getStyleName(styles, name) {
/***/
}),
/***/
8
:
/***/
9
:
/***/
(
function
(
module
,
exports
,
__webpack_require__
)
{
"
use strict
"
;
...
...
This diff is collapsed.
Click to expand it.
dest/components/AccountPanel/style.css
View file @
b4416343
...
...
@@ -138,7 +138,7 @@
display
:
block
;
width
:
44px
;
height
:
44px
;
background
:
url(https://sfiles.cnyes.cool/fe-common/
ece353ac
/9b3297bb226cd6cb259d88b21dcc26c6.svg)
center
no-repeat
;
background
:
url(https://sfiles.cnyes.cool/fe-common/
cf536875
/9b3297bb226cd6cb259d88b21dcc26c6.svg)
center
no-repeat
;
background-size
:
16px
16px
;
position
:
absolute
;
right
:
0
;
...
...
This diff is collapsed.
Click to expand it.
dest/components/CnyesProvider/index.js
View file @
b4416343
...
...
@@ -115,7 +115,7 @@ var _propTypes = __webpack_require__(0);
var
_propTypes2
=
_interopRequireDefault
(
_propTypes
);
var
_propTypes3
=
__webpack_require__
(
8
);
var
_propTypes3
=
__webpack_require__
(
9
);
function
_interopRequireDefault
(
obj
)
{
return
obj
&&
obj
.
__esModule
?
obj
:
{
default
:
obj
};
}
...
...
@@ -163,7 +163,7 @@ exports.default = CnyesProvider;
/***/
}),
/***/
8
:
/***/
9
:
/***/
(
function
(
module
,
exports
,
__webpack_require__
)
{
"
use strict
"
;
...
...
This diff is collapsed.
Click to expand it.
dest/components/Compare/index.js
View file @
b4416343
...
...
@@ -100,6 +100,45 @@ module.exports = __webpack_require__(97);
/***/
7
:
/***/
(
function
(
module
,
exports
,
__webpack_require__
)
{
"
use strict
"
;
Object
.
defineProperty
(
exports
,
"
__esModule
"
,
{
value
:
true
});
var
gaDataset
=
function
gaDataset
(
_ref
)
{
var
dataPrefix
=
_ref
.
dataPrefix
,
category
=
_ref
.
category
,
action
=
_ref
.
action
,
label
=
_ref
.
label
;
if
(
dataPrefix
.
length
===
0
||
!
dataPrefix
)
{
return
null
;
}
var
gaRegExp
=
/^data-.*ga$/
;
// format restriction
var
eventsObj
=
dataPrefix
.
reduce
(
function
(
p
,
prefix
)
{
var
_p
=
p
;
if
(
gaRegExp
.
test
(
prefix
))
{
_p
[
prefix
+
"
-category
"
]
=
category
;
_p
[
prefix
+
"
-action
"
]
=
action
;
_p
[
prefix
+
"
-label
"
]
=
label
;
}
return
_p
;
},
{});
return
eventsObj
;
};
exports
.
default
=
gaDataset
;
/***/
}),
/***/
8
:
/***/
(
function
(
module
,
exports
,
__webpack_require__
)
{
var
__WEBPACK_AMD_DEFINE_ARRAY__
,
__WEBPACK_AMD_DEFINE_RESULT__
;
/*!
Copyright (c) 2016 Jed Watson.
Licensed under the MIT License (MIT), see
...
...
@@ -163,6 +202,8 @@ Object.defineProperty(exports, "__esModule", {
value
:
true
});
var
_extends
=
Object
.
assign
||
function
(
target
)
{
for
(
var
i
=
1
;
i
<
arguments
.
length
;
i
++
)
{
var
source
=
arguments
[
i
];
for
(
var
key
in
source
)
{
if
(
Object
.
prototype
.
hasOwnProperty
.
call
(
source
,
key
))
{
target
[
key
]
=
source
[
key
];
}
}
}
return
target
;
};
var
_react
=
__webpack_require__
(
1
);
var
_react2
=
_interopRequireDefault
(
_react
);
...
...
@@ -171,7 +212,7 @@ var _propTypes = __webpack_require__(0);
var
_propTypes2
=
_interopRequireDefault
(
_propTypes
);
var
_bind
=
__webpack_require__
(
7
);
var
_bind
=
__webpack_require__
(
8
);
var
_bind2
=
_interopRequireDefault
(
_bind
);
...
...
@@ -179,6 +220,10 @@ var _Compare = __webpack_require__(98);
var
_Compare2
=
_interopRequireDefault
(
_Compare
);
var
_gaDataset
=
__webpack_require__
(
7
);
var
_gaDataset2
=
_interopRequireDefault
(
_gaDataset
);
function
_interopRequireDefault
(
obj
)
{
return
obj
&&
obj
.
__esModule
?
obj
:
{
default
:
obj
};
}
var
DEFAULT_REGULATION_MSG
=
_react2
.
default
.
createElement
(
...
...
@@ -197,7 +242,9 @@ function Compare(_ref) {
prerequisiteMsg
=
_ref
.
prerequisiteMsg
,
regulationMsg
=
_ref
.
regulationMsg
,
btnText
=
_ref
.
btnText
,
isMobile
=
_ref
.
isMobile
;
isMobile
=
_ref
.
isMobile
,
gaEventForClose
=
_ref
.
gaEventForClose
,
gaEventForStart
=
_ref
.
gaEventForStart
;
// eslint-disable-next-line
var
blocks
=
Array
.
apply
(
null
,
Array
(
isMobile
?
2
:
4
)).
map
(
function
(
cur
,
idx
)
{
...
...
@@ -228,6 +275,10 @@ function Compare(_ref) {
}
};
var
getGaEvent
=
function
getGaEvent
(
event
)
{
return
event
?
(
0
,
_gaDataset2
.
default
)(
event
)
:
null
;
};
return
_react2
.
default
.
createElement
(
'
div
'
,
{
className
:
cx
(
'
comparison
'
,
{
display
:
items
.
length
>
0
})
},
...
...
@@ -238,11 +289,11 @@ function Compare(_ref) {
b
&&
b
.
name
?
_react2
.
default
.
createElement
(
'
div
'
,
null
,
_react2
.
default
.
createElement
(
'
span
'
,
{
_react2
.
default
.
createElement
(
'
span
'
,
_extends
(
{
className
:
cx
(
'
close
'
)
// eslint-disable-next-line react/jsx-no-bind
,
onClick
:
handleClickClose
.
bind
(
_this
,
b
.
id
)
}),
}
,
getGaEvent
(
gaEventForClose
))
),
_react2
.
default
.
createElement
(
'
p
'
,
{
className
:
cx
(
'
content
'
)
},
...
...
@@ -257,7 +308,10 @@ function Compare(_ref) {
}),
_react2
.
default
.
createElement
(
'
div
'
,
{
onClick
:
handleClickCta
,
className
:
cx
(
'
cta
'
,
{
'
is-enable
'
:
items
.
length
>
1
})
},
_extends
({
onClick
:
handleClickCta
,
className
:
cx
(
'
cta
'
,
{
'
is-enable
'
:
items
.
length
>
1
})
},
getGaEvent
(
gaEventForStart
)),
_react2
.
default
.
createElement
(
'
button
'
,
null
,
...
...
@@ -271,7 +325,9 @@ Compare.defaultProps = {
prerequisiteMsg
:
''
,
regulationMsg
:
''
,
btnText
:
'
開始比較
'
,
isMobile
:
false
isMobile
:
false
,
gaEventForClose
:
null
,
gaEventForStart
:
null
};
exports
.
default
=
Compare
;
...
...
This diff is collapsed.
Click to expand it.
dest/components/Footer/index.js
View file @
b4416343
...
...
@@ -128,7 +128,7 @@ function getStyleName(styles, name) {
/***/
}),
/***/
8
:
/***/
7
:
/***/
(
function
(
module
,
exports
,
__webpack_require__
)
{
"
use strict
"
;
...
...
@@ -137,134 +137,33 @@ function getStyleName(styles, name) {
Object
.
defineProperty
(
exports
,
"
__esModule
"
,
{
value
:
true
});
exports
.
adProfileType
=
exports
.
newsItemType
=
exports
.
userProfileType
=
exports
.
authType
=
exports
.
locationShape
=
exports
.
footerNavItem
=
exports
.
catNavsType
=
exports
.
catNavItemShape
=
exports
.
catNavSubItemShape
=
exports
.
navsMobileType
=
exports
.
navItemMobileShape
=
exports
.
navItemMobilShape
=
exports
.
accountNavsType
=
exports
.
accountNavItemShape
=
exports
.
navsType
=
exports
.
navItemShape
=
exports
.
navUrlShape
=
exports
.
navDownloadType
=
exports
.
navDownloadShape
=
exports
.
requestType
=
undefined
;
var
_propTypes
=
__webpack_require__
(
0
);
var
_propTypes2
=
_interopRequireDefault
(
_propTypes
);
function
_interopRequireDefault
(
obj
)
{
return
obj
&&
obj
.
__esModule
?
obj
:
{
default
:
obj
};
}
var
requestType
=
exports
.
requestType
=
_propTypes2
.
default
.
func
;
/* eslint-disable import/prefer-default-export */
var
navDownloadShape
=
exports
.
navDownloadShape
=
_propTypes2
.
default
.
shape
({
title
:
_propTypes2
.
default
.
string
.
isRequired
,
url
:
_propTypes2
.
default
.
string
.
isRequired
});
var
navDownloadType
=
exports
.
navDownloadType
=
_propTypes2
.
default
.
arrayOf
(
navDownloadShape
);
var
navUrlShape
=
exports
.
navUrlShape
=
_propTypes2
.
default
.
shape
({
title
:
_propTypes2
.
default
.
string
.
isRequired
,
url
:
_propTypes2
.
default
.
string
.
isRequired
});
var
navItemShape
=
exports
.
navItemShape
=
_propTypes2
.
default
.
shape
({
title
:
_propTypes2
.
default
.
string
.
isRequired
,
url
:
_propTypes2
.
default
.
string
,
leftList
:
_propTypes2
.
default
.
arrayOf
(
navUrlShape
),
rightListTitle
:
_propTypes2
.
default
.
string
,
rightList
:
_propTypes2
.
default
.
arrayOf
(
navUrlShape
)
});
var
navsType
=
exports
.
navsType
=
_propTypes2
.
default
.
arrayOf
(
navItemShape
);
var
accountNavItemShape
=
exports
.
accountNavItemShape
=
_propTypes2
.
default
.
shape
({
id
:
_propTypes2
.
default
.
string
.
isRequired
,
title
:
_propTypes2
.
default
.
string
.
isRequired
,
defaultUrl
:
_propTypes2
.
default
.
string
.
isRequired
,
notify
:
_propTypes2
.
default
.
arrayOf
(
_propTypes2
.
default
.
shape
({
id
:
_propTypes2
.
default
.
string
.
isRequired
,
gotoUrl
:
_propTypes2
.
default
.
string
.
isRequired
}))
});
var
accountNavsType
=
exports
.
accountNavsType
=
_propTypes2
.
default
.
arrayOf
(
accountNavItemShape
);
var
navItemMobilShape
=
exports
.
navItemMobilShape
=
_propTypes2
.
default
.
shape
({
name
:
_propTypes2
.
default
.
string
.
isRequired
,
title
:
_propTypes2
.
default
.
string
.
isRequired
,
url
:
_propTypes2
.
default
.
string
.
isRequired
,
external
:
_propTypes2
.
default
.
bool
});
var
navItemMobileShape
=
exports
.
navItemMobileShape
=
_propTypes2
.
default
.
shape
({
name
:
_propTypes2
.
default
.
string
.
isRequired
,
title
:
_propTypes2
.
default
.
string
.
isRequired
,
items
:
_propTypes2
.
default
.
arrayOf
(
navItemMobilShape
)
});
var
navsMobileType
=
exports
.
navsMobileType
=
_propTypes2
.
default
.
arrayOf
(
navItemMobileShape
);
var
catNavSubItemShape
=
exports
.
catNavSubItemShape
=
_propTypes2
.
default
.
shape
({
name
:
_propTypes2
.
default
.
string
,
url
:
_propTypes2
.
default
.
string
,
title
:
_propTypes2
.
default
.
string
,
external
:
_propTypes2
.
default
.
bool
});
var
catNavItemShape
=
exports
.
catNavItemShape
=
_propTypes2
.
default
.
shape
({
name
:
_propTypes2
.
default
.
string
.
isRequired
,
url
:
_propTypes2
.
default
.
string
.
isRequired
,
title
:
_propTypes2
.
default
.
string
.
isRequired
,
external
:
_propTypes2
.
default
.
bool
,
subItems
:
_propTypes2
.
default
.
arrayOf
(
catNavSubItemShape
)
});
var
catNavsType
=
exports
.
catNavsType
=
_propTypes2
.
default
.
arrayOf
(
catNavItemShape
);
var
gaDataset
=
function
gaDataset
(
_ref
)
{
var
dataPrefix
=
_ref
.
dataPrefix
,
category
=
_ref
.
category
,
action
=
_ref
.
action
,
label
=
_ref
.
label
;
var
footerNavItem
=
exports
.
footerNavItem
=
_propTypes2
.
default
.
shape
({
title
:
_propTypes2
.
default
.
string
.
isRequired
,
name
:
_propTypes2
.
default
.
string
.
isRequired
,
url
:
_propTypes2
.
default
.
string
,
onClick
:
_propTypes2
.
default
.
func
});
if
(
dataPrefix
.
length
===
0
||
!
dataPrefix
)
{
return
null
;
}
var
locationShape
=
exports
.
locationShape
=
_propTypes2
.
default
.
shape
({
key
:
_propTypes2
.
default
.
string
,
pathname
:
_propTypes2
.
default
.
string
,
search
:
_propTypes2
.
default
.
string
,
hash
:
_propTypes2
.
default
.
string
,
state
:
_propTypes2
.
default
.
object
});
var
gaRegExp
=
/^data-.*ga$/
;
// format restriction
var
eventsObj
=
dataPrefix
.
reduce
(
function
(
p
,
prefix
)
{
var
_p
=
p
;
var
authType
=
exports
.
authType
=
_propTypes2
.
default
.
shape
({
init
:
_propTypes2
.
default
.
func
.
isRequired
,
loginFB
:
_propTypes2
.
default
.
func
.
isRequired
,
loginGoogle
:
_propTypes2
.
default
.
func
.
isRequired
,
logout
:
_propTypes2
.
default
.
func
.
isRequired
,
showLogin
:
_propTypes2
.
default
.
func
.
isRequired
,
hideLogin
:
_propTypes2
.
default
.
func
.
isRequired
,
getToken
:
_propTypes2
.
default
.
func
.
isRequired
,
refreshToken
:
_propTypes2
.
default
.
func
.
isRequired
,
getProfile
:
_propTypes2
.
default
.
func
.
isRequired
});
if
(
gaRegExp
.
test
(
prefix
))
{
_p
[
prefix
+
"
-category
"
]
=
category
;
_p
[
prefix
+
"
-action
"
]
=
action
;
_p
[
prefix
+
"
-label
"
]
=
label
;
}
var
userProfileType
=
exports
.
userProfileType
=
_propTypes2
.
default
.
shape
({
uid
:
_propTypes2
.
default
.
string
.
isRequired
,
name
:
_propTypes2
.
default
.
string
.
isRequired
,
nickname
:
_propTypes2
.
default
.
string
,
email
:
_propTypes2
.
default
.
string
,
avatar
:
_propTypes2
.
default
.
string
.
isRequired
,
gender
:
_propTypes2
.
default
.
oneOf
([
''
,
'
male
'
,
'
female
'
]),
vip
:
_propTypes2
.
default
.
oneOf
([
0
,
1
])
});
return
_p
;
},
{});
var
newsItemType
=
exports
.
newsItemType
=
_propTypes2
.
default
.
shape
({
newsId
:
_propTypes2
.
default
.
number
.
isRequired
,
title
:
_propTypes2
.
default
.
string
.
isRequired
,
hasCoverPhoto
:
_propTypes2
.
default
.
oneOf
([
0
,
1
]).
isRequired
,
coverSrc
:
_propTypes2
.
default
.
shape
({
m
:
_propTypes2
.
default
.
shape
({
src
:
_propTypes2
.
default
.
string
}),
l
:
_propTypes2
.
default
.
shape
({
src
:
_propTypes2
.
default
.
string
}),
xl
:
_propTypes2
.
default
.
shape
({
src
:
_propTypes2
.
default
.
string
})
})
});
return
eventsObj
;
};
var
adProfileType
=
exports
.
adProfileType
=
_propTypes2
.
default
.
shape
({
name
:
_propTypes2
.
default
.
string
.
isRequired
,
path
:
_propTypes2
.
default
.
string
.
isRequired
,
hideOnInitial
:
_propTypes2
.
default
.
bool
});
exports
.
default
=
gaDataset
;
/***/
}),
...
...
@@ -306,9 +205,9 @@ var _links = __webpack_require__(85);
var
_links2
=
_interopRequireDefault
(
_links
);
var
_propTypes3
=
__webpack_require__
(
8
);
var
_propTypes3
=
__webpack_require__
(
9
);
var
_gaDataset
=
__webpack_require__
(
9
);
var
_gaDataset
=
__webpack_require__
(
7
);
var
_gaDataset2
=
_interopRequireDefault
(
_gaDataset
);
...
...
@@ -563,33 +462,134 @@ exports.default = footerLinks;
Object
.
defineProperty
(
exports
,
"
__esModule
"
,
{
value
:
true
});
var
gaDataset
=
function
gaDataset
(
_ref
)
{
var
dataPrefix
=
_ref
.
dataPrefix
,
category
=
_ref
.
category
,
action
=
_ref
.
action
,
label
=
_ref
.
label
;
exports
.
adProfileType
=
exports
.
newsItemType
=
exports
.
userProfileType
=
exports
.
authType
=
exports
.
locationShape
=
exports
.
footerNavItem
=
exports
.
catNavsType
=
exports
.
catNavItemShape
=
exports
.
catNavSubItemShape
=
exports
.
navsMobileType
=
exports
.
navItemMobileShape
=
exports
.
navItemMobilShape
=
exports
.
accountNavsType
=
exports
.
accountNavItemShape
=
exports
.
navsType
=
exports
.
navItemShape
=
exports
.
navUrlShape
=
exports
.
navDownloadType
=
exports
.
navDownloadShape
=
exports
.
requestType
=
undefined
;
if
(
dataPrefix
.
length
===
0
||
!
dataPrefix
)
{
return
null
;
}
var
_propTypes
=
__webpack_require__
(
0
);
var
gaRegExp
=
/^data-.*ga$/
;
// format restriction
var
eventsObj
=
dataPrefix
.
reduce
(
function
(
p
,
prefix
)
{
var
_p
=
p
;
var
_propTypes2
=
_interopRequireDefault
(
_propTypes
);
if
(
gaRegExp
.
test
(
prefix
))
{
_p
[
prefix
+
"
-category
"
]
=
category
;
_p
[
prefix
+
"
-action
"
]
=
action
;
_p
[
prefix
+
"
-label
"
]
=
label
;
}
function
_interopRequireDefault
(
obj
)
{
return
obj
&&
obj
.
__esModule
?
obj
:
{
default
:
obj
};
}
return
_p
;
},
{});
var
requestType
=
exports
.
requestType
=
_propTypes2
.
default
.
func
;
/* eslint-disable import/prefer-default-export */
var
navDownloadShape
=
exports
.
navDownloadShape
=
_propTypes2
.
default
.
shape
({
title
:
_propTypes2
.
default
.
string
.
isRequired
,
url
:
_propTypes2
.
default
.
string
.
isRequired
});
return
eventsObj
;
};
var
navDownloadType
=
exports
.
navDownloadType
=
_propTypes2
.
default
.
arrayOf
(
navDownloadShape
);
exports
.
default
=
gaDataset
;
var
navUrlShape
=
exports
.
navUrlShape
=
_propTypes2
.
default
.
shape
({
title
:
_propTypes2
.
default
.
string
.
isRequired
,
url
:
_propTypes2
.
default
.
string
.
isRequired
});
var
navItemShape
=
exports
.
navItemShape
=
_propTypes2
.
default
.
shape
({
title
:
_propTypes2
.
default
.
string
.
isRequired
,
url
:
_propTypes2
.
default
.
string
,
leftList
:
_propTypes2
.
default
.
arrayOf
(
navUrlShape
),
rightListTitle
:
_propTypes2
.
default
.
string
,
rightList
:
_propTypes2
.
default
.
arrayOf
(
navUrlShape
)
});
var
navsType
=
exports
.
navsType
=
_propTypes2
.
default
.
arrayOf
(
navItemShape
);
var
accountNavItemShape
=
exports
.
accountNavItemShape
=
_propTypes2
.
default
.
shape
({
id
:
_propTypes2
.
default
.
string
.
isRequired
,
title
:
_propTypes2
.
default
.
string
.
isRequired
,
defaultUrl
:
_propTypes2
.
default
.
string
.
isRequired
,
notify
:
_propTypes2
.
default
.
arrayOf
(
_propTypes2
.
default
.
shape
({
id
:
_propTypes2
.
default
.
string
.
isRequired
,
gotoUrl
:
_propTypes2
.
default
.
string
.
isRequired
}))
});
var
accountNavsType
=
exports
.
accountNavsType
=
_propTypes2
.
default
.
arrayOf
(
accountNavItemShape
);
var
navItemMobilShape
=
exports
.
navItemMobilShape
=
_propTypes2
.
default
.
shape
({
name
:
_propTypes2
.
default
.
string
.
isRequired
,
title
:
_propTypes2
.
default
.
string
.
isRequired
,
url
:
_propTypes2
.
default
.
string
.
isRequired
,
external
:
_propTypes2
.
default
.
bool
});
var
navItemMobileShape
=
exports
.
navItemMobileShape
=
_propTypes2
.
default
.
shape
({
name
:
_propTypes2
.
default
.
string
.
isRequired
,
title
:
_propTypes2
.
default
.
string
.
isRequired
,
items
:
_propTypes2
.
default
.
arrayOf
(
navItemMobilShape
)
});
var
navsMobileType
=
exports
.
navsMobileType
=
_propTypes2
.
default
.
arrayOf
(
navItemMobileShape
);
var
catNavSubItemShape
=
exports
.
catNavSubItemShape
=
_propTypes2
.
default
.
shape
({
name
:
_propTypes2
.
default
.
string
,
url
:
_propTypes2
.
default
.
string
,
title
:
_propTypes2
.
default
.
string
,
external
:
_propTypes2
.
default
.
bool
});
var
catNavItemShape
=
exports
.
catNavItemShape
=
_propTypes2
.
default
.
shape
({
name
:
_propTypes2
.
default
.
string
.
isRequired
,
url
:
_propTypes2
.
default
.
string
.
isRequired
,
title
:
_propTypes2
.
default
.
string
.
isRequired
,
external
:
_propTypes2
.
default
.
bool
,
subItems
:
_propTypes2
.
default
.
arrayOf
(
catNavSubItemShape
)
});
var
catNavsType
=
exports
.
catNavsType
=
_propTypes2
.
default
.
arrayOf
(
catNavItemShape
);
var
footerNavItem
=
exports
.
footerNavItem
=
_propTypes2
.
default
.
shape
({
title
:
_propTypes2
.
default
.
string
.
isRequired
,
name
:
_propTypes2
.
default
.
string
.
isRequired
,
url
:
_propTypes2
.
default
.
string
,
onClick
:
_propTypes2
.
default
.
func
});
var
locationShape
=
exports
.
locationShape
=
_propTypes2
.
default
.
shape
({
key
:
_propTypes2
.
default
.
string
,
pathname
:
_propTypes2
.
default
.
string
,
search
:
_propTypes2
.
default
.
string
,
hash
:
_propTypes2
.
default
.
string
,
state
:
_propTypes2
.
default
.
object
});
var
authType
=
exports
.
authType
=
_propTypes2
.
default
.
shape
({
init
:
_propTypes2
.
default
.
func
.
isRequired
,
loginFB
:
_propTypes2
.
default
.
func
.
isRequired
,
loginGoogle
:
_propTypes2
.
default
.
func
.
isRequired
,
logout
:
_propTypes2
.
default
.
func
.
isRequired
,
showLogin
:
_propTypes2
.
default
.
func
.
isRequired
,
hideLogin
:
_propTypes2
.
default
.
func
.
isRequired
,
getToken
:
_propTypes2
.
default
.
func
.
isRequired
,
refreshToken
:
_propTypes2
.
default
.
func
.
isRequired
,
getProfile
:
_propTypes2
.
default
.
func
.
isRequired
});
var
userProfileType
=
exports
.
userProfileType
=
_propTypes2
.
default
.
shape
({
uid
:
_propTypes2
.
default
.
string
.
isRequired
,
name
:
_propTypes2
.
default
.
string
.
isRequired
,
nickname
:
_propTypes2
.
default
.
string
,
email
:
_propTypes2
.
default
.
string
,
avatar
:
_propTypes2
.
default
.
string
.
isRequired
,
gender
:
_propTypes2
.
default
.
oneOf
([
''
,
'
male
'
,
'
female
'
]),
vip
:
_propTypes2
.
default
.
oneOf
([
0
,
1
])
});
var
newsItemType
=
exports
.
newsItemType
=
_propTypes2
.
default
.
shape
({
newsId
:
_propTypes2
.
default
.
number
.
isRequired
,
title
:
_propTypes2
.
default
.
string
.
isRequired
,
hasCoverPhoto
:
_propTypes2
.
default
.
oneOf
([
0
,
1
]).
isRequired
,
coverSrc
:
_propTypes2
.
default
.
shape
({
m
:
_propTypes2
.
default
.
shape
({
src
:
_propTypes2
.
default
.
string
}),
l
:
_propTypes2
.
default
.
shape
({
src
:
_propTypes2
.
default
.
string
}),
xl
:
_propTypes2
.
default
.
shape
({
src
:
_propTypes2
.
default
.
string
})
})
});
var
adProfileType
=
exports
.
adProfileType
=
_propTypes2
.
default
.
shape
({
name
:
_propTypes2
.
default
.
string
.
isRequired
,
path
:
_propTypes2
.
default
.
string
.
isRequired
,
hideOnInitial
:
_propTypes2
.
default
.
bool
});
/***/
})
...
...
This diff is collapsed.
Click to expand it.
dest/components/Footer/style.css
View file @
b4416343
...
...
@@ -37,7 +37,7 @@
#_qdV4M
._1W3uT
a
{
display
:
block
;
background-size
:
cover
;
background
:
url(https://sfiles.cnyes.cool/fe-common/
ece353ac
/42637c8a63a824b2d09eb132c380d3aa.svg)
center
no-repeat
;
background
:
url(https://sfiles.cnyes.cool/fe-common/
cf536875
/42637c8a63a824b2d09eb132c380d3aa.svg)
center
no-repeat
;
height
:
43.3px
;
width
:
131.4px
;
}
...
...
@@ -134,15 +134,15 @@
}
#_qdV4M
._7vG5K
._2WAgR
{
background
:
url(https://sfiles.cnyes.cool/fe-common/
ece353ac
/4d56f9845711a9318f29a8674173e13b.svg)
center
no-repeat
;
background
:
url(https://sfiles.cnyes.cool/fe-common/
cf536875
/4d56f9845711a9318f29a8674173e13b.svg)
center
no-repeat
;
}
#_qdV4M
._7vG5K
._1PYxM
{
background
:
url(https://sfiles.cnyes.cool/fe-common/
ece353ac
/5e48bf6e14d2a141e5b2412782e207f7.svg)
center
no-repeat
;
background
:
url(https://sfiles.cnyes.cool/fe-common/
cf536875
/5e48bf6e14d2a141e5b2412782e207f7.svg)
center
no-repeat
;
}
#_qdV4M
._7vG5K
._13are
{
background
:
url(https://sfiles.cnyes.cool/fe-common/
ece353ac
/25a80a4dd72309de0de04ee583f3fb08.svg)
center
no-repeat
;
background
:
url(https://sfiles.cnyes.cool/fe-common/
cf536875
/25a80a4dd72309de0de04ee583f3fb08.svg)
center
no-repeat
;
}
#_qdV4M
._P9DLg
{
...
...
This diff is collapsed.
Click to expand it.
dest/components/Header/index.js
View file @
b4416343
This diff is collapsed.
Click to expand it.
dest/components/Header/style.css
View file @
b4416343
...
...
@@ -31,7 +31,7 @@
#_2SRO2
._3wxEr
:not
(
._GG7q8
)
>
div
>
a
._2H_kF
::after
,
#_2SRO2
._3wxEr
:not
(
._GG7q8
)
>
div
>
span
._2H_kF
::after
,
#_2SRO2
._2aFMd
._GG7q8
>
._1wbxF
>
a
._2H_kF
::after
{
background-size
:
cover
;
background
:
url(https://sfiles.cnyes.cool/fe-common/
ece353ac
/5d6ac781ac2672ca83a594041dcdd43c.svg)
center
no-repeat
;
background
:
url(https://sfiles.cnyes.cool/fe-common/
cf536875
/5d6ac781ac2672ca83a594041dcdd43c.svg)
center
no-repeat
;
content
:
''
;
display
:
block
;
height
:
16px
;
...
...
@@ -93,7 +93,7 @@
#_2SRO2
._3wxEr
:not
(
._GG7q8
)
>
div
._37HAC
{
background-size
:
cover
;
background
:
url(https://sfiles.cnyes.cool/fe-common/
ece353ac
/71ebd68b8df9e895a44be18f5b4a10f8.svg)
center
no-repeat
;
background
:
url(https://sfiles.cnyes.cool/fe-common/
cf536875
/71ebd68b8df9e895a44be18f5b4a10f8.svg)
center
no-repeat
;
height
:
3px
;
opacity
:
0.6
;
position
:
absolute
;
...
...
@@ -234,7 +234,7 @@
#_2SRO2
._3wxEr
:not
(
._GG7q8
)
>
div
._1APmD
._2JnIo
>
a
._2TGF6
::after
{
background-size
:
36px
17px
;
background
:
url(https://sfiles.cnyes.cool/fe-common/
ece353ac
/9f49bd4744c21221beb6dc688fa7a964.png)
center
no-repeat
;
background
:
url(https://sfiles.cnyes.cool/fe-common/
cf536875
/9f49bd4744c21221beb6dc688fa7a964.png)
center
no-repeat
;
content
:
''
;
display
:
block
;
height
:
17px
;
...
...
@@ -302,7 +302,7 @@
#_2SRO2
._26crt
._1AtfL
{
background-size
:
cover
;
background
:
url(https://sfiles.cnyes.cool/fe-common/
ece353ac
/ac25a5abb8fcbdfddb46fa4e9bca6b06.svg)
center
no-repeat
;
background
:
url(https://sfiles.cnyes.cool/fe-common/
cf536875
/ac25a5abb8fcbdfddb46fa4e9bca6b06.svg)
center
no-repeat
;
display
:
inline-block
;
height
:
39px
;
margin-right
:
6px
;
...
...
@@ -386,7 +386,7 @@
#_2SRO2
._34URG
button
{
background-size
:
cover
;
background
:
url(https://sfiles.cnyes.cool/fe-common/
ece353ac
/4b3f19ffc01685780823d0f3dc731cac.svg)
center
no-repeat
;
background
:
url(https://sfiles.cnyes.cool/fe-common/
cf536875
/4b3f19ffc01685780823d0f3dc731cac.svg)
center
no-repeat
;
border
:
0
;
cursor
:
pointer
;
height
:
12px
;
...
...
@@ -527,7 +527,7 @@
#_2SRO2
._2aFMd
._GG7q8
>
._1wbxF
>
a
._37HAC
::after
{
background-size
:
cover
;
background
:
url(https://sfiles.cnyes.cool/fe-common/
ece353ac
/934f74cbbeb0bf6adbd98a255e151589.svg)
center
no-repeat
;
background
:
url(https://sfiles.cnyes.cool/fe-common/
cf536875
/934f74cbbeb0bf6adbd98a255e151589.svg)
center
no-repeat
;
content
:
''
;
height
:
3px
;
opacity
:
0.6
;
...
...
This diff is collapsed.
Click to expand it.
dest/components/List/index.js
View file @
b4416343
...
...
@@ -277,7 +277,7 @@ var _propTypes = __webpack_require__(0);
var
_propTypes2
=
_interopRequireDefault
(
_propTypes
);
var
_bind
=
__webpack_require__
(
7
);
var
_bind
=
__webpack_require__
(
8
);
var
_bind2
=
_interopRequireDefault
(
_bind
);
...
...
@@ -413,7 +413,7 @@ var _propTypes = __webpack_require__(0);
var
_propTypes2
=
_interopRequireDefault
(
_propTypes
);
var
_bind
=
__webpack_require__
(
7
);
var
_bind
=
__webpack_require__
(
8
);
var
_bind2
=
_interopRequireDefault
(
_bind
);
...
...
@@ -482,7 +482,7 @@ module.exports = {"list":"_10zvG","list-width-short":"_2MP8L","list-width-wide":
/***/
}),
/***/
7
:
/***/
8
:
/***/
(
function
(
module
,
exports
,
__webpack_require__
)
{
var
__WEBPACK_AMD_DEFINE_ARRAY__
,
__WEBPACK_AMD_DEFINE_RESULT__
;
/*!
...
...
This diff is collapsed.
Click to expand it.
dest/components/LoginModal/index.js
View file @
b4416343
...
...
@@ -125,7 +125,7 @@ var _LoginModal = __webpack_require__(225);
var
_LoginModal2
=
_interopRequireDefault
(
_LoginModal
);
var
_propTypes3
=
__webpack_require__
(
8
);
var
_propTypes3
=
__webpack_require__
(
9
);
function
_interopRequireDefault
(
obj
)
{
return
obj
&&
obj
.
__esModule
?
obj
:
{
default
:
obj
};
}
...
...
@@ -350,7 +350,7 @@ module.exports = {"wrapper":"_MXx3I","fadeIn":"_3NB-2","container":"_29Mdb","clo
/***/
}),
/***/
8
:
/***/
9
:
/***/
(
function
(
module
,
exports
,
__webpack_require__
)
{
"
use strict
"
;
...
...
This diff is collapsed.
Click to expand it.
dest/components/LoginModal/style.css
View file @
b4416343
...
...
@@ -38,7 +38,7 @@
right
:
14px
;
width
:
13px
;
height
:
13px
;
background
:
url(https://sfiles.cnyes.cool/fe-common/
ece353ac
/977cc3e656d39b232ae220ae00db9b9c.svg)
center
no-repeat
;
background
:
url(https://sfiles.cnyes.cool/fe-common/
cf536875
/977cc3e656d39b232ae220ae00db9b9c.svg)
center
no-repeat
;
background-size
:
13px
13px
;
cursor
:
pointer
;
z-index
:
999
;
...
...
@@ -85,9 +85,9 @@
}
._eFJnb
._2gRbk
{
background
:
url(https://sfiles.cnyes.cool/fe-common/
ece353ac
/39f332117374589e0b2cea85cf5e4eb6.svg)
center
no-repeat
;
background
:
url(https://sfiles.cnyes.cool/fe-common/
cf536875
/39f332117374589e0b2cea85cf5e4eb6.svg)
center
no-repeat
;
}
._eFJnb
._Q6gsH
{
background
:
url(https://sfiles.cnyes.cool/fe-common/
ece353ac
/13ac8f9eaea0923faadfbddc9a1cf56b.svg)
center
no-repeat
;
background
:
url(https://sfiles.cnyes.cool/fe-common/
cf536875
/13ac8f9eaea0923faadfbddc9a1cf56b.svg)
center
no-repeat
;
}
This diff is collapsed.
Click to expand it.
dest/components/MobileHeader/index.js
View file @
b4416343
...
...
@@ -146,7 +146,7 @@ function getStyleName(styles, name) {
/***/
}),
/***/
8
:
/***/
7
:
/***/
(
function
(
module
,
exports
,
__webpack_require__
)
{
"
use strict
"
;
...
...
@@ -155,134 +155,33 @@ function getStyleName(styles, name) {
Object
.
defineProperty
(
exports
,
"
__esModule
"
,
{
value
:
true
});
exports
.
adProfileType
=
exports
.
newsItemType
=
exports
.
userProfileType
=
exports
.
authType
=
exports
.
locationShape
=
exports
.
footerNavItem
=
exports
.
catNavsType
=
exports
.
catNavItemShape
=
exports
.
catNavSubItemShape
=
exports
.
navsMobileType
=
exports
.
navItemMobileShape
=
exports
.
navItemMobilShape
=
exports
.
accountNavsType
=
exports
.
accountNavItemShape
=
exports
.
navsType
=
exports
.
navItemShape
=
exports
.
navUrlShape
=
exports
.
navDownloadType
=
exports
.
navDownloadShape
=
exports
.
requestType
=
undefined
;
var
_propTypes
=
__webpack_require__
(
0
);
var
_propTypes2
=
_interopRequireDefault
(
_propTypes
);
function
_interopRequireDefault
(
obj
)
{
return
obj
&&
obj
.
__esModule
?
obj
:
{
default
:
obj
};
}
var
requestType
=
exports
.
requestType
=
_propTypes2
.
default
.
func
;
/* eslint-disable import/prefer-default-export */
var
navDownloadShape
=
exports
.
navDownloadShape
=
_propTypes2
.
default
.
shape
({
title
:
_propTypes2
.
default
.
string
.
isRequired
,
url
:
_propTypes2
.
default
.
string
.
isRequired
});
var
navDownloadType
=
exports
.
navDownloadType
=
_propTypes2
.
default
.
arrayOf
(
navDownloadShape
);
var
navUrlShape
=
exports
.
navUrlShape
=
_propTypes2
.
default
.
shape
({
title
:
_propTypes2
.
default
.
string
.
isRequired
,
url
:
_propTypes2
.
default
.
string
.
isRequired
});
var
navItemShape
=
exports
.
navItemShape
=
_propTypes2
.
default
.
shape
({
title
:
_propTypes2
.
default
.
string
.
isRequired
,
url
:
_propTypes2
.
default
.
string
,
leftList
:
_propTypes2
.
default
.
arrayOf
(
navUrlShape
),
rightListTitle
:
_propTypes2
.
default
.
string
,
rightList
:
_propTypes2
.
default
.
arrayOf
(
navUrlShape
)
});
var
navsType
=
exports
.
navsType
=
_propTypes2
.
default
.
arrayOf
(
navItemShape
);
var
accountNavItemShape
=
exports
.
accountNavItemShape
=
_propTypes2
.
default
.
shape
({
id
:
_propTypes2
.
default
.
string
.
isRequired
,
title
:
_propTypes2
.
default
.
string
.
isRequired
,
defaultUrl
:
_propTypes2
.
default
.
string
.
isRequired
,
notify
:
_propTypes2
.
default
.
arrayOf
(
_propTypes2
.
default
.
shape
({
id
:
_propTypes2
.
default
.
string
.
isRequired
,
gotoUrl
:
_propTypes2
.
default
.
string
.
isRequired
}))
});
var
accountNavsType
=
exports
.
accountNavsType
=
_propTypes2
.
default
.
arrayOf
(
accountNavItemShape
);
var
navItemMobilShape
=
exports
.
navItemMobilShape
=
_propTypes2
.
default
.
shape
({
name
:
_propTypes2
.
default
.
string
.
isRequired
,
title
:
_propTypes2
.
default
.
string
.
isRequired
,
url
:
_propTypes2
.
default
.
string
.
isRequired
,
external
:
_propTypes2
.
default
.
bool
});
var
navItemMobileShape
=
exports
.
navItemMobileShape
=
_propTypes2
.
default
.
shape
({
name
:
_propTypes2
.
default
.
string
.
isRequired
,
title
:
_propTypes2
.
default
.
string
.
isRequired
,
items
:
_propTypes2
.
default
.
arrayOf
(
navItemMobilShape
)
});
var
navsMobileType
=
exports
.
navsMobileType
=
_propTypes2
.
default
.
arrayOf
(
navItemMobileShape
);
var
catNavSubItemShape
=
exports
.
catNavSubItemShape
=
_propTypes2
.
default
.
shape
({
name
:
_propTypes2
.
default
.
string
,
url
:
_propTypes2
.
default
.
string
,
title
:
_propTypes2
.
default
.
string
,
external
:
_propTypes2
.
default
.
bool
});
var
catNavItemShape
=
exports
.
catNavItemShape
=
_propTypes2
.
default
.
shape
({
name
:
_propTypes2
.
default
.
string
.
isRequired
,
url
:
_propTypes2
.
default
.
string
.
isRequired
,
title
:
_propTypes2
.
default
.
string
.
isRequired
,
external
:
_propTypes2
.
default
.
bool
,
subItems
:
_propTypes2
.
default
.
arrayOf
(
catNavSubItemShape
)
});
var
catNavsType
=
exports
.
catNavsType
=
_propTypes2
.
default
.
arrayOf
(
catNavItemShape
);
var
gaDataset
=
function
gaDataset
(
_ref
)
{
var
dataPrefix
=
_ref
.
dataPrefix
,
category
=
_ref
.
category
,
action
=
_ref
.
action
,
label
=
_ref
.
label
;
var
footerNavItem
=
exports
.
footerNavItem
=
_propTypes2
.
default
.
shape
({
title
:
_propTypes2
.
default
.
string
.
isRequired
,
name
:
_propTypes2
.
default
.
string
.
isRequired
,
url
:
_propTypes2
.
default
.
string
,
onClick
:
_propTypes2
.
default
.
func
});
if
(
dataPrefix
.
length
===
0
||
!
dataPrefix
)
{
return
null
;
}
var
locationShape
=
exports
.
locationShape
=
_propTypes2
.
default
.
shape
({
key
:
_propTypes2
.
default
.
string
,
pathname
:
_propTypes2
.
default
.
string
,
search
:
_propTypes2
.
default
.
string
,
hash
:
_propTypes2
.
default
.
string
,
state
:
_propTypes2
.
default
.
object
});
var
gaRegExp
=
/^data-.*ga$/
;
// format restriction
var
eventsObj
=
dataPrefix
.
reduce
(
function
(
p
,
prefix
)
{
var
_p
=
p
;
var
authType
=
exports
.
authType
=
_propTypes2
.
default
.
shape
({
init
:
_propTypes2
.
default
.
func
.
isRequired
,
loginFB
:
_propTypes2
.
default
.
func
.
isRequired
,
loginGoogle
:
_propTypes2
.
default
.
func
.
isRequired
,
logout
:
_propTypes2
.
default
.
func
.
isRequired
,
showLogin
:
_propTypes2
.
default
.
func
.
isRequired
,
hideLogin
:
_propTypes2
.
default
.
func
.
isRequired
,
getToken
:
_propTypes2
.
default
.
func
.
isRequired
,
refreshToken
:
_propTypes2
.
default
.
func
.
isRequired
,
getProfile
:
_propTypes2
.
default
.
func
.
isRequired
});
if
(
gaRegExp
.
test
(
prefix
))
{
_p
[
prefix
+
"
-category
"
]
=
category
;
_p
[
prefix
+
"
-action
"
]
=
action
;
_p
[
prefix
+
"
-label
"
]
=
label
;
}
var
userProfileType
=
exports
.
userProfileType
=
_propTypes2
.
default
.
shape
({
uid
:
_propTypes2
.
default
.
string
.
isRequired
,
name
:
_propTypes2
.
default
.
string
.
isRequired
,
nickname
:
_propTypes2
.
default
.
string
,
email
:
_propTypes2
.
default
.
string
,
avatar
:
_propTypes2
.
default
.
string
.
isRequired
,
gender
:
_propTypes2
.
default
.
oneOf
([
''
,
'
male
'
,
'
female
'
]),
vip
:
_propTypes2
.
default
.
oneOf
([
0
,
1
])
});
return
_p
;
},
{});
var
newsItemType
=
exports
.
newsItemType
=
_propTypes2
.
default
.
shape
({
newsId
:
_propTypes2
.
default
.
number
.
isRequired
,
title
:
_propTypes2
.
default
.
string
.
isRequired
,
hasCoverPhoto
:
_propTypes2
.
default
.
oneOf
([
0
,
1
]).
isRequired
,
coverSrc
:
_propTypes2
.
default
.
shape
({
m
:
_propTypes2
.
default
.
shape
({
src
:
_propTypes2
.
default
.
string
}),
l
:
_propTypes2
.
default
.
shape
({
src
:
_propTypes2
.
default
.
string
}),
xl
:
_propTypes2
.
default
.
shape
({
src
:
_propTypes2
.
default
.
string
})
})
});
return
eventsObj
;
};
var
adProfileType
=
exports
.
adProfileType
=
_propTypes2
.
default
.
shape
({
name
:
_propTypes2
.
default
.
string
.
isRequired
,
path
:
_propTypes2
.
default
.
string
.
isRequired
,
hideOnInitial
:
_propTypes2
.
default
.
bool
});
exports
.
default
=
gaDataset
;
/***/
}),
...
...
@@ -318,7 +217,7 @@ var _getStyleName = __webpack_require__(5);
var
_getStyleName2
=
_interopRequireDefault
(
_getStyleName
);
var
_gaDataset
=
__webpack_require__
(
9
);
var
_gaDataset
=
__webpack_require__
(
7
);
var
_gaDataset2
=
_interopRequireDefault
(
_gaDataset
);
...
...
@@ -418,7 +317,7 @@ var _getStyleName = __webpack_require__(5);
var
_getStyleName2
=
_interopRequireDefault
(
_getStyleName
);
var
_propTypes3
=
__webpack_require__
(
8
);
var
_propTypes3
=
__webpack_require__
(
9
);
function
_interopRequireDefault
(
obj
)
{
return
obj
&&
obj
.
__esModule
?
obj
:
{
default
:
obj
};
}
...
...
@@ -536,7 +435,7 @@ var _propTypes = __webpack_require__(0);
var
_propTypes2
=
_interopRequireDefault
(
_propTypes
);
var
_gaDataset
=
__webpack_require__
(
9
);
var
_gaDataset
=
__webpack_require__
(
7
);
var
_gaDataset2
=
_interopRequireDefault
(
_gaDataset
);
...
...
@@ -586,33 +485,134 @@ exports.default = NavItem;
Object
.
defineProperty
(
exports
,
"
__esModule
"
,
{
value
:
true
});
var
gaDataset
=
function
gaDataset
(
_ref
)
{
var
dataPrefix
=
_ref
.
dataPrefix
,
category
=
_ref
.
category
,
action
=
_ref
.
action
,
label
=
_ref
.
label
;
exports
.
adProfileType
=
exports
.
newsItemType
=
exports
.
userProfileType
=
exports
.
authType
=
exports
.
locationShape
=
exports
.
footerNavItem
=
exports
.
catNavsType
=
exports
.
catNavItemShape
=
exports
.
catNavSubItemShape
=
exports
.
navsMobileType
=
exports
.
navItemMobileShape
=
exports
.
navItemMobilShape
=
exports
.
accountNavsType
=
exports
.
accountNavItemShape
=
exports
.
navsType
=
exports
.
navItemShape
=
exports
.
navUrlShape
=
exports
.
navDownloadType
=
exports
.
navDownloadShape
=
exports
.
requestType
=
undefined
;
if
(
dataPrefix
.
length
===
0
||
!
dataPrefix
)
{
return
null
;
}
var
_propTypes
=
__webpack_require__
(
0
);
var
gaRegExp
=
/^data-.*ga$/
;
// format restriction
var
eventsObj
=
dataPrefix
.
reduce
(
function
(
p
,
prefix
)
{
var
_p
=
p
;
var
_propTypes2
=
_interopRequireDefault
(
_propTypes
);
if
(
gaRegExp
.
test
(
prefix
))
{
_p
[
prefix
+
"
-category
"
]
=
category
;
_p
[
prefix
+
"
-action
"
]
=
action
;
_p
[
prefix
+
"
-label
"
]
=
label
;
}
function
_interopRequireDefault
(
obj
)
{
return
obj
&&
obj
.
__esModule
?
obj
:
{
default
:
obj
};
}
return
_p
;
},
{});
var
requestType
=
exports
.
requestType
=
_propTypes2
.
default
.
func
;
/* eslint-disable import/prefer-default-export */
var
navDownloadShape
=
exports
.
navDownloadShape
=
_propTypes2
.
default
.
shape
({
title
:
_propTypes2
.
default
.
string
.
isRequired
,
url
:
_propTypes2
.
default
.
string
.
isRequired
});
return
eventsObj
;
};
var
navDownloadType
=
exports
.
navDownloadType
=
_propTypes2
.
default
.
arrayOf
(
navDownloadShape
);
exports
.
default
=
gaDataset
;
var
navUrlShape
=
exports
.
navUrlShape
=
_propTypes2
.
default
.
shape
({
title
:
_propTypes2
.
default
.
string
.
isRequired
,
url
:
_propTypes2
.
default
.
string
.
isRequired
});
var
navItemShape
=
exports
.
navItemShape
=
_propTypes2
.
default
.
shape
({
title
:
_propTypes2
.
default
.
string
.
isRequired
,
url
:
_propTypes2
.
default
.
string
,
leftList
:
_propTypes2
.
default
.
arrayOf
(
navUrlShape
),
rightListTitle
:
_propTypes2
.
default
.
string
,
rightList
:
_propTypes2
.
default
.
arrayOf
(
navUrlShape
)
});
var
navsType
=
exports
.
navsType
=
_propTypes2
.
default
.
arrayOf
(
navItemShape
);
var
accountNavItemShape
=
exports
.
accountNavItemShape
=
_propTypes2
.
default
.
shape
({
id
:
_propTypes2
.
default
.
string
.
isRequired
,
title
:
_propTypes2
.
default
.
string
.
isRequired
,
defaultUrl
:
_propTypes2
.
default
.
string
.
isRequired
,
notify
:
_propTypes2
.
default
.
arrayOf
(
_propTypes2
.
default
.
shape
({
id
:
_propTypes2
.
default
.
string
.
isRequired
,
gotoUrl
:
_propTypes2
.
default
.
string
.
isRequired
}))
});
var
accountNavsType
=
exports
.
accountNavsType
=
_propTypes2
.
default
.
arrayOf
(
accountNavItemShape
);
var
navItemMobilShape
=
exports
.
navItemMobilShape
=
_propTypes2
.
default
.
shape
({
name
:
_propTypes2
.
default
.
string
.
isRequired
,
title
:
_propTypes2
.
default
.
string
.
isRequired
,
url
:
_propTypes2
.
default
.
string
.
isRequired
,
external
:
_propTypes2
.
default
.
bool
});
var
navItemMobileShape
=
exports
.
navItemMobileShape
=
_propTypes2
.
default
.
shape
({
name
:
_propTypes2
.
default
.
string
.
isRequired
,
title
:
_propTypes2
.
default
.
string
.
isRequired
,
items
:
_propTypes2
.
default
.
arrayOf
(
navItemMobilShape
)
});
var
navsMobileType
=
exports
.
navsMobileType
=
_propTypes2
.
default
.
arrayOf
(
navItemMobileShape
);
var
catNavSubItemShape
=
exports
.
catNavSubItemShape
=
_propTypes2
.
default
.
shape
({
name
:
_propTypes2
.
default
.
string
,
url
:
_propTypes2
.
default
.
string
,
title
:
_propTypes2
.
default
.
string
,
external
:
_propTypes2
.
default
.
bool
});
var
catNavItemShape
=
exports
.
catNavItemShape
=
_propTypes2
.
default
.
shape
({
name
:
_propTypes2
.
default
.
string
.
isRequired
,
url
:
_propTypes2
.
default
.
string
.
isRequired
,
title
:
_propTypes2
.
default
.
string
.
isRequired
,
external
:
_propTypes2
.
default
.
bool
,
subItems
:
_propTypes2
.
default
.
arrayOf
(
catNavSubItemShape
)
});
var
catNavsType
=
exports
.
catNavsType
=
_propTypes2
.
default
.
arrayOf
(
catNavItemShape
);
var
footerNavItem
=
exports
.
footerNavItem
=
_propTypes2
.
default
.
shape
({
title
:
_propTypes2
.
default
.
string
.
isRequired
,
name
:
_propTypes2
.
default
.
string
.
isRequired
,
url
:
_propTypes2
.
default
.
string
,
onClick
:
_propTypes2
.
default
.
func
});
var
locationShape
=
exports
.
locationShape
=
_propTypes2
.
default
.
shape
({
key
:
_propTypes2
.
default
.
string
,
pathname
:
_propTypes2
.
default
.
string
,
search
:
_propTypes2
.
default
.
string
,
hash
:
_propTypes2
.
default
.
string
,
state
:
_propTypes2
.
default
.
object
});
var
authType
=
exports
.
authType
=
_propTypes2
.
default
.
shape
({
init
:
_propTypes2
.
default
.
func
.
isRequired
,
loginFB
:
_propTypes2
.
default
.
func
.
isRequired
,
loginGoogle
:
_propTypes2
.
default
.
func
.
isRequired
,
logout
:
_propTypes2
.
default
.
func
.
isRequired
,
showLogin
:
_propTypes2
.
default
.
func
.
isRequired
,
hideLogin
:
_propTypes2
.
default
.
func
.
isRequired
,
getToken
:
_propTypes2
.
default
.
func
.
isRequired
,
refreshToken
:
_propTypes2
.
default
.
func
.
isRequired
,
getProfile
:
_propTypes2
.
default
.
func
.
isRequired
});
var
userProfileType
=
exports
.
userProfileType
=
_propTypes2
.
default
.
shape
({
uid
:
_propTypes2
.
default
.
string
.
isRequired
,
name
:
_propTypes2
.
default
.
string
.
isRequired
,
nickname
:
_propTypes2
.
default
.
string
,
email
:
_propTypes2
.
default
.
string
,
avatar
:
_propTypes2
.
default
.
string
.
isRequired
,
gender
:
_propTypes2
.
default
.
oneOf
([
''
,
'
male
'
,
'
female
'
]),
vip
:
_propTypes2
.
default
.
oneOf
([
0
,
1
])
});
var
newsItemType
=
exports
.
newsItemType
=
_propTypes2
.
default
.
shape
({
newsId
:
_propTypes2
.
default
.
number
.
isRequired
,
title
:
_propTypes2
.
default
.
string
.
isRequired
,
hasCoverPhoto
:
_propTypes2
.
default
.
oneOf
([
0
,
1
]).
isRequired
,
coverSrc
:
_propTypes2
.
default
.
shape
({
m
:
_propTypes2
.
default
.
shape
({
src
:
_propTypes2
.
default
.
string
}),
l
:
_propTypes2
.
default
.
shape
({
src
:
_propTypes2
.
default
.
string
}),
xl
:
_propTypes2
.
default
.
shape
({
src
:
_propTypes2
.
default
.
string
})
})
});
var
adProfileType
=
exports
.
adProfileType
=
_propTypes2
.
default
.
shape
({
name
:
_propTypes2
.
default
.
string
.
isRequired
,
path
:
_propTypes2
.
default
.
string
.
isRequired
,
hideOnInitial
:
_propTypes2
.
default
.
bool
});
/***/
}),
...
...
This diff is collapsed.
Click to expand it.
dest/components/MobileHeader/style.css
View file @
b4416343
...
...
@@ -27,13 +27,13 @@
height
:
44px
;
width
:
38px
;
display
:
block
;
background
:
url(https://sfiles.cnyes.cool/fe-common/
ece353ac
/90eaa49ba43fb3b6c4a3b1b19d417f26.svg)
center
no-repeat
;
background
:
url(https://sfiles.cnyes.cool/fe-common/
cf536875
/90eaa49ba43fb3b6c4a3b1b19d417f26.svg)
center
no-repeat
;
background-size
:
18px
18px
;
}
._3KhXq
{
background-size
:
cover
;
background
:
url(https://sfiles.cnyes.cool/fe-common/
ece353ac
/ac25a5abb8fcbdfddb46fa4e9bca6b06.svg)
center
no-repeat
;
background
:
url(https://sfiles.cnyes.cool/fe-common/
cf536875
/ac25a5abb8fcbdfddb46fa4e9bca6b06.svg)
center
no-repeat
;
display
:
block
;
height
:
30px
;
left
:
44px
;
...
...
@@ -98,7 +98,7 @@
._3ZBZ7
._3XvKH
{
display
:
block
;
position
:
absolute
;
background
:
url(https://sfiles.cnyes.cool/fe-common/
ece353ac
/9b3297bb226cd6cb259d88b21dcc26c6.svg)
center
no-repeat
;
background
:
url(https://sfiles.cnyes.cool/fe-common/
cf536875
/9b3297bb226cd6cb259d88b21dcc26c6.svg)
center
no-repeat
;
opacity
:
0.6
;
width
:
20px
;
height
:
20px
;
...
...
@@ -152,7 +152,7 @@
position
:
absolute
;
right
:
0px
;
top
:
0px
;
background
:
url(https://sfiles.cnyes.cool/fe-common/
ece353ac
/fd88a16d338ce82fa23ff5dc7a7d5c50.svg)
center
no-repeat
;
background
:
url(https://sfiles.cnyes.cool/fe-common/
cf536875
/fd88a16d338ce82fa23ff5dc7a7d5c50.svg)
center
no-repeat
;
background-size
:
19px
19px
;
}
._3Nksy
{
...
...
@@ -181,7 +181,7 @@
line-height
:
45px
;
position
:
relative
;
width
:
100%
;
background
:
url(https://sfiles.cnyes.cool/fe-common/
ece353ac
/89652a575d82998b64dcd84dae09b702.jpg)
center
no-repeat
;
background
:
url(https://sfiles.cnyes.cool/fe-common/
cf536875
/89652a575d82998b64dcd84dae09b702.jpg)
center
no-repeat
;
background-size
:
cover
;
cursor
:
pointer
;
}
...
...
@@ -301,7 +301,7 @@
._23siC
{
background-size
:
cover
;
background
:
url(https://sfiles.cnyes.cool/fe-common/
ece353ac
/ac25a5abb8fcbdfddb46fa4e9bca6b06.svg)
center
no-repeat
;
background
:
url(https://sfiles.cnyes.cool/fe-common/
cf536875
/ac25a5abb8fcbdfddb46fa4e9bca6b06.svg)
center
no-repeat
;
top
:
12px
;
display
:
inline-block
;
height
:
22px
;
...
...
@@ -316,7 +316,7 @@
display
:
block
;
width
:
44px
;
height
:
44px
;
background
:
url(https://sfiles.cnyes.cool/fe-common/
ece353ac
/9b3297bb226cd6cb259d88b21dcc26c6.svg)
center
no-repeat
;
background
:
url(https://sfiles.cnyes.cool/fe-common/
cf536875
/9b3297bb226cd6cb259d88b21dcc26c6.svg)
center
no-repeat
;
background-size
:
16px
16px
;
position
:
absolute
;
right
:
0
;
...
...
This diff is collapsed.
Click to expand it.
dest/components/Modal/index.js
View file @
b4416343
...
...
@@ -119,7 +119,7 @@ var _propTypes = __webpack_require__(0);
var
_propTypes2
=
_interopRequireDefault
(
_propTypes
);
var
_bind
=
__webpack_require__
(
7
);
var
_bind
=
__webpack_require__
(
8
);
var
_bind2
=
_interopRequireDefault
(
_bind
);
...
...
@@ -398,7 +398,7 @@ module.exports = {"modal-wrapper":"_2w2O1","modal":"_9QpxU","anue-line":"_3kkt2"
/***/
}),
/***/
7
:
/***/
8
:
/***/
(
function
(
module
,
exports
,
__webpack_require__
)
{
var
__WEBPACK_AMD_DEFINE_ARRAY__
,
__WEBPACK_AMD_DEFINE_RESULT__
;
/*!
...
...
This diff is collapsed.
Click to expand it.
dest/components/NotFound/index.js
View file @
b4416343
...
...
@@ -1965,14 +1965,14 @@ module.exports = {"fast-link-desktop-container":"_25fsn","fast-link-mobile-conta
/***/
323
:
/***/
(
function
(
module
,
exports
)
{
module
.
exports
=
"
https://sfiles.cnyes.cool/fe-common/
ece353ac
/04684d28881e4fdabea991baeb76465f.svg
"
;
module
.
exports
=
"
https://sfiles.cnyes.cool/fe-common/
cf536875
/04684d28881e4fdabea991baeb76465f.svg
"
;
/***/
}),
/***/
324
:
/***/
(
function
(
module
,
exports
)
{
module
.
exports
=
"
https://sfiles.cnyes.cool/fe-common/
ece353ac
/12dc7a090b3986604b70a5fbbce9d1f2.svg
"
;
module
.
exports
=
"
https://sfiles.cnyes.cool/fe-common/
cf536875
/12dc7a090b3986604b70a5fbbce9d1f2.svg
"
;
/***/
}),
...
...
This diff is collapsed.
Click to expand it.
dest/components/NotFound/style.css
View file @
b4416343
...
...
@@ -27,7 +27,7 @@
/** End*/
._3iKfS
{
background
:
url(https://sfiles.cnyes.cool/fe-common/
ece353ac
/1cbe7c7ed57dab519b55be87ee2b5388.png)
no-repeat
center
center
;
background
:
url(https://sfiles.cnyes.cool/fe-common/
cf536875
/1cbe7c7ed57dab519b55be87ee2b5388.png)
no-repeat
center
center
;
background-size
:
cover
;
}
...
...
@@ -47,7 +47,7 @@
}
._2Yxlw
{
background
:
url(https://sfiles.cnyes.cool/fe-common/
ece353ac
/8a78c0cb09a16f7a6a549f8d389b0700.png)
no-repeat
center
center
;
background
:
url(https://sfiles.cnyes.cool/fe-common/
cf536875
/8a78c0cb09a16f7a6a549f8d389b0700.png)
no-repeat
center
center
;
background-size
:
cover
;
padding
:
5vh
0
;
}
...
...
@@ -73,13 +73,13 @@
}
._1Ql24
{
background
:
url(https://sfiles.cnyes.cool/fe-common/
ece353ac
/1cbe7c7ed57dab519b55be87ee2b5388.png)
no-repeat
center
;
background
:
url(https://sfiles.cnyes.cool/fe-common/
cf536875
/1cbe7c7ed57dab519b55be87ee2b5388.png)
no-repeat
center
;
background-size
:
cover
;
}
@media
screen
and
(
max-width
:
900px
)
{
._1Ql24
{
background
:
url(https://sfiles.cnyes.cool/fe-common/
ece353ac
/8a78c0cb09a16f7a6a549f8d389b0700.png)
no-repeat
center
;
background
:
url(https://sfiles.cnyes.cool/fe-common/
cf536875
/8a78c0cb09a16f7a6a549f8d389b0700.png)
no-repeat
center
;
background-size
:
cover
;
}
}
...
...
This diff is collapsed.
Click to expand it.
dest/components/ScrollToTitle/index.js
View file @
b4416343
...
...
@@ -1311,7 +1311,7 @@ var _propTypes = __webpack_require__(0);
var
_propTypes2
=
_interopRequireDefault
(
_propTypes
);
var
_bind
=
__webpack_require__
(
7
);
var
_bind
=
__webpack_require__
(
8
);
var
_bind2
=
_interopRequireDefault
(
_bind
);
...
...
@@ -2518,7 +2518,7 @@ exports.default = function (Component) {
/***/
}),
/***/
7
:
/***/
8
:
/***/
(
function
(
module
,
exports
,
__webpack_require__
)
{
var
__WEBPACK_AMD_DEFINE_ARRAY__
,
__WEBPACK_AMD_DEFINE_RESULT__
;
/*!
...
...
This diff is collapsed.
Click to expand it.
dest/components/ScrollToTitle/style.css
View file @
b4416343
...
...
@@ -37,7 +37,7 @@
#_qdV4M
._1W3uT
a
{
display
:
block
;
background-size
:
cover
;
background
:
url(https://sfiles.cnyes.cool/fe-common/
ece353ac
/42637c8a63a824b2d09eb132c380d3aa.svg)
center
no-repeat
;
background
:
url(https://sfiles.cnyes.cool/fe-common/
cf536875
/42637c8a63a824b2d09eb132c380d3aa.svg)
center
no-repeat
;
height
:
43.3px
;
width
:
131.4px
;
}
...
...
@@ -134,15 +134,15 @@
}
#_qdV4M
._7vG5K
._2WAgR
{
background
:
url(https://sfiles.cnyes.cool/fe-common/
ece353ac
/4d56f9845711a9318f29a8674173e13b.svg)
center
no-repeat
;
background
:
url(https://sfiles.cnyes.cool/fe-common/
cf536875
/4d56f9845711a9318f29a8674173e13b.svg)
center
no-repeat
;
}
#_qdV4M
._7vG5K
._1PYxM
{
background
:
url(https://sfiles.cnyes.cool/fe-common/
ece353ac
/5e48bf6e14d2a141e5b2412782e207f7.svg)
center
no-repeat
;
background
:
url(https://sfiles.cnyes.cool/fe-common/
cf536875
/5e48bf6e14d2a141e5b2412782e207f7.svg)
center
no-repeat
;
}
#_qdV4M
._7vG5K
._13are
{
background
:
url(https://sfiles.cnyes.cool/fe-common/
ece353ac
/25a80a4dd72309de0de04ee583f3fb08.svg)
center
no-repeat
;
background
:
url(https://sfiles.cnyes.cool/fe-common/
cf536875
/25a80a4dd72309de0de04ee583f3fb08.svg)
center
no-repeat
;
}
#_qdV4M
._P9DLg
{
...
...
This diff is collapsed.
Click to expand it.
dest/components/ScrollToTop/index.js
View file @
b4416343
...
...
@@ -1310,7 +1310,7 @@ var _propTypes = __webpack_require__(0);
var
_propTypes2
=
_interopRequireDefault
(
_propTypes
);
var
_bind
=
__webpack_require__
(
7
);
var
_bind
=
__webpack_require__
(
8
);
var
_bind2
=
_interopRequireDefault
(
_bind
);
...
...
@@ -2479,7 +2479,7 @@ exports.default = function (Component) {
/***/
}),
/***/
7
:
/***/
8
:
/***/
(
function
(
module
,
exports
,
__webpack_require__
)
{
var
__WEBPACK_AMD_DEFINE_ARRAY__
,
__WEBPACK_AMD_DEFINE_RESULT__
;
/*!
...
...
This diff is collapsed.
Click to expand it.
Prev
1
2
Next
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