From 8f10bd11c3b3dc29a9c2a03a0172d5e0196983c2 Mon Sep 17 00:00:00 2001 From: whycq <you@example.com> Date: 星期四, 22 九月 2022 22:47:22 +0800 Subject: [PATCH] # --- pages/user/user.vue | 19 +++++++++++++++---- 1 files changed, 15 insertions(+), 4 deletions(-) diff --git a/pages/user/user.vue b/pages/user/user.vue index 652c500..bc5912f 100644 --- a/pages/user/user.vue +++ b/pages/user/user.vue @@ -1,10 +1,13 @@ <template> <view class=""> <scroll-view class="scroll-Y"> - <button @click="open">鐐瑰嚮</button> - <y-popup ref="yPopup" title="杈撳叆鍐呭"> + <!-- <button @click="open">鐐瑰嚮</button> --> + <!-- <y-popup ref="yPopup" title="杈撳叆鍐呭"> - </y-popup> + </y-popup> --> + <button size="mini" @click="up">button</button> + <y-input title="鍟嗗搧鐮�" :inputVal="matnr" /> + <y-input title="搴撲綅鐮�" /> </scroll-view> </view> </template> @@ -13,12 +16,20 @@ export default { data () { return { - scrollY:true + scrollY:true, + matnr:'1' } }, methods: { open() { this.$refs.yPopup.open('center') + }, + up() { + // setTimeout(()=>{ + // this.matnr = '1024' + // },300) + this.matnr = '1024' + console.log(this.matnr); } } -- Gitblit v1.9.1