Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
pptist
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
viitto
pptist
Commits
4b906066
Commit
4b906066
authored
Jun 12, 2024
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
可见权限调整
parent
63c10468
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
ElementTemplateData.vue
src/views/Editor/Toolbar/ElementTemplateData.vue
+3
-3
index.vue
src/views/Editor/index.vue
+1
-1
PreviewCover.vue
src/views/Preview/PreviewCover.vue
+1
-1
No files found.
src/views/Editor/Toolbar/ElementTemplateData.vue
View file @
4b906066
...
...
@@ -353,9 +353,9 @@
const
{
setNewDatasList
}
=
useEditor
()
const
TemplateAuthType
=
ref
([
{
Type
:
0
,
Name
:
'免费
'
,},
{
Type
:
1
,
Name
:
'VIP'
,},
{
Type
:
2
,
Name
:
'私有'
,}
{
Type
:
1
,
Name
:
'全部
'
,},
{
Type
:
2
,
Name
:
'VIP'
,},
{
Type
:
3
,
Name
:
'私有'
,}
])
const
ParentObj
=
reactive
({
...
...
src/views/Editor/index.vue
View file @
4b906066
...
...
@@ -125,7 +125,7 @@ const datas = reactive({
Width
:
0
,
Height
:
0
,
ColorId
:
''
,
AuthType
:
2
,
//0-免费模版 1-vip模版
2-私有模版
AuthType
:
3
,
//1-全部可见 2-vip可见
2-私有模版
SubColor
:
null
,
// 父级颜色
}
},
...
...
src/views/Preview/PreviewCover.vue
View file @
4b906066
...
...
@@ -130,7 +130,7 @@ const getColorShade = async (newSlides:any) => {
let
dark
=
false
let
day
=
0
// 根据集团渲染logo
if
(
tempDatas
.
value
.
AuthType
<=
1
){
if
(
tempDatas
.
value
.
AuthType
<=
2
){
for
(
let
j
=
0
;
j
<
colorList
.
value
.
length
;
j
++
){
if
(
getRgbLevel
(
colorList
.
value
[
j
].
Color
)
>
50
)
dark
=
true
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment