Browse Source

修改列表样式

hella_vue3
niexiting 9 months ago
parent
commit
8e4ce6de11
  1. 3
      src/mycomponents/package/packageCard.vue
  2. 8
      src/mycomponents/package/packageList.vue

3
src/mycomponents/package/packageCard.vue

@ -1,5 +1,6 @@
<template>
<view :class="dataContent.scaned?'scan_view':''" style="background-color: #ffffff; border-bottom: 1upx solid #EEEEEE;">
<view :class="dataContent.scaned?'scan_view':''" style="background-color: #ffffff; ">
<!-- border-bottom: 1upx solid #EEEEEE; -->
<view class="uni-flex uni-row space-between" style="align-items: center">
<!-- uni-inline-item 暂时拿掉-->
<view style="word-break: break-all;">

8
src/mycomponents/package/packageList.vue

@ -6,7 +6,7 @@
<package-card :dataContent="item" :isShowLocation="false"
:isShowFromLocation="false"></package-card>
</template>
<view v-for="(pack,index) in item.packList" :key="pack.id" style="margin:0px 0px 0px 10px; width: 90%;">
<view v-for="(pack,index) in item.packList" :key="pack.id" style=" width: 90%;">
<package-card :dataContent="pack" :isShowLocation="false" :isShowFromLocation="false"
:isShowToLocation="false" :isShowBatch="false"></package-card>
</view>
@ -144,7 +144,9 @@
}
</script>
<style>
.open{
/* background-color: green !important; */
padding-top: 0px !important;
}
</style>
Loading…
Cancel
Save