Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-outbound
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 2a7bbf85
authored
Jul 14, 2023
by
杨明
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fixed
1 parent
452cb5a3
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
2 deletions
src/views/calendar/add.vue
src/views/calendar/components/PhoneView.vue
src/views/calendar/add.vue
View file @
2a7bbf8
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* @Author: 前端 qianduan01@didihu.com.cn
* @Author: 前端 qianduan01@didihu.com.cn
* @Date: 2023-05-10 17:17:31
* @Date: 2023-05-10 17:17:31
* @LastEditors: yangming yangming@didihu.com.cn
* @LastEditors: yangming yangming@didihu.com.cn
* @LastEditTime: 2023-07-1
3 21:02:00
* @LastEditTime: 2023-07-1
4 20:40:56
* @FilePath: \outbound\src\views\calendar\add.vue
* @FilePath: \outbound\src\views\calendar\add.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
-->
-->
...
@@ -68,6 +68,8 @@ import selectGoodsDialog from './components/SelectGoodsDialog'
...
@@ -68,6 +68,8 @@ import selectGoodsDialog from './components/SelectGoodsDialog'
import
PhoneView
from
'./components/PhoneView'
import
PhoneView
from
'./components/PhoneView'
import
getUploadImgColor
from
'@/utils/color'
import
getUploadImgColor
from
'@/utils/color'
const
RENEWAL
=
[
1
,
2
,
3
,
4
,
5
,
6
,
7
,
8
]
const
RENEWAL
=
[
1
,
2
,
3
,
4
,
5
,
6
,
7
,
8
]
const
WIDTH
=
275
const
RATIO
=
375
/
WIDTH
export
default
{
export
default
{
name
:
'addCalendar'
,
name
:
'addCalendar'
,
data
()
{
data
()
{
...
@@ -216,6 +218,13 @@ export default {
...
@@ -216,6 +218,13 @@ export default {
const
style2
=
this
.
$refs
.
preview
.
draggableList
[
1
]
const
style2
=
this
.
$refs
.
preview
.
draggableList
[
1
]
const
titleStyle
=
JSON
.
parse
(
param
.
titleStyle
)
const
titleStyle
=
JSON
.
parse
(
param
.
titleStyle
)
const
subTitleStyle
=
JSON
.
parse
(
param
.
subTitleStyle
)
const
subTitleStyle
=
JSON
.
parse
(
param
.
subTitleStyle
)
const
styles
=
[
style1
,
style2
]
for
(
const
style
of
styles
)
{
style
.
x
=
parseInt
(
style
.
x
*
RATIO
)
style
.
y
=
parseInt
(
style
.
y
*
RATIO
)
style
.
size
=
parseInt
(
style
.
size
*
RATIO
)
style
.
width
=
parseInt
(
style
.
width
*
RATIO
)
}
param
.
titleStyle
=
JSON
.
stringify
(
Object
.
assign
(
titleStyle
,
{
x
:
style1
.
x
,
y
:
style1
.
y
,
size
:
style1
.
size
,
width
:
style1
.
width
}))
param
.
titleStyle
=
JSON
.
stringify
(
Object
.
assign
(
titleStyle
,
{
x
:
style1
.
x
,
y
:
style1
.
y
,
size
:
style1
.
size
,
width
:
style1
.
width
}))
param
.
subTitleStyle
=
JSON
.
stringify
(
Object
.
assign
(
subTitleStyle
,
{
x
:
style2
.
x
,
y
:
style2
.
y
,
size
:
style2
.
size
,
width
:
style2
.
width
}))
param
.
subTitleStyle
=
JSON
.
stringify
(
Object
.
assign
(
subTitleStyle
,
{
x
:
style2
.
x
,
y
:
style2
.
y
,
size
:
style2
.
size
,
width
:
style2
.
width
}))
}
}
...
...
src/views/calendar/components/PhoneView.vue
View file @
2a7bbf8
...
@@ -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
10:12:12
* @LastEditTime: 2023-07-14
20:41:15
* @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
-->
-->
...
@@ -203,6 +203,13 @@ export default {
...
@@ -203,6 +203,13 @@ export default {
try
{
try
{
const
style1
=
JSON
.
parse
(
titleStyle
)
const
style1
=
JSON
.
parse
(
titleStyle
)
const
style2
=
JSON
.
parse
(
subTitleStyle
)
const
style2
=
JSON
.
parse
(
subTitleStyle
)
const
styles
=
[
style1
,
style2
]
for
(
const
style
of
styles
)
{
style
.
x
=
parseInt
(
style
.
x
*
RATIO
)
style
.
y
=
parseInt
(
style
.
y
*
RATIO
)
style
.
size
=
parseInt
(
style
.
size
*
RATIO
)
style
.
width
=
parseInt
(
style
.
width
*
RATIO
)
}
if
(
this
.
isRenewal
)
{
if
(
this
.
isRenewal
)
{
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
[
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
,
with
:
style2
.
width
})
Object
.
assign
(
this
.
draggableList
[
1
],
{
content
:
subTitle
,
...
style2
,
color
:
style2
.
style
.
color
,
font
:
style2
.
font
,
height
:
style2
.
size
,
with
:
style2
.
width
})
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment