Browse Source

样式修改

常志远 1 year ago
parent
commit
0b68e5c4d3

+ 1 - 1
pages/parents/course/courseDetails.vue

@@ -748,7 +748,6 @@
 		    display: flex;
 			flex-wrap: wrap;
 			.item{
-				width: 216rpx;
 				height: 64rpx;
 				line-height: 64rpx;
 				text-align: center;
@@ -758,6 +757,7 @@
 				border: 1px solid rgba(13, 186, 199, 1);
 				margin-right: 12rpx;
 				margin-bottom: 16rpx;
+				padding: 0 16rpx;
 			}
 			.item-state2{
 				background-color: rgba(244, 246, 247, 1);

+ 13 - 3
pages/parents/course/shoppingCar.vue

@@ -31,7 +31,7 @@
 				</view>
 				<!-- 课程标签 -->
 				<view class="class-tags" @click="selectShop(item,index)">
-					<view class="item">
+					<view class="item classname">
 						{{item.className}}
 					</view>
 					<view class="item">
@@ -452,8 +452,18 @@
 				display: flex;
 				align-items: center;
 				margin-top: 4rpx;
-
+				
+                 .classname{
+					 width: 220rpx !important;
+					 white-space: nowrap;
+					 overflow: hidden;
+					 text-overflow: ellipsis;
+				 }
 				.item {
+					width: 70rpx;
+					white-space: nowrap;
+					overflow: hidden;
+					text-overflow: ellipsis;
 					color: rgba(119, 119, 119, 1);
 					font-size: 24rpx;
 					margin-right: 8rpx;
@@ -663,7 +673,7 @@
 				flex-wrap: wrap;
 
 				.item {
-					width: 216rpx;
+					padding: 0 8rpx;
 					height: 64rpx;
 					line-height: 64rpx;
 					text-align: center;

+ 1 - 1
pages/parents/homePage/homePage.vue

@@ -797,7 +797,7 @@
 
 					.teacher {
 						display: flex;
-						align-items: center;
+						// align-items: center;
 
 						.photo {
 							// width: 32px;

+ 1 - 0
pages/parents/login/login.vue

@@ -230,6 +230,7 @@
 	page {
 		background-color: #fff;
 	}
+	
 
 	.title {
 		margin-top: 24px;