|
@@ -4,9 +4,15 @@
|
|
****--@description 确认弹框 可以继续完善
|
|
****--@description 确认弹框 可以继续完善
|
|
-->
|
|
-->
|
|
<template>
|
|
<template>
|
|
- <u-popup :show="show" mode="center" :round="10" :customStyle="popupCustomStyle">
|
|
|
|
|
|
+ <u-popup
|
|
|
|
+ :show="show"
|
|
|
|
+ :safeAreaInsetBottom="false"
|
|
|
|
+ mode="center"
|
|
|
|
+ :round="10"
|
|
|
|
+ :customStyle="popupCustomStyle"
|
|
|
|
+ >
|
|
<view class="popup-confirm">
|
|
<view class="popup-confirm">
|
|
- <view class="f-s-34 text-bold text-333 text-center u-m-b-32">提示</view>
|
|
|
|
|
|
+ <view class="f-s-34 text-bold text-333 text-center u-m-b-32 u-m-t-20">提示</view>
|
|
<view class="popup-content">{{ text }}</view>
|
|
<view class="popup-content">{{ text }}</view>
|
|
<view class="fl-flex popup-bottom">
|
|
<view class="fl-flex popup-bottom">
|
|
<view class="popup-btn popup-btn1" @click="confirm">{{ confirmText }}</view>
|
|
<view class="popup-btn popup-btn1" @click="confirm">{{ confirmText }}</view>
|
|
@@ -26,7 +32,7 @@ export default {
|
|
},
|
|
},
|
|
width: {
|
|
width: {
|
|
type: String,
|
|
type: String,
|
|
- default: '550rpx',
|
|
|
|
|
|
+ default: '600rpx',
|
|
},
|
|
},
|
|
confirmText: {
|
|
confirmText: {
|
|
type: String,
|
|
type: String,
|
|
@@ -46,6 +52,7 @@ export default {
|
|
return {
|
|
return {
|
|
width: this.width,
|
|
width: this.width,
|
|
padding: '24rpx',
|
|
padding: '24rpx',
|
|
|
|
+ padding: '0rpx',
|
|
};
|
|
};
|
|
},
|
|
},
|
|
},
|
|
},
|
|
@@ -62,23 +69,17 @@ export default {
|
|
|
|
|
|
<style lang="scss" scoped>
|
|
<style lang="scss" scoped>
|
|
.popup-confirm {
|
|
.popup-confirm {
|
|
- position: relative;
|
|
|
|
.popup-content {
|
|
.popup-content {
|
|
color: #333;
|
|
color: #333;
|
|
font-size: 30rpx;
|
|
font-size: 30rpx;
|
|
line-height: 40rpx;
|
|
line-height: 40rpx;
|
|
- margin-bottom: 50rpx;
|
|
|
|
text-align: justify;
|
|
text-align: justify;
|
|
|
|
+ margin: 0 32rpx 40rpx;
|
|
}
|
|
}
|
|
.popup-bottom {
|
|
.popup-bottom {
|
|
- width: 109.5%;
|
|
|
|
- position: absolute;
|
|
|
|
- left: -24rpx;
|
|
|
|
- bottom: -89rpx;
|
|
|
|
- font-size: 32rpx;
|
|
|
|
color: #333;
|
|
color: #333;
|
|
.popup-btn {
|
|
.popup-btn {
|
|
- width: calc(109.5% / 2);
|
|
|
|
|
|
+ width: calc(100% / 2);
|
|
height: 112rpx;
|
|
height: 112rpx;
|
|
line-height: 112rpx;
|
|
line-height: 112rpx;
|
|
text-align: center;
|
|
text-align: center;
|