@@ -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);
@@ -31,7 +31,7 @@
</view>
<!-- 课程标签 -->
<view class="class-tags" @click="selectShop(item,index)">
- <view class="item">
+ <view class="item classname">
{{item.className}}
<view class="item">
@@ -452,8 +452,18 @@
align-items: center;
margin-top: 4rpx;
-
+
+ .classname{
+ width: 220rpx !important;
+ white-space: nowrap;
+ overflow: hidden;
+ text-overflow: ellipsis;
+ }
.item {
+ width: 70rpx;
color: rgba(119, 119, 119, 1);
font-size: 24rpx;
margin-right: 8rpx;
@@ -663,7 +673,7 @@
+ padding: 0 8rpx;
@@ -797,7 +797,7 @@
.teacher {
- align-items: center;
+ // align-items: center;
.photo {
// width: 32px;
@@ -230,6 +230,7 @@
page {
background-color: #fff;
.title {
margin-top: 24px;