Browse Source

fix: 🧩 修复问题文字过长时 超出矩形框

pull/18/head
姜鑫 2 years ago
parent
commit
e9e0c3f734
  1. 2
      src/App.vue
  2. 2
      src/components/ScrollListItem/ScrollListItem.vue

2
src/App.vue

@ -26,7 +26,7 @@ function _getCustomerList() {
}
getCustomerList(config.value.smallUrl, params).then(({ code, data }) => {
if (code === HTTP_CODE.ERR_OK) {
customerList.value = [...data.list, ...customerList.value]
customerList.value = data.list
}
})
}

2
src/components/ScrollListItem/ScrollListItem.vue

@ -14,7 +14,7 @@
</div>
{{ formatDate(customer.addTime) }}
</div>
<ScrollView class="relative h-[380px]" scrollbar :list="customer.suggestionContent">
<ScrollView class="relative h-[355px]" scrollbar :list="customer.suggestionContent">
<div class="text-[#C70082] text-24 font-normal leading-normal whitespace-normal pr-[14px]">
<div v-html="customer.suggestionContent"></div>
</div>

Loading…
Cancel
Save