Browse Source

已领用农资 修改页面数据显示和样式

master
邓宏 2 years ago
parent
commit
8855a435e3
  1. 10
      pages/stock/already.vue

10
pages/stock/already.vue

@ -14,6 +14,7 @@
margin-bottom:20rpx;
text{
&:first-child{
flex-shrink: 0;
font-size:20rpx;
color:#fff;
background:#10C176;
@ -28,10 +29,17 @@
font-weight: bold;
}
&:nth-child(3){
flex-shrink: 0;
color:#999;
font-size: 20rpx;
margin-left:6rpx;
}
&:nth-child(4){
flex-shrink: 0;
color:#10C176;
font-size: 24rpx;
margin-left: auto;
}
}
}
&>.name{
@ -78,7 +86,7 @@
<scroll-view scroll-y @scrollotower="search">
<view class="card" v-for="(v,k) in list" :key="k">
<view class="info">
<text>{{v.goodsType}}</text> <text>{{v.substanceName}}</text> <text>({{v.specDescribe}})</text>
<text>{{v.goodsType}}</text> <text class="over">{{v.substanceName}}</text> <text>({{v.specDescribe}})</text> <text>剩余{{v.surplus}}{{v.unit}}</text>
</view>
<view class="name">
<text>{{v.goodsDetailType}}</text> <text class="over">{{v.supplier}}</text>

Loading…
Cancel
Save