/* * @Author: cclu 1106109051@qq.com * @Date: 2024-12-04 16:02:27 * @LastEditors: cclu 1106109051@qq.com * @LastEditTime: 2024-12-10 19:16:21 * @FilePath: \wanmeiyizhan\static\vant\action-sheet\index.js * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE */ // import { VantComponent } from '../common/component'; // import { button } from '../mixins/button'; // import { openType } from '../mixins/open-type'; // VantComponent({ // mixins: [button, openType], // props: { // show: Boolean, // title: String, // cancelText: String, // description: String, // round: { // type: Boolean, // value: true // }, // zIndex: { // type: Number, // value: 100 // }, // actions: { // type: Array, // value: [] // }, // overlay: { // type: Boolean, // value: true // }, // closeOnClickOverlay: { // type: Boolean, // value: true // }, // closeOnClickAction: { // type: Boolean, // value: true // }, // safeAreaInsetBottom: { // type: Boolean, // value: true // } // }, // methods: { // onSelect(event) { // const { index } = event.currentTarget.dataset; // const item = this.data.actions[index]; // if (item && !item.disabled && !item.loading) { // this.$emit('select', item); // if (this.data.closeOnClickAction) { // this.onClose(); // } // } // }, // onCancel() { // this.$emit('cancel'); // }, // onClose() { // this.$emit('close'); // }, // onClickOverlay() { // this.$emit('click-overlay'); // this.onClose(); // } // } // });