|
|
@@ -2311,25 +2311,33 @@
|
|
|
|
|
|
// 单词列表页
|
|
|
.word-list-page{
|
|
|
- width: 100%;height: 100vh;background-color: #00c5fe;position: relative;
|
|
|
+ width: 100%;height: 100vh;position: relative;
|
|
|
padding-top:var(--status-bar-height);display: flex;flex-direction: column;
|
|
|
- @include ezy-no-repeat-cover(bottom);
|
|
|
- .ezy-border-body{
|
|
|
- width: 94%;height: calc(100vh - 230rpx - var(--status-bar-height));margin: 3% 3%;display: flex;flex-direction: column;
|
|
|
- background-color: rgba(255, 255, 255, 0.6);border-radius:0 0 8rpx 8rpx;}
|
|
|
+ .word-body-box{padding: 42rpx 0 0;}
|
|
|
.word-list-swiper-box{
|
|
|
- height: calc(100vh - 256rpx - var(--status-bar-height));overflow-y: auto;
|
|
|
+ height: calc(100vh - 230rpx - var(--status-bar-height));overflow-y: auto;
|
|
|
.word-list-swiper-item{display: flex;flex-direction: column;}
|
|
|
}
|
|
|
- .word-title-box{
|
|
|
- display: flex;flex-shrink: 0;width: 100%;overflow:hidden ;
|
|
|
- line-height: 1.4;box-sizing: border-box;border-bottom: 1rpx dashed #068aea;
|
|
|
- .title-item{
|
|
|
- width: 25%;color: #068aea;font-size: 28rpx;text-align: center;
|
|
|
- position: relative;padding: 12rpx 0;@include single-line-ellipsis}
|
|
|
- .title-item.active{font-weight: bold;}
|
|
|
- .title-item.active::after{content: '';width: 70%;height: 8rpx;display: block;
|
|
|
- background-color:#068aea;bottom: 0rpx;left:15%;position: absolute;border-radius: 8rpx;}
|
|
|
+ .word-tab-box{
|
|
|
+ display: flex;align-items: center;flex-shrink: 0;width: 100%;overflow:hidden;
|
|
|
+ box-sizing: border-box;border-bottom: 1rpx dashed #068aea;padding: 0 0 16rpx;
|
|
|
+ .tab-item-list{flex: 1;display: flex;flex-wrap: nowrap;flex-direction: row;overflow-x: auto;margin: 0 4rpx;}
|
|
|
+ // @include single-line-ellipsis
|
|
|
+ .tab-item{
|
|
|
+ min-width: 148rpx;margin: 10rpx 4rpx;border-radius: 36rpx;
|
|
|
+ border: 1rpx solid #ddd;font-size: 28rpx;text-align: center;
|
|
|
+ position: relative;padding: 16rpx 0;color: #333;line-height: 1;
|
|
|
+ box-shadow: 0 2rpx 8rpx transparent;}
|
|
|
+ .word-jt{width: 50rpx;height: 80rpx;position: relative;flex-shrink: 0;}
|
|
|
+ .word-jt::before{content: '';width:32rpx;height: 32rpx;@include ezy-no-repeat-contain;
|
|
|
+ display:block;background-image: url("@/static/images/common/xbb-item-jt.png");
|
|
|
+ position: absolute;top: 24rpx;
|
|
|
+ }
|
|
|
+ .word-jt.disabled::before{background-image: url("@/static/images/common/xbb-item-jt-white.png");}
|
|
|
+ .jt-left::before{left: 12rpx;transform: rotate(180deg);}
|
|
|
+ .jt-right::before{right: 12rpx;}
|
|
|
+ .tab-item.active{font-weight: bold;background-color: #409eff;border: 1rpx solid #409eff;
|
|
|
+ color: #fff;box-shadow: 0 4rpx 8rpx rgba(6, 138, 234, 0.5);}
|
|
|
}
|
|
|
.word-list-body{flex: 1;overflow-y: auto;box-sizing: border-box;padding: 0 24rpx;}
|
|
|
.no-word-box{font-size: 28rpx;color: #666;flex: 1;display: flex;align-items: center;justify-content: center;}
|