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

79 lines
1.6 KiB

  1. <template>
  2. <view class="step2">
  3. <view class="card" v-for="(item,index) in 10" :key="index" :class="{active: index==2}">
  4. <view class="leftTxt">
  5. <view class="name oneRowText">某某模拟驾驶馆</view>
  6. <view class="adr">江西省江西市江西区尚坤丁兰国际1190</view>
  7. </view>
  8. <view class="icon">
  9. <image src="@/static/images/index/telephone.png" mode=""></image>
  10. <!-- <image src="@/static/images/index/telephone_cli.png" mode=""></image> -->
  11. </view>
  12. </view>
  13. <view class="poz_btn">
  14. <view class="btn_row" >
  15. <!-- <view class="border btn" @click="changeStep(1)">返回上一步</view> -->
  16. <view class="btn" @click="changeStep(2)">下一步</view>
  17. </view>
  18. </view>
  19. </view>
  20. </template>
  21. <script>
  22. export default {
  23. methods: {
  24. changeStep(val) {
  25. this.$emit('changeStep', val)
  26. }
  27. }
  28. }
  29. </script>
  30. <style lang="scss" scoped>
  31. .step2 {
  32. width: 100%;
  33. padding-bottom: 120rpx;
  34. .card {
  35. padding: 28rpx 36rpx;
  36. display: flex;
  37. justify-content: space-between;
  38. align-items: center;
  39. margin-bottom: 20rpx;
  40. &.active {
  41. background: rgba(25,137,250,0.1);
  42. border: 2rpx solid #1989FA;
  43. color: $themC;
  44. }
  45. .leftTxt {
  46. width: 0;
  47. flex: 1;
  48. .name {
  49. font-size: 32rpx;
  50. font-weight: 600;
  51. }
  52. .adr {
  53. font-size: 24rpx;
  54. margin-top: 8rpx;
  55. }
  56. }
  57. .icon {
  58. width: 72rpx;
  59. height: 72rpx;
  60. }
  61. }
  62. }
  63. .btn {
  64. width: 47%;
  65. height: 72rpx;
  66. background: #1989FA;
  67. border-radius: 8rpx;
  68. font-size: 28rpx;
  69. color: #fff;
  70. text-align: center;
  71. line-height: 72rpx;
  72. margin: 108rpx auto 50rpx auto;
  73. }
  74. </style>