tanxue 1 ヶ月 前
コミット
66b1ce1462
2 ファイル変更2 行追加1 行削除
  1. 1 0
      common/styles/global/pages.scss
  2. 1 1
      pages/selectGradesTerms/index.vue

+ 1 - 0
common/styles/global/pages.scss

@@ -212,6 +212,7 @@
 			box-sizing: border-box;padding: 0 36rpx;text-align: center;
 			position: absolute;z-index: 3;left: 0;bottom: -22rpx;color: #fff;
 			display: flex;align-items: center;justify-content: center;
+			text{@include multi-line-ellipsis(2);}
 		}
 		
 	}

+ 1 - 1
pages/selectGradesTerms/index.vue

@@ -15,7 +15,7 @@
 					<view v-for="item in xuekeList" :key="item.id" :id="`s_${item.id}`"  @click="handleSelectGrade(item)"
 						:class="['subject-item', {active: item.id == activeProduct}]">
 							<img :src="item.cover" class="subject-item-img" />
-							<view class="subject-item-text">{{item.lable}}</view>
+							<view class="subject-item-text"><text>{{item.lable}}</text></view>
 					</view>
 				</view>
 			<!-- </view> -->