景徳镇旅游微信小程序
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.

159 lines
2.9 KiB

10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
  1. <template>
  2. <view class="page">
  3. <!-- 我的预约 -->
  4. <navbar title="我的预约" leftClick @leftClick="$utils.navigateBack" />
  5. <view style="background-color: #fff;">
  6. <uv-tabs :list="tabs"
  7. lineColor="#B12026"
  8. lineHeight="8rpx"
  9. lineWidth="50rpx"
  10. @click="clickTabs"></uv-tabs>
  11. </view>
  12. <view class="subscribe-list">
  13. <view class="item"
  14. v-for="(item, index) in list">
  15. <!-- 主题 -->
  16. <uv-cell :title="item.orderTitle"
  17. :border="false">
  18. <template #icon>
  19. <text class="text">主题</text>
  20. </template>
  21. <template #value>
  22. <text class="price">{{ item.orderPrice }}</text>
  23. </template>
  24. </uv-cell>
  25. <!-- 日期 -->
  26. <uv-cell
  27. :border="false">
  28. <template #icon>
  29. <text class="text">日期</text>
  30. </template>
  31. <template #title>
  32. <text class="time">{{ item.orderDate }}</text>
  33. </template>
  34. </uv-cell>
  35. <!-- 时间 -->
  36. <uv-cell
  37. :border="false">
  38. <template #icon>
  39. <text class="text">时间</text>
  40. </template>
  41. <template #title>
  42. <text class="time">{{ item.orderTime }}</text>
  43. </template>
  44. </uv-cell>
  45. <!-- 电话 -->
  46. <uv-cell
  47. :border="false">
  48. <template #icon>
  49. <text class="text">电话</text>
  50. </template>
  51. <template #title>
  52. <text class="phone">{{ item.orderPhone }}</text>
  53. </template>
  54. </uv-cell>
  55. <view class="btns">
  56. <view class="btn">
  57. 再次预约
  58. </view>
  59. </view>
  60. </view>
  61. </view>
  62. </view>
  63. </template>
  64. <script>
  65. import mixinsList from '@/mixins/list.js'
  66. export default {
  67. mixins : [mixinsList],
  68. data() {
  69. return {
  70. tabs: [{
  71. name: '路径定制'
  72. },
  73. {
  74. name: '遗产讲述'
  75. },
  76. {
  77. name: '达人同游'
  78. },
  79. {
  80. name: '我要跟拍'
  81. },
  82. {
  83. name: '非遗体验'
  84. },
  85. {
  86. name: '遗产路径'
  87. },
  88. {
  89. name: '我要研学'
  90. },
  91. ],
  92. mixinsListApi : 'queryOrderList',
  93. list : [],
  94. }
  95. },
  96. onLoad() {
  97. this.queryParams.orderType = 0
  98. },
  99. onShow() {
  100. this.getData()
  101. },
  102. methods: {
  103. //点击tab栏
  104. clickTabs({index}) {
  105. this.queryParams.orderType = index;
  106. this.getData()
  107. },
  108. }
  109. }
  110. </script>
  111. <style scoped lang="scss">
  112. .page {
  113. .subscribe-list{
  114. .item{
  115. background-color: #fff;
  116. border-radius: 20rpx;
  117. margin: 20rpx;
  118. padding: 20rpx;
  119. box-shadow: 0 0 16rpx 6rpx #00000011;
  120. /deep/ text{
  121. font-size: 26rpx;
  122. color: #333333;
  123. font-weight: 900;
  124. }
  125. /deep/ .text{
  126. color: #B7BBC7;
  127. margin-right: 20rpx;
  128. font-size: 26rpx;
  129. }
  130. /deep/ .price{
  131. color: #f40;
  132. }
  133. /deep/ .time{
  134. color: $uni-color;
  135. }
  136. .btns{
  137. display: flex;
  138. justify-content: flex-end;
  139. .btn{
  140. padding: 10px 30rpx;
  141. font-size: 24rpx;
  142. background-color: $uni-color;
  143. color: #fff;
  144. border-radius: 35rpx;
  145. }
  146. }
  147. }
  148. }
  149. }
  150. </style>