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

53 lines
867 B

8 months ago
  1. <template>
  2. <uv-popup
  3. ref="popup"
  4. :round="30"
  5. :customStyle="{height: '50vh'}">
  6. <view class="content">
  7. <uv-search
  8. placeholder="请输入搜索内容"
  9. v-model="queryParams[searchKey]"></uv-search>
  10. </view>
  11. </uv-popup>
  12. </template>
  13. <script>
  14. import mixinsList from '@/mixins/list.js'
  15. export default {
  16. mixins: [mixinsList],
  17. props: {
  18. keyName : {//展示信息的字段
  19. default : 'name',
  20. },
  21. placeholder : {//搜索框提示词
  22. default : '请输入搜索内容'
  23. },
  24. isPage : {//是否分页
  25. default : true,
  26. },
  27. searchKey : {//搜索参数字段
  28. default : 'name'
  29. },
  30. mixinsListApi : {
  31. default : '',
  32. },
  33. },
  34. data() {
  35. return {
  36. }
  37. },
  38. onLoad(option) {},
  39. watch: {
  40. },
  41. methods: {
  42. },
  43. }
  44. </script>
  45. <style lang="scss" scoped>
  46. .content{
  47. padding: 0 20rpx 20rpx 20rpx;
  48. }
  49. </style>