| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268 |
- @font-face {
- font-family: 'jianzhu';
- src: url('./lsy.ttf');
- font-weight: normal;
- font-size: normal;
- }
- .fingerBox {
- position: relative;
- display: flex;
- flex-direction: column;
- width: 100vw;
- height: 100vh;
- background-color: antiquewhite;
- background-image: url('./image/icon_bg.png');
- background-size: 100% auto;
- }
- .head {
- position: relative;
- width: 100%;
- z-index: 10;
- .backBtn {
- width: 22px;
- height: 22px;
- display: flex;
- align-items: center;
- justify-content: center;
- border: none;
- background: none;
- img {
- width: 100%;
- height: 100%;
- }
- &::after {
- content: '';
- position: absolute;
- top: 0;
- left: 0;
- right: 0;
- width: 100%;
- height: 140%;
- z-index: 10;
- }
- &.backRight {
- &::after {
- right: 85px;
- width: auto;
- }
- }
- }
- .left {
- position: absolute;
- top: 0;
- left: 0;
- padding-left: 33px;
- padding-top: 25px;
- display: flex;
- align-items: center;
- button {
- margin-right: 30px;
- }
- }
- .baseBtn {
- width: 85px;
- height: 33px;
- background: linear-gradient(180deg, #FEF0AF 0%, #F7D656 100%);
- box-shadow: 0px 2px 1px 0px rgba(168, 121, 0, 0.24), inset 0px 1px 3px 0px rgba(255, 255, 255, 0.5), inset 0px -2px 1px 0px rgba(255, 255, 255, 0.5);
- border-radius: 9px;
- font-size: 13px;
- font-weight: 600;
- color: #A14927;
- line-height: 33px;
- text-align: center;
- &:active {
- transform: translateY(2px);
- }
- }
- .rightBtn {
- position: absolute;
- right: 23px;
- top: 20px;
- display: flex;
- align-items: center;
- justify-content: space-evenly;
- width: 100px;
- height: 44px;
- background: linear-gradient(180deg, #FEF0AF 0%, #F7D656 100%);
- box-shadow: 0px 2px 1px 0px rgba(168, 121, 0, 0.24), inset 0px 1px 3px 0px rgba(255, 255, 255, 0.5), inset 0px -2px 1px 0px rgba(255, 255, 255, 0.5);
- border-radius: 11px;
- font-weight: 600;
- color: #A14927;
- .item {
- flex: 1;
- display: flex;
- flex-direction: column;
- justify-content: center;
- align-items: center;
- &:first-child {
- border-right: 1Px solid #a149275e;
- }
- img {
- width: 13px;
- height: 13px;
- }
- }
- }
- }
- .fingerContent {
- flex: 1;
- overflow: hidden;
- }
- .notes {
- display: flex;
- justify-content: center;
- align-items: flex-start;
- height: 65px;
- .noteBox {
- max-width: calc(100% - 92px);
- display: flex;
- background: rgba(255, 255, 255, 0.53);
- border-radius: 25px;
- border: 1px solid rgba(255, 255, 255, 0.81);
- overflow-y: hidden;
- overflow-x: auto;
- &::-webkit-scrollbar {
- width: 0;
- display: none;
- }
- &::before {
- content: '';
- position: absolute;
- left: 0;
- top: 0;
- height: 0;
- }
- }
- .note {
- position: relative;
- margin: 0 2.5Px;
- width: 42px;
- height: 42px;
- display: flex;
- justify-content: center;
- align-items: center;
- flex-shrink: 0;
- padding: 6px;
- img {
- position: absolute;
- left: 0;
- top: 0;
- width: 100%;
- height: 100%;
- }
- .noteKey {
- position: relative;
- display: flex;
- flex-direction: column;
- justify-content: space-evenly;
- align-items: center;
- z-index: 1;
- font-size: 16px;
- font-family: 'jianzhu';
- font-weight: normal;
- color: #FFFFFF;
- text-shadow: 0px 1px 3px #1EADF1;
- line-height: 1;
- height: 100%;
- &.keyActive {
- text-shadow: 0px 1px 3px #F6A81B;
- }
- .dot {
- width: 3px;
- height: 3px;
- border-radius: 50%;
- background-color: #fff;
- }
- .noteName {
- position: relative;
- }
- .mark {
- position: absolute;
- left: -80%;
- font-size: 12px;
- }
- }
- }
- }
- .fingeringContainer {
- width: 100%;
- height: 100%;
- display: flex;
- justify-content: space-evenly;
- align-items: center;
- padding: 0 10px 6px 10px;
- }
- .imgs {
- position: relative;
- width: 84%;
- height: 100%;
- &>img {
- position: absolute;
- left: 50%;
- top: 50%;
- transform: translate(-50%, -50%);
- display: block;
- max-width: 100%;
- max-height: 100%;
- }
- }
- .tizhi {
- position: absolute;
- width: 30px;
- height: 30px;
- text-align: center;
- line-height: 30px;
- border-radius: 100%;
- background-color: var(--van-primary-color);
- color: #fff;
- box-shadow: 0 0 10px rgba(0, 0, 0, .05);
- font-size: 12Px;
- opacity: 0;
- pointer-events: none;
- &:active {
- opacity: .8;
- }
- }
- .canDisplay {
- opacity: 1;
- pointer-events: auto;
- }
- .disabled {
- opacity: .5;
- pointer-events: none;
- }
|