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 7702aef5
authored
Jul 06, 2022
by
匡雅琴
Committed by
chenwq
Jul 08, 2022
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
营销素材样式优化
1 parent
8dab4e19
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
9 deletions
src/views/friendGroup/components/welcomeWords.vue
src/views/material/components/materialGroup.vue
src/views/material/index.vue
src/views/friendGroup/components/welcomeWords.vue
View file @
7702aef
...
@@ -68,7 +68,7 @@
...
@@ -68,7 +68,7 @@
<div
class=
"tips-text"
>
<div
class=
"tips-text"
>
<img
src=
"@/assets/guestCustom/tips.png"
class=
"tips-icon"
alt
/>
<img
src=
"@/assets/guestCustom/tips.png"
class=
"tips-icon"
alt
/>
<span>
因企业微信限制,
图片长宽建议不超过1440x108
0,大小不超过10M,数量不超过9张。视频建议不超过1280x720,帧率30FPS,视频码率1.67 Mbps,最长不超过30S,最大不超过10MB
</span>
<span>
因企业微信限制,
普通图片:总像素不超过155520
0,大小不超过10M,数量不超过9张。视频建议不超过1280x720,帧率30FPS,视频码率1.67 Mbps,最长不超过30S,最大不超过10MB
</span>
</div>
</div>
</div>
</div>
<ActivityModel
ref=
"activity"
@
selectActivity=
"selectActivity"
></ActivityModel>
<ActivityModel
ref=
"activity"
@
selectActivity=
"selectActivity"
></ActivityModel>
...
@@ -192,10 +192,10 @@ export default {
...
@@ -192,10 +192,10 @@ export default {
// 默认1MB
// 默认1MB
const
limitSize
=
10
const
limitSize
=
10
const
isLt
=
file
.
size
/
1024
/
1024
<
limitSize
const
isLt
=
file
.
size
/
1024
/
1024
<
limitSize
if
(
!
isLt
)
{
//
if (!isLt) {
this
.
$message
.
error
(
'上传图片大小不能超过'
+
limitSize
+
'MB!'
)
//
this.$message.error('上传图片大小不能超过' + limitSize + 'MB!')
return
true
//
return true
}
//
}
reader
.
readAsDataURL
(
file
)
reader
.
readAsDataURL
(
file
)
reader
.
onload
=
e
=>
{
reader
.
onload
=
e
=>
{
var
image
=
new
Image
()
var
image
=
new
Image
()
...
...
src/views/material/components/materialGroup.vue
View file @
7702aef
...
@@ -207,7 +207,7 @@ export default {
...
@@ -207,7 +207,7 @@ export default {
font-size
:
16px
;
font-size
:
16px
;
padding-top
:
6px
;
padding-top
:
6px
;
position
:
absolute
;
position
:
absolute
;
right
:
16
px
;
right
:
0
px
;
transform
:
rotate
(
90deg
);
transform
:
rotate
(
90deg
);
}
}
}
}
...
...
src/views/material/index.vue
View file @
7702aef
...
@@ -53,7 +53,7 @@
...
@@ -53,7 +53,7 @@
</div>
</div>
</el-popover>
</el-popover>
<!-- 视频 -->
<!-- 视频 -->
<el-popover
placement=
"right"
trigger=
"
click
"
v-if=
"scope.scope.urlType == 'video'"
>
<el-popover
placement=
"right"
trigger=
"
hover
"
v-if=
"scope.scope.urlType == 'video'"
>
<div>
<div>
<video
controls
autoplay
width=
"300"
height=
"300"
>
<video
controls
autoplay
width=
"300"
height=
"300"
>
<source
:src=
"scope.scope.materialContentRpcResponse.materialUrl"
type=
"video/mp4"
/>
<source
:src=
"scope.scope.materialContentRpcResponse.materialUrl"
type=
"video/mp4"
/>
...
@@ -389,7 +389,7 @@ export default {
...
@@ -389,7 +389,7 @@ export default {
let
clientHeight
=
document
.
documentElement
.
clientHeight
let
clientHeight
=
document
.
documentElement
.
clientHeight
let
offTop
=
document
.
querySelector
(
'.tabelList'
).
offsetTop
let
offTop
=
document
.
querySelector
(
'.tabelList'
).
offsetTop
this
.
boxHeight
=
clientHeight
-
offTop
-
80
this
.
boxHeight
=
clientHeight
-
offTop
-
80
this
.
tableHeight
=
clientHeight
-
offTop
-
13
2
+
'px'
this
.
tableHeight
=
clientHeight
-
offTop
-
13
5
+
'px'
// this.findAllDictData('business_type')
// this.findAllDictData('business_type')
this
.
getListEntBusinessType
()
this
.
getListEntBusinessType
()
this
.
firstCome
()
this
.
firstCome
()
...
@@ -657,7 +657,6 @@ ul {
...
@@ -657,7 +657,6 @@ ul {
height
:
100%
;
height
:
100%
;
.left
{
.left
{
height
:
100%
;
height
:
100%
;
min-width
:
260px
;
position
:
relative
;
position
:
relative
;
border-right
:
1px
solid
#e8e8ea
;
border-right
:
1px
solid
#e8e8ea
;
}
}
...
@@ -718,4 +717,10 @@ ul {
...
@@ -718,4 +717,10 @@ ul {
/
deep
/
.el-switch__core
{
/
deep
/
.el-switch__core
{
width
:
32px
!important
;
width
:
32px
!important
;
}
}
/
deep
/
.el-table
::before
{
background-color
:
transparent
;
}
/
deep
/
.el-table__fixed-right
::before
{
background-color
:
transparent
;
}
</
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