Skip to content

Commit

Permalink
no message
Browse files Browse the repository at this point in the history
  • Loading branch information
lefex committed Jun 21, 2020
1 parent f4a5302 commit cff3c40
Show file tree
Hide file tree
Showing 12 changed files with 32 additions and 0 deletions.
1 change: 1 addition & 0 deletions animation/animation/app.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"pages": [
"pages/breath/breath",
"pages/audioPlay/audioPlay",
"pages/index/index"
],
Expand Down
Binary file added animation/animation/images/animation2.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added animation/animation/images/given.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added animation/animation/images/given.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
27 changes: 27 additions & 0 deletions animation/animation/pages/breath/breath.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
.breath {
margin: 150px auto;
width: 150px;
height: 150px;
background-image: url(../../images/given.png);
background-position: 0 0;
background-size: cover;
}

.animation {
animation-name: breath;
animation-duration: .8s;
animation-delay: 0;
animation-iteration-count: infinite;
animation-timing-function: linear;
animation-direction: alternate;
animation-fill-mode: backwards;
animation-play-state: running;
}
@keyframes breath {
0% {
transform: scale(1);
}
100% {
transform: scale(1.2, 1.5);
}
}
Empty file.
3 changes: 3 additions & 0 deletions animation/animation/pages/breath/breath.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"navigationBarTitleText": "呼吸"
}
1 change: 1 addition & 0 deletions animation/animation/pages/breath/breath.swan
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<view class="breath animation"></view>
Empty file.
Empty file.
Empty file.
Empty file.

0 comments on commit cff3c40

Please sign in to comment.