// components/my-result/my-result.js
Component({
	/**
	 * 组件的属性列表
	 */
	properties: {
	  iconPath: {
		type: String,
		value: '', // 默认图标路径,可以按需修改
	  },
	  title: {
		type: String,
		value: '',
	  },
	  description: {
		type: String,
		value: '',
	  },
	  actionText: {
		type: String,
	  },
	  descActionText: {
		type: String,
	  }
	},
  
	/**
	 * 组件的初始数据
	 */
	data: {
  
	},
  
	/**
	 * 组件的方法列表
	 */
	methods: {
	  handleAction() {
		// 这里可以触发对应的业务逻辑,比如跳转到某个页面等
		this.triggerEvent('action', {}); // 可以向外触发一个自定义事件,方便父组件监听
	  },
	  handleDescAction() {
		// 这里可以触发对应的业务逻辑,比如跳转到某个页面等
		this.triggerEvent('descAction', {}); // 可以向外触发一个自定义事件,方便父组件监听
	  }
	}
  })