You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

88 lines
1.7 KiB

2 years ago
<style lang="scss">
2 years ago
.container{
2 years ago
min-height: 100%;
background:#f6f6f6;
padding:30rpx 0;
.card{
margin-top:0;
&>.head{
display:flex;
align-items: center;
border-bottom: 2rpx solid #D8D8D8;
padding-bottom:20rpx;
text{
&:first-child{
flex-shrink: 0;
color:#10C176;
margin-right:20rpx;
}
&:nth-child(2){
flex-grow: 1;
color:#10C176;
}
&:nth-child(3){
flex-shrink: 0;
color:#FBB65C;
margin-left:10rpx;
}
}
}
&>.plant-youbian{
margin-top:20rpx;
display:flex;
flex-direction: row-reverse;
align-items: center;
justify-content: flex-end;
text{
flex-grow: 1;
font-weight: bold;
display:flex;
align-items: center;
&:after{
content:"("attr(data-unit)")";
font-size:20rpx;
color:#999;
margin-left:6rpx;
}
}
}
&>.company{
margin-top:12rpx;
display: flex;
align-items: center;
justify-content: space-between;
text{
&:first-child{
font-size:24rpx;
color:#999;
}
&:nth-child(2){
color:#10C176;
}
}
}
}
}
</style>
<template>
2 years ago
<view class="container">
2 years ago
<view class="card" @click="$u.route({url:'pages/stock/goods_detail'})">
<view class="head">
<text class="plant-rili"/> <text>批次号A23366683</text> <text>领用出库</text>
</view>
<view class="plant-youbian"> <text data-unit="100kg/">中量元素水溶肥</text> </view>
<view class="company">
<text>云南云天化股份有限公司</text> <text>2(共200kg)</text>
</view>
</view>
</view>
</template>
<script>
export default {
data(){
return{
}
}
}
</script>