jufubao-gift 1.0.33-beta2 → 1.0.34

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jufubao-gift",
3
- "version": "1.0.33-beta2",
3
+ "version": "1.0.34",
4
4
  "private": false,
5
5
  "description": "聚福宝业务组件礼包插件包",
6
6
  "main": "index.js",
@@ -46,9 +46,11 @@
46
46
  <image :src="item.thumb" mode="aspectFill"/>
47
47
  </view>
48
48
  <view class="item_cont">
49
- <view class="gift_name" :style="{
50
- color: listTextColor,
51
- }">{{item.gift_name}}</view>
49
+ <view class="gift_nw">
50
+ <view class="gift_name" :style="{
51
+ color: listTextColor,
52
+ }">{{item.gift_name}}</view>
53
+ </view>
52
54
  <view v-if="showPrice === 'Y'" class="gift_price">
53
55
  <xd-unit :price="item.market_price" :isOld="false"></xd-unit>
54
56
  </view>
@@ -320,8 +322,17 @@
320
322
  .item_cont{
321
323
  flex: 1;
322
324
  font-size: 28rpx;
325
+ .gift_nw{
326
+ height: 80rpx;
327
+ }
323
328
  .gift_name{
324
- .uni-cut(2, 80);
329
+ overflow: hidden;
330
+ text-overflow: ellipsis;
331
+ display: flex;
332
+ display: -webkit-box;
333
+ line-clamp: 2;
334
+ -webkit-line-clamp: 2;
335
+ -webkit-box-orient: vertical;
325
336
  word-break: break-all;
326
337
  }
327
338
  }