From 01fa158740467ca0db83b131249beeeb515a73c2 Mon Sep 17 00:00:00 2001 From: cuiqian2004 <cuiqian2004@163.com> Date: 星期二, 01 四月 2025 16:03:57 +0800 Subject: [PATCH] test --- components/oi-form/list/index.vue | 21 +++++---------------- 1 files changed, 5 insertions(+), 16 deletions(-) diff --git a/components/oi-form/list/index.vue b/components/oi-form/list/index.vue index b2d9f5d..a32dd99 100644 --- a/components/oi-form/list/index.vue +++ b/components/oi-form/list/index.vue @@ -1,5 +1,5 @@ <template> - <view :class="viewMode ? 'oi-form-item-view':'oi-form-item'"> + <view class="oi-form-item"> <uni-forms-item v-show="!hiddenIds.includes(data.fieldId)" :label="data.labelWidth === 0 ? '' : data.label? data.label+'锛�:''" :label-width="data.labelWidth || data.labelWidth === 0 ? data.labelWidth : 100+'px'" @@ -105,23 +105,12 @@ }; </script> -<style lang="scss" scoped> +<style lang="less" scoped> .oi-form-item { .uni-forms-item { - margin-bottom: 11rpx; - } - - } - - .oi-form-item-view { - .uni-forms-item { - padding-bottom: 5rpx; - margin-bottom: 0; - - .uni-forms-item__label { - height: 20px !important; - padding: 0 10rpx 0 0 !important; - } + margin-bottom: 15rpx; } } + + </style> \ No newline at end of file -- Gitblit v1.9.1