From 66a05b7b3ed06409a797d4ec64e16dcb7096acd8 Mon Sep 17 00:00:00 2001 From: dingtalk_umvbsp Date: Wed, 1 Feb 2023 17:38:57 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=9B=BE=E7=89=87=E5=9C=B0?= =?UTF-8?q?=E5=9D=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/massif/mana/plantPlan.vue | 2 +- .../d-form/components/d-form/d-form.vue | 25 +++++++++---------- 2 files changed, 13 insertions(+), 14 deletions(-) diff --git a/pages/massif/mana/plantPlan.vue b/pages/massif/mana/plantPlan.vue index abfe098..02ad19e 100644 --- a/pages/massif/mana/plantPlan.vue +++ b/pages/massif/mana/plantPlan.vue @@ -111,7 +111,7 @@ - + 加载失败 diff --git a/uni_modules/d-form/components/d-form/d-form.vue b/uni_modules/d-form/components/d-form/d-form.vue index dcc8493..6da6cee 100644 --- a/uni_modules/d-form/components/d-form/d-form.vue +++ b/uni_modules/d-form/components/d-form/d-form.vue @@ -67,16 +67,18 @@ padding:20rpx; min-height:260rpx; margin-top:14rpx; - align-content: flex-start; - &/deep/ .u-upload__wrap__preview{ - border-radius: 10rpx; - &>.u-upload__wrap__preview__image{ - height:170rpx!important; - width:170rpx!important; - } - &>.u-upload__deletable{ - width:30rpx; - height:30rpx; + &/deep/ .u-upload__wrap{ + align-items: flex-start; + .u-upload__wrap__preview{ + border-radius: 10rpx; + &>.u-upload__wrap__preview__image{ + height:170rpx!important; + width:170rpx!important; + } + &>.u-upload__deletable{ + width:30rpx; + height:30rpx; + } } } .album{ @@ -381,9 +383,6 @@ import {dataType} from 'black-knight/lib/config/tools' setPickerCol.bind(this.$refs.picker)(this.columns[0]||[],this.value,1) }) } - if(this.type=='upImg'){ - window.the=this - } }, methods:{ async afterRead(e){