瑶都万能墙
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.

89 lines
1.8 KiB

10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
9 months ago
10 months ago
10 months ago
9 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
9 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
9 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 pageList">
  3. <navbar title="找车" bgColor="#5baaff" color="#fff" leftClick @leftClick="$utils.navigateBack" />
  4. <view class="top-bg"></view>
  5. <view style="padding: 10rpx 30rpx 0 30rpx;">
  6. <uv-search bgColor="#fff" @search="getData" :showAction="false" searchIconSize="30rpx"
  7. placeholder="请输入搜索关键字..." v-model="queryParams.title"></uv-search>
  8. </view>
  9. <!-- <view class="LabelOptions">
  10. <uv-tabs :list="tabs"
  11. :activeStyle="{color : '#fff', fontWeight : 900}"
  12. :inactiveStyle="{color : '#eee'}"
  13. lineColor="#fff"
  14. lineHeight="8rpx"
  15. lineWidth="50rpx"
  16. :scrollable="false"
  17. @click="tabsClick"></uv-tabs>
  18. </view> -->
  19. <view class="">
  20. <screenSearch @clickItem="clickItem" />
  21. </view>
  22. <view class="list">
  23. <cartItem :key="index" v-for="(item, index) in list" :item="item"
  24. @click="$utils.navigateTo('/pages_order/car/carListDetail?id=' + item.id)" />
  25. </view>
  26. </view>
  27. </template>
  28. <script>
  29. import mixinsList from '@/mixins/list.js'
  30. import screenSearch from '../components/screen/screenSearch.vue'
  31. import cartItem from '../components/list/cart/cartItem.vue'
  32. export default {
  33. mixins: [mixinsList],
  34. components: {
  35. cartItem,
  36. screenSearch,
  37. },
  38. data() {
  39. return {
  40. mixinsListApi: 'getCatPage',
  41. tabs : [
  42. {
  43. name : "车找人",
  44. },
  45. {
  46. name : "人找车",
  47. },
  48. ],
  49. }
  50. },
  51. methods: {
  52. clickItem(result) {
  53. this.queryParams = {
  54. pageNo: 1,
  55. pageSize: 10,
  56. }
  57. result.forEach(n => {
  58. this.queryParams[n.name] = n.value
  59. })
  60. this.getData()
  61. },
  62. }
  63. }
  64. </script>
  65. <style scoped lang="scss">
  66. .page {
  67. .list {
  68. padding: 0 20rpx;
  69. }
  70. .LabelOptions{
  71. position: relative;
  72. }
  73. }
  74. .top-bg {
  75. position: absolute;
  76. height: 500rpx;
  77. width: 100%;
  78. background: linear-gradient($uni-color, #fff);
  79. }
  80. </style>