# card_link
cardLink
用于指定卡片整体的点击跳转链接,可以配置默认链接,也可以分别配置不同终端的链接(分别在 iOS、Android、PC 上点击卡片,会跳转到相应的配置的网址。),详情可参考url对象。
card_link
详细可配字段和描述如下:
字段 | 必须 | 说明 |
---|---|---|
url | 是 | 默认的链接地址 |
pcUrl | 否 | PC 端的链接地址 |
iosUrl | 否 | iOS 端的链接地址 |
androidUrl | 否 | Android 端的链接地址 |
# json示例
"globalConfig": {
.....
},
"cardLink": {
"url": "https://hi.zhipin.com",
"androidUrl": "https://applink-bosshi.zhipin.com/client/open?appId=xxx&openType=1&width=100&hight=100&path=xxx&pathAndroid=xxx&pathIos=xxx&pathPc=xxx&appCode=xxxbrowserOpen=1",
"iosUrl": "https://developer.apple.com/",
"pcUrl": "https://www.windows.com"
},
"header": {
"text": {
"tag": "plain_text",
"content": "this is header"
},
"color": "blue"
},
"modules": [
.....
]
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
注意:
如果配置了 iosUrl、androidUrl 或者 pcUrl , 则在相应端上优先使用指定的链接,如果没有对应链接则使用Url兜底
← list_selector confirm →