removeInfo.vue 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. <template>
  2. <view class="container">
  3. <view class="desc-box">
  4. 请您勾选需要删除的内容,本小程序将在15个工作日内处理完毕您的申请
  5. </view>
  6. <view class="form-box">
  7. <u-checkbox-group @change="checkboxGroupChange" shape="circle" wrap>
  8. <u-checkbox
  9. v-model="item.checked"
  10. v-for="(item, index) in checkOption" :key="index"
  11. :name="item.name"
  12. >{{item.name}}</u-checkbox>
  13. </u-checkbox-group>
  14. </view>
  15. <view class="bottom-box">
  16. <u-button type="primary" shape="circle" @click="onSubmit">提交</u-button>
  17. </view>
  18. </view>
  19. </template>
  20. <script setup>
  21. import { ref, reactive } from 'vue'
  22. import { onLoad, onReady } from '@dcloudio/uni-app'
  23. const checkOption = ref([
  24. {
  25. name: '浏览记录',
  26. checked: false,
  27. disabled: false
  28. },
  29. {
  30. name: '收藏',
  31. checked: false,
  32. disabled: false
  33. },
  34. {
  35. name: '评论',
  36. checked: false,
  37. disabled: false
  38. }
  39. ])
  40. function checkboxGroupChange() {
  41. }
  42. function onSubmit() {
  43. }
  44. </script>
  45. <style lang="scss" scoped>
  46. .container {
  47. height: 100vh;
  48. width: 100vw;
  49. background-color: $uni-bg-color;
  50. padding: 20rpx;
  51. .desc-box {
  52. text-indent: 2em;
  53. line-height: 60rpx;
  54. padding: 20rpx 0;
  55. margin-bottom: 20rpx;
  56. }
  57. .form-box {
  58. padding: 20rpx 0;
  59. .input-code {
  60. display: flex;
  61. align-items: center;
  62. gap: 20rpx;
  63. .input {
  64. width: 70%;
  65. }
  66. .btn {
  67. width: 30%;
  68. text-align: center;
  69. }
  70. }
  71. }
  72. .bottom-box {
  73. margin-top: 50rpx;
  74. padding: 0 50rpx;
  75. }
  76. }
  77. </style>