Browse Source

上传

master
前端-胡立永 7 months ago
parent
commit
bd5d3f3a3f
1 changed files with 5 additions and 1 deletions
  1. +5
    -1
      pages/index/category.vue

+ 5
- 1
pages/index/category.vue View File

@ -21,7 +21,7 @@
mode="aspectFill"></image> mode="aspectFill"></image>
</view> </view>
<view class="item-unit"> <view class="item-unit">
<text class="text">{{item.name}}</text>
{{ item.name }}
</view> </view>
</view> </view>
</view> </view>
@ -164,9 +164,13 @@
} }
.item-unit { .item-unit {
width: 120rpx;
font-size: 24rpx; font-size: 24rpx;
margin-top: 15rpx; margin-top: 15rpx;
color: #555; color: #555;
overflow:hidden; //
text-overflow:ellipsis; //
white-space:nowrap; //
} }
} }


Loading…
Cancel
Save