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

57 lines
1.1 KiB

7 months ago
  1. <template>
  2. <view class="page pageList">
  3. <navbar title="景点" leftClick @leftClick="$utils.navigateBack" />
  4. <view
  5. style="padding: 10rpx 30rpx;">
  6. <uv-search
  7. bgColor="#fff"
  8. @search="getData"
  9. @custom="getData"
  10. searchIconSize="30rpx"
  11. placeholder="请输入搜索关键字..."
  12. v-model="queryParams.title"></uv-search>
  13. </view>
  14. <view class="list">
  15. <scenicSpotItem
  16. :key="index"
  17. v-for="(item, index) in list"
  18. :item="item"
  19. />
  20. </view>
  21. </view>
  22. </template>
  23. <script>
  24. import mixinsList from '@/mixins/list.js'
  25. import scenicSpotItem from '../components/list/scenicSpot/scenicSpotItem.vue'
  26. export default {
  27. mixins: [mixinsList],
  28. components : {
  29. scenicSpotItem,
  30. },
  31. data() {
  32. return {
  33. mixinsListApi : 'getScenicPage',
  34. }
  35. },
  36. methods: {
  37. getDataThen(list){
  38. // list.forEach(n => {
  39. // n.detailsImage = n.detailsImage ? n.detailsImage.split(',') : []
  40. // n.details = n.details ? n.details.split(',') : []
  41. // })
  42. },
  43. }
  44. }
  45. </script>
  46. <style scoped lang="scss">
  47. .page{
  48. .list{
  49. padding: 0 20rpx;
  50. }
  51. }
  52. </style>