123456789101112131415161718192021222324252627282930313233343536373839 |
- // components/My_dropdownMenu/index.js
- Component({
- /**
- * 组件的属性列表
- */
- properties: {
- mtype: {
- type: String,
- value: "date"
- }
- },
- /**
- * 组件的初始数据
- */
- data: {
- sortByDate: [{
- text: '默认排序',
- value: 0
- },
- {
- text: '按日期升序',
- value: 1
- },
- {
- text: '按日期降序',
- value: 2
- },
- ],
- sortByDateChecked: 0,
- },
- /**
- * 组件的方法列表
- */
- methods: {
- }
- })
|