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.
123 lines
2.8 KiB
123 lines
2.8 KiB
2 years ago
|
<style lang="scss" scoped>
|
||
|
.content{
|
||
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="content">
|
||
|
|
||
|
<u-navbar @rightClick="rightClick" leftIconColor="#fff" :autoBack="true" bgColor="#10C176">
|
||
2 years ago
|
<view slot="center" style="color:#fff;">仓库管理</view>
|
||
2 years ago
|
<view slot="right" @click="$u.route({url:'pages/warehouse/info'})"> <text class="plant-xinjian" style="color:#fff;"/> </view>
|
||
2 years ago
|
</u-navbar>
|
||
2 years ago
|
|
||
2 years ago
|
<view class="search">
|
||
|
<u-icon name="search" color="#999999" size="20"/>
|
||
|
<input placeholder="请输入搜索内容"/>
|
||
|
<u-button type="primary" shape="circle" color="#10C176" text="搜索" size="mini"></u-button>
|
||
|
</view>
|
||
|
|
||
2 years ago
|
<view class="card item" v-for="i in 1" :key="i" @click="$u.route({url})">
|
||
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.rotue({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>
|