| 1234567891011121314151617181920212223242526272829303132333435 |
- Component({
- options: {
- multipleSlots: true,
- },
- properties: {
- list: Array,
- title: {
- type: String,
- value: '促销说明',
- },
- show: {
- type: Boolean,
- },
- },
- // data: {
- // list: [],
- // },
- methods: {
- change(e) {
- const { index } = e.currentTarget.dataset;
- this.triggerEvent('promotionChange', {
- index,
- });
- },
- closePromotionPopup() {
- this.triggerEvent('closePromotionPopup', {
- show: false,
- });
- },
- },
- });
|