addDeclareSuccess.vue 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  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="goDisifect" style="color: #007AFF;">消杀申报</view>
  7. </view>
  8. <view class="count-down-box">
  9. <view @click="goback">返回</view>
  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. goDisifect() {
  26. this.$common.to('/pages/disinfect/addDisinfect');
  27. },
  28. goback() {
  29. this.$common.to('/pages/declare/add');
  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. align-items: center;
  54. justify-content: center;
  55. margin-top: 30rpx;
  56. }
  57. }
  58. </style>