diff --git a/components/drag_demo/DragButton.vue b/components/drag_demo/DragButton.vue
deleted file mode 100644
index c0b90de..0000000
--- a/components/drag_demo/DragButton.vue
+++ /dev/null
@@ -1,143 +0,0 @@
-
-
-
- {{ text }}
-
-
-
-
-
-
-
diff --git a/components/drag_demo/Inform.vue b/components/drag_demo/Inform.vue
deleted file mode 100644
index fdb0d80..0000000
--- a/components/drag_demo/Inform.vue
+++ /dev/null
@@ -1,78 +0,0 @@
-
-
-
-
-
-
-
-
-
-
- {{ item.title }}
-
- {{ item.content }}
-
-
- 查看
-
-
-
-
- {{ informInfo.title }}
- {{ informInfo.content }}
- 发布时间:{{ informInfo.date || '暂无' }}
- 返回
-
-
-
-
-
-
-
-
diff --git a/components/drag_demo/index.vue b/components/drag_demo/index.vue
deleted file mode 100644
index a209e2b..0000000
--- a/components/drag_demo/index.vue
+++ /dev/null
@@ -1,43 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/components/fjj-condition/fjj-condition.vue b/components/fjj-condition/fjj-condition.vue
deleted file mode 100644
index 8c6a3ca..0000000
--- a/components/fjj-condition/fjj-condition.vue
+++ /dev/null
@@ -1,605 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
- {{item.title}}
-
- {{item.showMoreList ? '收起' : '更多'}}
-
-
-
-
- {{textItem.title}}
-
-
-
-
- {{textItem.title}}
-
-
-
-
-
-
-
-
- {{item.title}}
-
-
-
-
-
- {{result[item.key][0]}}
-
-
-
-
- {{result[item.key][1]}}
-
-
-
-
-
-
-
-
- {{item.title}}
-
-
-
-
-
- {{result[item.key][0]}}-{{result[item.key][1]}}
-
-
-
-
-
-
-
-
- {{item.title}}
-
-
-
-
-
- {{result[item.key]}}
-
-
-
-
-
-
-
-
- {{item.title}}
-
-
-
-
-
-
- -
-
-
-
-
-
-
-
-
-
- {{item.title}}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/components/head-info/head-info.vue b/components/head-info/head-info.vue
index 431383a..7d9a371 100644
--- a/components/head-info/head-info.vue
+++ b/components/head-info/head-info.vue
@@ -30,7 +30,7 @@
-
+
请选择港区
@@ -48,22 +48,6 @@
数据库管理
-->
-
-
-
@@ -226,11 +210,6 @@
})
}
}
- // if (this.portList.length > 0) {
- // this.$refs.popup.open(this.type)
- // this.portId = this.portList[this.activeIndex].pamId
- // this.portName = this.portList[this.activeIndex].pamName
- // }
}
}
})
@@ -352,7 +331,6 @@
// 点击切换港区
tabsPort(type) {
this.type = type
- this.$refs.popup.open(type)
this.lotusLoadingData.isShow = true
this.initData()
},
@@ -380,24 +358,18 @@
}
uni.setStorageSync('portObj', portObj);
uni.setStorageSync('selectPortIndex', this.activeIndex)
- this.$refs.popup.close()
this.infoType = false
uni.showToast({
icon: 'success',
title: `切换到${this.portName}`
});
- uni.navigateTo({
+ uni.reLaunch({
url: '/pages/index/index'
})
}
}
})
},
- // 关闭弹框
- close() {
- this.$refs.popup.close()
- this.portList = []
- },
// 点击退出登录
outLogin() {
this.$refs.popup2.open()
@@ -600,66 +572,6 @@
}
}
- .popupBox {
- width: 280px;
- height: 320px;
-
- .popupTitle {
- width: 100%;
- height: 48px;
- line-height: 48px;
- text-align: center;
- font-size: 16px;
- color: #23262E;
- font-weight: bold;
- border-bottom: 1px solid #eee;
- }
-
- .ul {
- padding: 30px;
- height: 213px;
- overflow: scroll;
-
- .li {
- height: 40px;
- line-height: 40px;
- text-align: center;
- border: 1px solid #ccc;
- margin-bottom: 10px;
- }
-
- .active {
- color: #0079fe;
- border-color: #0079fe;
- }
- }
-
- .btnBox {
- height: 60px;
- display: flex;
- justify-content: center;
- box-shadow: 0 -3px 7px 0 rgba(0, 0, 0, 0.10);
- border-radius: 0 0 16px 16px;
-
- .btn {
- width: 170px;
- font-size: 16px;
- padding: 10px;
- margin: 10px;
- height: 36px;
- line-height: 18px;
- background-color: #fff;
- border: 1px solid rgba(0, 0, 0, .1);
- }
-
- .btn:last-child {
- color: #fff;
- background-color: #0067CF;
- }
- }
- }
-
-
.message {
width: 400px;
padding: 30px;
diff --git a/components/head-view/head-view.vue b/components/head-view/head-view.vue
index c9081ec..f7523c2 100644
--- a/components/head-view/head-view.vue
+++ b/components/head-view/head-view.vue
@@ -1,7 +1,7 @@
-
+
{{title}}
@@ -160,7 +160,7 @@
},
toBack() {
if (this.url != "") {
- uni.navigateTo({
+ uni.redirectTo({
url: `${this.url}`
})
} else {
@@ -199,9 +199,12 @@
margin-left: 6px;
}
+ /deep/.uni-popup .uni-popup__wrapper {
+ border-radius: 8px;
+ }
+
.popupBox {
min-width: 500px;
- height: 300px;
.popupTitle {
width: 100%;
@@ -210,22 +213,22 @@
text-align: center;
font-size: 18px;
color: #23262E;
- font-weight: bold;
border-bottom: 1px solid #eee;
}
.ul {
padding: 30px;
- height: 192px;
+ max-height: 310px;
overflow: scroll;
.li {
- height: 40px;
- line-height: 40px;
+ height: 46px;
+ line-height: 46px;
text-align: center;
- border: 1px solid #ccc;
+ border: 1px solid #e7e7e7;
margin-bottom: 10px;
font-size: 14px;
+ border-radius: 4px;
}
.active {
@@ -235,7 +238,7 @@
}
.btnBox {
- height: 40px;
+ height: 46px;
display: flex;
justify-content: center;
box-shadow: 0 -3px 7px 0 rgba(0, 0, 0, 0.10);
@@ -245,7 +248,7 @@
width: 170px;
font-size: 16px;
padding: 10px;
- margin: 10px;
+ margin: 5px;
height: 36px;
line-height: 18px;
background-color: #fff;
diff --git a/components/image/zs2.png b/components/image/zs2.png
deleted file mode 100644
index 01fa069..0000000
Binary files a/components/image/zs2.png and /dev/null differ
diff --git a/components/lm-combox/lm-combox.vue b/components/lm-combox/lm-combox.vue
deleted file mode 100644
index 0f8509d..0000000
--- a/components/lm-combox/lm-combox.vue
+++ /dev/null
@@ -1,241 +0,0 @@
-
-
-
- {{label}}
-
-
-
-
-
-
-
-
-
- {{emptyTips}}
-
-
- {{item}}
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/components/mx-datepicker/mx-datepicker.vue b/components/mx-datepicker/mx-datepicker.vue
deleted file mode 100644
index a2fcd58..0000000
--- a/components/mx-datepicker/mx-datepicker.vue
+++ /dev/null
@@ -1,819 +0,0 @@
-
-
-
-
-
-
-
-
- {{week}}
-
-
-
-
-
-
- {{date.title}}
-
-
-
-
- {{date.tips}}
-
-
-
-
-
-
-
-
-
-
-
- {{i<10?'0'+i:i}}时
-
-
- {{i<10?'0'+i:i}}分
-
-
- {{i<10?'0'+i:i}}秒
-
-
-
-
-
-
-
-
-
-
-
diff --git a/components/sider-bar/slider-bar.vue b/components/sider-bar/slider-bar.vue
deleted file mode 100644
index 7d7362e..0000000
--- a/components/sider-bar/slider-bar.vue
+++ /dev/null
@@ -1,64 +0,0 @@
-
-
-
-
-
-
\ No newline at end of file
diff --git a/components/u-input/emitter.js b/components/u-input/emitter.js
deleted file mode 100644
index 7af43d2..0000000
--- a/components/u-input/emitter.js
+++ /dev/null
@@ -1,55 +0,0 @@
-/**
- * 递归使用call方式 this指向
- *
- * @param {String} componentName 需要查找的组件的名称
- * @param {String} eventName 事件名称
- * @param {Object} params 需要传递的参数
- */
-function broadcast(componentName, eventName, params) {
- // 循环子节点找到需要的节点,没有查找到就递归进行查找
- this.$children.map(child => {
- if (componentName === child.$options.name) {
- child.$emit.apply(child, [eventName].concat(params))
- } else {
- broadcast.apply(child, [componentName, eventName].concat(params))
- }
- })
-}
-
-export default {
- methods: {
- /**
- * 派发 向上查找一个
- * @param {Object} componentName 需要查找的组件的名称
- * @param {Object} eventName 事件名称
- * @param {Object} params 需要传递的参数
- */
- dispatch(componentName, eventName, params) {
- // 找到最近父节点 $root 根节点
- let parent = this.$parent || this.$root
- // 获取当前实例的名称
- let name = parent.$options.name
-
- // 当前存在节点并且当前节点没有名称或者名称不等于我们要查找的节点名称,则继续遍历
- while (parent && (!name || name !== componentName)) {
- parent = parent.$parent
- if (parent) {
- name = parent.$options.name
- }
- }
- // 如果有节点则表示找到
- if (parent) {
- parent.$emit.apply(parent, [eventName].concat(params))
- }
- },
- /**
- * 广播 向下查找多个
- * @param {Object} componentName 需要查找的组件的名称
- * @param {Object} eventName 事件名称
- * @param {Object} params 需要传递的参数
- */
- broadcast(componentName, eventName, params) {
- broadcast.call(this, componentName, eventName, params)
- }
- }
-}
\ No newline at end of file
diff --git a/components/u-input/index.vue b/components/u-input/index.vue
deleted file mode 100644
index 6ef167e..0000000
--- a/components/u-input/index.vue
+++ /dev/null
@@ -1,320 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/components/uni-plate-input/uni-plate-input.css b/components/uni-plate-input/uni-plate-input.css
deleted file mode 100644
index d381cff..0000000
--- a/components/uni-plate-input/uni-plate-input.css
+++ /dev/null
@@ -1,208 +0,0 @@
-.so-mask {
- position: fixed;
- top: 0;
- bottom: 0;
- right: 0;
- left: 0;
- background: rgba(0, 0, 0, 0.5);
- z-index: 998
-}
-
-.so-plate {
- box-sizing: border-box;
- position: absolute;
- bottom: 0;
- width: 100%;
- left: 0;
- background: #fff;
- padding: 25upx 25upx 0 25upx
-}
-
-.so-plate-head {
- display: -webkit-box;
- display: flex;
- -webkit-box-pack: justify;
- justify-content: space-between;
- -webkit-box-align: center;
- align-items: center
-}
-
-.so-plate-type {
- -webkit-box-flex: 1;
- flex: 1;
- display: block
-}
-
-.so-plate-type label {
- display: inline-block;
- min-height: 32upx;
- font-size: 26upx;
- margin-right: 20upx
-}
-
-.so-plate-body {
- box-sizing: border-box;
- padding: 30upx 0;
- display: -webkit-box;
- display: flex;
- -webkit-box-pack: justify;
- justify-content: space-between;
- -webkit-box-align: center;
- align-items: center
-}
-
-.so-plate-word {
- border: 1upx solid #ccc;
- border-radius: 10upx;
- height: 0;
- margin: 0 5upx;
- box-sizing: border-box;
- padding-bottom: calc(4.28571429%);
- width: calc(4.28571429%);
- position: relative
-}
-
-.so-plate-word.active {
- border-color: #007aff;
- box-shadow: 0 0 15upx 0 #007aff
-}
-
-.so-plate-word text {
- position: absolute;
- top: 50%;
- left: 50%;
- -webkit-transform: translateX(-50%) translateY(-50%);
- transform: translateX(-50%) translateY(-50%);
- font-weight: 700;
- font-size: 32upx
-}
-
-.so-plate-dot {
- width: 15upx;
- height: 15upx;
- background: #ccc;
- border-radius: 50%;
- margin: 0 5upx
-}
-
-.so-plate-keyboard {
- background: #eee;
- margin-left: -25upx;
- margin-right: -25upx;
- padding: 20upx 25upx 10upx 25upx;
- box-sizing: border-box;
- -webkit-transition: all .3s;
- transition: all .3s
-}
-
-.so-plate-keyboard>view {
- display: -webkit-box;
- display: flex;
- flex-wrap: wrap;
- -webkit-box-pack: justify;
- justify-content: space-between
-}
-
-.so-plate-key {
- display: block;
- background: #fff;
- border-radius: 10upx;
- box-shadow: 0 0 8upx 0 #bbb;
- width: 80upx;
- height: 80upx;
- margin: 5upx 0;
- font-size: 32upx;
- text-align: center;
- display: -webkit-box;
- display: flex;
- -webkit-box-align: center;
- align-items: center;
- -webkit-box-pack: center;
- justify-content: center;
- position: relative
-}
-
-.so-plate-key.hover {
- background: #efefef
-}
-
-.so-plate-key.fill-block {
- width: 80upx;
- height: 80upx;
- background: none;
- box-shadow: none
-}
-
-.so-plate-btn {
- display: inline-block;
- background: #fff;
- border-radius: 10upx;
- box-shadow: 0 0 10upx 0 #bbb;
- font-size: 28upx;
- text-align: center;
- margin: 0 0 0 10upx
-}
-
-.so-plate-btn-group {
- display: -webkit-box;
- display: flex;
- -webkit-box-pack: justify;
- justify-content: space-between;
- background: #eee;
- margin-left: -25upx;
- margin-right: -25upx;
- box-sizing: border-box;
- padding: 0 25upx 10upx 25upx
-}
-
-.so-plate-btn--cancel {
- margin: 0
-}
-
-.so-plate-btn--submit {
- background: #5773f9;
- color: #fff
-}
-
-.so-plate-btn--delete {
- color: #fd6b6d
-}
-
-.animation-scale-up {
- -webkit-animation-duration: .2s;
- animation-duration: .2s;
- -webkit-animation-timing-function: ease-out;
- animation-timing-function: ease-out;
- -webkit-animation-fill-mode: both;
- animation-fill-mode: both;
- -webkit-animation-name: scale-up;
- animation-name: scale-up
-}
-
-@-webkit-keyframes scale-up {
- 0% {
- opacity: .8;
- -webkit-transform: scale(.8);
- transform: scale(.8)
- }
-
- 100% {
- opacity: 1;
- -webkit-transform: scale(1);
- transform: scale(1)
- }
-}
-
-@keyframes scale-up {
- 0% {
- opacity: .8;
- -webkit-transform: scale(.8);
- transform: scale(.8)
- }
-
- 100% {
- opacity: 1;
- -webkit-transform: scale(1);
- transform: scale(1)
- }
-}
diff --git a/components/uni-plate-input/uni-plate-input.less b/components/uni-plate-input/uni-plate-input.less
deleted file mode 100644
index b3594d3..0000000
--- a/components/uni-plate-input/uni-plate-input.less
+++ /dev/null
@@ -1,154 +0,0 @@
-.so-mask {
- position: fixed;
- top: 0;
- bottom: 0;
- right: 0;
- left: 0;
- background: rgba(0, 0, 0, 0.5);
- z-index: 998;
-}
-.so-plate {
- box-sizing: border-box;
- position: absolute;
- bottom: 0;
- width: 100%;
- left: 0;
- background: #fff;
- padding: 25upx 25upx 0 25upx;
- &-head {
- display: flex;
- justify-content: space-between;
- align-items: center;
- }
- &-type {
- flex:1;
- display:block;
- label {
- display: inline-block;
- min-height: 32upx;
- font-size: 26upx;
- margin-right: 10upx;
- }
- }
- &-body {
- box-sizing: border-box;
- padding: 30upx 0;
- display: flex;
- justify-content: space-between;
- align-items: center;
- }
- &-word {
- border: 1upx solid #ccc;
- border-radius: 10upx;
- height: 0;
- margin: 0 5upx;
- box-sizing: border-box;
- padding-bottom: calc((100% - 70upx) / 7);
- width: calc((100% - 70upx) / 7);
- position: relative;
- &.active {
- border-color: #007aff;
- box-shadow: 0 0 15upx 0 #007aff;
- }
- text {
- position: absolute;
- top: 50%;
- left: 50%;
- transform: translateX(-50%) translateY(-50%);
- font-weight: 700;
- font-size: 32upx;
- }
- }
- &-dot {
- width: 15upx;
- height: 15upx;
- background: #ccc;
- border-radius: 50%;
- margin: 0 5upx;
- }
- &-keyboard {
- background: #eee;
- margin-left: -25upx;
- margin-right: -25upx;
- padding: 20upx 25upx 10upx 25upx;
- box-sizing: border-box;
- transition: all .3s;
- &>view{
- display: flex;
- flex-wrap: wrap;
- justify-content: space-between;
- }
- }
- &-key {
- display: block;
- background: #fff;
- border-radius: 10upx;
- box-shadow: 0 0 8upx 0 #bbb;
- width: 80upx;
- height: 80upx;
- margin: 5upx 0;
- font-size: 32upx;
- text-align: center;
- display: flex;
- align-items: center;
- justify-content: center;
- position: relative;
- &.hover {
- background: #efefef;
- }
- &.fill-block {
- width: 80upx;
- height: 80upx;
- background: none;
- box-shadow: none;
- }
- }
- &-btn {
- display: inline-block;
- background: #fff;
- border-radius: 10upx;
- box-shadow: 0 0 10upx 0 #bbb;
- font-size: 28upx;
- text-align: center;
- margin:0 0 0 10upx;
- padding:0 25upx;
- &-group{
- display: flex;
- justify-content: space-between;
- background: #eee;
- margin-left: -25upx;
- margin-right: -25upx;
- box-sizing: border-box;
- padding: 0 25upx 10upx 25upx;
- }
- &--cancel{
- margin:0;
- }
- &--submit{
- background:#5773f9;
- color:#fff;
- }
- &--delete{
- color:#fd6b6d;
- }
- }
-}
-
-
-.animation-scale-up {
- animation-duration: .2s;
- animation-timing-function: ease-out;
- animation-fill-mode: both;
- animation-name: scale-up
-}
-@keyframes scale-up {
- 0% {
- opacity: .8;
- transform: scale(.8)
- }
-
- 100% {
- opacity: 1;
- transform: scale(1)
- }
-}
\ No newline at end of file
diff --git a/components/uni-plate-input/uni-plate-input.vue b/components/uni-plate-input/uni-plate-input.vue
deleted file mode 100644
index 029a9d8..0000000
--- a/components/uni-plate-input/uni-plate-input.vue
+++ /dev/null
@@ -1,265 +0,0 @@
-/**
-* @author minisola
-* @version 20190814
-*/
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{ currentInputValue[0] }}
-
-
- {{ currentInputValue[1] }}
-
-
-
- {{ currentInputValue[2] }}
-
-
- {{ currentInputValue[3] }}
-
-
- {{ currentInputValue[4] }}
-
-
- {{ currentInputValue[5] }}
-
-
- {{ currentInputValue[6] }}
-
-
- {{ currentInputValue[7] }}
-
-
-
-
-
-
-
-
diff --git a/pages.json b/pages.json
index f7569aa..5ae0c12 100644
--- a/pages.json
+++ b/pages.json
@@ -1,16 +1,19 @@
{
- // "easycom": {
- // "autoscan": true,
- // "custom": {
- // "^(.*)": "@/components/$1/$1.vue"
-
- // }
- // },
+ // "easycom": {
+ // "autoscan": true,
+ // "custom": {
+ // "^(.*)": "@/components/$1/$1.vue"
+
+ // }
+ // },
"pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
{
"path": "pages/login/index",
"style": {
- "navigationBarTitleText": "登录"
+ "navigationBarTitleText": "登录",
+ "app-plus": {
+ "softinputMode": "adjustPan"
+ }
}
},
{
diff --git a/pages/discharge/index.vue b/pages/discharge/index.vue
index 6692393..6a52d10 100644
--- a/pages/discharge/index.vue
+++ b/pages/discharge/index.vue
@@ -27,9 +27,9 @@
- ● {{item.vvyStatusName}}
- ● {{item.vvyStatusName}}
- ● {{item.vvyStatusName}}
+ {{item.vvyStatusName}}
+ {{item.vvyStatusName}}
+ {{item.vvyStatusName}}
@@ -50,6 +50,9 @@
+
+
+
@@ -58,7 +61,6 @@
@change="changePage" />
-->
-
@@ -66,7 +68,6 @@