decision_balance_sheet_index.vue 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. <template>
  2. <div class="maturity-game-page">
  3. <head-component :headinfo=headinfo></head-component>
  4. <div class="page-content">
  5. <div class="top">
  6. <img src="@/assets/images/decision/decision_balance_sheet/game-title.png" >
  7. </div>
  8. <div class="bottom">
  9. <img src="@/assets/images/decision/common/index-game-left.png" @click="jumpTo('/xjc-integratedmachine/decision/balance_sheet/decision_balance_sheet_explanation')">
  10. <img src="@/assets/images/decision/common/index-game-right.png" @click="jumpTo('/xjc-integratedmachine/decision/balance_sheet/decision_balance_sheet')">
  11. </div>
  12. <drag_component></drag_component>
  13. </div>
  14. </div>
  15. </template>
  16. <script setup>
  17. import headComponent from '@/views/xjc-integratedmachine/components/head_component.vue'
  18. import drag_component from "@/views/xjc-integratedmachine/components/drag_component.vue";
  19. import {onMounted} from "vue";
  20. const router = useRouter()
  21. const headinfo = ref({})
  22. function setHeadinfo(){
  23. headinfo.value = {
  24. title: '',
  25. user: {
  26. avatar: '头像路径',
  27. nickName: '张三'
  28. },
  29. backUrl: '/xjc-integratedmachine/decision/index',
  30. backUrlUse:true,
  31. }
  32. }
  33. function jumpTo(path) {
  34. router.push({
  35. path: path,
  36. query: {name: 123}
  37. })
  38. }
  39. onMounted(() => {
  40. setHeadinfo()
  41. })
  42. </script>
  43. <style scoped lang="scss">
  44. .maturity-game-page{
  45. background: url('@/assets/images/wakeup/maturity/maturity-game-bg.png') no-repeat;
  46. background-size: 1920px 1080px;
  47. z-index:10;
  48. width: 100%;
  49. height: 1080px;
  50. .page-content{
  51. width: 100%;
  52. position: absolute;
  53. top: 123px;
  54. bottom: 0;
  55. .top{
  56. width: 100%;
  57. height: 212px;
  58. display: flex;
  59. justify-content: center;
  60. margin-top: 104px;
  61. img{
  62. width: 864px;
  63. height: 212px;
  64. }
  65. }
  66. .bottom{
  67. width: 100%;
  68. height: 248px;
  69. display: flex;
  70. justify-content: space-around;
  71. margin-top:186px;
  72. img{
  73. width: 398px;
  74. height: 248px;
  75. }
  76. }
  77. }
  78. }
  79. </style>