coursePrediction.vue 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198
  1. <template>
  2. <view>
  3. <u-navbar title="课程报名"></u-navbar>
  4. <view class="infos">
  5. <view class="item">
  6. <view class="title">
  7. <text class="asterisk">*</text>
  8. <text>报名班级</text>
  9. </view>
  10. <view class="value">
  11. <text>足球体适能班</text>
  12. <text class="icon">
  13. <u-icon name="arrow-right" color="#c8c8c8"></u-icon>
  14. </text>
  15. </view>
  16. </view>
  17. <view class="item">
  18. <view class="title">
  19. <text class="asterisk">*</text>
  20. <text>授课老师</text>
  21. </view>
  22. <view class="value">
  23. <text>瞿明祥</text>
  24. <text class="icon">
  25. <u-icon name="arrow-right" color="#c8c8c8"></u-icon>
  26. </text>
  27. </view>
  28. </view>
  29. </view>
  30. <view class="infos">
  31. <view class="item">
  32. <view class="title">
  33. <text class="asterisk">*</text>
  34. <text>学员姓名</text>
  35. </view>
  36. <view class="value">
  37. <text class="add">请先添加子女信息</text>
  38. <text class="icon">
  39. <u-icon name="arrow-right" color="#c8c8c8"></u-icon>
  40. </text>
  41. </view>
  42. </view>
  43. <view class="item">
  44. <view class="title">
  45. <text>年龄</text>
  46. </view>
  47. <view class="value">
  48. <text class="placeholder">选择学员后自动显示</text>
  49. </view>
  50. </view>
  51. <view class="item">
  52. <view class="title">
  53. <text class="asterisk">*</text>
  54. <text>联系人手机号</text>
  55. </view>
  56. <view class="value">
  57. <text>15500001111</text>
  58. </view>
  59. </view>
  60. </view>
  61. <view class="infos">
  62. <view class="item">
  63. <view class="title">
  64. <text>第二联系人手机号</text>
  65. </view>
  66. <view class="value">
  67. <text class="placeholder">
  68. <input type="text" placeholder="请填写手机号">
  69. </text>
  70. </view>
  71. </view>
  72. <view class="item">
  73. <view class="title">
  74. <text>接送家长姓名</text>
  75. </view>
  76. <view class="value">
  77. <text class="placeholder">
  78. <input type="text" placeholder="请填写家长姓名">
  79. </text>
  80. </view>
  81. </view>
  82. </view>
  83. <view class="btn">
  84. <button>保存并确认订单
  85. </button>
  86. </view>
  87. </view>
  88. </template>
  89. <script>
  90. export default {
  91. data() {
  92. return {
  93. }
  94. },
  95. methods: {
  96. }
  97. }
  98. </script>
  99. <style lang="scss" scoped>
  100. .infos {
  101. padding: 0px 30rpx;
  102. background-color: #fff;
  103. margin-bottom: 24rpx;
  104. .item {
  105. display: flex;
  106. justify-content: space-between;
  107. border-bottom: 1px solid rgba(244, 244, 244, 1);
  108. padding: 24rpx 0;
  109. .title {
  110. color: #333333;
  111. font-weight: bold;
  112. .asterisk {
  113. color: rgba(244, 68, 68, 1);
  114. }
  115. }
  116. .value {
  117. color: rgba(51, 51, 51, 1);
  118. font-weight: bold;
  119. .icon {
  120. margin-left: 8rpx;
  121. }
  122. .add {
  123. color: #FF3D00;
  124. }
  125. .placeholder {
  126. color: #CCCCCC;
  127. }
  128. }
  129. }
  130. }
  131. .btn {
  132. padding: 20rpx 0;
  133. background-color: #fff;
  134. position: fixed;
  135. bottom: 0;
  136. left: 0;
  137. right: 0;
  138. button {
  139. width: 91.4%;
  140. border-radius: 50px;
  141. background-color: rgba(13, 186, 199, 1);
  142. color: rgba(255, 255, 255, 1);
  143. font-size: 16px;
  144. line-height: 80rpx;
  145. }
  146. }
  147. /deep/uni-input {
  148. width: 300rpx;
  149. text-align: right !important;
  150. }
  151. /deep/.uni-input-placeholder {
  152. color: #cccccc !important;
  153. }
  154. </style>