Commit 46cd40d2 by hank

bug

parent 1f4b4750
......@@ -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;
......
<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 -->
......
......@@ -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
......
......@@ -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>
......
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