You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
175 lines
3.9 KiB
Vue
175 lines
3.9 KiB
Vue
2 years ago
|
<template>
|
||
|
<view class="page-raw">
|
||
|
<view class="header">
|
||
|
<view class="left">
|
||
|
<u-icon class="icon" color="white" name="arrow-left" @click="uni.navigateBack({})" />
|
||
|
</view>
|
||
|
<view>
|
||
|
<u-avatar :src="src" size="large"></u-avatar>
|
||
|
<view>张三</view>
|
||
|
<view>仓库管理员 ID:0000001</view>
|
||
|
</view>
|
||
|
</view>
|
||
|
<view class="container">
|
||
|
<view class="title">
|
||
|
<view>
|
||
|
<view>7</view>
|
||
|
<view class="title-list">待收货</view>
|
||
|
</view>
|
||
|
<view class="shuxian"></view>
|
||
|
<view>
|
||
|
<view>20</view>
|
||
|
<view class="title-list">待入库</view>
|
||
|
</view>
|
||
|
<view class="shuxian"></view>
|
||
|
<view>
|
||
|
<view>11</view>
|
||
|
<view class="title-list">待出库</view>
|
||
|
</view>
|
||
|
<view class="shuxian"></view>
|
||
|
<view>
|
||
|
<view>3</view>
|
||
|
<view class="title-list">待盘点</view>
|
||
|
</view>
|
||
|
</view>
|
||
|
</view>
|
||
|
<view class="astyle">
|
||
|
<view> 检查更新 </view>
|
||
|
<!-- <u-button
|
||
|
@click.native="
|
||
|
uni.navigateTo({
|
||
|
url: `/pages/lanju/mes/ProductionQtyInsp/index`,
|
||
|
})
|
||
|
"
|
||
|
>
|
||
|
<u-icon size="80" name="/static/icons/icon-02.png"></u-icon>
|
||
|
<text class="name">生产质检 </text>
|
||
|
</u-button> -->
|
||
|
</view>
|
||
|
<view class="astyle">
|
||
|
<view @click="session.logout()"> 退出登录 </view>
|
||
|
</view>
|
||
|
</view>
|
||
|
</template>
|
||
|
|
||
|
<script lang="ts">
|
||
|
import { Component } from 'vue-property-decorator';
|
||
|
import { BasePage } from '@/components/base/page';
|
||
|
import dayjs from 'dayjs';
|
||
|
import model from './model';
|
||
|
//import { session } from '@/store/modules/session';
|
||
|
|
||
|
@Component
|
||
|
export default class RawHome extends BasePage {
|
||
|
model = model;
|
||
|
src: 'http://pic2.sc.chinaz.com/Files/pic/pic9/202002/hpic2119_s.jpg';
|
||
|
today = dayjs().format('YYYY-MM-DD dddd');
|
||
|
onLoad() {
|
||
|
// this.model.getMenuList();
|
||
|
}
|
||
|
}
|
||
|
</script>
|
||
|
|
||
|
<style lang="scss" scoped>
|
||
|
.page-raw {
|
||
|
background-color: #f4f7fc;
|
||
|
min-height: 100%;
|
||
|
|
||
|
.header {
|
||
|
// background-color: #d9001b;
|
||
|
background-image: url(../../static/images/me.jpeg);
|
||
|
background-size: 100% 100%;
|
||
|
background-repeat: no-repeat;
|
||
|
height: 600rpx;
|
||
|
display: flex;
|
||
|
align-items: center;
|
||
|
justify-content: center;
|
||
|
text-align: center;
|
||
|
.left {
|
||
|
position: absolute;
|
||
|
left: 10rpx;
|
||
|
top: 10rpx;
|
||
|
}
|
||
|
|
||
|
//padding: 60rpx 30rpx 40rpx;
|
||
|
//color: #fff;
|
||
|
//box-shadow: 0 1rpx 5rpx #6b90ef;
|
||
|
.welcome {
|
||
|
display: flex;
|
||
|
justify-content: space-between;
|
||
|
|
||
|
.name {
|
||
|
font-size: 44rpx;
|
||
|
font-weight: 500;
|
||
|
margin-left: 62rpx;
|
||
|
}
|
||
|
.logout {
|
||
|
border: 2rpx solid;
|
||
|
width: 100rpx;
|
||
|
border-radius: 8rpx;
|
||
|
text-align: center;
|
||
|
}
|
||
|
}
|
||
|
.date {
|
||
|
margin-top: 30rpx;
|
||
|
font-size: 28rpx;
|
||
|
font-weight: 400;
|
||
|
opacity: 0.7;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
.container {
|
||
|
margin-top: -86rpx;
|
||
|
.title {
|
||
|
display: flex;
|
||
|
background-color: #ffffff;
|
||
|
height: 100px;
|
||
|
flex-direction: row;
|
||
|
justify-content: space-around;
|
||
|
margin: auto;
|
||
|
margin: auto;
|
||
|
text-align: center;
|
||
|
padding: 54rpx;
|
||
|
.shuxian {
|
||
|
height: 36rpx;
|
||
|
border: 1rpx solid #797979;
|
||
|
margin-top: 10rpx;
|
||
|
}
|
||
|
.title-list {
|
||
|
color: #797979;
|
||
|
}
|
||
|
}
|
||
|
.u-row {
|
||
|
}
|
||
|
.u-col {
|
||
|
margin-bottom: 30rpx;
|
||
|
}
|
||
|
.u-btn {
|
||
|
height: 160rpx;
|
||
|
padding: 0 30rpx;
|
||
|
border: 1px solid #f0f5fc;
|
||
|
color: #42465a;
|
||
|
font-size: 30rpx;
|
||
|
font-weight: 400;
|
||
|
&:after {
|
||
|
border-color: #f0f5fc;
|
||
|
border-radius: 4rpx;
|
||
|
}
|
||
|
.name {
|
||
|
flex: 1;
|
||
|
margin-left: 32rpx;
|
||
|
text-align: left;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
.astyle {
|
||
|
background-color: #ffffff;
|
||
|
padding: 32rpx;
|
||
|
margin-top: 4rpx;
|
||
|
text-align: center;
|
||
|
border: 1rpx solid #F2F2F2;
|
||
|
border-radius: 8rpx;
|
||
|
}
|
||
|
}
|
||
|
</style>
|