|
@@ -1,91 +1,142 @@
|
|
|
-.fixedBtn {
|
|
|
- position: fixed;
|
|
|
- top: 50%;
|
|
|
- right: 0;
|
|
|
- transform: translateY(-50%);
|
|
|
- width: 22px;
|
|
|
- height: 42px;
|
|
|
- background: rgba(0, 0, 0, 0.24);
|
|
|
- border-radius: 9px 0px 0px 9px;
|
|
|
- display: flex;
|
|
|
- justify-content: center;
|
|
|
- align-items: center;
|
|
|
-
|
|
|
- &:active {
|
|
|
- opacity: .8;
|
|
|
- }
|
|
|
-
|
|
|
- &>img {
|
|
|
- width: 12px;
|
|
|
- height: 14px;
|
|
|
- }
|
|
|
+.popup{
|
|
|
+ background:initial;
|
|
|
}
|
|
|
-
|
|
|
.tabs {
|
|
|
height: 100vh;
|
|
|
- width: 50vw;
|
|
|
-
|
|
|
+ width: 320px;
|
|
|
+ padding: 10px 0;
|
|
|
:global {
|
|
|
- .van-tabs {
|
|
|
+ .van-tabs{
|
|
|
height: 100%;
|
|
|
- }
|
|
|
-
|
|
|
- .van-tabs__wrap {
|
|
|
- height: 44px;
|
|
|
- --van-tab-text-color: #777;
|
|
|
-
|
|
|
- .van-tab {
|
|
|
- z-index: 2;
|
|
|
+ .van-tabs__wrap{
|
|
|
+ display: flex;
|
|
|
+ justify-content: right;
|
|
|
+ height: 30px;
|
|
|
+ .van-tabs__nav--line{
|
|
|
+ padding-bottom: 0;
|
|
|
+ background-color: initial;
|
|
|
+ .van-tab{
|
|
|
+ flex: initial;
|
|
|
+ .van-tab__text{
|
|
|
+ display: none;
|
|
|
+ }
|
|
|
+ &:nth-child(1){
|
|
|
+ width: 100px;
|
|
|
+ height: 30px;
|
|
|
+ background: url("./imgs/qtqm.png") no-repeat;
|
|
|
+ background-size: 100% 100%;
|
|
|
+ &.van-tab--active{
|
|
|
+ background: url("./imgs/qtqmAct.png") no-repeat;
|
|
|
+ background-size: 100% 100%;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ &:nth-child(2){
|
|
|
+ margin-left: 24px;
|
|
|
+ margin-right: 34px;
|
|
|
+ width: 100px;
|
|
|
+ height: 30px;
|
|
|
+ background: url("./imgs/zjlx.png") no-repeat;
|
|
|
+ background-size: 100% 100%;
|
|
|
+ &.van-tab--active{
|
|
|
+ background: url("./imgs/zjlxAct.png") no-repeat;
|
|
|
+ background-size: 100% 100%;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .van-tabs__line{
|
|
|
+ display: none;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .van-tabs__content{
|
|
|
+ height: calc(100% - 30px);
|
|
|
+ background: url("./imgs/bg.png") no-repeat;
|
|
|
+ background-size: 100% 100%;
|
|
|
+ .van-tab__panel{
|
|
|
+ height: 100%;
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
+ }
|
|
|
+}
|
|
|
|
|
|
- .van-tabs__content {
|
|
|
- height: calc(100% - 44px);
|
|
|
- overflow: hidden;
|
|
|
+.wrap {
|
|
|
+ height: 100%;
|
|
|
+ padding: 18px 16px 12px 46px;
|
|
|
+ .searchBox{
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ height: 34px;
|
|
|
+ background: #F8F9FC;
|
|
|
+ border-radius: 18px;
|
|
|
+ padding: 0 4px 0 12px;
|
|
|
+ border: 1px solid transparent;
|
|
|
+ &.isFocus{
|
|
|
+ border-color: #1CACF1;
|
|
|
}
|
|
|
-
|
|
|
- .van-tab__panel {
|
|
|
- height: 100%;
|
|
|
- overflow-x: hidden;
|
|
|
- overflow-y: auto;
|
|
|
+ >img{
|
|
|
+ flex-shrink: 0;
|
|
|
+ width: 14px;
|
|
|
+ height: 14px;
|
|
|
}
|
|
|
-
|
|
|
- .van-tab--active::after {
|
|
|
- content: '';
|
|
|
- position: absolute;
|
|
|
- bottom: 0;
|
|
|
- left: 50%;
|
|
|
- transform: translateX(-50%);
|
|
|
- width: var(--van-tabs-bottom-bar-width);
|
|
|
- height: var(--van-tabs-bottom-bar-height);
|
|
|
- background: var(--van-tabs-bottom-bar-color);
|
|
|
- border-radius: var(--van-tabs-bottom-bar-height);
|
|
|
+ :global{
|
|
|
+ .van-field{
|
|
|
+ margin: 0 6px;
|
|
|
+ flex-grow: 1;
|
|
|
+ padding: 0;
|
|
|
+ line-height: initial;
|
|
|
+ background: initial;
|
|
|
+ .van-field__control{
|
|
|
+ font-weight: 400;
|
|
|
+ font-size: 13px;
|
|
|
+ color: #131415;
|
|
|
+ &::placeholder{
|
|
|
+ color: #AAAAAA;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
}
|
|
|
-
|
|
|
- .van-tabs__line {
|
|
|
- transition-duration: 0s !important;
|
|
|
- display: none;
|
|
|
+ .searchBtn{
|
|
|
+ flex-shrink: 0;
|
|
|
+ width: 54px;
|
|
|
+ height: 26px;
|
|
|
+ line-height: 26px;
|
|
|
+ text-align: center;
|
|
|
+ background: linear-gradient(to right,#5BECFF,#259CFE);
|
|
|
+ border-radius: 18px;
|
|
|
+ font-weight: 500;
|
|
|
+ font-size: 13px;
|
|
|
+ color: #FFFFFF;
|
|
|
+ cursor: pointer;
|
|
|
+ &:active{
|
|
|
+ opacity: 0.8;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ :global{
|
|
|
+ .van-list{
|
|
|
+ margin-top: 10px;
|
|
|
+ height: calc(100% - 44px);
|
|
|
+ overflow-y: auto;
|
|
|
}
|
|
|
}
|
|
|
-}
|
|
|
-
|
|
|
-.wrap {
|
|
|
- padding: 4px 12px;
|
|
|
}
|
|
|
|
|
|
.item {
|
|
|
display: flex;
|
|
|
align-items: center;
|
|
|
- // height: 41px;
|
|
|
- // border-radius: 7px;
|
|
|
- font-size: 13px;
|
|
|
- font-family: PingFangSC-Regular, PingFang SC;
|
|
|
- font-weight: 400;
|
|
|
- color: #333333;
|
|
|
- line-height: 18px;
|
|
|
- padding: 12px 12px;
|
|
|
- // margin: 10px 0;
|
|
|
-
|
|
|
+ background: #FFFFFF;
|
|
|
+ border-radius: 16px;
|
|
|
+ padding: 6px;
|
|
|
+ margin-bottom: 8px;
|
|
|
+ &.itemActive {
|
|
|
+ background: linear-gradient( 180deg, #FFFFFF 0%, #BFE1FF 100%);
|
|
|
+ box-shadow: 0px 2px 4px 0px #499FE4;
|
|
|
+ border: 3px solid #FFFFFF;
|
|
|
+ .content .name{
|
|
|
+ color: #2EAAFE;
|
|
|
+ }
|
|
|
+ }
|
|
|
.titleImg {
|
|
|
width: 51px;
|
|
|
height: 51px;
|
|
@@ -94,40 +145,58 @@
|
|
|
overflow: hidden;
|
|
|
position: relative;
|
|
|
flex-shrink: 0;
|
|
|
- }
|
|
|
-
|
|
|
- .iconType {
|
|
|
- position: absolute;
|
|
|
- width: 28px;
|
|
|
- height: 14px;
|
|
|
- right: 0;
|
|
|
- top: 0;
|
|
|
- z-index: 9;
|
|
|
- border-top-right-radius: 8px !important;
|
|
|
-
|
|
|
- // &.FREE {
|
|
|
- // background: url('../co-ai/image/icon-music-default.png') no-repeat center;
|
|
|
- // background-size: contain;
|
|
|
- // }
|
|
|
-
|
|
|
- &.VIP {
|
|
|
- background: url('./icon-music-vip.png') no-repeat center;
|
|
|
- background-size: contain;
|
|
|
+ .iconType {
|
|
|
+ position: absolute;
|
|
|
+ width: 28px;
|
|
|
+ height: 14px;
|
|
|
+ right: 0;
|
|
|
+ top: 0;
|
|
|
+ z-index: 9;
|
|
|
+ border-top-right-radius: 8px !important;
|
|
|
+ &.VIP {
|
|
|
+ background: url('./imgs/icon-music-vip.png') no-repeat center;
|
|
|
+ background-size: contain;
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
-
|
|
|
- .author {
|
|
|
- padding-top: 8px;
|
|
|
- font-size: 13px;
|
|
|
- color: #777777;
|
|
|
- line-height: 1;
|
|
|
+ .content{
|
|
|
+ .name{
|
|
|
+ font-weight: 600;
|
|
|
+ font-size: 16px;
|
|
|
+ color: #333333;
|
|
|
+ }
|
|
|
+ .detail{
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ margin-top: 8px;
|
|
|
+ .usedNum{
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ padding: 3px 5px;
|
|
|
+ height: 17px;
|
|
|
+ background: #FFF8F7;
|
|
|
+ border-radius: 4px;
|
|
|
+ border: 1px solid #FFC5C5;
|
|
|
+ >img{
|
|
|
+ width: 8px;
|
|
|
+ height: 11px;
|
|
|
+ }
|
|
|
+ >div{
|
|
|
+ margin-left: 3px;
|
|
|
+ font-weight: 400;
|
|
|
+ font-size: 12px;
|
|
|
+ color: #FF6A6A
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .author {
|
|
|
+ margin-left: 6px;
|
|
|
+ font-weight: 400;
|
|
|
+ font-size: 13px;
|
|
|
+ color: rgba(0,0,0,0.5);
|
|
|
+ }
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
-
|
|
|
-.itemActive {
|
|
|
- background: #ECF9FF;
|
|
|
-}
|
|
|
-
|
|
|
.noData {
|
|
|
display: flex;
|
|
|
justify-content: center;
|
|
@@ -135,5 +204,4 @@
|
|
|
height: 100%;
|
|
|
font-size: 14px;
|
|
|
color: #999999;
|
|
|
- height: 70vh;
|
|
|
}
|