学员端小程序
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.

145 lines
2.8 KiB

1 year ago
  1. <template>
  2. <!-- 考场详情 -->
  3. <view class="pageBg">
  4. <view class="swiper-box">
  5. <view class="navPoz">
  6. <topNavbar title=" "></topNavbar>
  7. </view>
  8. <u-swiper :list="list1" :height="261"></u-swiper>
  9. <view class="radian">
  10. <image src="@/static/images/bigImg/radian.png" mode=""></image>
  11. </view>
  12. </view>
  13. <view <view class="pad traTop">
  14. <view class="card info">
  15. <view class="cover">
  16. <image src="@/static/images/logo.png" mode=""></image>
  17. </view>
  18. <view class="textCon">
  19. <view class="name">江西海正驾校</view>
  20. <view class="modeCar">准考车型C1/C2</view>
  21. </view>
  22. <view class="pozPhone">
  23. <image src="@/static/images/index/telephone.png" mode=""></image>
  24. </view>
  25. </view>
  26. <!-- 考场位置 -->
  27. <view class="location">
  28. <view class="h1">考场位置</view>
  29. <view class="pozLi">
  30. <pozCard></pozCard>
  31. </view>
  32. </view>
  33. <!-- 信息资讯 -->
  34. <view class="news">
  35. <view class="flex-b">
  36. <view class="h1">信息资讯</view>
  37. <moreRight text='查看全部' @click.native="$goPage('/pages/indexEntry/examines/allNews/allNews')"></moreRight>
  38. </view>
  39. <view class="card">
  40. <newItem></newItem>
  41. </view>
  42. </view>
  43. <view class="btn">我要模拟</view>
  44. </view>
  45. </view>
  46. </template>
  47. <script>
  48. import newItem from '../comp/newItem'
  49. export default {
  50. components: { newItem },
  51. data() {
  52. return {
  53. list1: [
  54. 'https://cdn.uviewui.com/uview/swiper/swiper1.png',
  55. 'https://cdn.uviewui.com/uview/swiper/swiper2.png',
  56. 'https://cdn.uviewui.com/uview/swiper/swiper3.png',
  57. ],
  58. }
  59. }
  60. }
  61. </script>
  62. <style lang="scss" scoped>
  63. .swiper-box {
  64. position: relative;
  65. .navPoz {
  66. position: absolute;
  67. top: 0;
  68. z-index: 9;
  69. left: 0;
  70. }
  71. .radian {
  72. position: absolute;
  73. width: 100%;
  74. height: 84rpx;
  75. bottom: 0;
  76. left: 0;
  77. z-index: 9;
  78. }
  79. }
  80. .h1 {
  81. line-height: 96rpx;
  82. }
  83. .traTop {
  84. position: relative;
  85. top: -120rpx;
  86. z-index: 99;
  87. }
  88. .info {
  89. height: 208rpx;
  90. align-items: center;
  91. display: flex;
  92. justify-content: space-between;
  93. padding: 24rpx;
  94. position: relative;
  95. .cover {
  96. width: 204rpx;
  97. height: 140rpx;
  98. border-radius: 8rpx;
  99. overflow: hidden;
  100. }
  101. .textCon {
  102. flex: 1;
  103. padding: 0 0 0 36rpx;
  104. .name {
  105. font-size: 32rpx;
  106. font-weight: 600;
  107. margin-bottom: 20rpx;
  108. }
  109. .starBox {
  110. padding: 10rpx 0 20rpx 0;
  111. }
  112. .modeCar {
  113. font-size: 24rpx;
  114. color: #686B73;
  115. }
  116. }
  117. .pozPhone {
  118. position: absolute;
  119. top: 50%;
  120. right: 40rpx;
  121. width: 72rpx;
  122. height: 72rpx;
  123. transform: translateY(-50%);
  124. }
  125. }
  126. .btn {
  127. width: 396rpx;
  128. height: 72rpx;
  129. background: #1989FA;
  130. border-radius: 8rpx;
  131. font-size: 28rpx;
  132. color: #fff;
  133. text-align: center;
  134. line-height: 72rpx;
  135. margin: 30rpx auto;
  136. }
  137. </style>