|
|
@ -9,7 +9,7 @@ |
|
|
|
|
|
|
|
<el-row class="row" |
|
|
|
:style="{paddingLeft: paddingWidth+'px',paddingRight:paddingWidth+'px'}" |
|
|
|
:gutter="100"> |
|
|
|
:gutter="gutter"> |
|
|
|
<el-col :span="12"> |
|
|
|
<el-card> |
|
|
|
<div slot="header" |
|
|
@ -35,22 +35,29 @@ |
|
|
|
</el-upload> |
|
|
|
</div> |
|
|
|
|
|
|
|
<div class="div_time"> |
|
|
|
<span>展示时长:</span> |
|
|
|
<el-input-number v-model="resiForm.time" |
|
|
|
style="width:200px;margin-left:10px" |
|
|
|
:min="3" |
|
|
|
:max="10" |
|
|
|
label="启动页展示时长"></el-input-number> |
|
|
|
|
|
|
|
</div> |
|
|
|
<div class="div_button"> |
|
|
|
<el-button class="btn" |
|
|
|
type="primary" |
|
|
|
@click="changeImage('resi')">修改</el-button> |
|
|
|
<el-button class="btn btn_2" |
|
|
|
@click="changeDefault('resi')">恢复默认</el-button> |
|
|
|
<div class="div_tip">{{tip}}</div> |
|
|
|
<div class="div_tip"> |
|
|
|
<div>注:</div> |
|
|
|
<div class="tip2">{{tip1}}</div> |
|
|
|
<div class="tip2">{{tip2}}</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
<div class="div_time"> |
|
|
|
<span>启动页展示时长:</span> |
|
|
|
<el-input-number v-model="resiForm.time" |
|
|
|
:min="3" |
|
|
|
:max="10" |
|
|
|
label="启动页展示时长"></el-input-number> |
|
|
|
</div> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
</el-card> |
|
|
@ -81,21 +88,26 @@ |
|
|
|
</el-upload> |
|
|
|
</div> |
|
|
|
|
|
|
|
<div class="div_time"> |
|
|
|
<span>展示时长:</span> |
|
|
|
<el-input-number v-model="workForm.time" |
|
|
|
style="width:200px;margin-left:10px" |
|
|
|
:min="3" |
|
|
|
:max="10" |
|
|
|
label="启动页展示时长"></el-input-number> |
|
|
|
</div> |
|
|
|
<div class="div_button"> |
|
|
|
<el-button class="btn" |
|
|
|
type="primary" |
|
|
|
@click="changeImage('work')">修改</el-button> |
|
|
|
<el-button class="btn btn_2" |
|
|
|
@click="changeDefault('work')">恢复默认</el-button> |
|
|
|
<div class="div_tip">{{tip}}</div> |
|
|
|
</div> |
|
|
|
<div class="div_tip"> |
|
|
|
<div>注:</div> |
|
|
|
<div class="tip2">{{tip1}}</div> |
|
|
|
<div class="tip2">{{tip2}}</div> |
|
|
|
|
|
|
|
<div class="div_time"> |
|
|
|
<span>启动页展示时长:</span> |
|
|
|
<el-input-number v-model="workForm.time" |
|
|
|
:min="3" |
|
|
|
:max="10" |
|
|
|
label="启动页展示时长"></el-input-number> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
@ -127,7 +139,8 @@ export default { |
|
|
|
params: { |
|
|
|
customerId: '', |
|
|
|
}, |
|
|
|
tip: "(文件大小不能超过200kb,格式仅支持jpg、png、gif)", |
|
|
|
tip1: "1、点击图片选择要更换的启动页", |
|
|
|
tip2: "2、文件大小不能超过200kb,仅支持jpg、png、gif", |
|
|
|
// imageHeight: 444, |
|
|
|
// imageWidth: 250, |
|
|
|
|
|
|
@ -168,7 +181,11 @@ export default { |
|
|
|
return (this.clientHeight - 300) + 'px' |
|
|
|
}, |
|
|
|
paddingWidth () { |
|
|
|
return this.resolution === 'small' ? 150 : 350 |
|
|
|
return this.resolution === 'small' ? 150 : 300 |
|
|
|
|
|
|
|
}, |
|
|
|
gutter () { |
|
|
|
return this.resolution === 'small' ? 70 : 250 |
|
|
|
|
|
|
|
}, |
|
|
|
imageHeight () { |
|
|
@ -355,9 +372,14 @@ export default { |
|
|
|
} |
|
|
|
|
|
|
|
.div_tip { |
|
|
|
margin-top: 10px; |
|
|
|
text-align: left; |
|
|
|
margin-left: 50rpx; |
|
|
|
margin-top: 15px; |
|
|
|
font-size: 10px; |
|
|
|
} |
|
|
|
.tip2 { |
|
|
|
margin-top: 7px; |
|
|
|
} |
|
|
|
|
|
|
|
.div_time { |
|
|
|
margin-top: 30px; |
|
|
|