|
@@ -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;
|