From 6fdce408c4994419a98ef6441abea51e8f5476e0 Mon Sep 17 00:00:00 2001
From: caill <815519168@qq.com>
Date: Tue, 12 Mar 2024 15:23:12 +0800
Subject: [PATCH] =?UTF-8?q?=E7=94=9F=E4=BA=A7=E4=B8=8B=E6=96=99=E3=80=81?=
=?UTF-8?q?=E7=82=B9=E4=BD=8D=E6=9B=B4=E6=96=B0?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
App.vue | 5 +-
common/style/{layout.css => layout.styl} | 140 ++-------------------
common/style/reset.css | 2 +-
common/style/uni.css | 12 --
components/NavBar.vue | 13 +-
components/SearchBox.vue | 23 ++--
components/SearchBox1.vue | 110 ----------------
components/SearchBoxMx.vue | 88 -------------
package.json | 4 +-
pages.json | 70 +++--------
pages/home/home.vue | 12 +-
pages/login/login.vue | 9 +-
pages/manage/{ => back}/in-storage.vue | 0
pages/manage/{ => back}/man-group-disk.vue | 0
pages/manage/{ => back}/out-storage.vue | 0
pages/manage/{ => back}/search-mater-1.vue | 0
pages/manage/{ => back}/search-mater.vue | 0
pages/manage/{ => back}/task-flow.vue | 0
pages/manage/empty-tray-in.vue | 8 +-
pages/manage/empty-tray-out.vue | 8 +-
pages/manage/group-in-storage.vue | 13 +-
pages/manage/mater-out-storage.vue | 12 +-
pages/manage/point-update.vue | 127 +++++++++++++++++++
pages/manage/produce-cut.vue | 99 +++++++++++++++
static/iconfont/iconfont.ttf | Bin 3896 -> 0 bytes
static/iconfont/iconfont.woff | Bin 2524 -> 0 bytes
static/iconfont/iconfont.woff2 | Bin 2060 -> 0 bytes
utils/getData2.js | 74 ++++++++---
utils/request.js | 2 +-
vuex/modules/user.js | 1 +
yarn.lock | 4 -
31 files changed, 373 insertions(+), 463 deletions(-)
rename common/style/{layout.css => layout.styl} (78%)
delete mode 100644 common/style/uni.css
delete mode 100644 components/SearchBox1.vue
delete mode 100644 components/SearchBoxMx.vue
rename pages/manage/{ => back}/in-storage.vue (100%)
rename pages/manage/{ => back}/man-group-disk.vue (100%)
rename pages/manage/{ => back}/out-storage.vue (100%)
rename pages/manage/{ => back}/search-mater-1.vue (100%)
rename pages/manage/{ => back}/search-mater.vue (100%)
rename pages/manage/{ => back}/task-flow.vue (100%)
create mode 100644 pages/manage/point-update.vue
create mode 100644 pages/manage/produce-cut.vue
delete mode 100644 static/iconfont/iconfont.ttf
delete mode 100644 static/iconfont/iconfont.woff
delete mode 100644 static/iconfont/iconfont.woff2
diff --git a/App.vue b/App.vue
index f6ef8a2..58b029a 100644
--- a/App.vue
+++ b/App.vue
@@ -17,9 +17,8 @@
}
-
diff --git a/common/style/layout.css b/common/style/layout.styl
similarity index 78%
rename from common/style/layout.css
rename to common/style/layout.styl
index 35239e3..d37891a 100644
--- a/common/style/layout.css
+++ b/common/style/layout.styl
@@ -1,3 +1,4 @@
+@import './mixin.styl';
page {
background-color: #f2f5fa !important;
min-height: 100% !important;
@@ -10,130 +11,6 @@ uni-page-body {
uni-button:after {
border: none;
}
-/** iconfont */
-@font-face {
- font-family: 'iconfont';
- src: url('@/static/iconfont/iconfont.woff2?t=1665454521636') format('woff2'),
- url('@/static/iconfont/iconfont.woff?t=1665454521636') format('woff'),
- url('@/static/iconfont/iconfont.ttf?t=1665454521636') format('truetype');
-}
-.iconfont {
- font-family: "iconfont" !important;
- font-size: 50rpx;
- color: #000;
- font-style: normal;
- -webkit-font-smoothing: antialiased;
- -moz-osx-font-smoothing: grayscale;
-}
-.icon_eye_close {
- color: #bbb;
-}
-.icon_eye_active {
- color: #ff6a00;
-}
-.icon_unchecked {
- color: #fff;
- width: 32rpx;
- height: 32rpx;
- background-color: #fff;
- font-size: 24rpx;
- border: 1rpx solid #bbb;
-}
-.icon_checked {
- color: #ff6a00;
- border: 1rpx solid #ff6a00;
-}
-.icon_choosed {
- position: absolute;
- bottom: 0;
- right: 0;
- padding: 4rpx 10rpx;
- line-height: 20rpx;
- font-size: 20rpx;
- color: #fff;
- border: 1rpx solid #ff6a00;
- background-color: #ff6a00;
- border-top-left-radius: 10rpx;
- border-bottom-right-radius: 10rpx;
-}
-.icon_back {
- font-size: 52rpx;
- line-height: 52rpx;
- color: #fff;
-}
-.icon_home {
- font-size: 52rpx;
- line-height: 52rpx;
- color: #fff;
-}
-.icon_scan {
- width: 60rpx;
- height: 80rpx;
- font-size: 48rpx;
- line-height: 80rpx;
- color: #4e6ef2;
- text-align: center;
-}
-.icon_phone {
- width: 48rpx;
- height: 48rpx;
- font-size: 36rpx;
- line-height: 48rpx;
- color: #323232;
- text-align: center;
-}
-.icon_del {
- width: 46rpx;
- height: 48rpx;
- font-size: 46rpx;
- line-height: 48rpx;
- color: #323232;
- text-align: center;
-}
-.icon_search {
- width: 48rpx;
- height: 48rpx;
- font-size: 40rpx;
- color: #323232;
- line-height: 48rpx;
-}
-.cancel_icon::before {
- content: "\e6db";
-}
-.cancel_icon {
- display: block;
- width: 60rpx;
- height: 60rpx;
- font-size: 40rpx;
- color: #000;
- line-height: 60rpx;
- text-align: center;
- border: 1px solid #999;
- border-radius: 50%;
- transform: rotate(-90deg);
-}
-.icon_start_point {
- width: 46rpx;
- height: 46rpx;
- font-size: 26rpx;
- line-height: 46rpx;
- background-color: #ff6a00;
- color: #fff;
- border-radius: 50%;
-}
-.icon_vdash_line {
- width: 46rpx;
- height: 26rpx;
- font-size: 26rpx;
- line-height: 26rpx;
- text-align: center;
- color: #ff6a00;
-}
-.icon_right {
- text-align: right;
- font-size: 28rpx;
- color: rgb(153, 153, 153);
-}
/** 内容 */
.zd_container {
@@ -146,8 +23,6 @@ uni-button:after {
width: 100%;
height: auto;
padding: 20rpx 14rpx 140rpx 14rpx;
- /* background: linear-gradient(to bottom, #ff6400 0%, #fee4d7 30%, #f6f6f6 100%) */
- background-color: #f6f6f6;
}
.zd_wrapper {
width: 100%;
@@ -294,9 +169,6 @@ uni-button:after {
color: #7d7d7d;
background: #fff;
}
-.slide_new table tbody tr.checked td {
- background-color: #f9efb6;
-}
.slide_new table tbody tr td .td_input {
width: 150rpx;
font-size: 28rpx;
@@ -308,8 +180,9 @@ uni-button:after {
box-shadow: 0 0 0 2px rgba(136, 157, 199,.2);
border-radius: 10rpx;
}
-.slide_new table tbody tr td.fontcol1 {
+.slide_new table thead tr th.fontcol1,.slide_new table tbody tr td.fontcol1 {
color: #4e6ef2;
+ font-weight: bold;
}
.slide_new table tbody tr td.fontcol2 {
color: #000;
@@ -334,6 +207,12 @@ uni-button:after {
background-color: #f3ccb5;
color: #ff5e00;
}
+.slide_new table tbody tr.checked
+ td
+ background-color: #4e6ef2
+ color #fff
+ td.fontcol1, td.fontcol2
+ color #fff
.item-wrapper {
width: 100%;
height: auto;
@@ -517,6 +396,7 @@ uni-button:after {
left: 0;
width: 100%;
height: calc(100% - var(--status-bar-height) - 72rpx);
+ background-color: #f6f6f6;
box-shadow: 0 -8px 16px 0 rgba(28,31,33,.1);
border-top-left-radius: 20rpx;
border-top-right-radius: 20rpx;
diff --git a/common/style/reset.css b/common/style/reset.css
index edacccf..ed9bb53 100644
--- a/common/style/reset.css
+++ b/common/style/reset.css
@@ -6,7 +6,7 @@
text-decoration: none;
border: none;
outline: none;
- font-family: uniicons, Arial, "Microsoft Yahei", "Helvetica Neue", Helvetica, sans-serif;
+ font-family: Arial, "Microsoft Yahei", "Helvetica Neue", Helvetica, sans-serif;
box-sizing: border-box;
-webkit-box-sizing: border-box;
-webkit-tap-highlight-color:transparent;
diff --git a/common/style/uni.css b/common/style/uni.css
deleted file mode 100644
index c72ebf0..0000000
--- a/common/style/uni.css
+++ /dev/null
@@ -1,12 +0,0 @@
-@font-face {
- font-family: uniicons;
- font-weight: normal;
- font-style: normal;
- src: url('~@/static/uni.ttf') format('truetype');
-}
-.iconfont{
- font-family: uni;
- text-decoration: none;
- text-align: center;
-}
-
diff --git a/components/NavBar.vue b/components/NavBar.vue
index f9403e8..b556c9c 100644
--- a/components/NavBar.vue
+++ b/components/NavBar.vue
@@ -1,8 +1,12 @@
-