Browse Source

采收记录、交易记录 列表添加批次号

master
邓宏 1 year ago
parent
commit
e92fda4bb5
  1. 14
      pages/massif/mana/recovery.vue
  2. 14
      pages/massif/mana/transactions.vue

14
pages/massif/mana/recovery.vue

@ -42,6 +42,16 @@
.card{
margin-top:0;
&>.batch{
color:#10C176;
border-bottom:2rpx solid rgba(216, 216, 216, 0.3);
margin-bottom:24rpx;
padding-bottom:10rpx;
&:before{
margin-right:10rpx;
}
}
&>.content{
display:flex;
.u-transition{
flex-shrink: 0;
@ -107,6 +117,7 @@
}
}
}
}
.u-popup{
flex:0;
}
@ -118,6 +129,8 @@
<scroll-view scroll-y @scrolltolower="search">
<view class="card" v-for="(v,k) in list" :key="k">
<view class="batch plant-a-zu224211">{{v.harvestBatch}}</view>
<view class="content">
<u-image width="90rpx" height="90rpx" radius="6rpx" mode="aspectFill" :src="`${host}/${v.images}`">
<text slot="error" style="font-size:45rpx;" class="plant-xiaopangchetupianjiazaishibai"/>
</u-image>
@ -133,6 +146,7 @@
</view>
</view>
</view>
</view>
<u-empty v-if="list.length==0" text="为查询到相关信息" width="70%" icon="/static/noData.png"/>
</scroll-view>
</view>

14
pages/massif/mana/transactions.vue

@ -42,6 +42,16 @@
.card{
margin-top:0;
&>.batch{
color:#10C176;
border-bottom:2rpx solid rgba(216, 216, 216, 0.3);
margin-bottom:24rpx;
padding-bottom:10rpx;
&:before{
margin-right:10rpx;
}
}
&>.content{
display: flex;
.u-transition{
margin-right:20rpx;
@ -76,6 +86,7 @@
}
}
}
}
.u-popup{
flex:0;
}
@ -87,6 +98,8 @@
<scroll-view scroll-y @scrolltolower="search">
<view class="card" v-for="(v,k) in list" :key="k">
<view class="batch plant-a-zu224211">{{v.harvestBatch}}</view>
<view class="content">
<u-image radius="20rpx" width="130rpx" height="118rpx" mode="aspectFill" :src="`${host}/${v.images[0]}`">
<text slot="error" style="font-size:45rpx;" class="plant-xiaopangchetupianjiazaishibai"/>
</u-image>
@ -102,6 +115,7 @@
</view>
</view>
</view>
</view>
<u-empty v-if="list.length<=0" text="为查询到相关信息" width="70%" icon="/static/noData.png"/>
</scroll-view>

Loading…
Cancel
Save