From 9a0ea77000478287ba82e4af0e7258fd1e43044c Mon Sep 17 00:00:00 2001 From: Tevin <tingquanren@163.com> Date: Wed, 22 Nov 2023 10:22:22 +0800 Subject: [PATCH] 扫码输入框,支持只读 --- layout/card/CCardAction.vue | 10 ++++++++-- 1 files changed, 8 insertions(+), 2 deletions(-) diff --git a/layout/card/CCardAction.vue b/layout/card/CCardAction.vue index 41fc44f..7114ccb 100644 --- a/layout/card/CCardAction.vue +++ b/layout/card/CCardAction.vue @@ -4,8 +4,14 @@ */ <template> - <view class="c-card-action"> - </view> + <scroll-view + class="c-card-action m-border-strong-top" + :scroll-x="true" + @touchstart.stop="evt => null" + @touchmove.stop="evt => null" + > + <slot /> + </scroll-view> </template> <script> -- Gitblit v1.9.1