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

147 lines
2.8 KiB

1 year ago
1 year ago
1 year ago
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="radianImg" 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. import { imgUrl } from '@/config/site.config.js'
  50. export default {
  51. components: { newItem },
  52. data() {
  53. return {
  54. radianImg: imgUrl+'radian.png',
  55. list1: [
  56. 'https://cdn.uviewui.com/uview/swiper/swiper1.png',
  57. 'https://cdn.uviewui.com/uview/swiper/swiper2.png',
  58. 'https://cdn.uviewui.com/uview/swiper/swiper3.png',
  59. ],
  60. }
  61. }
  62. }
  63. </script>
  64. <style lang="scss" scoped>
  65. .swiper-box {
  66. position: relative;
  67. .navPoz {
  68. position: absolute;
  69. top: 0;
  70. z-index: 9;
  71. left: 0;
  72. }
  73. .radian {
  74. position: absolute;
  75. width: 100%;
  76. height: 84rpx;
  77. bottom: 0;
  78. left: 0;
  79. z-index: 9;
  80. }
  81. }
  82. .h1 {
  83. line-height: 96rpx;
  84. }
  85. .traTop {
  86. position: relative;
  87. top: -120rpx;
  88. z-index: 99;
  89. }
  90. .info {
  91. height: 208rpx;
  92. align-items: center;
  93. display: flex;
  94. justify-content: space-between;
  95. padding: 24rpx;
  96. position: relative;
  97. .cover {
  98. width: 204rpx;
  99. height: 140rpx;
  100. border-radius: 8rpx;
  101. overflow: hidden;
  102. }
  103. .textCon {
  104. flex: 1;
  105. padding: 0 0 0 36rpx;
  106. .name {
  107. font-size: 32rpx;
  108. font-weight: 600;
  109. margin-bottom: 20rpx;
  110. }
  111. .starBox {
  112. padding: 10rpx 0 20rpx 0;
  113. }
  114. .modeCar {
  115. font-size: 24rpx;
  116. color: #686B73;
  117. }
  118. }
  119. .pozPhone {
  120. position: absolute;
  121. top: 50%;
  122. right: 40rpx;
  123. width: 72rpx;
  124. height: 72rpx;
  125. transform: translateY(-50%);
  126. }
  127. }
  128. .btn {
  129. width: 396rpx;
  130. height: 72rpx;
  131. background: #1989FA;
  132. border-radius: 8rpx;
  133. font-size: 28rpx;
  134. color: #fff;
  135. text-align: center;
  136. line-height: 72rpx;
  137. margin: 30rpx auto;
  138. }
  139. </style>