u view <u-form-item label=“收货地址“ prop=“detail“ > type=“textarea对齐

<u-form-item label="收货地址" prop="detail" >
					<view class="location">
						<view class="inpulocation">
							<u-input 
								class="inpText"
								type="textarea" 
								:auto-height="true"
								v-model="form.detail"
								placeholder="请选择地址" />
						</view>
						<view class="locaIcon"
							 @click="mapStatus" >
								<u-icon name="map" 
								color="#929BA6" 
								size="40"></u-icon>
						</view>
					</view>
				</u-form-item>

/deep/ .u-form-item {
    padding: 0 0 30rpx;
    .u-form-item--left__content__label {
        font-size: 32rpx;
        color: #333;
        line-height: 94rpx;
    }
    // label 在 textarea 左侧上方
    .u-form-item__body {
        align-items: flex-start;
    }
    .u-input__input {
        box-sizing: border-box;
        height: 94rpx;
        padding: 26rpx 30rpx;
        border-radius: 16rpx;
        font-size: 30rpx;
        color: #333;
    }
}

你可能感兴趣的:(uni-app)