<template>
	<view  :class="['cu-modal',show ? 'show' : '']">
	  <view class="cu-dialog">
	    <view class="cu-bar bg-white justify-end">
	      <view class="content">{{title}}</view>
	      <view class="action" @click="$emit('update:show',false)">
	        <text class="cuIcon-close text-red"></text>
	      </view>
	    </view>
	    <view class="padding-xl">
	       {{content}} <solt v-if="!content" />
	    </view>
	  </view>
	</view>
</template>

<script>
	export default {
		props:{
			show:{type:Boolean,default:false},
			title:{type:String,default:''},
			content:{type:String,default:''}
		}
	}
</script>

<style>
</style>