tanxue преди 1 месец
родител
ревизия
99e95d5c67
променени са 1 файла, в които са добавени 6 реда и са изтрити 4 реда
  1. 6 4
      common/styles/global/pages.scss

+ 6 - 4
common/styles/global/pages.scss

@@ -1945,16 +1945,18 @@
 	padding-top:var(--status-bar-height);display: flex;flex-direction: column;
 	@include ezy-no-repeat-cover(bottom);background-image: url("@/static/images/common/ezy-page-bj.png");
 	.ezy-border-body{
-		width: 94%;height: calc(100vh - 170rpx - var(--status-bar-height));margin: 3% 3%;display: flex;flex-direction: column;
+		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-list-swiper-box{
-		height: calc(100vh - 200rpx - var(--status-bar-height));
+		height: calc(100vh - 256rpx - var(--status-bar-height));overflow-y: auto;
 		.word-list-swiper-item{display: flex;flex-direction: column;}
 	}
 	.word-title-box{
-		display: flex;flex-shrink: 0;margin: 0 2%;width: 96%;overflow:hidden ;
+		display: flex;flex-shrink: 0;width: 100%;overflow:hidden ;
 		line-height: 1.4;box-sizing: border-box;border-bottom: 1rpx dashed #068aea;
-		.title-item{margin: 0 18rpx;color: #068aea;font-size: 28rpx;position: relative;padding: 12rpx 24rpx;}
+		.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;}