diff --git a/App.vue b/App.vue
index 3d97b1b..58b029a 100644
--- a/App.vue
+++ b/App.vue
@@ -3,7 +3,7 @@
onLaunch: function() {
// #ifdef APP-PLUS
plus.screen.lockOrientation('portrait-primary');
- plus.navigator.setFullscreen(true);
+ // plus.navigator.setFullscreen(true);
// #endif
},
onHide: function() {
@@ -17,9 +17,8 @@
}
-
diff --git a/README.md b/README.md
index f7b1e0a..5f049ea 100644
--- a/README.md
+++ b/README.md
@@ -1,3 +1,4 @@
# 注意事项
+ 原生APP云打包使用自有证书
-+ 证书别名:testalias
\ No newline at end of file
++ 证书别名:testalias
++ 接口在线地址:(https://apifox.com/apidoc/shared-e9d4798e-2db1-493d-a0cb-7a0e881c4bd6/api-160097540)
\ No newline at end of file
diff --git a/common/style/layout.css b/common/style/layout.css
deleted file mode 100644
index e003df6..0000000
--- a/common/style/layout.css
+++ /dev/null
@@ -1,370 +0,0 @@
-page {
- background-color: #f6f6f6 !important;
- min-height: 100% !important;
- height: 100% !important;
-}
-uni-page-body {
- background-color: #f6f6f6 !important;
- min-height: 100% !important;
- height: 100% !important;
-}
-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_back {
- font-size: 52rpx;
- line-height: 52rpx;
- color: #fff;
-}
-.icon_home {
- font-size: 52rpx;
- line-height: 52rpx;
- color: #fff;
-}
-.icon_scan {
- width: 42rpx;
- height: 48rpx;
- font-size: 40rpx;
- line-height: 48rpx;
- color: #323232;
- 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: "\e6dc";
-}
-.cancel_icon {
- display: block;
- width: 100rpx;
- height: 100rpx;
- font-size: 50rpx;
- color: #fff;
- line-height: 100rpx;
- text-align: center;
- background-color: #E9B451;
-}
-
-/** 内容 */
-.zd_container {
- width: 100%;
- height: 100%;
-}
-.zd_content {
- width: 100%;
- height: auto;
- padding: 92rpx 15rpx 82rpx 14rpx;
-}
-.zd_wrapper {
- width: 100%;
- height: auto;
- background-color: #fff;
- border-radius: 24rpx;
- padding: 14rpx;
- margin-bottom: 20rpx;
-}
-.filter_item {
- display: flex;
- align-items: center;
- width: 100%;
- margin-bottom: 10rpx;
-}
-.filter_item:last-child {
- margin-bottom: 0;
-}
-.filter_label_wraper {
- flex: none;
- width: 140rpx;
- text-align:justify;
- text-align-last: justify;
- text-justify: inter-ideograph;/*兼容ie*/
-}
-.filter_label {
- display: block;
- width: 140rpx;
- line-height: 80rpx;
- font-size: 28rpx;
- color: #323232;
- text-align:justify;
- text-align-last: justify;
- text-justify: inter-ideograph;/*兼容ie*/
-}
-.filter_label_1 {
- line-height: 30rpx;
-}
-.filter_search {
- width: 100rpx;
- height: 70rpx;
- line-height: 70rpx;
- font-size: 28rpx;
- color: #323232;
- text-align: center;
- background-color: #fff;
- border: 1px solid #ff6a00;
- border-radius: 10rpx;
- margin-left: 30rpx;
-}
-.filter_search_disabled {
- background-color: #dcdfe6;
- border: 1px solid #dcdfe6;
- color: #fff;
-}
-.filter_input_wraper {
- /* flex: 1; */
- width: calc(100% - 170rpx);
- height: 80rpx;
- padding: 5rpx 0;
- margin-left: 30rpx;
- display: flex;
- justify-content: flex-start;
- align-items: center;
-}
-.filter_input_wraper_1 {
- height: 30rpx;
-}
-.filter_input_wraper_inn_text {
- line-height: 30rpx;
- font-size: 28rpx;
- color: #606266;
- margin-left: 10rpx;
-}
-.filter_input {
- width: 100%;
- height: 70rpx;
- line-height: 70rpx;
- border: 1px solid #dcdfe6;
- background-color: #fff;
- padding: 0 15rpx;
- font-size: 28rpx;
- color: #606266;
- border-radius: 10rpx;
-}
-.filter_textarea {
- width: 100%;
- height: 210rpx;
- line-height: 70rpx;
- border: 1px solid #dcdfe6;
- background-color: #fff;
- padding: 0 15rpx;
- font-size: 28rpx;
- color: #606266;
- border-radius: 10rpx;
-}
-.filter_input_disabled {
- background-color: #eee;
-}
-
-.grid-wraper {
- width: 100%;
-}
-.slide_new {
- width: 100%;
- height: 100%;
- overflow-y: auto;
-}
-.slide_new table {
- table-layout: fixed;
- min-width: 100%;
- border-collapse: separate;
- border-spacing: 0;
- border: 0;
-}
-.slide_new table td, .slide_new table th {
- box-sizing: border-box;
- overflow: hidden;
- white-space: nowrap;
- text-overflow: ellipsis;
- white-space: nowrap;
- padding: 0 20rpx;
- border-bottom: 10rpx solid #f5f5f5;
- text-align: center;
-}
-.slide_new table td:first-child, .slide_new table th:first-child{
- position: sticky;
- left: 0;
- z-index: 101;
-}
-.slide_new table thead tr th {
- position: sticky;
- top: 0;
- background: #d7d7d7;
- font-size: 26rpx;
- line-height: 98rpx;
- color: #696969;
- font-weight: bold;
- z-index: 100;
-}
-.slide_new table thead tr th:first-child {
- background: #d7d7d7;
-}
-.slide_new table tbody tr td {
- font-size: 28rpx;
- line-height: 98rpx;
- color: #323232;
- background: #fff;
-}
-.slide_new table tbody tr.checked td {
- background-color: #fef6e4;
-}
-
-/** 提交栏 **/
-.submit-bar {
- display: flex;
- flex-wrap: wrap;
- justify-content: flex-end;
- align-items: center;
- position: fixed;
- bottom: 0;
- left: 0;
- width: 100%;
- z-index: 200;
- background-color: #fff;
- padding-top: 10rpx;
- box-shadow: 0 0 20rpx 0 rgba(160,160,160,0.7);
-}
-.submit-button {
- font-size: 30rpx;
- line-height: 62rpx;
- color: #ff6a00;
- text-align: center;
- letter-spacing: 1rpx;
- padding: 0 22rpx;
- background-color: #fff;
- border: 1px solid #ff6a00;
- margin: 0 40rpx 10rpx 0;
- border-radius: 30rpx;
-}
-.btn-disabled, .submit-button[disabled] {
- background-color: #c9c9c9;
- border: 1px solid #c9c9c9;
- color: #fff;
-}
-
-/** 下拉框 */
-.uni-select__selector {
- z-index: 300 !important;
-}
-
-/** 弹窗 */
-.msg_wrapper {
- position: fixed;
- top: 0;
- bottom: 0;
- left: 0;
- right: 0;
- text-align: center;
- z-index: 201;
- display: flex;
- justify-content: center;
- align-items: center;
-}
-.msg_wrapper_1 {
- text-align: left;
-}
-
-.msg_box {
- width: 90%;
- padding: 20rpx;
- background-color: #fff;
- border-radius: 4px;
- border: 1px solid #ebeef5;
- box-shadow: 0 2px 12px 0 rgb(0 0 0 / 10%);
- backface-visibility: hidden;
-}
-
-.msg_mask {
- position: fixed;
- top: 0;
- left: 0;
- width: 100%;
- height: 100%;
- opacity: .7;
- background: #000;
- z-index: 200;
-}
-
-.msg_btns {
- width: 100%;
- max-width: 300px;
- margin: 40rpx auto 0;
- display: flex;
- justify-content: space-between;
- align-items: center;
-}
-.msg_btn {
- border-radius: 10rpx;
-}
-.msg_btn:disabled {
- background-color: #c9c9c9;
-}
-.uni-select__input-placeholder,.uni-select__selector-empty, .uni-select__selector-item {
- font-size: 28rpx !important
-}
-.sin_input {
- width: 150rpx;
- font-size: 28rpx;
- line-height: 150rpx;
- height: 68rpx;
- color: #323232;
- padding: 0 .1rem;
- border: 1px solid #a1a1a1;
- border-radius: 3px;
-}
-.layout-t tr.checked td .sin_input {
- color: #8a8a8a;
- border: 1px solid #ffffff;
-}
\ No newline at end of file
diff --git a/common/style/layout.styl b/common/style/layout.styl
new file mode 100644
index 0000000..c64071b
--- /dev/null
+++ b/common/style/layout.styl
@@ -0,0 +1,447 @@
+@import './mixin.styl';
+page {
+ background-color: #f2f5fa !important;
+ min-height: 100% !important;
+ height: 100% !important;
+}
+uni-page-body {
+ min-height: 100% !important;
+ height: 100% !important;
+}
+uni-button:after {
+ border: none;
+}
+
+/** 内容 */
+.zd_container {
+ width: 100%;
+ height: 100%;
+}
+.zd_content {
+ position: relative;
+ top: calc(var(--status-bar-height) + 72rpx);
+ width: 100%;
+ height: auto;
+ padding: 20rpx 14rpx 140rpx 14rpx;
+}
+.zd_wrapper {
+ width: 100%;
+ height: auto;
+ background-color: #fff;
+ border-radius: 10rpx;
+ padding: 22rpx;
+ margin-bottom: 20rpx;
+ box-shadow: 0 4rpx 10rpx 2rpx rgba(0,0,0,.1);
+}
+.filter_wrapper {
+ position relative
+ left -14rpx
+ width: calc(100% + 28rpx);
+ height: auto;
+ background-color: #fff;
+ padding: 22rpx 22rpx 0 22rpx;
+ margin-bottom: 20rpx;
+}
+.filter_label {
+ display: block;
+ line-height: 80rpx;
+ font-size: 28rpx;
+ color: #323232;
+ font-weight: bold;
+ letter-spacing: 4rpx;
+ padding-left: 10rpx;
+ /* text-align:justify;
+ text-align-last: justify;
+ text-justify: inter-ideograph; */
+}
+/** 筛选选择器样式 */
+.filter_picker .uni-input {
+ width: 100%;
+ line-height: 80rpx;
+ height: 80rpx;
+ font-size: 28rpx;
+ color: #606266;
+}
+/** 筛选下拉框带搜索过滤功能样式 */
+.filter_select .uni-select {
+ line-height: 80rpx !important;
+ height: 80rpx !important;
+ font-size: 28rpx !important;
+ color: #606266;
+ padding: 0 !important;
+ border: 0 !important;
+}
+.filter_input {
+ width: 100%;
+ height: 80rpx;
+ line-height: 80rpx;
+ border: 0;
+ background-color: transparent;
+ font-size: 28rpx;
+ color: #606266;
+}
+.filter_input_disabled {
+ background-color: #eee;
+}
+.filter_input_wraper {
+ /* flex: 1; */
+ width: calc(100% - 170rpx);
+ height: 80rpx;
+ padding: 5rpx 0;
+ margin-left: 30rpx;
+ display: flex;
+ justify-content: flex-start;
+ align-items: center;
+}
+.tab-line {
+ _wh(32rpx, 10rpx)
+ background-color #fff
+ border-radius 10rpx
+ margin 20rpx auto 0
+}
+.tab-line_active {
+ background-color #4e6ef2
+}
+.font-style-1 {
+ _font(32rpx, 32rpx, #c1c1c3,,center)
+}
+.font-style-2 {
+ _font(32rpx, 32rpx, #000,bold,center)
+}
+.grid-wraper {
+ width: 100%;
+ padding: 10rpx;
+}
+.slide_new {
+ width: 100%;
+ height: 100%;
+ overflow-y: auto;
+}
+.slide_new table {
+ table-layout: fixed;
+ min-width: 100%;
+ border-collapse: separate;
+ -webkit-border-horizontal-spacing: 0px;
+ -webkit-border-vertical-spacing: 10rpx;
+ background-color: #f5f5f5;
+}
+.slide_new table td, .slide_new table th {
+ box-sizing: border-box;
+ overflow: hidden;
+ white-space: nowrap;
+ text-overflow: ellipsis;
+ white-space: nowrap;
+ padding: 0 20rpx;
+ text-align: center;
+}
+.slide_new table td:first-child, .slide_new table th:first-child{
+ position: sticky;
+ left: 0;
+ z-index: 101;
+ box-shadow: inset -3px 0px 3px 0px rgba(160,160,160,0.20);
+}
+.slide_new table thead tr th {
+ position: sticky;
+ top: 0;
+ background: #d7d7d7;
+ font-size: 26rpx;
+ line-height: 98rpx;
+ color: #696969;
+ font-weight: bold;
+ z-index: 100;
+}
+.slide_new table thead tr th:first-child {
+ background: #d7d7d7;
+}
+.slide_new table tbody tr td {
+ font-size: 28rpx;
+ line-height: 98rpx;
+ color: #323232;
+ background: #fff;
+}
+.slide_new table thead tr th.fontcol1,.slide_new table tbody tr td.fontcol1 {
+ color: #4e6ef2;
+ font-weight: bold;
+}
+.slide_new table thead tr th.fontcol2,.slide_new table tbody tr td.fontcol2 {
+ color: #d7592f;
+ font-weight: bold;
+}
+.slide_new table tbody tr.checked td {
+ background-color: #f0c560;
+ color: #fff;
+}
+.slide_new table tbody tr.checked td:first-child {
+ border-left: 6rpx solid #ff8227;
+}
+
+.item-wrapper {
+ width: 100%;
+ height: auto;
+}
+.item-wrap {
+ background-color: #fff;
+ border-radius: 24rpx;
+ padding: 22rpx 14rpx;
+ margin-bottom: 20rpx;
+ box-shadow: 0 4rpx 10rpx 2rpx rgba(0,0,0,.1);
+}
+.item-font-1
+ _font(30rpx,28rpx,#000,,)
+.item-font-2
+ _font(24rpx,40rpx,$red,,)
+.item-font-3
+ width 110rpx
+ _font(24rpx,26rpx,#333,,)
+ text-align:justify;
+ text-align-last: justify;
+ text-justify: inter-ideograph;
+.item-font-4
+ width calc(100% - 110rpx)
+ _font(26rpx,26rpx,#999,,)
+.item-font-5
+ _font(44rpx,60rpx,$green,,center)
+ background-color #f6f6f6
+.item-font-6
+ width calc(50% - 110rpx)
+ _font(24rpx,52rpx,#666,,center)
+ background-color #e5e5e5
+ border-radius 26rpx
+.item-font-7
+ width 110rpx
+ _font(24rpx,52rpx,#666,,center)
+.item-font-8
+ _font(24rpx,52rpx,#666,,center)
+.isChecked
+ box-shadow inset 2px 2px 4px 0px rgba(120, 141, 250, 0.7), inset -2px -2px 4px 0px rgba(120, 141, 250, 0.7)
+/** 提交栏 **/
+.submit-bar {
+ position: fixed;
+ bottom: 0;
+ left: 0;
+ width: 100%;
+ z-index: 200;
+ background-color: #fff;
+ padding: 14rpx;
+ box-shadow: 0 0 20rpx 0 rgba(160,160,160,0.7);
+}
+.button-default {
+ font-size: 34rpx;
+ line-height: 88rpx;
+ color: #ff6a00;
+ text-align: center;
+ letter-spacing: 4rpx;
+ padding: 0;
+ background-color: #fff;
+ border: 2rpx solid #ff6a00;
+ border-radius: 10rpx;
+}
+.button-primary {
+ font-size: 34rpx;
+ line-height: 88rpx;
+ color: #fff;
+ text-align: center;
+ letter-spacing: 4rpx;
+ padding: 0;
+ background-color: #ff6a00;
+ border: 2rpx solid #ff6a00;
+ border-radius: 10rpx;
+}
+.button-info, .submit-button[disabled] {
+ background-color: #c9c9c9;
+ border: 2rpx solid #c9c9c9;
+ color: #fff;
+}
+uni-button[disabled]:not([type]), uni-button[disabled][type=default] {
+ border: 2rpx solid #c9c9c9;
+}
+.submit-more {
+ width: 20%;
+ font-size: 34rpx;
+ line-height: 34rpx;
+ padding: 27rpx 10rpx;
+ color: #000;
+ text-align: center;
+ background-color: #fff
+}
+.more_btns_wraper {
+ position: fixed;
+ bottom: 0;
+ left: 0;
+ width: 100%;
+ z-index: 201;
+ padding: 0 20rpx 20rpx;
+ transition: all .3s;
+}
+.more-button {
+ font-size: 34rpx;
+ line-height: 88rpx;
+ color: #ff6a00;
+ text-align: center;
+ border-radius: 0;
+ background-color: transparent;
+}
+.more_btns_items .btn-disabled, .more_btns_items .submit-button_new[disabled] {
+ color: #c9c9c9;
+ border: none;
+}
+.more-button:last-child {
+ border-bottom: none;
+}
+.more_btns_cancle {
+ margin-top: 20rpx;
+ width: 100%;
+ font-size: 34rpx;
+ line-height: 88rpx;
+ color: #000;
+ text-align: center;
+ background-color: #fff;
+ border-radius: 20rpx;
+}
+.more_btns_items{
+ width: 100%;
+ border-radius: 20rpx;
+ background-color: #fff;
+}
+
+/** 下拉框 */
+.uni-select__selector {
+ z-index: 300 !important;
+}
+
+/** 弹窗 */
+.popshow {
+ transform: translateY(0);
+}
+.pophide {
+ transform: translateY(100%);
+}
+.msg_wrapper {
+ position: fixed;
+ top: auto;
+ bottom: 0;
+ 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;
+ z-index: 301;
+ transition: all .3s;
+}
+.pop-line {
+ width: 10%;
+ height: 8rpx;
+ margin: 0 auto 14rpx auto;
+ background-color: #d4d4d4;
+ border-radius: 8rpx;
+}
+.msg_content {
+ width: 100%;
+ height: 100%;
+ overflow-y: scroll;
+}
+.msg_box {
+ width: 100%;
+}
+.msg_mask {
+ position: fixed;
+ top: 0;
+ left: 0;
+ width: 100%;
+ height: 100%;
+ opacity: .7;
+ background: #000;
+ z-index: 300;
+}
+.msg_btns {
+ width: 100%;
+ margin: 40rpx auto 0;
+}
+.msg_btn {
+ font-size: 34rpx;
+ line-height: 78rpx;
+ color: #fff;
+ background-color: #ff6a00;
+ border: 1rpx solid #ff6a00;
+ border-radius: 44rpx;
+ box-shadow: 0 8rpx 18rpx 0 rgba(0,0,0,.2);
+}
+.msg_btn_cancle {
+ background-color: #fff;
+ border: 1rpx solid #ff6a00;
+ font-size: 34rpx;
+ line-height: 78rpx;
+ border-radius: 44rpx;
+ color: #000;
+ box-shadow: 0 8rpx 18rpx 0 rgba(0,0,0,.2);
+}
+.msg_btn:disabled {
+ background-color: #c9c9c9;
+}
+.uni-select__input-placeholder,.uni-select__selector-empty, .uni-select__selector-item {
+ font-size: 28rpx !important
+}
+.sin_input {
+ width: 150rpx;
+ font-size: 28rpx;
+ line-height: 150rpx;
+ height: 68rpx;
+ color: #323232;
+ padding: 0 .1rem;
+ border: 1px solid #a1a1a1;
+ border-radius: 3px;
+}
+.layout-t tr.checked td .sin_input {
+ color: #8a8a8a;
+ border: 1px solid #ffffff;
+}
+
+.flow_wrapper {
+ width: 100%;
+ background-color: #fff;
+ border-radius: 24rpx;
+ padding: 22rpx 20rpx;
+ margin-bottom: 20rpx;
+ box-shadow: 0 4rpx 10rpx 2rpx rgba(0,0,0,.1);
+}
+.font-size-1 {
+ font-size: 30rpx;
+ line-height: 54rpx;
+ color: #ff6a00;
+}
+.font-size-2 {
+ font-size: 30rpx;
+ line-height: 54rpx;
+ color: #000;
+}
+.flow_start_item {
+ position: relative;
+ background-color: #f3f3f3;
+ border: 1rpx solid #f3f3f3;
+ border-radius: 10rpx;
+}
+.flow_start_item_checked {
+ position: relative;
+ background-color: #fff;
+ border: 1rpx solid #ff6a00;
+}
+.flow_icon_item_1 {
+ width: 46rpx;
+ height: 56rpx;
+}
+.flow_icon_item_2 {
+ width: 46rpx;
+ height: 26rpx;
+}
+// 日历
+.uni-calendar__mask, .uni-calendar--fixed {
+ z-index: 300 !important
+}
+.uni-date-x--border {
+ border-width: 0 !important
+}
+.uni-date-x {
+ background-color: transparent !important
+}
\ No newline at end of file
diff --git a/common/style/reset.css b/common/style/reset.css
index 8355389..8e5b014 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;
@@ -40,4 +40,116 @@ input[type="button"], input[type="submit"], input[type="search"], input[type="re
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
+}
+.flexcol {
+ flex-direction: column;
+}
+.flexstart {
+ align-items: flex-start !important;
+}
+.jcflexstart {
+ justify-content: flex-start !important;
+}
+.jcflexend {
+ justify-content: flex-end !important;
+}
+.jccenter {
+ justify-content: center !important;
+}
+
+.zd-row {
+ width: 100%;
+ display: flex;
+ justify-content: space-between;
+ align-items: center;
+}
+.zd-col-24 {
+ width: 100%;
+}
+.zd-col-23 {
+ width: 95.83333%
+}
+.zd-col-22 {
+ width: 91.66667%
+}
+.zd-col-21 {
+ width: 87.5%
+}
+.zd-col-20 {
+ width: 83.33333%
+}
+.zd-col-19 {
+ width: 79.16667%
+}
+.zd-col-18 {
+ width: 75%
+}
+.zd-col-17 {
+ width: 70.83333%
+}
+.zd-col-16 {
+ width: 66.66667%
+}
+.zd-col-15 {
+ width: 62.5%
+}
+.zd-col-14 {
+ width: 58.33333%
+}
+.zd-col-13 {
+ width: 54.16667%
+}
+.zd-col-12 {
+ width: 50%;
+}
+.zd-col-11 {
+ width: 45.83333%
+}
+.zd-col-10 {
+ width: 41.66667%
+}
+.zd-col-9 {
+ width: 37.5%
+}
+.zd-col-8 {
+ width: 33.33333%
+}
+.zd-col-7 {
+ width: 29.16667%
+}
+.zd-col-6 {
+ width: 25%
+}
+.zd-col-5 {
+ width: 20.83333%
+}
+.zd-col-4 {
+ width: 16.66667%
+}
+.zd-col-3 {
+ width: 12.5%
+}
+.zd-col-2 {
+ width: 8.33333%
+}
+.zd-col-1 {
+ width: 4.16667%
+}
+.border-bottom {
+ border-bottom: 1rpx solid #e5e5e5;
+}
+.mgb10 {
+ margin-bottom: 10rpx;
+}
+.pdl20 {
+ padding-left: 20rpx;
+}
+.pdr20 {
+ padding-right: 20rpx;
+}
+.pdr10 {
+ padding-right: 10rpx;
+}
+.pdt0 {
+ padding-top: 0 !important
}
\ No newline at end of file
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 a03af93..eeb59d1 100644
--- a/components/NavBar.vue
+++ b/components/NavBar.vue
@@ -1,8 +1,12 @@
-
@@ -22,9 +26,9 @@
type: Boolean,
default: false
},
- show1: {
+ searchActive: {
type: Boolean,
- default: true
+ default: false
}
},
methods: {
@@ -39,10 +43,8 @@
})
}
},
- backHome () {
- uni.redirectTo({
- url: '/pages/home/home'
- })
+ toSearch () {
+ this.$emit('toSearch')
}
}
}
@@ -51,12 +53,12 @@
diff --git a/components/SearchBox.vue b/components/SearchBox.vue
index 7525607..239028a 100644
--- a/components/SearchBox.vue
+++ b/components/SearchBox.vue
@@ -2,16 +2,16 @@
-
-
-
-
-
+
+
+
+
+
@@ -40,6 +40,11 @@
default: false
}
},
+ watch: {
+ focused() {
+ this.focusState = this.focused
+ },
+ },
mounted () {
if (this.focused) {
this.focusState = true
@@ -124,15 +129,14 @@
@import '../common/style/mixin.styl';
.search_wraper
position relative
- _wh(100%, 70rpx)
-.search_input
- padding-right: 160rpx;
+ _wh(100%, 80rpx)
+.pdr120
+ padding-right: 120rpx;
.buttons_wraper
position absolute
top 0
right 10rpx
- _wh(auto, 70rpx)
- _fj(flex-end)
-.icon_scan_active
- color $red
+ _wh(auto, 80rpx)
+.pdr10
+ padding-right 10rpx
diff --git a/components/SearchBox1.vue b/components/SearchBox1.vue
deleted file mode 100644
index 63134f7..0000000
--- a/components/SearchBox1.vue
+++ /dev/null
@@ -1,110 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/pages.json b/pages.json
index 2329e27..9e1e1ab 100644
--- a/pages.json
+++ b/pages.json
@@ -23,108 +23,36 @@
"style": {
"navigationStyle": "custom"
}
- },
- {
- "path" : "pages/modules/equip-inspection",
- "style": {
- "navigationStyle": "custom"
- }
- }
- ,{
- "path" : "pages/modules/equip-operate",
- "style": {
- "navigationStyle": "custom"
- }
-
- }
- ,{
- "path" : "pages/modules/pallet-bind",
- "style": {
- "navigationStyle": "custom"
- }
-
- }
- ,{
- "path" : "pages/modules/sort-schedue",
- "style": {
- "navigationStyle": "custom"
- }
-
- }
- ,{
- "path" : "pages/modules/man-group",
- "style": {
- "navigationStyle": "custom"
- }
-
- }
- ,{
- "path" : "pages/modules/hunnian-carry",
- "style": {
- "navigationStyle": "custom"
- }
-
- }
- ,{
- "path" : "pages/modules/forced-rest",
- "style": {
- "navigationStyle": "custom"
- }
-
- }
- ,{
- "path" : "pages/modules/surplus-mater-instore",
- "style": {
- "navigationStyle": "custom"
- }
-
- }
- ,{
- "path" : "pages/modules/package-instore",
- "style": {
- "navigationStyle": "custom"
- }
-
- }
- ,{
- "path" : "pages/modules/call-full-mater",
- "style": {
- "navigationStyle": "custom"
- }
-
- }
- ,{
- "path" : "pages/modules/call-mupan",
- "style": {
- "navigationStyle": "custom"
- }
-
- }
- ,{
- "path" : "pages/modules/empty-instore",
- "style": {
- "navigationStyle": "custom"
- }
-
- }
- ,{
- "path" : "pages/modules/shelf-check",
- "style": {
- "navigationStyle": "custom"
- }
-
- }
- ,{
- "path" : "pages/modules/press-carry",
- "style": {
- "navigationStyle": "custom"
- }
-
- }
+ }
,{
- "path" : "pages/modules/hunnian-operate",
- "style": {
- "navigationStyle": "custom"
+ "path" : "pages/manage/hn-carry",
+ "style" :
+ {
+ "navigationStyle": "custom"
+ }
+
+ }
+ ,{
+ "path" : "pages/manage/press-carry",
+ "style" :
+ {
+ "navigationStyle": "custom"
+ }
+
+ }
+ ,{
+ "path" : "pages/manage/mater-scrap",
+ "style" :
+ {
+ "navigationStyle": "custom"
+ }
+
+ }
+ ,{
+ "path" : "pages/manage/man-sort",
+ "style" :
+ {
+ "navigationStyle": "custom"
}
}
diff --git a/pages/home/home.vue b/pages/home/home.vue
index cbf2dfd..a8fa0b7 100644
--- a/pages/home/home.vue
+++ b/pages/home/home.vue
@@ -1,35 +1,27 @@
-
-
-
-
- {{userName}}
- 欢迎进入华弘手持系统!
-
-
-
- 退出
-
-
-
-
@@ -39,36 +31,11 @@
data() {
return {
userName: '',
- // menuList: [
- // {menu_id: '1', icon: 'RF01', name: '设备点检', path: '/pages/modules/equip-inspection', sonTree: []},
- // {menu_id: '2', icon: 'RF02', name: '设备操作', path: '/pages/modules/equip-operate', sonTree: []},
- // {menu_id: '3', icon: 'RF03', name: '人工分拣', path: '', sonTree: [
- // {menu_id: '1', name: '分拣排产', path: '/pages/modules/sort-schedue'},
- // {menu_id: '2', name: '剩料入库', path: '/pages/modules/surplus-mater-instore'},
- // {menu_id: '3', name: '托盘绑定', path: '/pages/modules/pallet-bind'},
- // {menu_id: '4', name: '包装入库', path: '/pages/modules/package-instore'},
- // ]},
- // {menu_id: '4', icon: 'RF05', name: '人工组盘', path: '/pages/modules/man-group', sonTree: []},
- // {menu_id: '5', icon: 'RF06', name: '混碾搬运', path: '/pages/modules/hunnian-carry', sonTree: []},
- // {menu_id: '6', icon: 'RF07', name: '强制静置', path: '/pages/modules/forced-rest', sonTree: []}
- // ],
menuList: [
- {menu_id: '1', icon: 'RF06', name: '混碾搬运', path: '/pages/modules/hunnian-carry', sonTree: []},
- {menu_id: '2', icon: 'RF07', name: '强制静置', path: '/pages/modules/forced-rest', sonTree: []},
- {menu_id: '3', icon: 'RF01', name: '设备点检', path: '/pages/modules/equip-inspection', sonTree: []},
- {menu_id: '4', icon: 'RF05', name: '人工组盘', path: '/pages/modules/man-group', sonTree: []},
- {menu_id: '5', icon: 'RF09', name: '人工分拣', path: '', sonTree: [
- {menu_id: '1', name: '分拣排产', path: '/pages/modules/sort-schedue'},
- {menu_id: '2', name: '剩料入库', path: '/pages/modules/surplus-mater-instore'},
- {menu_id: '3', name: '托盘绑定', path: '/pages/modules/pallet-bind'},
- {menu_id: '4', name: '包装入库', path: '/pages/modules/package-instore'},
- {menu_id: '5', name: '呼叫满料', path: '/pages/modules/call-full-mater'},
- {menu_id: '6', name: '呼叫木盘', path: '/pages/modules/call-mupan'},
- {menu_id: '7', name: '空盘入库', path: '/pages/modules/empty-instore'}
- ]},
- {menu_id: '6', icon: 'RF10', name: '压机搬运', path: '/pages/modules/press-carry', sonTree: []},
- {menu_id: '7', icon: 'RF08', name: '货架盘点', path: '/pages/modules/shelf-check', sonTree: []},
- {menu_id: '8', icon: 'RF02', name: '混碾操作', path: '/pages/modules/hunnian-operate', sonTree: []}
+ {id: 1, title: '混碾搬运', icon: 'RF01', path: '/pages/manage/hn-carry'},
+ {id: 2, title: '压机搬运', icon: 'RF02', path: '/pages/manage/press-carry'},
+ {id: 3, title: '物料报废', icon: 'RF03', path: '/pages/manage/mater-scrap'},
+ {id: 4, title: '人工分拣', icon: 'RF04', path: '/pages/manage/man-sort'}
],
show: false,
secM: []
@@ -80,19 +47,13 @@
}
},
methods: {
- toPage1 (e) {
- if (e.sonTree.length > 0) {
- this.show = true
- this.secM = e.sonTree
- } else {
- let url = e.path
- uni.redirectTo({
- url: url
- })
- }
+ async _authority () {
+ let res = await authority()
+ this.menuList = [...res.sonTree]
+
},
- toPage2 (e) {
- let url = e.path
+ toPage (e) {
+ let url = e.path + '?title=' + e.title
uni.redirectTo({
url: url
})
@@ -109,19 +70,32 @@
diff --git a/pages/login/login.vue b/pages/login/login.vue
index b457aa7..1373267 100644
--- a/pages/login/login.vue
+++ b/pages/login/login.vue
@@ -6,26 +6,24 @@
-
-
+
+
-
-
-
- 记住用户名
+
+
+
- 设置
- 升级版本
+ 记住用户名
+ 设置
+ 升级版本
-
v{{version}}
+
+
diff --git a/pages/manage/man-sort.vue b/pages/manage/man-sort.vue
new file mode 100644
index 0000000..659ca41
--- /dev/null
+++ b/pages/manage/man-sort.vue
@@ -0,0 +1,115 @@
+
+
+
+
+
+
+
+ 人工分拣点位
+
+
+
+
+
+
+
+ 缓存货架点位
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/manage/mater-scrap.vue b/pages/manage/mater-scrap.vue
new file mode 100644
index 0000000..43777d3
--- /dev/null
+++ b/pages/manage/mater-scrap.vue
@@ -0,0 +1,89 @@
+
+
+
+
+
+
+
+ 载具编码
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 确定是否执行物料报废?
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/manage/press-carry.vue b/pages/manage/press-carry.vue
new file mode 100644
index 0000000..1e3e842
--- /dev/null
+++ b/pages/manage/press-carry.vue
@@ -0,0 +1,96 @@
+
+
+
+
+
+
+
+ 上料位
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 确定是否强制回货架?
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/modules/call-full-mater.vue b/pages/modules/call-full-mater.vue
deleted file mode 100644
index d9ce7c4..0000000
--- a/pages/modules/call-full-mater.vue
+++ /dev/null
@@ -1,77 +0,0 @@
-
-
-
-
-
-
-
-
-
- | 起点 |
- 终点 |
- 任务状态 |
- 备注 |
-
-
-
-
- | {{e.point_name1}} |
- {{e.point_name2}} |
- {{e.task_status}} |
- {{e.remark}} |
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/pages/modules/call-mupan.vue b/pages/modules/call-mupan.vue
deleted file mode 100644
index 9c7e1fa..0000000
--- a/pages/modules/call-mupan.vue
+++ /dev/null
@@ -1,77 +0,0 @@
-
-
-
-
-
-
-
-
-
- | 起点 |
- 终点 |
- 任务状态 |
- 备注 |
-
-
-
-
- | {{e.point_name1}} |
- {{e.point_name2}} |
- {{e.task_status}} |
- {{e.remark}} |
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/pages/modules/empty-instore.vue b/pages/modules/empty-instore.vue
deleted file mode 100644
index 827a045..0000000
--- a/pages/modules/empty-instore.vue
+++ /dev/null
@@ -1,77 +0,0 @@
-
-
-
-
-
-
-
-
-
- | 起点 |
- 终点 |
- 任务状态 |
- 备注 |
-
-
-
-
- | {{e.point_name1}} |
- {{e.point_name2}} |
- {{e.task_status}} |
- {{e.remark}} |
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/pages/modules/equip-inspection.vue b/pages/modules/equip-inspection.vue
deleted file mode 100644
index 1440a6a..0000000
--- a/pages/modules/equip-inspection.vue
+++ /dev/null
@@ -1,124 +0,0 @@
-
-
-
-
-
-
- 设备号
-
-
-
-
-
-
- 状态
-
-
-
-
-
-
- 备注
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/pages/modules/equip-operate.vue b/pages/modules/equip-operate.vue
deleted file mode 100644
index af5a8eb..0000000
--- a/pages/modules/equip-operate.vue
+++ /dev/null
@@ -1,115 +0,0 @@
-
-
-
-
-
-
- 设备号
-
-
-
-
-
-
- 动作
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/pages/modules/forced-rest.vue b/pages/modules/forced-rest.vue
deleted file mode 100644
index 4c8523a..0000000
--- a/pages/modules/forced-rest.vue
+++ /dev/null
@@ -1,102 +0,0 @@
-
-
-
-
-
-
- 静置时间
-
-
-
-
-
-
-
-
-
-
- | 困料位置 |
- 设备号 |
- 静置时间 |
- 剩余静置时间 |
- 预计完成时间 |
-
-
-
-
- | {{e.point_code}} |
- {{e.device_code}} |
- {{e.standing_time}} |
- {{e.timeDifferenceMinutes}} |
- {{e.estimatedCompletionTimeString}} |
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/pages/modules/hunnian-carry.vue b/pages/modules/hunnian-carry.vue
deleted file mode 100644
index 04cc8e7..0000000
--- a/pages/modules/hunnian-carry.vue
+++ /dev/null
@@ -1,92 +0,0 @@
-
-
-
-
-
-
-
- 载具编码
-
-
-
-
-
-
- 混碾位置
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/pages/modules/hunnian-operate.vue b/pages/modules/hunnian-operate.vue
deleted file mode 100644
index ac4755a..0000000
--- a/pages/modules/hunnian-operate.vue
+++ /dev/null
@@ -1,89 +0,0 @@
-
-
-
-
-
-
-
-
-
- | 压机编号 |
- 泥料号 |
- 工单号 |
- 是否上料 |
-
-
-
-
- | {{e.device_code}} |
- {{e.material_id}} |
- {{e.workorder_id}} |
- {{e.is_finish}} |
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/pages/modules/man-group.vue b/pages/modules/man-group.vue
deleted file mode 100644
index ff8d70f..0000000
--- a/pages/modules/man-group.vue
+++ /dev/null
@@ -1,134 +0,0 @@
-
-
-
-
-
-
-
- 载具编码
-
-
-
-
-
-
- 载具类型
-
-
-
-
-
-
- 点位编码
-
-
-
-
-
-
-
- 物料重量
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/pages/modules/package-instore.vue b/pages/modules/package-instore.vue
deleted file mode 100644
index b6bc2cf..0000000
--- a/pages/modules/package-instore.vue
+++ /dev/null
@@ -1,111 +0,0 @@
-
-
-
-
-
-
- 托盘编码
-
-
-
-
-
- 物料数量
-
-
-
-
-
- 剩余数量
-
-
-
-
-
-
-
-
-
-
- | 起点1 |
- 终点1 |
- 起点2 |
- 终点2 |
- 任务状态 |
-
-
-
-
- | {{e.point_name1}} |
- {{e.point_name2}} |
- {{e.point_name3}} |
- {{e.point_name4}} |
- {{e.task_status}} |
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/pages/modules/pallet-bind.vue b/pages/modules/pallet-bind.vue
deleted file mode 100644
index ce3e1f3..0000000
--- a/pages/modules/pallet-bind.vue
+++ /dev/null
@@ -1,76 +0,0 @@
-
-
-
-
-
-
- 木托盘编码
-
-
-
-
-
-
- 钢托盘编码
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/pages/modules/press-carry.vue b/pages/modules/press-carry.vue
deleted file mode 100644
index b02b71b..0000000
--- a/pages/modules/press-carry.vue
+++ /dev/null
@@ -1,110 +0,0 @@
-
-
-
-
-
-
-
- 载具编码
-
-
-
-
-
-
-
- 搬运起点
-
-
-
-
-
-
-
- 砖块数量
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/pages/modules/shelf-check.vue b/pages/modules/shelf-check.vue
deleted file mode 100644
index b082d79..0000000
--- a/pages/modules/shelf-check.vue
+++ /dev/null
@@ -1,142 +0,0 @@
-
-
-
-
-
-
- 库位编码
-
-
-
-
-
-
- 库位状态
-
-
-
-
-
-
- 托盘编码
-
-
-
-
-
- 砖块数量
-
-
-
-
-
- 物料编码
-
-
-
-
-
-
-
-
-
-
- | 物料编码 |
- 物料名称 |
- 物料规格 |
- 物料型号 |
-
-
-
-
- | {{e.material_code}} |
- {{e.material_name}} |
- {{e.material_spec}} |
- {{e.material_model}} |
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/pages/modules/sort-schedue.vue b/pages/modules/sort-schedue.vue
deleted file mode 100644
index 0b3f70c..0000000
--- a/pages/modules/sort-schedue.vue
+++ /dev/null
@@ -1,123 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/pages/modules/surplus-mater-instore.vue b/pages/modules/surplus-mater-instore.vue
deleted file mode 100644
index 3cdcd7b..0000000
--- a/pages/modules/surplus-mater-instore.vue
+++ /dev/null
@@ -1,101 +0,0 @@
-
-
-
-
-
-
- 托盘编码
-
-
-
-
-
- 物料数量
-
-
-
-
-
-
-
-
-
-
- | 起点 |
- 终点 |
- 任务状态 |
- 备注 |
-
-
-
-
- | {{e.point_name1}} |
- {{e.point_name2}} |
- {{e.task_status}} |
- {{e.remark}} |
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/static/image/menu/RF01.png b/static/image/menu/RF01.png
index 5f06944..7fb4f12 100644
Binary files a/static/image/menu/RF01.png and b/static/image/menu/RF01.png differ
diff --git a/static/image/menu/RF02.png b/static/image/menu/RF02.png
index 15c177a..30c871f 100644
Binary files a/static/image/menu/RF02.png and b/static/image/menu/RF02.png differ
diff --git a/static/image/menu/RF03.png b/static/image/menu/RF03.png
index 1bc47ed..af989ff 100644
Binary files a/static/image/menu/RF03.png and b/static/image/menu/RF03.png differ
diff --git a/static/image/menu/RF04.png b/static/image/menu/RF04.png
index 775f2e8..d648d05 100644
Binary files a/static/image/menu/RF04.png and b/static/image/menu/RF04.png differ
diff --git a/static/image/menu/RF05.png b/static/image/menu/RF05.png
deleted file mode 100644
index af989ff..0000000
Binary files a/static/image/menu/RF05.png and /dev/null differ
diff --git a/static/image/menu/RF06.png b/static/image/menu/RF06.png
deleted file mode 100644
index 30c871f..0000000
Binary files a/static/image/menu/RF06.png and /dev/null differ
diff --git a/static/image/menu/RF07.png b/static/image/menu/RF07.png
deleted file mode 100644
index ba6628a..0000000
Binary files a/static/image/menu/RF07.png and /dev/null differ
diff --git a/static/image/menu/RF08.png b/static/image/menu/RF08.png
deleted file mode 100644
index d2b969b..0000000
Binary files a/static/image/menu/RF08.png and /dev/null differ
diff --git a/static/image/menu/RF09.png b/static/image/menu/RF09.png
deleted file mode 100644
index 972a492..0000000
Binary files a/static/image/menu/RF09.png and /dev/null differ
diff --git a/static/image/menu/RF10.png b/static/image/menu/RF10.png
deleted file mode 100644
index 7e9ddd2..0000000
Binary files a/static/image/menu/RF10.png and /dev/null differ