From 1e5646aadae902d9f9043cc0d79395bf6b06a38c Mon Sep 17 00:00:00 2001
From: 曹睿 <360930172@qq.com>
Date: 星期一, 21 四月 2025 14:46:59 +0800
Subject: [PATCH] feat: 完成框架
---
src/pages/production/twist/report/index.vue | 19 ++++++++++++++-----
1 files changed, 14 insertions(+), 5 deletions(-)
diff --git a/src/pages/production/twist/report/index.vue b/src/pages/production/twist/report/index.vue
index 602f50a..db4ab66 100644
--- a/src/pages/production/twist/report/index.vue
+++ b/src/pages/production/twist/report/index.vue
@@ -1,7 +1,9 @@
<template>
<view class="page pt-2">
- <CardTitle title="鎶ュ伐淇℃伅" :hideAction="true" @action="addReport" />
- <view class="list">
+ <z-paging ref="paging" refresher-only class="list">
+ <template #top>
+ <CardTitle title="鎶ュ伐淇℃伅" :hideAction="true" :full="false" @action="addReport" />
+ </template>
<wd-card v-for="(item, index) in 6" type="rectangle" custom-class="round">
<template #title>
<view class="flex justify-between">
@@ -14,9 +16,12 @@
</view>
</template>
<ProductionCard :data="cardAttr" />
+ <template #footer>
+ <wd-button size="small" plain @click="toCheck">鑷</wd-button>
+ </template>
</wd-card>
<wd-loadmore custom-class="loadmore" state="loading" />
- </view>
+ </z-paging>
<wd-popup v-model="dialog.visible" position="bottom" custom-class="yl-popup">
<view class="action px-3">
@@ -97,6 +102,12 @@
toast.show("鍙栨秷");
dialog.visible = false;
};
+
+const toCheck = () => {
+ uni.navigateTo({
+ url: "/pages/production/twist/selfInspect/index",
+ });
+};
</script>
<style lang="scss" scoped>
@@ -104,9 +115,7 @@
background: #f3f9f8;
.list {
- height: calc(100vh - 120px);
margin: 12px;
- overflow: scroll;
:deep() {
.round {
--
Gitblit v1.9.3