<!--
    * @FileDescription: DeleteModal
    * @Author: kahu
    * @Date: 2022/11/3
    * @LastEditors: kahu
    * @LastEditTime: 2022/11/3
-->
<template>
  <div class="content">
    <TuiModal
        :show="isShow"
        :custom="true"
        :fadein="true"
    >
      <view class="Put-box1">
        <view class="text-align fs34 fs-bold">
          {{$t('common.notice_dialog_title')}}
        </view>
        <view class="mar-top-40 text-align">
          {{$t('common.deleteproducttips')}}
        </view>
        <view class="flex-display flex-sp-between">
          <view
              class="btn"
              @click="$emit('update:showTip',false)"
          >
            {{$t('common.cancel')}}
          </view>
          <view
              class="btn submit"
              @click="$emit('confirm')"
          >
            {{$t('common.sure')}}
          </view>
        </view>
      </view>
    </TuiModal>
  </div>
</template>

<script>
import TuiModal from "../../../../components/modal/modal";
export default {
  name: "DeleteModal",
  components:{TuiModal},
  data() {
    return {
      isShow:false
    }
  },
  props:{
    showTip:{
      type:Boolean
    }
  },
  watch:{
    showTip(val){
      this.isShow = val
    }
  },
  methods: {}
}
</script>

<style
    lang="scss"
    scoped
>
.Put-box1 {
  .btn {
    text-align: center;
    margin-top: 40rpx;
    border: 1px solid #333333;
    height: 80upx;
    line-height: 80upx;
    width: 240upx;
    color: #333333;
  }

  .submit {
    background-color: #333333;
    color: #FFEBC4;
  }
}
</style>
