Commit 452cb5a3 by 杨明

fixed

1 parent c025c59c
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* @Author: 前端 qianduan01@didihu.com.cn * @Author: 前端 qianduan01@didihu.com.cn
* @Date: 2023-05-15 15:08:32 * @Date: 2023-05-15 15:08:32
* @LastEditors: yangming yangming@didihu.com.cn * @LastEditors: yangming yangming@didihu.com.cn
* @LastEditTime: 2023-07-14 09:40:52 * @LastEditTime: 2023-07-14 10:12:12
* @FilePath: \scrm-micro-home\src\views\home\components\Marketing\MarketingRight.vue * @FilePath: \scrm-micro-home\src\views\home\components\Marketing\MarketingRight.vue
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
--> -->
...@@ -204,8 +204,8 @@ export default { ...@@ -204,8 +204,8 @@ export default {
const style1 = JSON.parse(titleStyle) const style1 = JSON.parse(titleStyle)
const style2 = JSON.parse(subTitleStyle) const style2 = JSON.parse(subTitleStyle)
if (this.isRenewal) { if (this.isRenewal) {
Object.assign(this.draggableList[0], { content: title, ...style1, color: style1.style.color, font: style1.font, height: style1.size }) Object.assign(this.draggableList[0], { content: title, ...style1, color: style1.style.color, font: style1.font, height: style1.size, with: style1.width })
Object.assign(this.draggableList[1], { content: subTitle, ...style2, color: style2.style.color, font: style2.font, height: style2.size }) Object.assign(this.draggableList[1], { content: subTitle, ...style2, color: style2.style.color, font: style2.font, height: style2.size, with: style2.width })
this.backgroundHeight = await this.getImgH(backgroundImg) this.backgroundHeight = await this.getImgH(backgroundImg)
return return
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!