Bladeren bron

商品详情页标题显示两行

DELL 3 jaren geleden
bovenliggende
commit
cab5ac280a
1 gewijzigde bestanden met toevoegingen van 1 en 19 verwijderingen
  1. 1 19
      src/packageGoods/goods/detail.vue

+ 1 - 19
src/packageGoods/goods/detail.vue

@@ -15,12 +15,7 @@
 			<!-- 详情 -->
 			<view class="detail-info flex">
 				<view class="detail-info-left">
-					<!-- #ifdef MP-ALIPAY -->
-					<view class="detail-info-left__titletwo">{{ info.title }}</view>
-					<!-- #endif -->
-					<!-- #ifndef MP-ALIPAY -->
-					<view class="detail-info-left__title">{{ info.title }}</view>
-					<!-- #endif -->
+					<view class="detail-info-left__title ells">{{ info.title }}</view>
 					<view class="detail-info-left__coin">
 						<view class="content flex">
 							<image src="../../static/public/goods_coin.png" mode="scaleToFill"></image>
@@ -285,24 +280,11 @@
 				flex: 1;
 				
 				&__title {
-					width: 100%;
-					font-size: 34rpx;
-					line-height: 34rpx;
-					margin-bottom: 26rpx;
-					font-weight: bold;
-					white-space: nowrap;
-					overflow: hidden;
-					text-overflow: ellipsis;
-				}
-				&__titletwo {
 					width: 100%;
 					font-size: 34rpx;
 					line-height: 40rpx;
 					margin-bottom: 26rpx;
 					font-weight: bold;
-					white-space: nowrap;
-					overflow: hidden;
-					text-overflow: ellipsis;
 				}
 				
 				&__coin {