|
|
- <template>
- <uv-popup
- ref="popup"
- :round="30"
- :customStyle="{height: '50vh'}">
- <view class="content">
- <uv-search
- placeholder="请输入搜索内容"
- v-model="queryParams[searchKey]"></uv-search>
-
- </view>
- </uv-popup>
- </template>
-
- <script>
- import mixinsList from '@/mixins/list.js'
- export default {
- mixins: [mixinsList],
- props: {
- keyName : {//展示信息的字段
- default : 'name',
- },
- placeholder : {//搜索框提示词
- default : '请输入搜索内容'
- },
- isPage : {//是否分页
- default : true,
- },
- searchKey : {//搜索参数字段
- default : 'name'
- },
- mixinsListApi : {
- default : '',
- },
- },
- data() {
- return {
-
- }
- },
- onLoad(option) {},
- watch: {
- },
- methods: {
-
- },
- }
- </script>
-
- <style lang="scss" scoped>
- .content{
- padding: 0 20rpx 20rpx 20rpx;
- }
- </style>
|