Browse Source

style: 🎨 样式调优

pull/3/head
姜鑫 3 years ago
parent
commit
5e2e8c6dbf
  1. 2
      src/components/ScrollList/ScrollList.vue
  2. 3
      src/components/ScrollListItem/ScrollListItem.vue

2
src/components/ScrollList/ScrollList.vue

@ -13,7 +13,7 @@
<ScrollListItem v-for="item of customerList" :key="item.addTime" :customer="item" />
<div class="flex-center row-span-2" :class="[isFirst ? 'col-end-[56]' : '']">
<Loading v-if="loading" />
<div v-if="loaded && customerList.length >= total && customerList.length" class="text-24 text-zinc-900 tb">没有更多数据</div>
<div v-if="loaded && customerList.length >= total && customerList.length" class="text-24 text-gray-400 tb">没有更多数据</div>
</div>
</div>
<img

3
src/components/ScrollListItem/ScrollListItem.vue

@ -6,7 +6,8 @@
</div>
<ScrollView class="relative h-[356px]" scrollbar :list="[]">
<div class="text-justify text-[#C70082] text-16 font-normal leading-normal whitespace-normal pr-[14px]">
Q:{{ customer.suggestionContent }}
Q:
<div>{{ customer.suggestionContent }}</div>
</div>
</ScrollView>
</div>

Loading…
Cancel
Save