OvertimeView.vue 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. <template>
  2. <div class="crafting">
  3. <div class="content">
  4. <img class="time" src="@/assets/img/OvertimeView/time.png" alt="" />
  5. <img class="tip" src="@/assets/img/OvertimeView/tip.png" alt="" />
  6. </div>
  7. </div>
  8. </template>
  9. <script>
  10. export default {
  11. components: {},
  12. data() {
  13. return {};
  14. },
  15. computed: {},
  16. watch: {},
  17. methods: {},
  18. created() {},
  19. mounted() {},
  20. beforeCreate() {}, //生命周期 - 创建之前
  21. beforeMount() {}, //生命周期 - 挂载之前
  22. beforeUpdate() {}, //生命周期 - 更新之前
  23. updated() {}, //生命周期 - 更新之后
  24. beforeDestroy() {}, //生命周期 - 销毁之前
  25. destroyed() {}, //生命周期 - 销毁完成
  26. activated() {}, //如果页面有keep-alive缓存功能,这个函数会触发
  27. };
  28. </script>
  29. <style lang="less" scoped>
  30. .crafting {
  31. width: 100%;
  32. height: 100%;
  33. max-width: 500px;
  34. background: url(@/assets/img/CraftingView/craftingBg.jpg);
  35. background-size: cover;
  36. display: flex;
  37. flex-direction: column;
  38. justify-content: center;
  39. align-items: center;
  40. .content {
  41. width: 85%;
  42. height: 65%;
  43. background: url(@/assets/img/BusyView/busyBg.png);
  44. background-size: 100% 100%;
  45. display: flex;
  46. flex-direction: column;
  47. align-items: center;
  48. justify-content: center;
  49. margin-left: -10%;
  50. padding-left: 10%;
  51. margin-top: -10%;
  52. .time {
  53. width: 10%;
  54. }
  55. .tip {
  56. width: 50%;
  57. }
  58. }
  59. .resetBtn {
  60. width: 70%;
  61. height: 40px;
  62. display: flex;
  63. justify-content: center;
  64. align-items: center;
  65. background: url(@/assets/img/BusyView/resetBtnBg.png);
  66. background-size: 100% 100%;
  67. margin-top: 20px;
  68. }
  69. }
  70. </style>