Commit 96c8abf0 by 王志慧

commit

1 parent 94788d91
......@@ -44,7 +44,7 @@
</div>
</div>
<p class="edit-tips">最多支持4张banner,图片格式仅支持JPG,PNG格式</p>
<p class="edit-tips">建议尺寸686*300px,大小10M以内</p>
<p class="edit-tips">建议尺寸{{suggestSize}},大小10M以内</p>
<div class="flex-grow">
<div class="flex-default">
<span class="banner-label">banner链接:</span>
......@@ -241,9 +241,10 @@ export default {
name: 'homeSet',
data() {
return {
// showGh: false,
showGh: false,
size: 'small',
userInfo: {},
suggestSize:'710*140px',
// 查看大图
isImgVisible: false,
state: '',
......@@ -506,7 +507,8 @@ export default {
this.externalFormList[idxxx].editFormData[idxxxx].isHide = true
}
// let href = window.location.host
// this.showGh = href.indexOf('cgacar') != -1
this.showGh = window.location.host.indexOf('cgacar') != -1
if (this.showGh) this.suggestSize = '686*300px'
},
methods: {
handleServerUrlChange(value) {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!