Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
江名洋
/
linkwe-scrm
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 a851758d
authored
Mar 29, 2023
by
姜鹏凯
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'develop'
2 parents
46f55aa0
589410b8
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
24 deletions
linkwe-pc/src/components/ContentCenter/PreviewInPhone.vue
linkwe-pc/src/components/ContentCenter/PreviewInPhone.vue
View file @
a851758
...
@@ -7,8 +7,8 @@
...
@@ -7,8 +7,8 @@
<div
class=
"avatar222"
><img
src=
"../../assets/drainageCode/header.png"
/></div>
<div
class=
"avatar222"
><img
src=
"../../assets/drainageCode/header.png"
/></div>
<div
class=
"msg"
>
<div
class=
"msg"
>
<div
class=
"word"
>
<div
class=
"word"
>
{{
templateInfo
}}
<p
style=
"line-height: 18px;"
v-html=
"templateInfo.replace(/\n|\r\n/g, '
<br>
').replace(/ /g, '
&
nbsp')">
</p>
<div
v-if=
"liveUrl"
style=
"margin-top: 10px"
>
<div
v-if=
"liveUrl"
style=
"margin-top: 10px
;
"
>
<p>
直播链接:
</p>
<p>
直播链接:
</p>
{{
liveUrl
}}
{{
liveUrl
}}
</div>
</div>
...
@@ -19,7 +19,7 @@
...
@@ -19,7 +19,7 @@
<div
class=
"avatar222"
><img
src=
"../../assets/drainageCode/header.png"
/></div>
<div
class=
"avatar222"
><img
src=
"../../assets/drainageCode/header.png"
/></div>
<div
class=
"msg"
v-if=
"data.mediaType === '4'"
>
<div
class=
"msg"
v-if=
"data.mediaType === '4'"
>
<div
class=
"word"
>
<div
class=
"word"
>
<p
style=
"white-space: pre-line"
>
{{
data
.
content
}}
</p>
<p
style=
"white-space: pre-line
;
"
>
{{
data
.
content
}}
</p>
</div>
</div>
</div>
</div>
<div
class=
"msg"
v-if=
"data.mediaType === '0'"
>
<div
class=
"msg"
v-if=
"data.mediaType === '0'"
>
...
@@ -161,46 +161,46 @@
...
@@ -161,46 +161,46 @@
</div>
</div>
</
template
>
</
template
>
<
script
>
<
script
>
export
default
{
export
default
{
name
:
'preview-client'
,
name
:
'preview-client'
,
components
:
{},
components
:
{},
props
:
{
props
:
{
name
:
{
name
:
{
type
:
String
,
type
:
String
,
default
:
'客户'
,
default
:
'客户'
},
},
// 文章详情展示
// 文章详情展示
article
:
{
article
:
{
type
:
String
,
type
:
String
,
default
:
null
,
default
:
null
},
},
// 内容
// 内容
templateInfo
:
{
templateInfo
:
{
type
:
String
,
type
:
String
,
default
:
null
,
default
:
null
},
},
list
:
{
list
:
{
type
:
Array
,
type
:
Array
,
default
:
()
=>
[],
default
:
()
=>
[]
},
},
// 直播链接
// 直播链接
liveUrl
:
{
liveUrl
:
{
type
:
String
,
type
:
String
,
default
:
null
,
default
:
null
},
},
// 新客拉新
// 新客拉新
pullnewsInfo
:
{
pullnewsInfo
:
{
type
:
Object
,
type
:
Object
,
default
:
null
,
default
:
null
},
}
},
},
watch
:
{
watch
:
{
list
:
{
list
:
{
handler
(
val
)
{
handler
(
val
)
{
// console.log(144, val)
// console.log(144, val)
},
},
immediate
:
true
,
immediate
:
true
},
}
},
},
data
()
{
data
()
{
return
{}
return
{}
...
@@ -223,12 +223,12 @@ export default {
...
@@ -223,12 +223,12 @@ export default {
}
else
{
}
else
{
return
''
return
''
}
}
},
}
},
}
}
}
</
script
>
</
script
>
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
.redBox
{
.redBox
{
min-height
:
26px
;
min-height
:
26px
;
display
:
inline-block
;
display
:
inline-block
;
box-sizing
:
border-box
;
box-sizing
:
border-box
;
...
@@ -252,8 +252,8 @@ export default {
...
@@ -252,8 +252,8 @@ export default {
overflow
:
hidden
;
//
溢出隐藏
overflow
:
hidden
;
//
溢出隐藏
}
}
}
}
}
}
.function
{
.function
{
width
:
160px
;
width
:
160px
;
.function-item
{
.function-item
{
width
:
160px
;
width
:
160px
;
...
@@ -286,12 +286,12 @@ export default {
...
@@ -286,12 +286,12 @@ export default {
width
:
98px
;
width
:
98px
;
}
}
}
}
}
}
.icon-style
{
.icon-style
{
width
:
40px
;
width
:
40px
;
height
:
40px
;
height
:
40px
;
}
}
.preview
{
.preview
{
margin
:
0
auto
;
margin
:
0
auto
;
position
:
relative
;
position
:
relative
;
width
:
300px
;
width
:
300px
;
...
@@ -431,5 +431,5 @@ export default {
...
@@ -431,5 +431,5 @@ export default {
}
}
}
}
}
}
}
}
</
style
>
</
style
>
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