181 lines
4.8 KiB
Vue
181 lines
4.8 KiB
Vue
<template>
|
|
<view class="container">
|
|
<view class="function-list">
|
|
<view class="function-item" @click="navigateTo('/pages/out/ktpout')">
|
|
<view class="icon-box blue">
|
|
<image src="/static/images/tabbar/trayout.png" mode="aspectFit" class="icon-image" style="width: 40rpx; height: 40rpx;"></image>
|
|
</view>
|
|
<view class="function-text">
|
|
<text class="title">{{ $t('outbound.emptyPalletBox.title') }}</text>
|
|
<br/>
|
|
<text class="desc">{{ $t('outbound.emptyPalletBox.desc') }}</text>
|
|
</view>
|
|
</view>
|
|
<view class="function-item" @click="navigateTo('/pages/out/pkout')">
|
|
<view class="icon-box blue">
|
|
<image src="/static/images/tabbar/trayout.png" mode="aspectFit" class="icon-image" style="width: 40rpx; height: 40rpx;"></image>
|
|
</view>
|
|
<view class="function-text">
|
|
<text class="title">{{ $t('outbound.pkout.title') }}</text>
|
|
<br/>
|
|
<text class="desc">{{ $t('outbound.pkout.desc') }}</text>
|
|
</view>
|
|
</view>
|
|
<view class="function-item" @click="navigateTo('/pages/out/ckMakeSureByTray')">
|
|
<view class="icon-box blue">
|
|
<image src="/static/images/tabbar/readyCheck.png" mode="aspectFit" class="icon-image" style="width: 40rpx; height: 40rpx;"></image>
|
|
</view>
|
|
<view class="function-text">
|
|
<text class="title">{{ $t('outbound.ckMakeSureByTray.title') }}</text>
|
|
<br/>
|
|
<text class="desc">{{ $t('outbound.ckMakeSureByTray.desc') }}</text>
|
|
</view>
|
|
</view>
|
|
<view class="function-item" @click="navigateTo('/pages/out/bindShell')">
|
|
<view class="icon-box blue">
|
|
<image src="/static/images/tabbar/readyCheck.png" mode="aspectFit" class="icon-image" style="width: 40rpx; height: 40rpx;"></image>
|
|
</view>
|
|
<view class="function-text">
|
|
<text class="title">{{ $t('outbound.bindShelf.title') }}</text>
|
|
<br/>
|
|
<text class="desc">{{ $t('outbound.bindShelf.desc') }}</text>
|
|
</view>
|
|
</view>
|
|
<view class="function-item" @click="navigateTo('/pages/out/errorout')">
|
|
<view class="icon-box blue">
|
|
<image src="/static/images/tabbar/readyCheck.png" mode="aspectFit" class="icon-image" style="width: 40rpx; height: 40rpx;"></image>
|
|
</view>
|
|
<view class="function-text">
|
|
<text class="title">{{ $t('outbound.exception.title') }}</text>
|
|
<br/>
|
|
<text class="desc">{{ $t('outbound.exception.desc') }}</text>
|
|
</view>
|
|
</view>
|
|
<view class="function-item" @click="navigateTo('/pages/out/move')">
|
|
<view class="icon-box blue">
|
|
<image src="/static/images/tabbar/readyCheck.png" mode="aspectFit" class="icon-image" style="width: 40rpx; height: 40rpx;"></image>
|
|
</view>
|
|
<view class="function-text">
|
|
<text class="title">{{ $t('outbound.move.title') }}</text>
|
|
<br/>
|
|
<text class="desc">{{ $t('outbound.move.desc') }}</text>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</template>
|
|
|
|
<script>
|
|
import tab from '@/plugins/tab'
|
|
|
|
export default {
|
|
data() {
|
|
return {}
|
|
},
|
|
methods: {
|
|
navigateTo(url) {
|
|
tab.navigateTo(url)
|
|
}
|
|
}
|
|
}
|
|
</script>
|
|
|
|
<style lang="scss" scoped>
|
|
.container {
|
|
padding: 20rpx;
|
|
background-color: #f5f7fa;
|
|
min-height: 100vh;
|
|
}
|
|
|
|
.function-list {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 24rpx;
|
|
}
|
|
|
|
.function-item {
|
|
display: flex;
|
|
align-items: center;
|
|
background-color: #fff;
|
|
padding: 32rpx;
|
|
border-radius: 16rpx;
|
|
box-shadow: 0 4rpx 16rpx rgba(0, 0, 0, 0.08);
|
|
transition: all 0.3s ease;
|
|
animation: slideInFromBottom 0.2s ease-out forwards;
|
|
opacity: 0;
|
|
|
|
&:hover {
|
|
transform: translateY(-4rpx);
|
|
box-shadow: 0 8rpx 24rpx rgba(0, 0, 0, 0.12);
|
|
}
|
|
|
|
&:active {
|
|
transform: translateY(0);
|
|
box-shadow: 0 4rpx 16rpx rgba(0, 0, 0, 0.08);
|
|
}
|
|
}
|
|
|
|
.icon-box {
|
|
width: 88rpx;
|
|
height: 88rpx;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
border-radius: 50%;
|
|
margin-right: 32rpx;
|
|
transition: all 0.3s ease;
|
|
|
|
&.blue {
|
|
background: linear-gradient(135deg, #409eff, #3a8ee6);
|
|
box-shadow: 0 6rpx 16rpx rgba(64, 158, 255, 0.25);
|
|
}
|
|
|
|
&:hover {
|
|
transform: rotate(15deg) scale(1.1);
|
|
}
|
|
}
|
|
|
|
.iconfont {
|
|
color: #fff;
|
|
font-size: 44rpx;
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.function-text {
|
|
flex: 1;
|
|
|
|
.title {
|
|
font-size: 34rpx;
|
|
color: #2c3e50;
|
|
font-weight: 600;
|
|
margin-bottom: 10rpx;
|
|
letter-spacing: 1rpx;
|
|
}
|
|
|
|
.desc {
|
|
font-size: 26rpx;
|
|
color: #7f8c8d;
|
|
letter-spacing: 0.5rpx;
|
|
}
|
|
}
|
|
|
|
@keyframes slideInFromBottom {
|
|
from {
|
|
transform: translateY(100%);
|
|
opacity: 0;
|
|
}
|
|
to {
|
|
transform: translateY(0);
|
|
opacity: 1;
|
|
}
|
|
}
|
|
|
|
.function-item:nth-child(1) { animation-delay: 0.1s; }
|
|
.function-item:nth-child(2) { animation-delay: 0.2s; }
|
|
.function-item:nth-child(3) { animation-delay: 0.3s; }
|
|
.function-item:nth-child(4) { animation-delay: 0.4s; }
|
|
.function-item:nth-child(5) { animation-delay: 0.5s; }
|
|
.function-item:nth-child(6) { animation-delay: 0.6s; }
|
|
|
|
</style>
|