动作按钮的颜色showCard自适应卡不变

问题描述

这是自适应卡的图像,看看它会更好地解释问题

1

我们为MS团队构建了一个应用程序,该应用程序在其流程中使用自适应卡,第一步显示了许多图像,顶部有不同类别的按钮,客户端可以从中选择图像,每个按钮我们已经附加了action.showCard,所以除了最后一个按钮以外,所有其他按钮都具有相同的颜色,但是最后一个按钮具有不同的颜色,这对客户端来说很糟糕。我没有为action.showCard使用任何样式,但仍然显示不同的颜色。谁能帮助您删除最后一个按钮的颜色?预先感谢

Card Json

{
"task": {
    "type": "continue","value": {
        "title": "Select a non-monetary award","height": "medium","width": "medium","card": {
            "contentType": "application/vnd.microsoft.card.adaptive","content": {
                "type": "AdaptiveCard","version": "1.2","body": [],"actions": [{
                    "type": "Action.ShowCard","title": "SELF CARE","card": {
                        "type": "AdaptiveCard","body": [{
                            "type": "ColumnSet","columns": [{
                                "type": "Column","width": "stretch","separator": true,"spacing": "medium","style": "default","horizontalAlignment": "center","verticalContentAlignment": "center","bleed": false,"items": [{
                                    "type": "Image","url": "https://image","size": "Large","altText": "Health Warrior","selectAction": {
                                        "type": "Action.Submit","title": "Health Warrior","data": {
                                            "x": 2,"Recipients": null,"WorkFlow": null,"badgeId": 1395,"approverId": null,"tags": null,"awardValue": null,"comment": null,"businessJustification": null,"msteams": null
                                        }
                                    },"separator": true
                                },{
                                    "type": "TextBlock","text": "Health Warrior","size": "large","maxLines": 15,"id": null,"color": null,"wrap": true
                                },"text": "","size": "medium","maxLines": 10,"color": "Dark","wrap": false
                                }]
                            }],"horizontalAlignment": "left","style": "emphasis"
                        }],"style": "emphasis"
                    },"style": "positive"
                },{
                    "type": "Action.ShowCard","title": "PERFORMANCE","altText": "Great Job","title": "Great Job","badgeId": 6,"text": "Great Job","wrap": false
                                }]
                            },{
                                "type": "Column","altText": "Thank You!","title": "Thank You!","badgeId": 11,"text": "Thank You!","style": "positive"
                }]
            }
        }
    }
}
@H_502_12@

}

enter image description here

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)