bmi.vue 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133
  1. <template>
  2. <view class="container-box">
  3. <image src="/static/image/bmi/manual_icon_arrow.png" alt="" class="back-class" @click="goBcak()"></image>
  4. <view class="info-box">
  5. <view class="student-info"></view>
  6. <view class="">
  7. <view class="adron-box">
  8. <image src="/static/image/bmi/test_img_adron.png" alt="" class="adron" @click="goBcak()">
  9. </image>
  10. <image src="/static/image/bmi/test_img_adron.png" alt="" class="adron" @click="goBcak()">
  11. </image>
  12. </view>
  13. <view class="bmi-info">
  14. <view class="bmi-title">测量结果展示</view>
  15. </view>
  16. </view>
  17. </view>
  18. <view class="btn-box">
  19. <view class="btn1">重新检测</view>
  20. <view class="btn2">完成</view>
  21. </view>
  22. </view>
  23. </template>
  24. <script>
  25. import { navTo, showToast } from "@/utils/app";
  26. export default {
  27. name: "bmi",
  28. methods: {
  29. goBcak() {
  30. navTo('pages/classes/select', {
  31. })
  32. },
  33. }
  34. }
  35. </script>
  36. <style scoped>
  37. .container-box {
  38. height: 100vh;
  39. width: 100%;
  40. background: linear-gradient(to bottom left, rgb(218, 233, 253), #fff, rgb(218, 233, 253));
  41. position: relative;
  42. overflow: auto;
  43. }
  44. .back-class {
  45. position: absolute;
  46. top: 40upx;
  47. left: 46upx;
  48. width: 70upx;
  49. height: 70upx;
  50. }
  51. .info-box {
  52. margin: 75upx auto 0;
  53. width: 680upx;
  54. }
  55. .student-info {
  56. width: 681upx;
  57. height: 25vh;
  58. background: #F1F7FF;
  59. box-shadow: 0upx 5upx 5upx 0upx rgba(12, 88, 183, 0.35);
  60. border-radius: 28upx;
  61. border: 4upx solid #FFFFFF;
  62. }
  63. .bmi-info {
  64. width: 100%;
  65. height: 50vh;
  66. background: #FFFFFF;
  67. border-radius: 28upx;
  68. }
  69. .bmi-title {
  70. width: 100%;
  71. height: 106upx;
  72. line-height: 106upx;
  73. font-weight: bold;
  74. font-size: 35upx;
  75. text-align: center;
  76. color: #FFFFFF;
  77. background: #0369E8;
  78. border-radius: 28upx;
  79. }
  80. .adron-box {
  81. display: flex;
  82. justify-content: space-between;
  83. position: relative;
  84. top: -10upx;
  85. }
  86. .adron {
  87. width: 20upx;
  88. height: 60upx;
  89. margin: 0 80upx -30upx;
  90. }
  91. .btn-box{
  92. display: flex;
  93. justify-content: space-between;
  94. width: 680upx;
  95. margin: 20upx auto 0;
  96. }
  97. .btn1{
  98. width: 305upx;
  99. height: 97upx;
  100. line-height: 97upx;
  101. background: #F1F7FF;
  102. border-radius: 21upx;
  103. border: 3upx solid #0369E8;
  104. font-weight: bold;
  105. font-size: 35rpx;
  106. color: #0369E8;
  107. text-align: center;
  108. }
  109. .btn2{
  110. width: 305upx;
  111. height: 97upx;
  112. line-height: 97upx;
  113. background: #0369E8;
  114. border-radius: 21upx;
  115. font-weight: bold;
  116. font-size: 35rpx;
  117. color: #FFFFFF;
  118. text-align: center;
  119. }
  120. </style>