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

130 lines
2.3 KiB

9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
9 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. :scrollable="false"
  11. @click="clickTabs"></uv-tabs>
  12. </view>
  13. <view class="subscribe-list">
  14. <view class="item">
  15. <!-- 主题 -->
  16. <uv-cell title="景德镇一日游"
  17. :border="false">
  18. <template #icon>
  19. <text class="text">主题</text>
  20. </template>
  21. <template #value>
  22. <text class="price">199.0</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">2024-04-21</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="phone">15423451221</text>
  43. </template>
  44. </uv-cell>
  45. <view class="btns">
  46. <view class="btn">
  47. 再次预约
  48. </view>
  49. </view>
  50. </view>
  51. </view>
  52. </view>
  53. </template>
  54. <script>
  55. export default {
  56. data() {
  57. return {
  58. tabs: [{
  59. name: '遗产路径'
  60. },
  61. {
  62. name: '我要研学'
  63. },
  64. {
  65. name: '文创好物'
  66. },
  67. ],
  68. }
  69. },
  70. methods: {
  71. //点击tab栏
  72. clickTabs(index) {
  73. if (index == 0) {
  74. this.state = -1;
  75. } else {
  76. this.state = index - 1;
  77. }
  78. this.getOrderList()
  79. },
  80. }
  81. }
  82. </script>
  83. <style scoped lang="scss">
  84. .page {
  85. .subscribe-list{
  86. .item{
  87. background-color: #fff;
  88. border-radius: 20rpx;
  89. margin: 20rpx;
  90. padding: 20rpx;
  91. box-shadow: 0 0 16rpx 6rpx #00000011;
  92. /deep/ text{
  93. font-size: 26rpx;
  94. color: #333333;
  95. font-weight: 900;
  96. }
  97. /deep/ .text{
  98. color: #B7BBC7;
  99. margin-right: 20rpx;
  100. font-size: 26rpx;
  101. }
  102. /deep/ .price{
  103. color: #f40;
  104. }
  105. /deep/ .time{
  106. color: $uni-color;
  107. }
  108. .btns{
  109. display: flex;
  110. justify-content: flex-end;
  111. .btn{
  112. padding: 10px 30rpx;
  113. font-size: 24rpx;
  114. background-color: $uni-color;
  115. color: #fff;
  116. border-radius: 35rpx;
  117. }
  118. }
  119. }
  120. }
  121. }
  122. </style>