Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
glsx
/
gl_tape
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
3
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit d1d7e5f0
authored
Apr 11, 2024
by
胡悦
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'v1.0.1' of
http://192.168.3.233:8090/glsx/gl_tape
into v1.0.1
2 parents
e0e4b570
81f89702
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
32 additions
and
4 deletions
assets/images/media/pen-active.png
pages/detail/components/Media_2.vue
pages/detail/components/Media_4.vue
uni.scss
assets/images/media/pen-active.png
View file @
d1d7e5f
28 KB
|
W:
|
H:
30.1 KB
|
W:
|
H:
2-up
Swipe
Onion skin
pages/detail/components/Media_2.vue
View file @
d1d7e5f
...
...
@@ -16,6 +16,7 @@
<view
:key=
"index"
v-show=
"viewIndex == index"
:class=
"['canvas-view', `$
{viewIndex == 0 ? 'left' : 'right'}`]"
>
<wnCanvas
saveImageType=
"3"
...
...
@@ -86,8 +87,11 @@ export default {
}
}
.canvas-box
{
view
{
animation
:
show-view
0.15s
forwards
;
.left
{
animation
:
show-view-left
0.15s
forwards
;
}
.right
{
animation
:
show-view-right
0.15s
forwards
;
}
}
}
...
...
pages/detail/components/Media_4.vue
View file @
d1d7e5f
...
...
@@ -16,6 +16,7 @@
<view
:key=
"index"
v-show=
"viewIndex == index"
:class=
"['canvas-view', `$
{viewIndex == 0 ? 'left' : 'right'}`]"
>
<wnCanvas
saveImageType=
"3"
...
...
@@ -86,8 +87,11 @@ export default {
}
}
.canvas-box
{
view
{
animation
:
show-view
0.15s
forwards
;
.left
{
animation
:
show-view-left
0.15s
forwards
;
}
.right
{
animation
:
show-view-right
0.15s
forwards
;
}
}
}
...
...
uni.scss
View file @
d1d7e5f
...
...
@@ -11,4 +11,24 @@
opacity
:
1
;
transform
:
translateX
(
0
);
}
}
@keyframes
show-view-left
{
0
%
{
opacity
:
0
;
transform
:
translateX
(
-100%
);
}
100
%
{
opacity
:
1
;
transform
:
translateX
(
0
);
}
}
@keyframes
show-view-right
{
0
%
{
opacity
:
0
;
transform
:
translateX
(
100%
);
}
100
%
{
opacity
:
1
;
transform
:
translateX
(
0
);
}
}
\ No newline at end of file
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