From 36c5ea0dac00ca30e36f6cd13d623b299d0be4c5 Mon Sep 17 00:00:00 2001 From: whycq <you@example.com> Date: 星期五, 23 九月 2022 12:32:27 +0800 Subject: [PATCH] # --- pages/user/user.vue | 61 ++++++++++++++++++++++++++++-- 1 files changed, 56 insertions(+), 5 deletions(-) diff --git a/pages/user/user.vue b/pages/user/user.vue index c922769..b9b113a 100644 --- a/pages/user/user.vue +++ b/pages/user/user.vue @@ -1,15 +1,66 @@ <template> <view class=""> - <y-popup> - <view style="background-color: aqua;width: 100rpx;height: 100rpx;"></view> - <input type="text" style="background-color: aqua;"> - </y-popup> + <scroll-view class="scroll-Y"> + <button size="mini" @click="up">btn</button> + <view style="margin: 2%;border-radius: 5rpx;background-color: #fff;width: 96%;min-height: 50rpx; + box-shadow: 0 0 10upx rgba(0, 0, 0, 0.1);"> + <y-title title="title" /> + </view> + <y-input title="鍟嗗搧鐮�" @input="show" v-model="matnr" placeholder=" 鎵爜 / 杈撳叆"/> + <y-input title="搴撲綅鐮�" @input="show" v-model="locno"/> + <y-input title="鎵樼洏鐮�" v-model="barcode" /> + <y-input title="璁㈠崟鐮�" v-model="orderNo"></y-input> + <y-input-btn title="璁㈠崟鐮�" v-model="orderNo" btnTitle="鎻愬彇+" @confrim="changge"></y-input-btn> + </scroll-view> </view> </template> <script> + export default { + data () { + return { + scrollY:true, + matnr:'1100878-10000-21074558989', + locno: '0100509', + barcode: '80006098', + orderNo: 'JK20220923', + matList: [{id:1},{id:2},{id:1},{id:2},{id:2}, + {id:1},{id:2},{id:2},{id:1},{id:2},{id:2},{id:1}, + {id:2},{id:2},{id:1},{id:2},{id:2},{id:1},{id:2}] + + } + }, + methods: { + open() { + this.$refs.yPopup.open('center') + }, + up() { + this.matnr = '' + console.log(this.matnr); + }, + show() { + console.log(this.matnr,this.locno); + }, + changge() { + this.matnr = '' + console.log(this.barcode,this.orderNo); + } + } + + } </script> <style> - + .vv { + width: 100%;height: 100rpx; + + } + .bb { + position: fixed; + top: 0; + left: 0; + width: 100%; + height: 100%; + overflow: hidden; + } </style> \ No newline at end of file -- Gitblit v1.9.1