This commit is contained in:
aihe 2024-02-01 14:43:37 +08:00
parent 71ccffaf4e
commit 694dc650bd

View File

@ -3,9 +3,9 @@
mut-bind:touchmove="true"> mut-bind:touchmove="true">
<view @touchmove.stop="" class="dialog-mask" @click="handleClose()"></view> <view @touchmove.stop="" class="dialog-mask" @click="handleClose()"></view>
<view :class="`dialog-content ${type} pos-${closePosType}`" <view :class="`dialog-content ${type} pos-${closePosType}`"
:style="`padding: 20rpx 30rpx;background-color:${bgColor};${contentStyle};`"> :style="`padding: 20rpx 0rpx;background-color:${bgColor};`">
<view v-if="title" style="margin-bottom: 30rpx;" > <view v-if="title" style="margin-bottom: 30rpx;" >
<u-row @touchmove.stop="" justify="between" custom-style="padding-bottom: 20rpx;"> <u-row @touchmove.stop="" justify="between" custom-style="padding: 0 30rpx 20rpx; 30rpx;">
<view class="lgd-title">{{title}}</view> <view class="lgd-title">{{title}}</view>
<view @click="handleClose()"> <view @click="handleClose()">
<u-icon name="close" size="32" color="#999"></u-icon> <u-icon name="close" size="32" color="#999"></u-icon>
@ -13,7 +13,7 @@
</u-row> </u-row>
<view style="height: 1rpx;background-color: rgb(214, 215, 217);position: absolute;left: 0rpx;right: 0rpx;;"></view> <view style="height: 1rpx;background-color: rgb(214, 215, 217);position: absolute;left: 0rpx;right: 0rpx;;"></view>
</view> </view>
<view class="lgd-body"> <view class="lgd-body" :style="`padding: 0rpx 30rpx;${contentStyle}`">
<slot></slot> <slot></slot>
</view> </view>
</view> </view>