index.vue 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. <template>
  2. <div>
  3. <el-dialog
  4. :visible.sync="formVisible"
  5. width="268px"
  6. :close-on-click-modal="false"
  7. :close-on-press-escape="false"
  8. :center="true"
  9. >
  10. <div class="form-title" slot="title">
  11. 解绑账号
  12. </div>
  13. <div class="unbind-main">
  14. <el-checkbox v-model="checked">删除所有已抓取的内容</el-checkbox>
  15. </div>
  16. <div class="submit-btn">解除绑定</div>
  17. </el-dialog>
  18. </div>
  19. </template>
  20. <script>
  21. export default {
  22. data() {
  23. return {
  24. checked:false,
  25. formVisible: false,
  26. };
  27. },
  28. methods: {
  29. show() {
  30. this.formVisible = true;
  31. }
  32. }
  33. };
  34. </script>
  35. <style lang="scss" scoped>
  36. .flex-center {
  37. display: flex;
  38. align-items: center;
  39. }
  40. .form-title {
  41. text-align: center;
  42. height: 20px;
  43. font-size: 18px;
  44. font-family: PingFangSC-Medium, PingFang SC;
  45. font-weight: 500;
  46. color: #0b121a;
  47. line-height: 20px;
  48. }
  49. .submit-btn {
  50. margin: 0 auto;
  51. width: 188px;
  52. height: 46px;
  53. background: #308eff;
  54. border-radius: 2px;
  55. text-align: center;
  56. line-height: 46px;
  57. font-size: 16px;
  58. font-family: PingFangSC-Medium, PingFang SC;
  59. font-weight: 500;
  60. color: #ffffff;
  61. cursor: pointer;
  62. }
  63. .unbind-main{
  64. margin-bottom: 20px;
  65. }
  66. </style>