学员端小程序
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

97 lines
2.0 KiB

1 year ago
  1. <template>
  2. <view class="pageBgImg">
  3. <topNavbar title="学车学时"></topNavbar>
  4. <view class="pad">
  5. <view class="box">
  6. <view class="h2">模拟器</view>
  7. <view class="con">
  8. <view class="item_row">
  9. <view class="item">
  10. <view class="lab">总学时</view>
  11. <view class="val">100分钟</view>
  12. </view>
  13. <view class="item">
  14. <view class="lab">已完成</view>
  15. <view class="val">90分钟</view>
  16. </view>
  17. </view>
  18. </view>
  19. <view class="chain left">
  20. <image src="@/static/images/index/chain.png" mode=""></image>
  21. </view>
  22. <view class="chain right">
  23. <image src="@/static/images/index/chain.png" mode=""></image>
  24. </view>
  25. </view>
  26. </view>
  27. </view>
  28. </template>
  29. <script>
  30. </script>
  31. <style lang="scss" scoped>
  32. .box {
  33. width: 100%;
  34. height: 400rpx;
  35. background: #FFFFFF;
  36. box-shadow: inset 0px 2px 6px 0px rgba(255,255,255,0.5);
  37. border-radius: 16px;
  38. border: 4rpx solid #A6E2FF;
  39. // border-image: linear-gradient(134deg, rgba(166, 226, 255, 1), rgba(114, 199, 247, 1), rgba(208, 228, 255, 1)) 4 4;
  40. border-radius: 16rpx;
  41. padding: 0 16rpx 52rpx 16rpx;
  42. overflow: hidden;
  43. position: relative;
  44. .h2 {
  45. width: 489rpx;
  46. height: 75rpx;
  47. margin: 0 auto;
  48. text-align: center;
  49. background-color: #A6E2FF;
  50. color: #fff;
  51. font-size: 32rpx;
  52. font-weight: 600;
  53. }
  54. .con {
  55. background-color: #F3F8FE;
  56. height: 256rpx;
  57. background: linear-gradient(180deg, #99C2F4 0%, #3A89EB 100%);
  58. border-radius: 16rpx;
  59. .item_row {
  60. display: flex;
  61. width: 100%;
  62. height: 100%;
  63. .item {
  64. text-align: center;
  65. display: flex;
  66. flex-direction: column;
  67. align-items: center;
  68. .lab {
  69. font-size: 28rpx;
  70. color: #363A44;
  71. }
  72. .val {
  73. margin-top: 26rpx;
  74. font-size: 40rpx;
  75. color: $themC;
  76. }
  77. }
  78. }
  79. }
  80. .chain {
  81. width: 28rpx;
  82. height: 100rpx;
  83. position: absolute;
  84. top: -34rpx;
  85. &.left {
  86. left: 60rpx;
  87. }
  88. &.right {
  89. right: 60rpx !important;
  90. }
  91. }
  92. }
  93. </style>