Commit aca48986 by 李伟康

style(boutique): 移除商品标题文字隐藏样式并优化布局

- 移除了商品标题的 text-hide 样式类
- 为商品状态容器添加圆角和溢出隐藏
- 在商品标题中添加 word-break: break-all 样式以支持长文本换行
1 parent ffe0e8d1
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
@click="changeGoods(i, index)"> @click="changeGoods(i, index)">
<view :class="['goods-status flex']">{{ statusText(i.isMainPush) }}</view> <view :class="['goods-status flex']">{{ statusText(i.isMainPush) }}</view>
<image class="goods-image" :src="i.thumbImageUrl"></image> <image class="goods-image" :src="i.thumbImageUrl"></image>
<view class="goods-title text-hide">{{ i.tabName }}</view> <view class="goods-title">{{ i.tabName }}</view>
<view class="goods-description"> <view class="goods-description">
<rich-text :nodes="i.tabDescription"></rich-text> <rich-text :nodes="i.tabDescription"></rich-text>
</view> </view>
...@@ -174,6 +174,8 @@ export default { ...@@ -174,6 +174,8 @@ export default {
height: toRpx(240); height: toRpx(240);
top: toRpx(24); top: toRpx(24);
left: toRpx(32); left: toRpx(32);
border-radius: toRpx(12);
overflow: hidden;
} }
.goods-title { .goods-title {
...@@ -181,6 +183,7 @@ export default { ...@@ -181,6 +183,7 @@ export default {
font-size: toRpx(30); font-size: toRpx(30);
color: #1A1A2E; color: #1A1A2E;
line-height: toRpx(36); line-height: toRpx(36);
word-break: break-all;
} }
.goods-description { .goods-description {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!