PatClockInSuc.vue 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. <template>
  2. <div class="container">
  3. <div class="bgimg"></div>
  4. <div class="content">
  5. <!-- <div class="title">注射打卡</div> -->
  6. <div class="loginForm">
  7. <div class="clocksucbg">
  8. <img src="../assets/images/clockinbg.png" width="100%" alt="">
  9. <div class="clocksucmsg" >您已打卡成功</div>
  10. </div>
  11. <!-- <div class="clockintime">打卡时间:{{nowDatetime}}</div> -->
  12. </div>
  13. <div class="footer">
  14. <div class="jbbtn" @click="goPage('/patindex')">确定</div>
  15. <div class="jbbtn" @click="goPage('/patinjectionlist')">查看注射记录</div>
  16. </div>
  17. </div>
  18. </div>
  19. </template>
  20. <script>
  21. import {
  22. Field,
  23. Picker
  24. } from 'mint-ui'
  25. export default {
  26. name: 'Index',
  27. components: {
  28. Field,
  29. Picker
  30. },
  31. data() {
  32. return {
  33. form: {},
  34. nowDatetime:this.$datetime.formatDateTimeFull(new Date())
  35. }
  36. },
  37. methods: {
  38. goPage(path) {
  39. this.$router.push(path)
  40. }
  41. }
  42. }
  43. </script>
  44. <style scoped lang="scss">
  45. .loginForm {
  46. width: 84%;
  47. margin: auto;
  48. /* margin-top: 4rem; */
  49. background: #fff;
  50. padding: 1rem;
  51. border-radius: 5px;
  52. .mint-field {
  53. border: 1px solid #ccc;
  54. border-radius: 50px;
  55. margin-top: 1rem;
  56. }
  57. .mint-cell {
  58. min-height: 2.12rem;
  59. }
  60. .clocksucbg{
  61. width:60%;
  62. margin:auto;
  63. position: relative;
  64. padding-top:4rem;
  65. height: 14rem;
  66. }
  67. .clocksucmsg{
  68. width:100%;
  69. position:absolute;
  70. text-align: center;
  71. top:9rem;
  72. font-size:1.2rem;
  73. color:#fff;
  74. font-weight: bold;
  75. }
  76. .clockintime {
  77. width: 60%;
  78. font-size: 1rem;
  79. color: #ccc;
  80. margin: auto;
  81. margin-top: 2rem;
  82. margin-bottom: 4rem;
  83. }
  84. }
  85. .footer{
  86. display: flex;
  87. .jbbtn{
  88. width: 42%;
  89. }
  90. }
  91. </style>