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 21a9e862
authored
Jul 14, 2023
by
杨明
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fixed
1 parent
2a7bbf85
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
26 additions
and
12 deletions
src/views/calendar/add.vue
src/views/calendar/components/PhoneView.vue
src/views/marketing/add.vue
src/views/calendar/add.vue
View file @
21a9e86
...
@@ -68,7 +68,7 @@ import selectGoodsDialog from './components/SelectGoodsDialog'
...
@@ -68,7 +68,7 @@ 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
=
2
7
5
const
WIDTH
=
2
8
5
const
RATIO
=
375
/
WIDTH
const
RATIO
=
375
/
WIDTH
export
default
{
export
default
{
name
:
'addCalendar'
,
name
:
'addCalendar'
,
...
...
src/views/calendar/components/PhoneView.vue
View file @
21a9e86
...
@@ -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 2
0:41:15
* @LastEditTime: 2023-07-14 2
1:52:37
* @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
-->
-->
...
@@ -91,7 +91,7 @@
...
@@ -91,7 +91,7 @@
</div>
</div>
</template>
</template>
<
script
>
<
script
>
const
WIDTH
=
2
7
5
const
WIDTH
=
2
8
5
const
RATIO
=
WIDTH
/
375
const
RATIO
=
WIDTH
/
375
const
RENEWAL
=
[
1
,
2
,
3
,
4
,
5
,
6
,
7
,
8
]
const
RENEWAL
=
[
1
,
2
,
3
,
4
,
5
,
6
,
7
,
8
]
import
VueDraggableResizable
from
'@/components/draggable/vue-draggable-resizable'
import
VueDraggableResizable
from
'@/components/draggable/vue-draggable-resizable'
...
@@ -217,15 +217,29 @@ export default {
...
@@ -217,15 +217,29 @@ export default {
return
return
}
}
const
textList
=
[]
const
textList
=
[]
const
allStyle
=
{
titleStyle
:
style1
,
subTitleStyle
:
style2
}
title
.
split
(
' '
).
forEach
((
item
,
index
)
=>
{
textList
.
push
({
textList
.
push
({
...
style1
,
x
:
allStyle
.
titleStyle
.
x
,
text
:
title
y
:
allStyle
.
titleStyle
.
y
+
index
*
allStyle
.
titleStyle
.
fontSize
*
1.14
,
fontSize
:
allStyle
.
titleStyle
.
fontSize
,
color
:
allStyle
.
titleStyle
.
color
,
text
:
item
,
bold
:
allStyle
.
titleStyle
.
bold
})
})
})
new
Array
(
subTitle
).
forEach
((
item
,
index
)
=>
{
textList
.
push
({
textList
.
push
({
...
style2
,
x
:
allStyle
.
subTitleStyle
.
x
,
text
:
subTitle
y
:
allStyle
.
subTitleStyle
.
y
+
allStyle
.
titleStyle
.
fontSize
*
1.14
*
(
textList
.
length
-
1
),
fontSize
:
allStyle
.
subTitleStyle
.
fontSize
,
color
:
allStyle
.
subTitleStyle
.
color
,
text
:
item
})
})
})
this
.
textList
=
textList
this
.
textList
=
textList
console
.
log
(
this
.
textList
)
console
.
log
(
this
.
textList
)
}
catch
(
e
)
{
}
catch
(
e
)
{
...
@@ -300,7 +314,7 @@ export default {
...
@@ -300,7 +314,7 @@ export default {
text-align
:
center
;
text-align
:
center
;
}
}
img
{
img
{
width
:
2
75
px
;
width
:
2
80
px
;
}
}
}
}
}
}
...
@@ -416,7 +430,7 @@ export default {
...
@@ -416,7 +430,7 @@ export default {
}
}
}
}
.main-body
{
.main-body
{
margin-top
:
63
px
;
margin-top
:
-20
px
;
}
}
}
}
</
style
>
</
style
>
...
...
src/views/marketing/add.vue
View file @
21a9e86
...
@@ -156,7 +156,7 @@ export default {
...
@@ -156,7 +156,7 @@ export default {
},
},
watch
:
{
watch
:
{
'addForm.messageContext'
:
{
'addForm.messageContext'
:
{
handler
:
function
()
{
handler
:
function
()
{
this
.
content
=
[]
this
.
content
=
[]
let
str
=
this
.
addForm
.
messageContext
let
str
=
this
.
addForm
.
messageContext
let
num
=
70
let
num
=
70
...
@@ -513,7 +513,7 @@ export default {
...
@@ -513,7 +513,7 @@ export default {
}
}
}
}
.form-image
{
.form-image
{
width
:
28
0
px
;
width
:
28
5
px
;
height
:
546px
;
height
:
546px
;
margin
:
20px
80px
20px
0
;
margin
:
20px
80px
20px
0
;
position
:
relative
;
position
:
relative
;
...
...
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