Browse Source

fix bug

old
wangqing 4 years ago
parent
commit
7fbfb72ee3
  1. 0
      src/assets/images/official/banner02.png
  2. 2
      src/views/official/index.vue
  3. 8
      src/views/project/template/preview.vue

0
src/assets/images/official/banner2.png → src/assets/images/official/banner02.png

Before

Width:  |  Height:  |  Size: 646 KiB

After

Width:  |  Height:  |  Size: 646 KiB

2
src/views/official/index.vue

@ -36,7 +36,7 @@
<el-button @click="$router.push({path:'/home'})">立即体验</el-button>
</div>
<div class="right">
<img src="@/assets/images/official/banner2.png">
<img src="@/assets/images/official/banner02.png">
</div>
</div>
</div>

8
src/views/project/template/preview.vue

@ -7,7 +7,7 @@
</el-button>
</div>
<div class="template-preview-content">
<el-scrollbar style="height: 90vh;">
<el-scrollbar style="height: 80vh;">
<project-form
v-if="projectConfig.projectKey"
:project-config="projectConfig"
@ -57,8 +57,7 @@ export default {
if (res.data) {
this.$router.push({path: '/project/form', query: {key: res.data, active: 1}})
}
}).catch(res => {
console.log(res)
}).catch(() => {
this.createProjectLoading = false
})
},
@ -73,7 +72,8 @@ export default {
.template-preview-container {
display: flex;
width: 100%;
height: 100%;
height: 98%;
overflow-x: hidden;
flex-direction: column;
align-items: center;
align-content: center;

Loading…
Cancel
Save