Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
beyond-clouds-front
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
beyond-clouds-front
Commits
94fabc96
Commit
94fabc96
authored
Feb 17, 2020
by
yanju
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
举报页修复
parent
433a4f12
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
31 additions
and
9 deletions
+31
-9
components/pc/pageHeader.vue
+24
-4
pages/web/report.vue
+7
-5
No files found.
components/pc/pageHeader.vue
View file @
94fabc96
...
@@ -171,10 +171,6 @@
...
@@ -171,10 +171,6 @@
AlertsCard
AlertsCard
},
},
validate
({
params
})
{
// Must be a number
return
/^
\d
+$/
.
test
(
params
.
id
)
},
created
(){
created
(){
this
.
route
=
this
.
$route
.
name
;
this
.
route
=
this
.
$route
.
name
;
...
@@ -188,6 +184,8 @@
...
@@ -188,6 +184,8 @@
this
.
detailType
=
type
;
this
.
detailType
=
type
;
});
});
this
.
changeHeader
();
this
.
changeHeader
();
this
.
playOneVideo
();
if
(
!
this
.
$store
.
state
.
userProfile
.
userId
){
if
(
!
this
.
$store
.
state
.
userProfile
.
userId
){
if
(
this
.
$route
.
path
.
indexOf
(
'personal-center'
)
!==
-
1
||
this
.
$route
.
path
.
indexOf
(
'release'
)
!==
-
1
){
if
(
this
.
$route
.
path
.
indexOf
(
'personal-center'
)
!==
-
1
||
this
.
$route
.
path
.
indexOf
(
'release'
)
!==
-
1
){
this
.
$router
.
replace
(
'/'
)
this
.
$router
.
replace
(
'/'
)
...
@@ -199,6 +197,7 @@
...
@@ -199,6 +197,7 @@
this
.
route
=
route
.
name
;
this
.
route
=
route
.
name
;
this
.
progressShow
=
true
;
this
.
progressShow
=
true
;
this
.
changeHeader
();
this
.
changeHeader
();
this
.
playOneVideo
();
setTimeout
(()
=>
{
setTimeout
(()
=>
{
this
.
progressShow
=
false
;
this
.
progressShow
=
false
;
},
900
)
},
900
)
...
@@ -212,6 +211,27 @@
...
@@ -212,6 +211,27 @@
methods
:{
methods
:{
playOneVideo
(){
// if(process.browser){
// let videoArr=document.getElementsByTagName("video");
// console.log(videoArr);
// for(let i=0;i
<
videoArr
.
length
;
i
++
){
// videoArr[i].addEventListener("play", function(e){
// console.log('play'+e)
// let this1=this;
// this.play();
// for(let b=0;b
<
videoArr
.
length
;
b
++
){
// let this2=au[b];
// if(this1!==this2){
// this2.pause();
// }
// }
// });
// }
// }
},
clickToSearch
(){
clickToSearch
(){
let
searchValue
=
this
.
searchValue
;
let
searchValue
=
this
.
searchValue
;
...
...
pages/web/report.vue
View file @
94fabc96
...
@@ -49,10 +49,10 @@
...
@@ -49,10 +49,10 @@
</
template
>
</
template
>
<
script
>
<
script
>
import
CardContainer
from
"../../components/pc/cardContainer"
;
import
CardContainer
from
"../../components/pc/cardContainer"
;
import
congfig
from
'../../action/config'
;
import
congfig
from
'../../action/config'
;
export
default
{
export
default
{
name
:
"report"
,
name
:
"report"
,
components
:
{
CardContainer
},
components
:
{
CardContainer
},
data
()
{
data
()
{
...
@@ -66,8 +66,10 @@ export default {
...
@@ -66,8 +66,10 @@ export default {
},
},
created
()
{
created
()
{
let
url
=
'http://www.yunliyunwai/'
+
this
.
$route
.
query
.
type
+
'/detail/'
+
this
.
$route
.
query
.
id
;
if
(
this
.
$route
.
query
.
type
&&
this
.
$route
.
query
.
id
){
this
.
reportLink
=
url
;
this
.
reportLink
=
'http://www.yunliyunwai/'
+
this
.
$route
.
query
.
type
+
'/detail/'
+
this
.
$route
.
query
.
id
;
}
},
},
methods
:
{
methods
:
{
...
...
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