examdata.vue 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. <template>
  2. <view class="page_view">
  3. <top-return color="#FFF"></top-return>
  4. <view class="flex_row">
  5. <view class="flex_cloumn" style="margin: 120rpx 0 0 50rpx;">
  6. <view class="page_title">评测</view>
  7. <view class="page_title">分析报告</view>
  8. <view class="page_subtitle" style="margin-top: 30rpx;">{{examData[index].examInfo.name}}</view>
  9. </view>
  10. <view class="bg1"></view>
  11. <view class="detail_image1" :style="{backgroundImage:`url(${image1})`}"></view>
  12. <view class="detail_image2" :style="{backgroundImage:`url(${image2})`}"></view>
  13. </view>
  14. <view class="card_view">
  15. <view class="card_item" style="width: 100%;height: 2300rpx;opacity: 0.9;"></view>
  16. </view>
  17. </view>
  18. </template>
  19. <script>
  20. import {
  21. mapState
  22. } from 'vuex'
  23. export default {
  24. computed: {
  25. ...mapState('m_children', ['examData'])
  26. },
  27. data() {
  28. return {
  29. index: '',
  30. image1: 'https://ouch-cdn2.icons8.com/PvGwCISfYx-NAQwl4UsdY2QXtMMiNDB6LllqLZ4jGoA/rs:fit:367:456/czM6Ly9pY29uczgu/b3VjaC1wcm9kLmFz/c2V0cy9wbmcvNzg1/LzhiM2MwZWU2LWFl/ODMtNDM2Mi05MGQy/LTBmMDk0N2M4N2E1/OC5wbmc.png',
  31. image2: 'https://ouch-cdn2.icons8.com/I-PEjM-V1LXrgVE1_yaPi7LY2XrgFXgKmEvBD3r1h_Y/rs:fit:484:456/czM6Ly9pY29uczgu/b3VjaC1wcm9kLmFz/c2V0cy9wbmcvMzcy/LzA0ZDY3Y2NlLTM3/YTUtNGE3OC1iZTVi/LTY4MzgyYTQ2YmUz/Zi5wbmc.png'
  32. };
  33. },
  34. onLoad(param) {
  35. this.index = param.index
  36. },
  37. methods: {
  38. },
  39. }
  40. </script>
  41. <style lang="scss">
  42. .page_view {
  43. background-color: $color-pink;
  44. }
  45. .page_title {
  46. font-size: 55rpx;
  47. font-weight: bold;
  48. transform: skew(-10deg);
  49. color: #FFF;
  50. }
  51. .page_subtitle {
  52. font-size: 34rpx;
  53. font-weight: bold;
  54. transform: skew(-10deg);
  55. color: #FFF;
  56. }
  57. .bg1 {
  58. position: absolute;
  59. top: 200rpx;
  60. left: 450rpx;
  61. width: 430rpx;
  62. height: 430rpx;
  63. border-radius: 50%;
  64. background-color: #ffb2c9;
  65. }
  66. .detail_image1 {
  67. position: absolute;
  68. top: 180rpx;
  69. left: 580rpx;
  70. width: 300rpx;
  71. height: 350rpx;
  72. background-size: 100%;
  73. background-repeat: no-repeat;
  74. z-index: 51;
  75. }
  76. .detail_image2 {
  77. position: absolute;
  78. top: 230rpx;
  79. left: 380rpx;
  80. width: 300rpx;
  81. height: 350rpx;
  82. background-size: 100%;
  83. background-repeat: no-repeat;
  84. z-index: 50;
  85. }
  86. </style>