diff --git a/pages/activity/newPeople.vue b/pages/activity/newPeople.vue index 6623037..52f5591 100644 --- a/pages/activity/newPeople.vue +++ b/pages/activity/newPeople.vue @@ -75,7 +75,7 @@ data() { return { title: "新人首单礼", - current: 1, + current: 0, isLoading: true, background: { background: 'url(https://www.royaum.com.cn/static/news/newPeople-bg.png) center top no-repeat', @@ -237,7 +237,7 @@ .b { padding: 20rpx; overflow: hidden; - + white-space: nowrap; display: flex; justify-content: space-between; @@ -349,9 +349,12 @@ font-family: PingFang SC, PingFang SC; font-weight: 400; color: #1E1E1E; - // text-overflow: ellipsis; - // white-space: nowrap; - // overflow: hidden; + display: -webkit-box; + -webkit-box-orient: vertical; + overflow: hidden; + -webkit-line-clamp: 2; + height: 90rpx; + line-height: 45rpx; text { background-color: #F34A40; diff --git a/pages/goods/detail.vue b/pages/goods/detail.vue index 1febc94..ec3ca71 100644 --- a/pages/goods/detail.vue +++ b/pages/goods/detail.vue @@ -75,7 +75,7 @@ {{goods.skuList[0].goods_sku_id}} - + {{goods.goods_no}}