From a8ff66137ee5397527290dd015d9d9ea39065cf4 Mon Sep 17 00:00:00 2001 From: whycq <you@example.com> Date: 星期五, 23 九月 2022 01:00:34 +0800 Subject: [PATCH] # --- pages/user/user.vue | 44 +++++++++++++++++++++++++++++++++++++++----- 1 files changed, 39 insertions(+), 5 deletions(-) diff --git a/pages/user/user.vue b/pages/user/user.vue index c922769..0a0d63c 100644 --- a/pages/user/user.vue +++ b/pages/user/user.vue @@ -1,15 +1,49 @@ <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> + <y-input title="鍟嗗搧鐮�" @input="show" v-model="matnr" placeholder=" nihao"/> + <y-input title="搴撲綅鐮�" @input="show" v-model="locno"/> + </scroll-view> </view> </template> <script> + export default { + data () { + return { + scrollY:true, + matnr:'10086', + locno: 55 + } + }, + methods: { + open() { + this.$refs.yPopup.open('center') + }, + up() { + this.matnr = '' + console.log(this.matnr); + }, + show() { + console.log(this.matnr,this.locno); + } + } + + } </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