HarmonyOS原子化服务Music卡片体验
原创
一、呈现样式二、创建开发流程新建项目后在entry目录下任意文件右键新建servicewidget(卡片)选择你需要的模板输入配置项项目的config.json文件(新建卡片后自动生成)卡片的实现类(新建卡片后自动生成)三、JSON代码{"data":{"itemTitle":"JLTFMusic","itemContent":"蛟龙腾飞","src":"commonicon.png"},"actions":{"getPrevious":{"action":"message","params":{"mAction":"JLTFPrevious"}},"play":{"action":"message","para...