<template>
  <van-popup
    :duration="0.2"
    :overlay="false"
    class="picker_popup"
    v-model="visible"
    position="bottom"
  >
	  <van-picker
			show-toolbar
			:columns="columns"
			@cancel="showPicker = false"
			@confirm="onConfirm"
		/>
	</van-popup>
</template>

<script>
import Vue from "vue";
import { Popup, Picker } from "vant";
Vue.use(Popup).use(Picker);
import request from "@/utils/request";
export default {
  props: {
		visible:{
			type: Boolean,
			default: false
		},
    arr: {
      type: Array,
      default: () => []
    }
  },
  name: "picker",
  data() {
    return {
      return_arr: []
    };
  },
  watch: {},
  methods: {
		


    // this.$emit('confirm', {
    //   rule: this.rule_selected_list,
    //   cate: this.category_selected_list
    // })
  },
  created() {}
};
</script>

<style scoped>
.picker_popup{

}
</style>

