Commit 7ee23429 by hank

修改编辑器IQ

parent e7076f82
......@@ -529,6 +529,8 @@ export default {
font-size: 14px;
color: rgba(51, 51, 51, 1);
margin-top: 0;
border: none;
outline: none;
}
}
</style>
......
......@@ -5,7 +5,7 @@
<div @click="pageShow">页面管理</div>
</NavBar>
<svg
v-show="!gifloaded && !loaded"
v-show="!gifloaded && !loaded && !iframeLoaded"
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
style="margin:auto;background:#fff;display:block; margin-top: 30vh"
......@@ -128,7 +128,7 @@
</circle>
</g>
</svg>
<div class="content" v-show="gifloaded">
<div class="content" v-show="gifloaded && iframeLoaded">
<div
class="content-left"
v-show="!clipImg"
......@@ -224,7 +224,7 @@
</div>
</div>
</div>
<div class="createBtn" v-show="gifloaded && !clipImg">
<div class="createBtn" v-show="gifloaded && loaded && iframeLoaded ">
<van-button type="info" @click="enterSubmit" style="width: 100%">发布</van-button>
</div>
<van-action-sheet v-model="showSheet" :round="true" :actions="actions" @select="onSheetSelect" />
......@@ -314,6 +314,7 @@ export default {
isEdited: false,
mode: "",
loaded: false,
iframeLoaded: false,
show: false,
isIos: true,
pageViews: false,
......@@ -376,6 +377,10 @@ export default {
vm.templateData.listData = e.data.pages;
// console.log("12121321321");
}
if (typeof e.data === "object" && e.data["type"] == "slideChange") {
vm.currentPage = e.data.page;
// console.log("12121321321");
}
// var color = e.data;
// document.getElementById("color").style.backgroundColor = color;
},
......@@ -404,10 +409,10 @@ export default {
},
mounted() {
document.title = "编辑作品";
var timer = setTimeout(() => {
this.gifloaded = true;
clearTimeout(timer);
}, 1000);
// var timer = setTimeout(() => {
// this.gifloaded = true;
// clearTimeout(timer);
// }, 1000);
},
methods: {
message(data) {
......@@ -515,7 +520,6 @@ export default {
this.$toast.success("删除成功");
if (this.templateData.listData.length <= this.currentPage) {
this.goPage(this.templateData.listData.length - 1);
alert(this.templateData.listData.length);
}
}, 1000);
},
......@@ -563,6 +567,8 @@ export default {
this.loaded = true;
},
iframeLoad() {
this.gifloaded = true
this.iframeLoaded = true
this.setList();
},
pageShow() {
......@@ -719,7 +725,8 @@ export default {
this.$toast.loading({
overlay: true,
message: "加载中...",
forbidClick: true
forbidClick: true,
duration: 0
});
this.message({
type: "getList"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment