Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ticket card is not work #18

Closed
zhangsen-res opened this issue Jan 20, 2021 · 1 comment
Closed

ticket card is not work #18

zhangsen-res opened this issue Jan 20, 2021 · 1 comment

Comments

@zhangsen-res
Copy link

https://g.alicdn.com/alime-components/ticket/0.0.2/index.js
{
type: 'card',
content: {
code: "ticket",
data: {
"transportInfo": {
"to": "北京",
"icon": "train",
"searchLinkName": "更多车次",
"weekday": "周六",
"from": "杭州",
"date": "2017-12-16",
"searchLink": "https://h5.m.taobao.com/trip/train/searchlist/index.html?depCity=杭州&arrCity=北京&depDate=2017-12-16&onlyGD=false&ttid=taobao.xiaomi.huoqi.104666"
},
"transportList": [{
"bestPrice": 538.5,
"spendTime": "5小时55分",
"bestDiscount": "",
"departName": "杭州东",
"orderLink": "https://h5.m.taobao.com/trip/train/train-detail/index.html?depStation=杭州东&arrStation=北京南&depDate=2017-12-16&trainNo=G34&isStudent=0&ttid=taobao.xiaomi.huoqi.104666&spm=181.7406757.1998410225.500&_preProjVer=0.5.55&_projVer=0.5.55",
"ontimeRate": "",
"transportName": "G34",
"otherFlight": "",
"leftNum": "商务座 20张 一等座 有票 二等座 有票",
"arriveName": "北京南",
"depTime": "07:10",
"arrTime": "13:05"
}, {
"bestPrice": 538.5,
"spendTime": "5小时14分",
"bestDiscount": "",
"departName": "杭州东",
"orderLink": "https://h5.m.taobao.com/trip/train/train-detail/index.html?depStation=杭州东&arrStation=北京南&depDate=2017-12-16&trainNo=G20&isStudent=0&ttid=taobao.xiaomi.huoqi.104666&spm=181.7406757.1998410225.500&_preProjVer=0.5.55&_projVer=0.5.55",
"ontimeRate": "",
"transportName": "G20",
"otherFlight": "",
"leftNum": "商务座 1张 一等座 有票 二等座 有票",
"arriveName": "北京南",
"depTime": "08:24",
"arrTime": "13:38"
}]
}
}
}

@akai
Copy link
Collaborator

akai commented Jan 21, 2021

你用的是小蜜?这卡片渲染逻辑不是写在 ChatUI 里的。

@akai akai closed this as completed Jan 21, 2021
captainstdin pushed a commit to captainstdin/ChatUI that referenced this issue May 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants