Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
broadcast_cloud
/
web-live
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
2
Pipelines
Wiki
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
df564aa1
authored
Jun 24, 2021
by
陈英杰
Browse files
Options
Browse Files
Download
Plain Diff
合并分支 'test' 到 'dev'
fix 1. frame 地址跟随域名 查看合并请求
!184
parents
02534418
5678458a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
4 deletions
+8
-4
components/showcase/marketFrame.vue
+8
-4
No files found.
components/showcase/marketFrame.vue
View file @
df564aa1
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
<div
class=
"mask"
@
click=
"_close"
></div>
<div
class=
"mask"
@
click=
"_close"
></div>
<div
class=
"box"
@
click
.
stop
>
<div
class=
"box"
@
click
.
stop
>
<iframe
<iframe
:src=
"marketSrc ? `$
{
DEF_SITE}/shop${marketSrc}` : `${DEF_SITE
}/shop/showcase?uin=${channelInfo.uin}
&
caseId=${caseInfo.caseId}`"
:src=
"marketSrc ? `$
{
origin}/shop${marketSrc}` : `${origin
}/shop/showcase?uin=${channelInfo.uin}
&
caseId=${caseInfo.caseId}`"
width="100%"
width="100%"
height="100%"
height="100%"
/>
/>
...
@@ -20,12 +20,13 @@ export default {
...
@@ -20,12 +20,13 @@ export default {
value
:
{},
value
:
{},
marketSrc
:
{
marketSrc
:
{
type
:
String
,
type
:
String
,
default
:
''
default
:
''
,
}
}
},
},
data
()
{
data
()
{
return
{
return
{
show
:
false
show
:
false
,
origin
:
process
.
env
.
DEF_SITE
};
};
},
},
computed
:
{
computed
:
{
...
@@ -49,6 +50,9 @@ export default {
...
@@ -49,6 +50,9 @@ export default {
return
process
.
env
.
DEF_SITE
return
process
.
env
.
DEF_SITE
}
}
},
},
mounted
()
{
this
.
origin
=
window
.
location
.
origin
},
methods
:
{
methods
:
{
_close
()
{
_close
()
{
this
.
isShow
=
false
;
this
.
isShow
=
false
;
...
@@ -100,7 +104,7 @@ export default {
...
@@ -100,7 +104,7 @@ export default {
}
}
},
},
goMarket
()
{
goMarket
()
{
window
.
location
.
href
=
`
${
this
.
DEF_SITE
}
/shop/home?uin=
${
this
.
channelInfo
.
uin
}
`
window
.
location
.
href
=
`
${
origin
}
/shop/home?uin=
${
this
.
channelInfo
.
uin
}
`
}
}
},
},
watch
:
{
watch
:
{
...
...
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