Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yohobuy-node
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
1
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Plain Diff
Browse Files
Authored by
陈峰
6 years ago
Commit
2163965ebc802e6ab282f8ae761b69b0139127be
2 parents
6a54d749
a22e876c
Merge branch 'release/6.9.2' into 'master'
Release/6.9.2 See merge request
!434
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
1 deletions
package.json
public/js/product/detail/intro.js
package.json
View file @
2163965
{
"name"
:
"yohobuy-node"
,
"version"
:
"6.
8.7
"
,
"version"
:
"6.
9.2
"
,
"private"
:
true
,
"description"
:
"A New Yohobuy Project With Express"
,
"repository"
:
{
...
...
public/js/product/detail/intro.js
View file @
2163965
...
...
@@ -24,6 +24,15 @@ function _getDetailDataBySizeInfo(intro) {
// 视频链接处理
$intro
=
$
(
intro
);
$intro
.
find
(
'a[href]'
).
each
(
function
()
{
const
$el
=
$
(
this
);
$el
.
attr
(
'href'
,
'javascript:;'
)
//eslint-disable-line
.
attr
(
'target'
,
''
)
.
attr
(
'title'
,
''
)
.
css
(
'cursor'
,
'initial'
);
});
$intro
.
find
(
'.video-placeholder'
).
each
(
function
(
idx
,
ele
)
{
var
$this
=
$
(
ele
);
var
videoSrc
=
$this
.
find
(
'source'
).
attr
(
'src'
);
...
...
Please
register
or
login
to post a comment