Commit 5994c916 by 杨明

fixed

1 parent e352b6bc
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* @Author: yangming yangming@didihu.com.cn * @Author: yangming yangming@didihu.com.cn
* @Date: 2023-05-19 13:46:20 * @Date: 2023-05-19 13:46:20
* @LastEditors: yangming yangming@didihu.com.cn * @LastEditors: yangming yangming@didihu.com.cn
* @LastEditTime: 2023-05-30 14:38:41 * @LastEditTime: 2023-05-30 15:21:39
* @FilePath: \scrm-micro-home\src\mixins\gpt.js * @FilePath: \scrm-micro-home\src\mixins\gpt.js
* @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
*/ */
...@@ -50,7 +50,7 @@ export default { ...@@ -50,7 +50,7 @@ export default {
marketingTitle.split(' ').forEach((item, index) => { marketingTitle.split(' ').forEach((item, index) => {
textList.push({ textList.push({
x: title.titleStyle.x, x: title.titleStyle.x,
y: title.titleStyle.y + index * 60, y: title.titleStyle.y + index * title.titleStyle.fontSize * 1.1,
fontSize: title.titleStyle.fontSize, fontSize: title.titleStyle.fontSize,
color: title.titleStyle.color, color: title.titleStyle.color,
text: item text: item
...@@ -59,7 +59,7 @@ export default { ...@@ -59,7 +59,7 @@ export default {
new Array(marketingSubtitle).forEach((item, index) => { new Array(marketingSubtitle).forEach((item, index) => {
textList.push({ textList.push({
x: title.subTitleStyle.x, x: title.subTitleStyle.x,
y: title.subTitleStyle.y + index * 60, y: title.subTitleStyle.y + title.titleStyle.fontSize ** 1.1(textList.length - 1),
fontSize: title.subTitleStyle.fontSize, fontSize: title.subTitleStyle.fontSize,
color: title.subTitleStyle.color, color: title.subTitleStyle.color,
text: item text: item
......
...@@ -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-05-30 15:08:40 * @LastEditTime: 2023-05-30 15:22:39
* @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
--> -->
...@@ -135,18 +135,18 @@ export default { ...@@ -135,18 +135,18 @@ export default {
if (title) { if (title) {
marketingTitle.split(' ').forEach((item, index) => { marketingTitle.split(' ').forEach((item, index) => {
textList.push({ textList.push({
x: (title.titleStyle.x)*.7, x: title.titleStyle.x * 0.7,
y: (title.titleStyle.y + index * 60)*.7, y: (title.titleStyle.y + index * title.titleStyle.fontSize * 1.1) * 0.7,
fontSize: title.titleStyle.fontSize*.7, fontSize: title.titleStyle.fontSize * 0.7,
color: title.titleStyle.color, color: title.titleStyle.color,
text: item text: item
}) })
}) })
new Array(marketingSubtitle).forEach((item, index) => { new Array(marketingSubtitle).forEach((item, index) => {
textList.push({ textList.push({
x: title.subTitleStyle.x*.7, x: title.subTitleStyle.x * 0.7,
y: (title.subTitleStyle.y + index * 60)*.7, y: (title.subTitleStyle.y + title.titleStyle.fontSize * 1.1 * (textList.length - 1)) * 0.7,
fontSize: title.subTitleStyle.fontSize*.7, fontSize: title.subTitleStyle.fontSize * 0.7,
color: title.subTitleStyle.color, color: title.subTitleStyle.color,
text: item text: item
}) })
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!