Browse Source

供货列表优化间距

pull/97/head
rainbro 1 month ago
parent
commit
5c99ae3e6e
  1. 9
      src/views/agent/home.vue

9
src/views/agent/home.vue

@ -67,7 +67,8 @@
</div> </div>
<div class="list-wrap" style="overflow: auto;height:410px"> <div class="list-wrap" style="overflow: auto;height:410px">
<div v-for="verid in vers" :key="verid" class="item-list"> <div v-for="verid in vers" :key="verid" class="item-list">
<p class="item-list-name" v-if="ver2types[verid] && ver2types[verid].length>1">{{ ver2info[verid].name }}</p> <p class="item-list-name mt-16" v-if="ver2types[verid] && ver2types[verid].length>1">{{ ver2info[verid].name }}</p>
<p v-else></p>
<p class="flex-between" v-for="type in ver2types[verid]" :key="type"> <p class="flex-between" v-for="type in ver2types[verid]" :key="type">
{{ type2name[type] }} {{ type2name[type] }}
<span>{{ supplyPriceList[type].price }} / {{ supplyPriceList[type].unit_format }}</span> <span>{{ supplyPriceList[type].price }} / {{ supplyPriceList[type].unit_format }}</span>
@ -512,8 +513,12 @@ a {
} }
} }
.item-list { .mt-16 {
margin-top: 16px; margin-top: 16px;
}
.item-list {
// margin-top: 16px;
text-align: left; text-align: left;
line-height: 18px; line-height: 18px;

Loading…
Cancel
Save