7

如何为 Amazon Alexa APL 技能设置背景颜色?这就是我的 .json 文件的样子: https ://raw.githubusercontent.com/alexa-labs/skill-sample-nodejs-sauce-boss/master/lambda/custom/documents/recipeIntent.json

4

1 回答 1

2

我可以看到您有一些使用best-fill的背景图像以及定义的大小100vwx 100vh,所以我想知道您想在哪里添加背景颜色。

我为类似情况找到的解决方案是添加这样的框架:

{
  "type": "Frame",
  "width": "100vw",
  "height": "100vh",  
  "backgroundColor": "blue"
}

我希望这会有所帮助。

于 2019-06-08T12:04:23.383 回答