addDisinfectSuccess.vue 982 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. <template>
  2. <view class="box">
  3. <u-icon name="checkmark-circle-fill" color="#07c160" size="200"></u-icon>
  4. <text class="text">消毒申报信息提交成功!</text>
  5. <view class="count-down-box">
  6. <text @click="goback">返回</text>
  7. </view>
  8. </view>
  9. </template>
  10. <script>
  11. export default {
  12. data() {
  13. return {
  14. timestamp: 3,
  15. }
  16. },
  17. onBackPress() {
  18. this.goback();
  19. return true;
  20. },
  21. methods: {
  22. goback() {
  23. this.$common.to('/pages/disinfect/addDisinfect');
  24. }
  25. }
  26. }
  27. </script>
  28. <style lang="scss">
  29. page {
  30. background-color: #fff;
  31. }
  32. .box {
  33. display: flex;
  34. flex: 1;
  35. align-items: center;
  36. justify-content: center;
  37. flex-direction: column;
  38. padding: 100rpx 0;
  39. .text {
  40. color: #191919;
  41. font-size: 36rpx;
  42. font-weight: bold;
  43. margin-top: 40rpx;
  44. }
  45. .count-down-box {
  46. display: flex;
  47. flex: 1;
  48. align-items: center;
  49. justify-content: center;
  50. margin-top: 30rpx;
  51. text {
  52. margin-left: 20rpx;
  53. }
  54. }
  55. }
  56. </style>