diff --git a/src/pages/proj/RunOperate.vue b/src/pages/proj/RunOperate.vue index a3ac72b..9c57587 100644 --- a/src/pages/proj/RunOperate.vue +++ b/src/pages/proj/RunOperate.vue @@ -12,7 +12,7 @@
-
222{{val1}}
+
{{val1}}
@@ -24,19 +24,19 @@
-
{{val1}}
+
{{val1}}
-
{{val2}}
+
{{val2}}
-
{{val3}}
+
{{val3}}
@@ -57,13 +57,13 @@
-
{{val5}}
+
{{val5}}
-
{{val6}}
+
{{val6}}
@@ -71,27 +71,139 @@
-
+
+
占位检测
+ +
+
+ +
{{val7}}
+
+
+
-
- - - - +
+
占位检测
+
    +
  • + + + 1 + 2 +
  • +
  • + + + 1 + 2 +
  • +
+
+
+ +
{{val8}}
+
+
-
- - +
+ 1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9 + 10 + 11 + 12 +
+
+
+ + + + +
+
+ + +
+
+
-
+
-
修改
+
{{optname}}
- +
@@ -100,7 +212,7 @@
-
+
@@ -115,6 +227,7 @@ export default { data () { return { opt: '', // 标识 + optname: '', interTime: this.$store.getters.setTime, timer: null, active: false, @@ -125,6 +238,8 @@ export default { val4: '', val5: '', val6: '', + val7: '', + val8: '', options: [ { value: '1', @@ -174,6 +289,10 @@ export default { // clearInterval(this.timer) // this.timer = null // }, + mounted () { + alert(window.screen.width) + alert(window.screen.height) + }, methods: { refresh () { this._queryDeviceInfo() @@ -181,10 +300,15 @@ export default { this._queryDeviceInfo() }, this.interTime) }, - toChange (a, v) { - this.opt = a - this.val = v + toChange (a, b, v) { this.active = true + setTimeout(() => { + this.$refs.id.focus() + }, 200) + // document.getElementById('inputId').focus() + this.opt = a + this.optname = b + this.val = v }, msgSure () { if (this.opt === 1) { @@ -202,6 +326,12 @@ export default { if (this.opt === 6) { this.val6 = this.val } + if (this.opt === 7) { + this.val7 = this.val + } + if (this.opt === 8) { + this.val8 = this.val + } this.active = false }, msgCancle () { @@ -229,33 +359,37 @@ export default { display flex width 100% .box1 + box-sizing border-box width 28% - height 800px + // height 800px // background #fff padding .1rem .box2 + box-sizing border-box width 42% - height 800px - background #fc0 + // height 800px + // background #fc0 + padding .1rem .box3 + box-sizing border-box width 30% - height 800px - background #ccc + // height 800px + // background #ccc + padding-top .1rem position relative - display flex .d-status margin-bottom 8px .d-label1 - font-size 15px + font-size 12px margin-right 5px .obt display inline-block - width 20% text-align center line-height .2rem - font-size 15px + font-size 12px color #fff border 1px solid #eee + padding 2px 5px .obt1 background-color blue .obt2 @@ -263,30 +397,39 @@ export default { .obt3 background-color #fc0 .d-label2 - font-size: 15px; - color: #464646; - width: 1.2rem; - line-height: .34rem; - height: .34rem; - // text-align: justify; - // text-align-last: justify; + font-size 12px + color #464646 + width 1.2rem + line-height .34rem + height .34rem + // text-align justify + // text-align-last justify +.d-label3 + width .6rem +.d-label4 + width 1.1rem .d_input width: 100%; display: flex; - justify-content: space-between; + justify-content: flex-start; .showbox display inline-block // width calc(100% - .8rem) width 60% height .34rem line-height .34rem - font-size 13px + font-size .12rem color #606266 text-indent .16rem background-color #fff border 1px solid #D1D1D1 border-radius 4px margin-bottom 8px +.showbox2 + width 50% + margin-bottom 0 +.showbox3 + width 50% .bggray background-color #f2f6ff .f_item @@ -295,15 +438,66 @@ export default { .d_btm margin-top .12rem button - font-size 20px + font-size 16px +.b3-top + width 100% + // height 3rem + // margin-top .1rem + // padding-left 5px +.t-desc + font-size 12px + margin-left 1.3rem +ul + li + margin 20px 0 + label + font-size 12px + display inline-block + width .6rem + button + width 80px + height .24rem + line-height .24rem + font-size 12px + padding 0 + min-width 0 + span + display inline-block + width 20px + height 20px + line-height 20px + font-size 16px + text-align center + background #dcdfe6 +.b3-center + width 100% + // height 1rem + margin-top .1rem + margin-bottom .16rem + span + display inline-block + width 19px + height 19px + line-height 19px + font-size 14px + text-align center + background #dcdfe6 .b3_btm - // position fixed - // bottom .5rem - display inline-block + display flex .button--primary - font-size 18px - width 90% + font-size 12px + width 1.1rem margin .02rem + padding 0 +.b3_btm2 + position fixed + bottom .5rem + right 0 + .button--primary + font-size 12px + width 1.1rem + margin .02rem + padding 0 .wrap-filter-button padding 0.05rem 0.2rem margin 0 @@ -313,4 +507,12 @@ export default { margin 0.08rem 0 .filter_item margin 0.08rem 0 0 0 +.label_item + width 50% + font-size .12rem + text-align center +.from_item + width 35% +.button--primary + font-size 12px