Browse Source

fix bug

old
wangqing 4 years ago
parent
commit
7200ef97b6
  1. BIN
      src/assets/images/official/banner02.png
  2. 4
      src/components/generator/config.js
  3. 21
      src/views/official/index.vue

BIN
src/assets/images/official/banner02.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 646 KiB

After

Width:  |  Height:  |  Size: 1.6 MiB

4
src/components/generator/config.js

@ -561,7 +561,7 @@ export const imageComponents = [
tagIcon: 'image-select', tagIcon: 'image-select',
layout: 'colFormItem', layout: 'colFormItem',
span: 24, span: 24,
required: false, required: true,
regList: [], regList: [],
changeTag: true changeTag: true
}, },
@ -776,7 +776,7 @@ export const personalInfoComponents = [
clearable: true, clearable: true,
'prefix-icon': 'el-icon-postcard', 'prefix-icon': 'el-icon-postcard',
'suffix-icon': '', 'suffix-icon': '',
maxlength: 20, maxlength: 18,
'show-word-limit': true, 'show-word-limit': true,
readonly: false, readonly: false,
disabled: false disabled: false

21
src/views/official/index.vue

@ -36,7 +36,11 @@
<el-button @click="$router.push({path:'/home'})">立即体验</el-button> <el-button @click="$router.push({path:'/home'})">立即体验</el-button>
</div> </div>
<div class="right"> <div class="right">
<img src="@/assets/images/official/banner02.png"> <el-image
class="image"
:src="require('@/assets/images/official/banner02.png')"
fit="scale-down"
/>
</div> </div>
</div> </div>
</div> </div>
@ -254,7 +258,7 @@ body {
.content-header { .content-header {
display: flex; display: flex;
flex-direction: row; flex-direction: row;
justify-content: space-evenly; justify-content: center;
align-content: center; align-content: center;
align-items: center; align-items: center;
* { * {
@ -272,10 +276,15 @@ body {
color: #fff; color: #fff;
line-height: 43px; line-height: 43px;
} }
.right img { .right{
padding-top: 30px; position: relative;
height: 540px; height: 700px;
width: 375px; width: 700px;
.image {
padding-top: 30px;
height: 840px;
width: 700px;
}
} }
} }
} }

Loading…
Cancel
Save