From 7f6fc656fe079f4baaf0e7c5bf0fe64965af8c5b Mon Sep 17 00:00:00 2001 From: whycq <you@example.com> Date: 星期四, 22 九月 2022 21:01:41 +0800 Subject: [PATCH] # --- pages/user/user.vue | 33 +++++++++++++++++++++++++++++++++ 1 files changed, 33 insertions(+), 0 deletions(-) diff --git a/pages/user/user.vue b/pages/user/user.vue index 02409e3..652c500 100644 --- a/pages/user/user.vue +++ b/pages/user/user.vue @@ -1,8 +1,41 @@ <template> + <view class=""> + <scroll-view class="scroll-Y"> + <button @click="open">鐐瑰嚮</button> + <y-popup ref="yPopup" title="杈撳叆鍐呭"> + + </y-popup> + </scroll-view> + </view> </template> <script> + export default { + data () { + return { + scrollY:true + } + }, + methods: { + open() { + this.$refs.yPopup.open('center') + } + } + + } </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