addDisinfectSuccess.vue 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  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. <view @click="goDeclare" style="color: #007AFF;">申报录入</view>
  7. </view>
  8. <view class="count-down-box">
  9. <text @click="goback">返回</text>
  10. </view>
  11. </view>
  12. </template>
  13. <script>
  14. export default {
  15. data() {
  16. return {
  17. timestamp: 3,
  18. }
  19. },
  20. onBackPress() {
  21. this.goback();
  22. return true;
  23. },
  24. methods: {
  25. goDeclare() {
  26. this.$common.to('/pages/declare/add');
  27. },
  28. goback() {
  29. this.$common.to('/pages/disinfect/addDisinfect');
  30. }
  31. }
  32. }
  33. </script>
  34. <style lang="scss">
  35. page {
  36. background-color: #fff;
  37. }
  38. .box {
  39. display: flex;
  40. flex: 1;
  41. align-items: center;
  42. justify-content: center;
  43. flex-direction: column;
  44. padding: 100rpx 0;
  45. .text {
  46. color: #191919;
  47. font-size: 36rpx;
  48. font-weight: bold;
  49. margin-top: 40rpx;
  50. }
  51. .count-down-box {
  52. display: flex;
  53. flex: 1;
  54. align-items: center;
  55. justify-content: center;
  56. margin-top: 30rpx;
  57. text {
  58. margin-left: 20rpx;
  59. }
  60. }
  61. }
  62. </style>