Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-marketing
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 efec2490
authored
Jan 15, 2023
by
前端
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
添加text图片,修复素材样式
1 parent
faebe315
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
9 deletions
package-lock.json
src/views/sop/editSop/baseInfo.vue
src/views/sop/editSop/components/EnterprisePreview/index.vue
package-lock.json
View file @
efec249
...
...
@@ -13659,7 +13659,7 @@
},
"vue-loader-v16"
:
{
"version"
:
"npm:vue-loader@16.8.3"
,
"resolved"
:
"https://registry.npm
js.org
/vue-loader/-/vue-loader-16.8.3.tgz"
,
"resolved"
:
"https://registry.npm
mirror.com
/vue-loader/-/vue-loader-16.8.3.tgz"
,
"integrity"
:
"sha512-7vKN45IxsKxe5GcVCbc2qFU5aWzyiLrYJyUuMz4BQLKctCj/fmCa0w6fGiiQ2cLFetNcek1ppGJQDCup0c1hpA=="
,
"dev"
:
true
,
"optional"
:
true
,
...
...
@@ -13671,7 +13671,7 @@
"dependencies"
:
{
"ansi-styles"
:
{
"version"
:
"4.3.0"
,
"resolved"
:
"https://registry.npm
js.org
/ansi-styles/-/ansi-styles-4.3.0.tgz"
,
"resolved"
:
"https://registry.npm
mirror.com
/ansi-styles/-/ansi-styles-4.3.0.tgz"
,
"integrity"
:
"sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg=="
,
"dev"
:
true
,
"optional"
:
true
,
...
...
@@ -13681,7 +13681,7 @@
},
"chalk"
:
{
"version"
:
"4.1.2"
,
"resolved"
:
"https://registry.npm
js.org
/chalk/-/chalk-4.1.2.tgz"
,
"resolved"
:
"https://registry.npm
mirror.com
/chalk/-/chalk-4.1.2.tgz"
,
"integrity"
:
"sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA=="
,
"dev"
:
true
,
"optional"
:
true
,
...
...
@@ -13692,7 +13692,7 @@
},
"color-convert"
:
{
"version"
:
"2.0.1"
,
"resolved"
:
"https://registry.npm
js.org
/color-convert/-/color-convert-2.0.1.tgz"
,
"resolved"
:
"https://registry.npm
mirror.com
/color-convert/-/color-convert-2.0.1.tgz"
,
"integrity"
:
"sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ=="
,
"dev"
:
true
,
"optional"
:
true
,
...
...
@@ -13702,21 +13702,21 @@
},
"color-name"
:
{
"version"
:
"1.1.4"
,
"resolved"
:
"https://registry.npm
js.org
/color-name/-/color-name-1.1.4.tgz"
,
"resolved"
:
"https://registry.npm
mirror.com
/color-name/-/color-name-1.1.4.tgz"
,
"integrity"
:
"sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA=="
,
"dev"
:
true
,
"optional"
:
true
},
"has-flag"
:
{
"version"
:
"4.0.0"
,
"resolved"
:
"https://registry.npm
js.org
/has-flag/-/has-flag-4.0.0.tgz"
,
"resolved"
:
"https://registry.npm
mirror.com
/has-flag/-/has-flag-4.0.0.tgz"
,
"integrity"
:
"sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ=="
,
"dev"
:
true
,
"optional"
:
true
},
"supports-color"
:
{
"version"
:
"7.2.0"
,
"resolved"
:
"https://registry.npm
js.org
/supports-color/-/supports-color-7.2.0.tgz"
,
"resolved"
:
"https://registry.npm
mirror.com
/supports-color/-/supports-color-7.2.0.tgz"
,
"integrity"
:
"sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw=="
,
"dev"
:
true
,
"optional"
:
true
,
...
...
src/views/sop/editSop/baseInfo.vue
View file @
efec249
...
...
@@ -112,7 +112,8 @@
<div
class=
"welcome-activity-panel"
>
<div
class=
"welcome-activity-box"
>
<div
class=
"welcome-activity-icon"
>
<img
src=
"@/assets/welcomeWord/pdf_r.png"
v-if=
"obj.attContent"
/>
<img
src=
"@/assets/welcomeWord/pdf_r.png"
v-if=
"obj.attContent && !JSON.parse(obj.attContent).isFile"
/>
<img
src=
"@/assets/welcomeWord/text.png"
v-if=
"obj.attContent && JSON.parse(obj.attContent).isFile"
/>
</div>
<div
class=
"welcome-activity-desc"
>
<div
class=
"model-item-title"
>
{{ JSON.parse(obj.attContent).fileName }}
</div>
...
...
src/views/sop/editSop/components/EnterprisePreview/index.vue
View file @
efec249
...
...
@@ -2,7 +2,7 @@
<div
class=
"img-bg"
>
<div
class=
"preview-content"
>
<div
class=
"preview-time"
>
{{
currentTime
}}
</div>
<div
class=
"preview-info
"
v-for=
"item in previewList"
:key=
"item.id"
>
<div
:class=
"
{'preview-info':true,'isMargin':previewList
&&
previewList[2]
&&
previewList[2].attType == 6
&&
item.attType ==6}
" v-for="item in previewList" :key="item.id">
<img
class=
"avatar"
src=
"@/assets/guestCustom/default-customer.png"
v-if=
"!(hasSixType && hasSevenType) || item.attType !== 7"
alt
/>
<template
v-if=
"item.attType == 1"
>
<div
class=
"preview-text text"
v-html=
"item.attContent"
></div>
...
...
@@ -156,6 +156,9 @@ export default {
</
script
>
<
style
lang=
"scss"
scoped
>
.isMargin
{
margin-top
:
-20px
;
}
.img-bg
{
position
:
relative
;
width
:
290px
;
...
...
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