-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
gjq
authored and
gjq
committed
Jul 27, 2019
1 parent
8361c86
commit 27b7867
Showing
5 changed files
with
124 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,45 +1,74 @@ | ||
@import "styles/default.scss"; | ||
|
||
.common { | ||
position: relative; | ||
|
||
.float-btns { | ||
position: fixed; | ||
right: 0; | ||
bottom: 100px; | ||
z-index: 999; | ||
|
||
li { | ||
margin-bottom: 15px; | ||
font-size: 18px; | ||
a { | ||
display: block; | ||
width: 144px; | ||
height: 60px; | ||
line-height: 60px; | ||
border-radius: 30px 0 0 30px; | ||
color: white; | ||
box-shadow: 0 2px 12px 0 rgba(0,0,0,.2); | ||
.iconfont { | ||
margin-left: 10px; | ||
margin-right: 10px; | ||
} | ||
|
||
|
||
} | ||
|
||
.mfst { | ||
background-color: $color-theme-red; | ||
} | ||
|
||
.zxzx { | ||
background-color: #ff7c21; | ||
} | ||
|
||
.dhzx { | ||
background-color: #ffb51a; | ||
} | ||
position: relative; | ||
|
||
.float-btns { | ||
position: fixed; | ||
right: 0; | ||
bottom: 100px; | ||
z-index: 999; | ||
display: flex; | ||
flex-direction: column; | ||
li { | ||
margin-bottom: 15px; | ||
font-size: 18px; | ||
position: relative; | ||
height: 60px; | ||
a { | ||
display: flex; | ||
width: 144px; | ||
height: 60px; | ||
line-height: 60px; | ||
border-radius: 30px 0 0 30px; | ||
color: white; | ||
box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.2); | ||
text-align: center; | ||
float: right; | ||
.iconfont { | ||
margin-right: 10px; | ||
font-size: 26px; | ||
margin-left: 20px; | ||
} | ||
} | ||
|
||
.mfst { | ||
background-color: $color-theme-red; | ||
} | ||
|
||
.zxzx { | ||
background-color: #ff7c21; | ||
} | ||
|
||
.dhzx { | ||
background-color: #ffb51a; | ||
} | ||
|
||
.dhzx-enter { | ||
width: 144px; | ||
} | ||
|
||
.dhzx-enter-active { | ||
width: 300px; | ||
transition: width 500ms; | ||
} | ||
|
||
.dhzx-enter-done { | ||
width: 300px; | ||
} | ||
|
||
.dhzx-exit { | ||
width: 300px; | ||
} | ||
|
||
.dhzx-exit-active { | ||
width: 144px; | ||
transition: width 500ms; | ||
} | ||
|
||
.dhzx-exit-done { | ||
width: 144px; | ||
} | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -881,7 +881,7 @@ | |
dependencies: | ||
regenerator-runtime "^0.13.2" | ||
|
||
"@babel/runtime@^7.0.0", "@babel/runtime@^7.1.2", "@babel/runtime@^7.3.4", "@babel/runtime@^7.4.0", "@babel/runtime@^7.4.2": | ||
"@babel/runtime@^7.0.0", "@babel/runtime@^7.1.2", "@babel/runtime@^7.3.4", "@babel/runtime@^7.4.0", "@babel/runtime@^7.4.2", "@babel/runtime@^7.4.5": | ||
version "7.5.5" | ||
resolved "https://registry.npm.taobao.org/@babel/runtime/download/@babel/runtime-7.5.5.tgz#74fba56d35efbeca444091c7850ccd494fd2f132" | ||
integrity sha1-dPulbTXvvspEQJHHhQzNSU/S8TI= | ||
|
@@ -3317,6 +3317,13 @@ dom-converter@^0.2: | |
dependencies: | ||
utila "~0.4" | ||
|
||
dom-helpers@^3.4.0: | ||
version "3.4.0" | ||
resolved "https://registry.npm.taobao.org/dom-helpers/download/dom-helpers-3.4.0.tgz#e9b369700f959f62ecde5a6babde4bccd9169af8" | ||
integrity sha1-6bNpcA+Vn2Ls3lprq95LzNkWmvg= | ||
dependencies: | ||
"@babel/runtime" "^7.1.2" | ||
|
||
dom-serializer@0: | ||
version "0.1.1" | ||
resolved "https://registry.npm.taobao.org/dom-serializer/download/dom-serializer-0.1.1.tgz#1ec4059e284babed36eec2941d4a970a189ce7c0" | ||
|
@@ -8198,6 +8205,16 @@ [email protected]: | |
tiny-invariant "^1.0.2" | ||
tiny-warning "^1.0.0" | ||
|
||
react-transition-group@^4.2.1: | ||
version "4.2.1" | ||
resolved "https://registry.npm.taobao.org/react-transition-group/download/react-transition-group-4.2.1.tgz#61fc9e36568bff9a1fe4e60fae323c8a6dbc0680" | ||
integrity sha1-YfyeNlaL/5of5OYPrjI8im28BoA= | ||
dependencies: | ||
"@babel/runtime" "^7.4.5" | ||
dom-helpers "^3.4.0" | ||
loose-envify "^1.4.0" | ||
prop-types "^15.6.2" | ||
|
||
react@^16.8.6: | ||
version "16.8.6" | ||
resolved "https://registry.npm.taobao.org/react/download/react-16.8.6.tgz?cache=0&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Freact%2Fdownload%2Freact-16.8.6.tgz#ad6c3a9614fd3a4e9ef51117f54d888da01f2bbe" | ||
|