多租户商城-商户小程序端
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

85 lines
1.5 KiB

2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
  1. <!--
  2. * @FileDescription: DeleteModal
  3. * @Author: kahu
  4. * @Date: 2022/11/3
  5. * @LastEditors: kahu
  6. * @LastEditTime: 2022/11/3
  7. -->
  8. <template>
  9. <div class="content">
  10. <TuiModal
  11. :show="isShow"
  12. :custom="true"
  13. :fadein="true"
  14. >
  15. <view class="Put-box1">
  16. <view class="text-align fs34 fs-bold">
  17. {{$t('common.notice_dialog_title')}}
  18. </view>
  19. <view class="mar-top-40 text-align">
  20. {{$t('common.deleteproducttips')}}
  21. </view>
  22. <view class="flex-display flex-sp-between">
  23. <view
  24. class="btn"
  25. @click="$emit('update:showTip',false)"
  26. >
  27. {{$t('common.cancel')}}
  28. </view>
  29. <view
  30. class="btn submit"
  31. @click="$emit('confirm')"
  32. >
  33. {{$t('common.sure')}}
  34. </view>
  35. </view>
  36. </view>
  37. </TuiModal>
  38. </div>
  39. </template>
  40. <script>
  41. import TuiModal from "../../../../components/modal/modal";
  42. export default {
  43. name: "DeleteModal",
  44. components:{TuiModal},
  45. data() {
  46. return {
  47. isShow:false
  48. }
  49. },
  50. props:{
  51. showTip:{
  52. type:Boolean
  53. }
  54. },
  55. watch:{
  56. showTip(val){
  57. this.isShow = val
  58. }
  59. },
  60. methods: {}
  61. }
  62. </script>
  63. <style
  64. lang="scss"
  65. scoped
  66. >
  67. .Put-box1 {
  68. .btn {
  69. text-align: center;
  70. margin-top: 40rpx;
  71. border: 1px solid #333333;
  72. height: 80upx;
  73. line-height: 80upx;
  74. width: 240upx;
  75. color: #333333;
  76. }
  77. .submit {
  78. background-color: #333333;
  79. color: #FFEBC4;
  80. }
  81. }
  82. </style>