@ -0,0 +1,237 @@
|
||||
<template>
|
||||
<view class="indexPage">
|
||||
<image class="indexBG" src="@/PDA/static/indexBG.png" mode="widthFix"></image>
|
||||
<view class="indexTitle">
|
||||
<text class="title">高效协同</text>
|
||||
<text class="title">出入库标签管理</text>
|
||||
<text>数据驱动的全流程出入库体系</text>
|
||||
</view>
|
||||
|
||||
<view class="userBox">
|
||||
<view class="userItem">
|
||||
<text class="name">广州力仁数字科技有限公司</text>
|
||||
<text>14715599530</text>
|
||||
</view>
|
||||
<view class="userRight">
|
||||
<image class="logout" src="@/PDA/static/logout.png" mode="aspectFill"></image>
|
||||
<text>退出登录</text>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<view class="card">
|
||||
<view class="cardHead">
|
||||
<text>出库管理</text>
|
||||
</view>
|
||||
<view class="cardBody">
|
||||
<view class="itemBox">
|
||||
<view class="item" @click="$util.redirectTo('./enter/enter')">
|
||||
<image class="itemIcon" src="@/PDA/static/index/c1.png" mode="aspectFill"></image>
|
||||
<view class="itemBottom">
|
||||
<image class="cardFoot" src="@/PDA/static/index/cardFoot.png" mode="aspectFill"></image>
|
||||
<text class="fucName">扫码入库</text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="itemBox">
|
||||
<view class="item">
|
||||
<image class="itemIcon" src="@/PDA/static/index/c2.png" mode="aspectFill"></image>
|
||||
<view class="itemBottom">
|
||||
<image class="cardFoot" src="@/PDA/static/index/cardFoot.png" mode="aspectFill"></image>
|
||||
<text class="fucName">入库记录</text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="itemBox">
|
||||
<view class="item">
|
||||
<image class="itemIcon" src="@/PDA/static/index/c3.png" mode="aspectFill"></image>
|
||||
<view class="itemBottom">
|
||||
<image class="cardFoot" src="@/PDA/static/index/cardFoot.png" mode="aspectFill"></image>
|
||||
<text class="fucName">扫码出库</text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="itemBox">
|
||||
<view class="item">
|
||||
<image class="itemIcon" src="@/PDA/static/index/c4.png" mode="aspectFill"></image>
|
||||
<view class="itemBottom">
|
||||
<image class="cardFoot" src="@/PDA/static/index/cardFoot.png" mode="aspectFill"></image>
|
||||
<text class="fucName">出库记录</text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="itemBox">
|
||||
<view class="item">
|
||||
<image class="itemIcon" src="@/PDA/static/index/c5.png" mode="aspectFill"></image>
|
||||
<view class="itemBottom">
|
||||
<image class="cardFoot" src="@/PDA/static/index/cardFoot.png" mode="aspectFill"></image>
|
||||
<text class="fucName">扫码退货</text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="itemBox">
|
||||
<view class="item">
|
||||
<image class="itemIcon" src="@/PDA/static/index/c6.png" mode="aspectFill"></image>
|
||||
<view class="itemBottom">
|
||||
<image class="cardFoot" src="@/PDA/static/index/cardFoot.png" mode="aspectFill"></image>
|
||||
<text class="fucName">退货记录</text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="itemBox">
|
||||
<view class="item">
|
||||
<image class="itemIcon" src="@/PDA/static/index/c7.png" mode="aspectFill"></image>
|
||||
<view class="itemBottom">
|
||||
<image class="cardFoot" src="@/PDA/static/index/cardFoot.png" mode="aspectFill"></image>
|
||||
<text class="fucName">虚拟垛标</text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<view class="card">
|
||||
<view class="cardHead">
|
||||
<text>标签管理</text>
|
||||
</view>
|
||||
<view class="cardBody">
|
||||
<view class="itemBox">
|
||||
<view class="item">
|
||||
<image class="itemIcon" src="@/PDA/static/index/c8.png" mode="aspectFill"></image>
|
||||
<view class="itemBottom">
|
||||
<image class="cardFoot" src="@/PDA/static/index/cardFoot.png" mode="aspectFill"></image>
|
||||
<text class="fucName">关联标签</text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="itemBox">
|
||||
<view class="item">
|
||||
<image class="itemIcon" src="@/PDA/static/index/c9.png" mode="aspectFill"></image>
|
||||
<view class="itemBottom">
|
||||
<image class="cardFoot" src="@/PDA/static/index/cardFoot.png" mode="aspectFill"></image>
|
||||
<text class="fucName">标签替换</text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="itemBox">
|
||||
<view class="item">
|
||||
<image class="itemIcon" src="@/PDA/static/index/c10.png" mode="aspectFill"></image>
|
||||
<view class="itemBottom">
|
||||
<image class="cardFoot" src="@/PDA/static/index/cardFoot.png" mode="aspectFill"></image>
|
||||
<text class="fucName">流转查询</text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
|
||||
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
.indexPage{
|
||||
width: 100%;
|
||||
position: relative;
|
||||
min-height: 100vh;
|
||||
.indexBG{
|
||||
width: 100%;
|
||||
height: auto;
|
||||
}
|
||||
.indexTitle{
|
||||
position: absolute;
|
||||
top: 14%;
|
||||
left: 0;
|
||||
width: 62%;
|
||||
box-sizing: border-box;
|
||||
padding: 26rpx;
|
||||
@include flexBox(start,start,column);
|
||||
@include fontStyle(28rpx,#FFFFFF,left,400,42rpx);
|
||||
.title{
|
||||
@include fontStyle(52rpx,#FFFFFF,left,800,68rpx);
|
||||
}
|
||||
}
|
||||
}
|
||||
.userBox{
|
||||
position: relative;
|
||||
z-index: 6;
|
||||
margin: -220rpx 26rpx 26rpx;
|
||||
background: linear-gradient( 180deg, #1878FE 0%, #60ADFF 100%);
|
||||
box-shadow: 0rpx 4rpx 7rpx 0rpx rgba(0,0,0,0.08);
|
||||
border-radius: 18rpx 18rpx 18rpx 18rpx;
|
||||
box-sizing: border-box;
|
||||
padding: 26rpx;
|
||||
@include flexBox(between,start);
|
||||
.userItem{
|
||||
flex: 1;
|
||||
@include fontStyle(28rpx,#FFFFFF,left,400,40rpx);
|
||||
.name{
|
||||
@include fontStyle(34rpx,#FFFFFF,left,bold,42rpx);
|
||||
padding-bottom: 10rpx;
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
.userRight{
|
||||
@include flexBox();
|
||||
@include fontStyle(28rpx,#FFFFFF,right,400,40rpx);
|
||||
.logout{
|
||||
width: 28rpx;
|
||||
height: 28rpx;
|
||||
margin-right: 10rpx;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
.card{
|
||||
margin: 46rpx 26rpx;
|
||||
.cardHead{
|
||||
@include fontStyle(32rpx,#000000,left,bold,52rpx);
|
||||
}
|
||||
.cardBody{
|
||||
@include flexBox(start,center);
|
||||
flex-wrap: wrap;
|
||||
.itemBox{
|
||||
width: 25%;
|
||||
.item{
|
||||
width: 154rpx;
|
||||
margin: 0 auto;
|
||||
background: linear-gradient( 180deg, #E2F9FF 0%, #FFFFFF 68%);
|
||||
box-shadow: 0rpx 4rpx 7rpx 0rpx rgba(0,0,0,0.08);
|
||||
border-radius: 18rpx;
|
||||
margin-top: 26rpx;
|
||||
.itemIcon{
|
||||
width: 154rpx;
|
||||
height: 128rpx;
|
||||
border-radius: 18rpx;
|
||||
}
|
||||
.itemBottom{
|
||||
position: relative;
|
||||
height: 80rpx;
|
||||
@include flexBox();
|
||||
.cardFoot{
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 80rpx;
|
||||
border-radius: 0 0 18rpx 18rpx;
|
||||
}
|
||||
.fucName{
|
||||
position: relative;
|
||||
z-index: 2;
|
||||
@include fontStyle(28rpx,#FFFFFF,center,bold,50rpx);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
</style>
|
After Width: | Height: | Size: 927 B |
After Width: | Height: | Size: 22 KiB |
After Width: | Height: | Size: 22 KiB |
After Width: | Height: | Size: 17 KiB |
After Width: | Height: | Size: 25 KiB |
After Width: | Height: | Size: 19 KiB |
After Width: | Height: | Size: 21 KiB |
After Width: | Height: | Size: 18 KiB |
After Width: | Height: | Size: 20 KiB |
After Width: | Height: | Size: 19 KiB |
After Width: | Height: | Size: 23 KiB |
After Width: | Height: | Size: 16 KiB |
After Width: | Height: | Size: 568 KiB |
After Width: | Height: | Size: 453 KiB |
After Width: | Height: | Size: 32 KiB |
After Width: | Height: | Size: 666 B |
After Width: | Height: | Size: 84 KiB |
After Width: | Height: | Size: 2.5 KiB |
@ -0,0 +1,18 @@
|
||||
import { getCurrentInstance } from 'vue'
|
||||
// 导入Uniapp生命周期函数
|
||||
import { onLoad, onShow, onHide, onPageScroll } from '@dcloudio/uni-app'
|
||||
|
||||
// 导出生命周期函数(直接转发,保持原功能)
|
||||
export { onLoad, onShow, onHide, onPageScroll }
|
||||
|
||||
// 导出全局属性访问工具(复用之前的逻辑)
|
||||
export const useGlobal = () => {
|
||||
const instance = getCurrentInstance()
|
||||
if (!instance) {
|
||||
throw new Error('useGlobal 必须在组件 setup 或生命周期中调用')
|
||||
}
|
||||
return {
|
||||
$http: instance.appContext.config.globalProperties.$http,
|
||||
$util: instance.appContext.config.globalProperties.$util
|
||||
}
|
||||
}
|