<template>
	<uni-popup ref="popupRef" :isMaskClick="false">
		<!-- @change="popupChange" -->
		<view class="hint-box">
			<view class="hint-title">{{ title }}</view>
			<view class="hint-content">
				<slot name="hintContent"></slot>
			</view>
		</view>
	</uni-popup>
</template>

<script>
	export default {
		props:{
			title:{
				type:String,
				default:''
			}
		},

		data() {
			return {

			};
		},
		watch: {

		},
		mounted() {
		 
		},
		methods: {
			open() {
				this.$nextTick(() => {
					this.$refs.popupRef.open()
				})
			},
			close(){
				this.$refs.popupRef.close()
			}
		}
	}
</script>

<style lang="scss" scoped>
	.hint-box {
		width: 650rpx;
		background-color: #fff;

		.hint-title {
			width: 100%;
			height: 80rpx;
			line-height: 80rpx;
			text-align: center;
			border-bottom: 1rpx solid $border-color;
		}

		.hint-content {
			width: 100%;
			padding: 80rpx 60rpx;
			font-size: 28rpx;

			::v-deep .content-list {
				text {
					display: block;
				}
			}

			::v-deep .explain {
				color: $Theme-Color;
			}

			// <view class="hite-box">
			// 	<text class="box"></text>
			// 	<text>不在提示</text>
			// </view>
			::v-deep .hite-box {
				display: flex;
				align-items: center;
				padding-top: 20rpx;
				.box {
					border: 1rpx solid #ccc;
					width: 30rpx;
					height: 30rpx;
					margin-right: 10rpx;
					display: flex;
					justify-content: center;
					align-items: center;
					.iconfont{
						font-size: 32rpx;
						color: $Theme-Color;
					}
				}
			}
			::v-deep .confirm-btn{
				width: 100%;
				height: 80rpx;
				text-align: center;
				line-height: 80rpx;
				background-color: $Theme-Color;
				margin-top: 50rpx;
				color: #fff;
				font-size: 28rpx;
			}
		}
	}
</style>