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

197 lines
3.3 KiB

10 months ago
7 months ago
10 months ago
7 months ago
10 months ago
7 months ago
10 months ago
7 months ago
10 months ago
7 months ago
10 months ago
7 months ago
10 months ago
7 months ago
10 months ago
7 months ago
10 months ago
7 months ago
10 months ago
7 months ago
10 months ago
7 months ago
10 months ago
7 months ago
10 months ago
7 months ago
10 months ago
7 months ago
10 months ago
7 months ago
10 months ago
7 months ago
10 months ago
7 months ago
10 months ago
7 months ago
10 months ago
7 months ago
10 months ago
7 months ago
10 months ago
7 months ago
10 months ago
7 months ago
10 months ago
  1. <template>
  2. <view class="pagea">
  3. <navbar
  4. title="预约列表"
  5. leftClick
  6. @leftClick="$utils.navigateBack" />
  7. <!-- <uv-tabs :list="tabs"
  8. :activeStyle="{color : '#FD5100', fontWeight : 600}"
  9. lineColor="#FD5100"
  10. lineHeight="8rpx"
  11. lineWidth="50rpx"
  12. @click="clickTabs"></uv-tabs> -->
  13. <view class="list">
  14. <view class="item"
  15. v-for="(item, index) in list"
  16. @click="toOrderDetail(item.id)"
  17. :key="index">
  18. <view class="top">
  19. <view class="service">
  20. <text>预约日期{{item.yearValue}}-{{item.monthDay}}</text>
  21. </view>
  22. </view>
  23. <view class="contenta">
  24. <view class="left"
  25. v-if="item.image">
  26. <image mode="aspectFill" :src="item.image"></image>
  27. </view>
  28. <view class="right">
  29. <view class="text-hidden-1">
  30. 客户姓名{{item.name}}
  31. </view>
  32. <view class="text-hidden-1">
  33. 电话{{item.phone}}
  34. </view>
  35. <view class="text-hidden-1">
  36. 预约时间{{item.dayTime}}
  37. </view>
  38. </view>
  39. </view>
  40. <view class="bottom">
  41. 地址{{ item.province }}
  42. {{ item.city }}
  43. {{ item.area }}
  44. {{ item.address }}
  45. </view>
  46. </view>
  47. </view>
  48. </view>
  49. </template>
  50. <script>
  51. import { mapGetters } from 'vuex'
  52. import mixinsList from '@/mixins/list.js'
  53. export default {
  54. mixins : [mixinsList],
  55. components : {
  56. },
  57. computed : {
  58. },
  59. data() {
  60. return {
  61. tabs: [{
  62. name: '全部'
  63. },
  64. {
  65. name: '租赁押金'
  66. },
  67. {
  68. name: '水洗租赁'
  69. },
  70. {
  71. name: '破损换货'
  72. },
  73. {
  74. name: '退货退款'
  75. }
  76. ],
  77. mixinsListApi : 'queryReservation',
  78. }
  79. },
  80. onShow() {
  81. },
  82. methods: {
  83. //点击tab栏
  84. clickTabs(index) {
  85. if (index == 0) {
  86. } else {
  87. }
  88. this.queryParams.pageSize = 10
  89. this.getData()
  90. },
  91. //跳转订单详情页面
  92. toOrderDetail(id) {
  93. uni.navigateTo({
  94. url: '/pages_order/info/appoint?id=' + id
  95. })
  96. },
  97. }
  98. }
  99. </script>
  100. <style scoped lang="scss">
  101. .pagea{
  102. }
  103. .list {
  104. .item {
  105. width: calc(100% - 40rpx);
  106. background-color: #fff;
  107. margin: 20rpx;
  108. box-sizing: border-box;
  109. border-radius: 16rpx;
  110. padding: 30rpx;
  111. .top {
  112. display: flex;
  113. justify-content: space-between;
  114. align-items: center;
  115. font-size: 26rpx;
  116. .service {}
  117. .status {
  118. font-size: 26rpx;
  119. font-weight: 600;
  120. }
  121. }
  122. .contenta {
  123. display: flex;
  124. margin: 10rpx 0;
  125. .left {
  126. width: 150rpx;
  127. height: 150rpx;
  128. border-radius: 10rpx;
  129. image {
  130. width: 150rpx;
  131. height: 150rpx;
  132. border-radius: 10rpx;
  133. }
  134. }
  135. .right {
  136. flex: 1;
  137. color: #777;
  138. font-size: 24rpx;
  139. padding-left: 20rpx;
  140. line-height: 40rpx;
  141. background-color: #F8F8F8;
  142. }
  143. }
  144. .bottom {
  145. display: flex;
  146. justify-content: space-between;
  147. font-size: 25rpx;
  148. .price {
  149. font-weight: 900;
  150. text {
  151. color: #ff780099;
  152. font-size: 30rpx;
  153. }
  154. }
  155. .b1 {
  156. border: 1px solid #777;
  157. color: #777;
  158. box-sizing: border-box;
  159. }
  160. .b2 {
  161. background: linear-gradient(178deg, #4FD3BC, #60C285);
  162. color: #fff;
  163. }
  164. view {
  165. margin: 12rpx;
  166. border-radius: 28rpx;
  167. padding: 8rpx 28rpx;
  168. margin-bottom: 0;
  169. }
  170. }
  171. }
  172. }
  173. </style>