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.

117 lines
2.5 KiB

2 years ago
<style lang="scss" scoped>
2 years ago
.container{
2 years ago
min-height: 100%;
2 years ago
background:#F6F6F6;
2 years ago
padding-bottom:20rpx;
2 years ago
&>.search{
display:flex;
align-items: center;
background:#fff;
2 years ago
margin:0rpx 30rpx;
border-radius: 40rpx;
padding:6rpx;
height:60rpx;
2 years ago
.u-icon{
2 years ago
margin:0 14rpx;
2 years ago
flex-shrink: 0;
}
input{
flex-grow: 1;
}
.u-button{
flex-shrink: 0;
width:max-content;
}
}
&>.item{
display:flex;
&>image{
flex-shrink: 0;
2 years ago
width:164rpx;
height:164rpx;
border-radius: 16rpx;
margin-right:24rpx;
2 years ago
}
&>.info{
flex-grow: 1;
.title{
display:flex;
align-items: center;
font-weight: bold;
text{
margin-left:auto;
color:#333;
}
}
.adder{
color:#999;
2 years ago
font-size:24rpx;
margin-top: 16rpx;
2 years ago
}
.data{
display:flex;
justify-content: space-between;
align-items: center;
2 years ago
margin-top:16rpx;
2 years ago
color:#999;
2 years ago
font-size:24rpx;
2 years ago
text:nth-child(3){
color:#10C176;
font-weight: bold;
2 years ago
font-size: 32rpx;
2 years ago
}
}
.btns{
display: flex;
justify-content: space-between;
align-items: center;
2 years ago
border-top:2rpx solid #D8D8D8;
padding-top:16rpx;
margin-top:20rpx;
2 years ago
text{
color:#999;
2 years ago
font-size:24rpx;
2 years ago
&:before{
color:#10C176;
2 years ago
margin-right:8rpx;
2 years ago
}
}
}
}
}
}
</style>
<template>
2 years ago
<view class="container">
<cu-navbar style="--bg:#10C176;--c:#fff;" text="仓库管理" isBack>
<text class="plant-xinjian" slot="right" @click="$u.route({url:'pages/warehouse/info'})"/>
</cu-navbar>
2 years ago
2 years ago
<d-search style="margin-top:30rpx;"/>
2 years ago
2 years ago
<view class="card item" v-for="i in 1" :key="i" @click="$u.route({url:'pages/warehouse/detail'})">
2 years ago
<image src="https://ts1.cn.mm.bing.net/th?id=OIP-C.wc_dCG_KbIKZwMdtD3gL2QHaEt&w=313&h=199&c=8&rs=1&qlt=90&o=6&pid=3.1&rm=2"/>
<view class="info">
<view class="title">西南角1号仓库 <text class="plant-youbian"/></view>
<view class="adder">种植基地进门右手边第3个</view>
<view class="data">
<text>库存种类x种</text> <text>库存量xkg</text> <text>453</text>
</view>
<view class="btns">
<text class="plant-xiugai">修改</text>
<text class="plant-shanchu">删除</text>
2 years ago
<text class="plant-chakan" @click.stop="$u.route({url:'pages/warehouse/info'})">查看库存</text>
2 years ago
</view>
</view>
</view>
</view>
</template>
<script>
export default {
2 years ago
methods:{
rightClick(){}
}
2 years ago
}
</script>