Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
visualcloud
/
Vmatrix-client
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Wiki
Members
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
46cd40d2
authored
Jun 25, 2019
by
hank
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug
parent
1f4b4750
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
15 additions
and
13 deletions
+15
-13
src/views/tempaltes/edit.vue
+8
-6
src/views/tempaltes/index.vue
+2
-2
src/views/tempaltes/preview.vue
+2
-2
src/views/user/index.vue
+3
-3
No files found.
src/views/tempaltes/edit.vue
View file @
46cd40d2
...
...
@@ -27,12 +27,14 @@
v-if=
"loaded"
:style=
"
{
}"
:src="templateData.frameUrl+'?isEdit=1
&
filmId='+templateData.filmId + '
&
now=' + date"
:src="'http://127.0.0.1:9000/template.html' + '?isEdit=1
&
filmId='+templateData.filmId + '
&
now=' + date"
frameborder="0"
>
</iframe>
<!-- :src="templateData.frameUrl+'?isEdit=1&filmId='+templateData.filmId + '&now=' + date" -->
<!--
:src="'http://127.0.0.1:9000/template.html' + '?isEdit=1&filmId='+templateData.filmId + '&now=' + date"
:src="templateData.frameUrl+'?isEdit=1&filmId='+templateData.filmId + '&now=' + date" -->
</div>
<div
class=
"content-right"
>
<div
class=
"title"
>
编辑栏
</div>
...
...
@@ -197,8 +199,8 @@ export default {
},
methods
:
{
message
(
data
)
{
//
window.frames[0].postMessage(data, "http://visual-clouds.bdideal.com");
window
.
frames
[
0
].
postMessage
(
data
,
"http://127.0.0.1:9000"
);
window
.
frames
[
0
].
postMessage
(
data
,
"http://visual-clouds.bdideal.com"
);
//
window.frames[0].postMessage(data, "http://127.0.0.1:9000");
},
valueChange
()
{
this
.
message
({
...
...
@@ -234,8 +236,8 @@ export default {
this
.
templateData
.
frameId
=
res
.
data
.
frameId
;
this
.
templateData
.
resourceUrl
=
res
.
data
.
resourceUrl
;
this
.
templateData
.
resourceId
=
res
.
data
.
resourceId
;
//
this.templateData.frameUrl = res.data.frameUrl;
this
.
templateData
.
frameUrl
=
'http://127.0.0.1:9000/template.html'
;
this
.
templateData
.
frameUrl
=
res
.
data
.
frameUrl
;
//
this.templateData.frameUrl = 'http://127.0.0.1:9000/template.html';
console
.
log
(
"模板详情"
);
axios
.
get
(
res
.
data
.
resourceUrl
).
then
(
res
=>
{
this
.
templateData
.
listData
=
res
.
data
;
...
...
src/views/tempaltes/index.vue
View file @
46cd40d2
<
template
>
<div
class=
"templates-container"
>
<NavBar
title=
"模板库"
></NavBar>
<div
class=
"static-top
"
>
<div
class=
"static-top
animated bounceInRight"
>
<div
class=
"tab-btn"
>
<div
class=
"tab-btn-item"
...
...
@@ -34,7 +34,7 @@
</div>
</div>
</div>
<div
style=
"padding-left: 50px;"
v-show=
"activeIndex===0"
>
<div
style=
"padding-left: 50px;"
v-show=
"activeIndex===0"
class=
"animated bounceInUp"
>
<div
class=
"banner"
>
<swiper
:options=
"bannerOption"
ref=
"bannerSwiper"
@
someSwiperEvent=
"bannerCallback"
>
<!-- slides -->
...
...
src/views/tempaltes/preview.vue
View file @
46cd40d2
...
...
@@ -61,8 +61,8 @@ export default {
},
methods
:
{
message
(
data
)
{
// window.frames[0
].postMessage(data, "http://visual-clouds.bdideal.com");
window
.
frames
[
1
].
postMessage
(
data
,
"http://127.0.0.1:9000"
);
window
.
frames
[
1
].
postMessage
(
data
,
"http://visual-clouds.bdideal.com"
);
//
window.frames[1].postMessage(data, "http://127.0.0.1:9000");
},
getData
()
{
this
.
loaded
=
true
...
...
src/views/user/index.vue
View file @
46cd40d2
...
...
@@ -3,7 +3,7 @@
<NavBar
title=
"个人中心"
>
</NavBar>
<div
class=
"user-content
"
>
<div
class=
"user-content
animated fadeIn"
>
<img
src=
"../../../public/img/ps/avatar.png"
alt=
""
>
<div
class=
"right-item"
>
<div
class=
"top"
>
13811044826
</div>
...
...
@@ -18,8 +18,8 @@
</div>
</div>
</div>
<div
class=
"bottom-btn
"
>
<div
class=
"btn-item"
>
<div
class=
"bottom-btn
animated bounceIn zoomInDown"
>
<div
class=
"btn-item
"
>
<div
class=
"icon"
style=
"background-image: url(./img/ps/uplv.png)"
>
</div>
...
...
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