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 @@ @@ -51,7 +55,6 @@ diff --git a/components/SearchBox1.vue b/components/SearchBox1.vue deleted file mode 100644 index f5c42b0..0000000 --- a/components/SearchBox1.vue +++ /dev/null @@ -1,110 +0,0 @@ - - - - - diff --git a/components/SearchBoxMx.vue b/components/SearchBoxMx.vue deleted file mode 100644 index a8abadb..0000000 --- a/components/SearchBoxMx.vue +++ /dev/null @@ -1,88 +0,0 @@ - - - - - diff --git a/package.json b/package.json index 7542a27..18a1e41 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,3 @@ { - "dependencies": { - "jsencrypt": "^3.2.1" - } + "dependencies": {} } diff --git a/pages.json b/pages.json index 6b4972a..20e71e0 100644 --- a/pages.json +++ b/pages.json @@ -17,60 +17,6 @@ "style": { "navigationStyle": "custom" } - } - ,{ - "path" : "pages/login/upgrade", - "style": { - "navigationStyle": "custom" - } - } - ,{ - "path" : "pages/manage/man-group-disk", - "style" : - { - "navigationStyle": "custom" - } - - } - ,{ - "path" : "pages/manage/in-storage", - "style" : - { - "navigationStyle": "custom" - } - - } - ,{ - "path" : "pages/manage/out-storage", - "style" : - { - "navigationStyle": "custom" - } - - } - ,{ - "path" : "pages/manage/task-flow", - "style" : - { - "navigationStyle": "custom" - } - - } - ,{ - "path" : "pages/manage/search-mater", - "style" : - { - "navigationStyle": "custom" - } - - }, - { - "path" : "pages/manage/search-mater-1", - "style" : - { - "navigationStyle": "custom" - } - } ,{ "path" : "pages/manage/empty-tray-out", @@ -104,6 +50,22 @@ } } + ,{ + "path" : "pages/manage/produce-cut", + "style" : + { + "navigationStyle": "custom" + } + + } + ,{ + "path" : "pages/manage/point-update", + "style" : + { + "navigationStyle": "custom" + } + + } ], "globalStyle": { // "pageOrientation": "landscape", diff --git a/pages/home/home.vue b/pages/home/home.vue index edaadf7..52a4f2e 100644 --- a/pages/home/home.vue +++ b/pages/home/home.vue @@ -48,8 +48,8 @@ {id: 2, title: '空托盘入库', icon: 'RF02', path: '/pages/manage/empty-tray-in'}, {id: 3, title: '组盘入库', icon: 'RF03', path: '/pages/manage/group-in-storage'}, {id: 4, title: '原料出库', icon: 'RF04', path: '/pages/manage/mater-out-storage'}, - {id: 5, title: '生产下料', icon: 'RF05', path: ''}, - {id: 6, title: '点位更新', icon: 'RF06', path: ''}, + {id: 5, title: '生产下料', icon: 'RF05', path: '/pages/manage/produce-cut'}, + {id: 6, title: '点位更新', icon: 'RF06', path: '/pages/manage/point-update'}, {id: 7, title: '定点作业', icon: 'RF07', path: ''}, {id: 8, title: '作业管理', icon: 'RF08', path: ''}, {id: 9, title: '出库确认', icon: 'RF09', path: ''} @@ -71,13 +71,13 @@ }, toPage (e) { - let url = e.path + let url = e.path + '?title=' + e.title uni.redirectTo({ url: url }) }, Quit () { - this.$store.dispatch('delUserInfo') + this.$store.dispatch('delUserInfo', '') uni.redirectTo({ url: '/pages/login/login' }) @@ -96,7 +96,8 @@ height 100% top 0 padding-top calc(var(--status-bar-height) + 86rpx) - background linear-gradient(to bottom, #fae2ca 0%, #fff5ea 20%, #fdfdfd 100%) + // background linear-gradient(to bottom, #fae2ca 0%, #fff5ea 20%, #fdfdfd 100%) + background linear-gradient(to bottom, #f5f6fb 0%, #fff 100%) .header position fixed left 0 @@ -104,7 +105,6 @@ padding-top var(--status-bar-height) z-index 100 _wh(100%, calc(var(--status-bar-height) + 86rpx)) - background-color #f8e6db _font(36rpx,86rpx,#333,,center) .userInfo-wrap _fj() diff --git a/pages/login/login.vue b/pages/login/login.vue index ad528ac..28ef858 100644 --- a/pages/login/login.vue +++ b/pages/login/login.vue @@ -6,8 +6,8 @@
- - + +
@@ -61,9 +61,6 @@ toSaveUser() { this.saveUser = !this.saveUser }, - changePassword() { - this.showPassword = !this.showPassword - }, setup () { uni.redirectTo({ url: '/pages/login/setup' @@ -142,7 +139,7 @@ height 75rpx border-bottom 1rpx solid #e2e2e2 .large-input - _wh(calc(100% - 40rpx), 74rpx) + _wh(calc(100% - 100rpx), 74rpx) _font(32rpx,74rpx,#999) padding-left 10rpx .radio-box diff --git a/pages/manage/in-storage.vue b/pages/manage/back/in-storage.vue similarity index 100% rename from pages/manage/in-storage.vue rename to pages/manage/back/in-storage.vue diff --git a/pages/manage/man-group-disk.vue b/pages/manage/back/man-group-disk.vue similarity index 100% rename from pages/manage/man-group-disk.vue rename to pages/manage/back/man-group-disk.vue diff --git a/pages/manage/out-storage.vue b/pages/manage/back/out-storage.vue similarity index 100% rename from pages/manage/out-storage.vue rename to pages/manage/back/out-storage.vue diff --git a/pages/manage/search-mater-1.vue b/pages/manage/back/search-mater-1.vue similarity index 100% rename from pages/manage/search-mater-1.vue rename to pages/manage/back/search-mater-1.vue diff --git a/pages/manage/search-mater.vue b/pages/manage/back/search-mater.vue similarity index 100% rename from pages/manage/search-mater.vue rename to pages/manage/back/search-mater.vue diff --git a/pages/manage/task-flow.vue b/pages/manage/back/task-flow.vue similarity index 100% rename from pages/manage/task-flow.vue rename to pages/manage/back/task-flow.vue diff --git a/pages/manage/empty-tray-in.vue b/pages/manage/empty-tray-in.vue index 1f572b6..354ac99 100644 --- a/pages/manage/empty-tray-in.vue +++ b/pages/manage/empty-tray-in.vue @@ -1,6 +1,6 @@