137 lines
2.5 KiB
Vue
137 lines
2.5 KiB
Vue
<template>
|
||
<view class="replenish-shorts-page">
|
||
<view class="status-bar"></view>
|
||
<view class="page-header">
|
||
<view class="header-side header-side--left" @click="handleBack">
|
||
<u-icon name="arrow-left" size="18" color="#303133"></u-icon>
|
||
<text class="header-action-text">返回</text>
|
||
</view>
|
||
<text class="header-title">分拣缺货补货</text>
|
||
<view class="header-side header-side--right" @click="handleRefresh">
|
||
<text class="header-action-text">刷新</text>
|
||
</view>
|
||
</view>
|
||
|
||
<view class="page-body">
|
||
<view class="empty-card">
|
||
<text class="empty-card__title">页面建设中</text>
|
||
<text class="empty-card__desc">当前已完成顶部栏布局,可继续补充分拣缺货补货业务内容。</text>
|
||
</view>
|
||
</view>
|
||
</view>
|
||
</template>
|
||
|
||
<script>
|
||
export default {
|
||
data() {
|
||
return {
|
||
refreshAt: ''
|
||
};
|
||
},
|
||
onLoad() {
|
||
this.refreshPage();
|
||
},
|
||
methods: {
|
||
handleBack() {
|
||
uni.navigateBack({ delta: 1 });
|
||
},
|
||
handleRefresh() {
|
||
this.refreshPage();
|
||
uni.showToast({
|
||
title: '已刷新',
|
||
icon: 'none'
|
||
});
|
||
},
|
||
refreshPage() {
|
||
this.refreshAt = Date.now();
|
||
}
|
||
}
|
||
};
|
||
</script>
|
||
|
||
<style lang="scss" scoped>
|
||
.replenish-shorts-page {
|
||
min-height: 100vh;
|
||
background: #f5f7fa;
|
||
}
|
||
|
||
.status-bar {
|
||
height: var(--status-bar-height);
|
||
background: #ffffff;
|
||
}
|
||
|
||
.page-header {
|
||
height: 88rpx;
|
||
padding: 0 24rpx;
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: space-between;
|
||
background: #ffffff;
|
||
border-bottom: 1rpx solid #ebeef5;
|
||
box-sizing: border-box;
|
||
}
|
||
|
||
.header-side {
|
||
min-width: 112rpx;
|
||
display: flex;
|
||
align-items: center;
|
||
}
|
||
|
||
.header-side--left {
|
||
justify-content: flex-start;
|
||
}
|
||
|
||
.header-side--right {
|
||
justify-content: flex-end;
|
||
}
|
||
|
||
.header-title {
|
||
flex: 1;
|
||
padding: 0 16rpx;
|
||
font-size: 34rpx;
|
||
font-weight: 600;
|
||
color: #303133;
|
||
text-align: center;
|
||
white-space: nowrap;
|
||
overflow: hidden;
|
||
text-overflow: ellipsis;
|
||
}
|
||
|
||
.header-action-text {
|
||
margin-left: 8rpx;
|
||
font-size: 28rpx;
|
||
color: #303133;
|
||
line-height: 1;
|
||
}
|
||
|
||
.header-side--right .header-action-text {
|
||
margin-left: 0;
|
||
color: #2979ff;
|
||
}
|
||
|
||
.page-body {
|
||
padding: 24rpx;
|
||
}
|
||
|
||
.empty-card {
|
||
padding: 40rpx 32rpx;
|
||
background: #ffffff;
|
||
border-radius: 20rpx;
|
||
box-shadow: 0 8rpx 24rpx rgba(15, 23, 42, 0.05);
|
||
}
|
||
|
||
.empty-card__title {
|
||
display: block;
|
||
font-size: 32rpx;
|
||
font-weight: 600;
|
||
color: #303133;
|
||
}
|
||
|
||
.empty-card__desc {
|
||
display: block;
|
||
margin-top: 16rpx;
|
||
font-size: 26rpx;
|
||
line-height: 1.7;
|
||
color: #606266;
|
||
}
|
||
</style> |