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
0322a66c
authored
Dec 25, 2019
by
hank
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改ios bug
parent
67c8fa5f
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
30 additions
and
18 deletions
+30
-18
src/views/tempaltes/editMore.vue
+30
-18
No files found.
src/views/tempaltes/editMore.vue
View file @
0322a66c
...
...
@@ -153,11 +153,20 @@
</div>
<iframe
style=
"height: 0px;width: 100%;"
v-if=
"isIos"
v-show=
"false"
v-if=
"isIos && dataLoaded"
@
load=
"iframetestLoad"
scrolling=
"no"
:src=
"templateData.frameUrl+'?isEdit=1'"
:src=
"templateData.frameUrl+'?isEdit=1&filmId='+templateData.filmId + '#' + time"
frameborder=
"0"
></iframe>
<iframe
style=
"height: 0px;width: 100%;"
v-show=
"false"
v-if=
"isIos && dataLoaded"
@
load=
"iframetestLoad"
scrolling=
"no"
:src=
"templateData.frameUrl+'?isEdit=1&filmId='+templateData.filmId + '#' + time"
frameborder=
"0"
></iframe>
<div
...
...
@@ -197,11 +206,7 @@
</slider>
</div>
-->
<div
class=
"group-menu"
v-if=
"templateData.listData[currentPage]"
v-show=
"!clipImg"
>
<swiper
:options=
"swiperOption"
style=
"width: 100vh;"
ref=
"mySwiper"
>
<swiper
:options=
"swiperOption"
style=
"width: 100vh;"
ref=
"mySwiper"
>
<swiperSlide
style=
"width:auto;"
v-for=
"(item, index) in templateData.listData[currentPage].itemList"
...
...
@@ -346,9 +351,10 @@ export default {
isEdited
:
false
,
mode
:
""
,
loaded
:
false
,
dataLoaded
:
false
,
iframeLoaded
:
false
,
show
:
false
,
isIos
:
tru
e
,
isIos
:
fals
e
,
pageViews
:
false
,
isPreview
:
false
,
currentPage
:
0
,
...
...
@@ -647,13 +653,17 @@ export default {
var
pagesData
=
res
.
data
.
pageList
;
this
.
templateData
.
defaultData
=
pagesData
;
});
// this.loaded = true;
if
(
!
this
.
isIos
)
{
this
.
loaded
=
true
;
}
else
{
// alert(this.isIos)
this
.
dataLoaded
=
true
;
}
// this.$toast("数据加载完成");
setTimeout
(()
=>
{
window
.
frames
[
"tiframe"
].
location
.
reload
();
},
500
);
//
setTimeout(() => {
//
window.frames["tiframe"].location.reload();
//
}, 500);
// console.log()
// this.setList()
});
...
...
@@ -668,14 +678,11 @@ export default {
this
.
templateData
.
frameUrl
=
res
.
data
.
frameUrl
;
this
.
templateData
.
filmDescribe
=
res
.
data
.
templateDescribe
;
this
.
templateData
.
templateShow
=
res
.
data
.
templateShow
;
if
(
!
this
.
isIos
)
{
this
.
loaded
=
true
;
}
// if (!this.isIos) {
// this.loaded = true;
// }
// this.loaded = true;
// this.$toast("数据加载完成");
setTimeout
(()
=>
{
window
.
frames
[
"tiframe"
].
location
.
reload
();
console
.
log
(
"reload"
);
},
500
);
axios
.
get
(
res
.
data
.
resourceUrl
.
replace
(
...
...
@@ -692,6 +699,11 @@ export default {
this
.
templateData
.
defaultData
=
pagesData
;
this
.
setList
();
});
if
(
!
this
.
isIos
)
{
this
.
loaded
=
true
;
}
else
{
this
.
dataLoaded
=
true
;
}
});
},
publish
()
{
...
...
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