Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
T
techbook
Project
Project
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
front-end-dev
techbook
Commits
daa357ca
Commit
daa357ca
authored
Jul 10, 2020
by
anxixi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
直播
parent
232f2b43
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
14 additions
and
5 deletions
+14
-5
eventdetail.vue
src/views/findeventpage/eventdetail.vue
+5
-2
eventpage.vue
src/views/findeventpage/eventpage.vue
+4
-1
index.vue
src/views/index/pages/index.vue
+4
-1
pubactivities.vue
src/views/publishactivity/pubactivities.vue
+1
-1
No files found.
src/views/findeventpage/eventdetail.vue
View file @
daa357ca
...
@@ -36,7 +36,7 @@
...
@@ -36,7 +36,7 @@
<el-button
type=
"primary"
round
style=
"width:160px;"
v-if=
"eventdata.activityState==1"
>
{{
$t
(
"activityInfo.activityNoBegin"
)
}}
</el-button>
<el-button
type=
"primary"
round
style=
"width:160px;"
v-if=
"eventdata.activityState==1"
>
{{
$t
(
"activityInfo.activityNoBegin"
)
}}
</el-button>
</span>
</span>
<span
style=
"margin-left: 15px;"
v-if=
"eventdata.hasLive == 1"
@
click=
"openeventlive(eventdata)"
>
<span
style=
"margin-left: 15px;"
v-if=
"eventdata.hasLive == 1"
@
click=
"openeventlive(eventdata)"
>
<el-button
v-if=
"eventdata.baseLive.liveState==0"
type=
"
primary
"
round
style=
"width: 130px;font-size: 14px;"
>
<el-button
v-if=
"eventdata.baseLive.liveState==0"
type=
"
info
"
round
style=
"width: 130px;font-size: 14px;"
>
<i
class=
"iconfont icon-zhibo"
style=
"font-size: 14px;"
></i>
<i
class=
"iconfont icon-zhibo"
style=
"font-size: 14px;"
></i>
{{
$t
(
'activityInfo.liveNotStart'
)
}}
{{
$t
(
'activityInfo.liveNotStart'
)
}}
</el-button>
</el-button>
...
@@ -83,7 +83,7 @@
...
@@ -83,7 +83,7 @@
<!-- 快速登录-->
<!-- 快速登录-->
<expertVisible
ref=
"login"
:registerType=
"64"
></expertVisible>
<expertVisible
ref=
"login"
@
dataEvent=
"successlogin"
:registerType=
"64"
></expertVisible>
<signupbar
:tabName=
"activeName"
:detailInfo=
"eventdata"
:secondStepInfo=
"secondStepInfo"
@
cancelVisible=
"cancelVisible"
:applyVisible=
"applyVisible"
v-if=
"applyVisible"
></signupbar>
<signupbar
:tabName=
"activeName"
:detailInfo=
"eventdata"
:secondStepInfo=
"secondStepInfo"
@
cancelVisible=
"cancelVisible"
:applyVisible=
"applyVisible"
v-if=
"applyVisible"
></signupbar>
</div>
</div>
...
@@ -125,6 +125,9 @@
...
@@ -125,6 +125,9 @@
},
},
methods
:{
methods
:{
successlogin
(){
this
.
userInfo
=
this
.
publicFun
.
getCookie
(
"userInfo"
)
?
JSON
.
parse
(
this
.
Base64
.
decode
(
this
.
publicFun
.
getCookie
(
"userInfo"
)))
:
null
;
},
//打开直播
//打开直播
openeventlive
(
row
){
openeventlive
(
row
){
if
(
row
.
baseLive
.
liveState
!=
0
){
if
(
row
.
baseLive
.
liveState
!=
0
){
...
...
src/views/findeventpage/eventpage.vue
View file @
daa357ca
...
@@ -59,7 +59,7 @@
...
@@ -59,7 +59,7 @@
<signupbar
:detailInfo=
"detailInfo"
:tabName=
"activeName"
:secondStepInfo=
"secondStepInfo"
@
cancelVisible=
"cancelVisible"
:applyVisible=
"applyVisible"
v-if=
"applyVisible"
></signupbar>
<signupbar
:detailInfo=
"detailInfo"
:tabName=
"activeName"
:secondStepInfo=
"secondStepInfo"
@
cancelVisible=
"cancelVisible"
:applyVisible=
"applyVisible"
v-if=
"applyVisible"
></signupbar>
<!-- 快速登录-->
<!-- 快速登录-->
<expertVisible
ref=
"login"
:registerType=
"64"
></expertVisible>
<expertVisible
ref=
"login"
@
dataEvent=
"successlogin"
:registerType=
"64"
></expertVisible>
</div>
</div>
</
template
>
</
template
>
...
@@ -98,6 +98,9 @@
...
@@ -98,6 +98,9 @@
},
},
methods
:{
methods
:{
successlogin
(){
this
.
userInfo
=
this
.
publicFun
.
getCookie
(
"userInfo"
)
?
JSON
.
parse
(
this
.
Base64
.
decode
(
this
.
publicFun
.
getCookie
(
"userInfo"
)))
:
null
;
},
// 分页导航
// 分页导航
handleCurrentChange
(
val
)
{
handleCurrentChange
(
val
)
{
this
.
searchs
.
pageIndex
=
val
;
this
.
searchs
.
pageIndex
=
val
;
...
...
src/views/index/pages/index.vue
View file @
daa357ca
...
@@ -454,7 +454,7 @@
...
@@ -454,7 +454,7 @@
</div>
</div>
</div>
</div>
<expertVisible
ref=
"login"
:registerType=
"101
"
:reportId=
"reportId"
></expertVisible>
<expertVisible
ref=
"login"
@
dataEvent=
"successlogin"
:registerType=
"64
"
:reportId=
"reportId"
></expertVisible>
<signupbar
:detailInfo=
"detailInfo"
:tabName=
"activeName"
:secondStepInfo=
"secondStepInfo"
@
cancelVisible=
"cancelVisible"
:applyVisible=
"applyVisible"
v-if=
"applyVisible"
></signupbar>
<signupbar
:detailInfo=
"detailInfo"
:tabName=
"activeName"
:secondStepInfo=
"secondStepInfo"
@
cancelVisible=
"cancelVisible"
:applyVisible=
"applyVisible"
v-if=
"applyVisible"
></signupbar>
</div>
</div>
...
@@ -601,6 +601,9 @@
...
@@ -601,6 +601,9 @@
};
};
},
},
methods
:
{
methods
:
{
successlogin
(){
this
.
userInfo
=
this
.
publicFun
.
getCookie
(
"userInfo"
)
?
JSON
.
parse
(
this
.
Base64
.
decode
(
this
.
publicFun
.
getCookie
(
"userInfo"
)))
:
null
;
},
//打开直播
//打开直播
openeventlive
(
row
){
openeventlive
(
row
){
if
(
row
.
baseLive
.
liveState
!=
0
){
if
(
row
.
baseLive
.
liveState
!=
0
){
...
...
src/views/publishactivity/pubactivities.vue
View file @
daa357ca
...
@@ -66,7 +66,7 @@
...
@@ -66,7 +66,7 @@
<el-button
v-if=
"scope.row.channelState == 3"
type=
"text"
@
click=
"urlclk(scope.row)"
>
<el-button
v-if=
"scope.row.channelState == 3"
type=
"text"
@
click=
"urlclk(scope.row)"
>
{{
$t
(
'pubactivities.share'
)
}}
{{
$t
(
'pubactivities.share'
)
}}
</el-button>
</el-button>
<el-button
v-if=
"scope.row.hasLive == 1&&scope.row.channelState != 4"
type=
"text"
@
click=
"messageclk(scope.row)"
>
<el-button
v-if=
"scope.row.hasLive == 1&&scope.row.channelState != 4
&&scope.row.liveState!=3
"
type=
"text"
@
click=
"messageclk(scope.row)"
>
{{
$t
(
'livedata.pushinformation'
)
}}
{{
$t
(
'livedata.pushinformation'
)
}}
</el-button>
</el-button>
<el-button
v-if=
"scope.row.hasLive == 1&&scope.row.liveState!=3&&scope.row.channelState != 4"
type=
"text"
@
click=
"getprocessLiveState(scope.row)"
>
<el-button
v-if=
"scope.row.hasLive == 1&&scope.row.liveState!=3&&scope.row.channelState != 4"
type=
"text"
@
click=
"getprocessLiveState(scope.row)"
>
...
...
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