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 | 18 +++++++++++++----- 1 files changed, 13 insertions(+), 5 deletions(-) diff --git a/pages/user/user.vue b/pages/user/user.vue index 652c500..0a0d63c 100644 --- a/pages/user/user.vue +++ b/pages/user/user.vue @@ -1,10 +1,9 @@ <template> <view class=""> <scroll-view class="scroll-Y"> - <button @click="open">鐐瑰嚮</button> - <y-popup ref="yPopup" title="杈撳叆鍐呭"> - - </y-popup> + <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> @@ -13,12 +12,21 @@ export default { data () { return { - scrollY:true + 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); } } -- Gitblit v1.9.1