百富门答题小程序
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.

190 lines
5.3 KiB

  1. <template>
  2. <view class="home">
  3. <view class="content" style="padding-top: 15vh;">
  4. <span class="font-bold">预约日期和时间</span>
  5. <view class="flex-center mt-40" style="gap: 50rpx;" @click="open">
  6. <view class="date">
  7. {{year}}
  8. </view>
  9. <view class="date">
  10. {{date}}
  11. </view>
  12. <view class="date">
  13. {{time}}
  14. </view>
  15. </view>
  16. <span class="font-bold" style="margin-top: 5vh;">预约信息</span>
  17. <view class="" style="width: 80vw;">
  18. <view class="flex-sb mt-40">
  19. <view class="flex-center">
  20. <view class="date">
  21. {{firstName}}
  22. </view>
  23. <span style="margin-left: 30rpx;"></span>
  24. </view>
  25. <view class="flex-center">
  26. <view class="date">
  27. {{lastName}}
  28. </view>
  29. <span style="margin-left: 30rpx;"></span>
  30. </view>
  31. <view class="flex-center">
  32. <view class="flex-center" style="position: relative;" @click="checkGender">
  33. <span class="main-color">先生</span>
  34. <img src="../static/info/下拉.png" alt="" style="width: 40rpx; height: 40rpx;" />
  35. </view>
  36. <view class="flex-col select" id="select" ref="check">
  37. <span class="main-color">先生</span>
  38. <span class="main-color">女士</span>
  39. </view>
  40. </view>
  41. </view>
  42. <view class="flex-sb mt-40">
  43. <view class="flex-center" style="gap: 30rpx;">
  44. <input v-model="phone" type="tel" class="input"></input>
  45. <span>手机</span>
  46. </view>
  47. <view class="">
  48. <span class="main-color" style="text-decoration: underline;">修改号码</span>
  49. </view>
  50. </view>
  51. <view class="mt-40" style="width: 100%;">
  52. <textarea class="area" cols="20" rows="20" placeholder="如有下一步需求,请告诉我们"></textarea>
  53. </view>
  54. <view class="flex-start-col mt-40" style="gap: 20rpx;">
  55. <view style="display: flex; align-items: start; gap: 20rpx;">
  56. <uv-icon size="40" name="checkmark-circle" color="#07c060"></uv-icon>
  57. <span style="font-size: 28rpx;">本人提交此信息即表示本人已网读并接受Genius JourneyClub 的使用条款和个人信息处理规则</span>
  58. </view>
  59. <view class="flex-center" style="gap: 20rpx;">
  60. <uv-icon size="40" name="info-circle" color="#07c060"></uv-icon>
  61. <span style="font-size: 28rpx;">未满18周岁请勿参与此内容</span>
  62. </view>
  63. </view>
  64. </view>
  65. <view class="flex-col query" style="gap: 0rpx;">
  66. <view class="flex-center" style="gap: 30rpx;">
  67. <view class="btn2" style="padding: 16rpx 80rpx;" @click="pre">
  68. 返回
  69. </view>
  70. <view class="btn2" style="padding: 16rpx 80rpx;" @click="next">
  71. 取消预约
  72. </view>
  73. </view>
  74. <text class="second-color">欢快无限饮&nbsp;&nbsp;饮酒有限度</text>
  75. </view>
  76. </view>
  77. <uv-popup mode="bottom" round="20" closeable ref="service" duration="500">
  78. <view class="flex-col" style="gap: 30rpx; padding: 40rpx 0;">
  79. <text style="font-weight: bold;">请填写预约信息</text>
  80. <view class="flex-sa">
  81. <img src="../static/address/icon.png" alt="" style="width: 40rpx; height: 40rpx;" />
  82. <span>{{username}}</span>
  83. <span>{{address}}</span>
  84. </view>
  85. </view>
  86. <view class="" style="height: 20rpx; width: 100vw; background-color: #f6f6f6;">
  87. </view>
  88. <view class="" style="padding: 40rpx;">
  89. <span>预约时间</span>
  90. <view class="flex-sa mt-40" style="background-color: #f6f6f6; padding: 30rpx 20rpx;">
  91. <span style="margin-right: 30rpx;">备注</span>
  92. <uv-input placeholder="填选,可输入的其他需求" border="none" v-model="remark_column"></uv-input>
  93. </view>
  94. <uv-calendar ref="calendar" @confirm="confirm"></uv-calendar>
  95. <view class="flex-sb mt-40" style="width: 90vw;border-radius: 100rpx; border: 2rpx solid #fab445; box-sizing: border-box; overflow: hidden;">
  96. <span style=" padding: 30rpx;color: #fab445;">暂不预约先购买</span>
  97. <span style=" padding: 30rpx;background-color: #fab445; color: white;">下一步确认订单</span>
  98. </view>
  99. </view>
  100. </uv-popup>
  101. </view>
  102. </template>
  103. <script>
  104. export default {
  105. data() {
  106. return {
  107. year: '2024年',
  108. date: '9月20日',
  109. time: '08:00',
  110. firstName: '张',
  111. lastName: '里于',
  112. gender: '',
  113. phone: '',
  114. message: '',
  115. username: '利曼和',
  116. address: '湖南省长沙市天心村天启小区6栋',
  117. remark_column:''
  118. }
  119. },
  120. methods: {
  121. next() {
  122. uni.navigateTo({
  123. url: '/pages_order/info/start'
  124. })
  125. },
  126. pre() {
  127. uni.navigateBack({
  128. delta: 1
  129. })
  130. },
  131. open() {
  132. this.$refs.calendar.open();
  133. this.$refs.service.open();
  134. },
  135. confirm(e){
  136. console.log(e);
  137. },
  138. checkGender(){
  139. }
  140. },
  141. }
  142. </script>
  143. <style lang="scss" scoped>
  144. .query {
  145. position: relative;
  146. bottom: -5vh;
  147. }
  148. .date {
  149. border: 2rpx solid $uni-color;
  150. padding: 14rpx 30rpx;
  151. border-radius: 12rpx;
  152. }
  153. .main-color {
  154. flex-wrap: nowrap;
  155. color: $uni-color;
  156. }
  157. .input {
  158. border: 2rpx solid #FD5100;
  159. border-radius: 10rpx;
  160. padding: 10rpx;
  161. }
  162. .area {
  163. border: 2rpx solid #FD5100;
  164. border-radius: 10rpx;
  165. padding: 10rpx;
  166. width: 100%;
  167. height: 120rpx;
  168. }
  169. .select{
  170. position: absolute;
  171. margin-top: 180rpx;
  172. margin-right: 25rpx;
  173. gap: 10rpx;
  174. width: 120rpx;
  175. height: 120rpx;
  176. background: white;
  177. border-radius: 10rpx;
  178. font-size: 28rpx;
  179. transition: 0.4s;
  180. display: none;
  181. }
  182. </style>