Commit f1249928 authored by 罗超's avatar 罗超

修改大小后缀

parent 478b2046
......@@ -633,8 +633,8 @@
if (x.data.resultCode == 1) {
let data = x.data.data
this.dataId = data.id,
this.bg = data.pictureUrl + '?x-oss-process=image/resize,w_470'
this.st = data.samplePicturesUrl + '?x-oss-process=image/resize,w_470'
this.bg = data.pictureUrl + '?width=470'
this.st = data.samplePicturesUrl + '?width=470'
this.templateId = data.baseAdvertisingID
this.nodes = JSON.parse(data.content)
this.nodes.forEach(y => {
......@@ -737,8 +737,8 @@
//this.$message.success('已自动保存数据')
},
chosenbg(x) {
this.bg = x.PictureUrl + '?x-oss-process=image/resize,w_470'
this.st = x.SamplePicturesUrl + '?x-oss-process=image/resize,w_470'
this.bg = x.PictureUrl + '?width=470'
this.st = x.SamplePicturesUrl + '?width=470'
this.templateId = x.ID
let reg = /^http(s)?:\/\/(.*?)\//
let getBlob = this.getFileBlob(x.PictureUrl.replace(reg, ''), 'aa.jpg')
......
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 to comment