Commit 622ff2c4 authored by 杜欣's avatar 杜欣

update params

parent ca531cfb
...@@ -103,27 +103,27 @@ Widget messageList(Data list) { ...@@ -103,27 +103,27 @@ Widget messageList(Data list) {
var content = { var content = {
1: { 1: {
'showText': '评论了你', 'showText': '评论了你',
'opeUrl': 'openUrl':
'topic_detail?call_keyboard=1&open_comment=0&topic_id=${list.repliedContent.topicId}&reply_id=${list.id}' 'topic_detail?call_keyboard=1&open_comment=0&topic_id=${list.repliedContent.topicId}&reply_id=${list.id}'
}, },
2: { 2: {
'showText': '评论了你的评论', 'showText': '评论了你的评论',
'opeUrl': 'openUrl':
'topic_detail?call_keyboard=1&open_comment=0&topic_id=${list.repliedContent.topicId}&reply_id=${list.id}' 'topic_detail?call_keyboard=1&open_comment=0&topic_id=${list.repliedContent.topicId}&reply_id=${list.id}'
}, },
3: { 3: {
'showText': '评论了你', 'showText': '评论了你',
'opeUrl': 'openUrl':
'pictorial_detail?pictorial_id=${list.repliedContent.pictorialId}&reply_id=${list.id}&show_reply=${false}' 'pictorial_detail?pictorial_id=${list.repliedContent.pictorialId}&reply_id=${list.id}&show_reply=${false}'
}, },
4: { 4: {
'showText': '评论了你的评论', 'showText': '评论了你的评论',
'opeUrl': 'openUrl':
'pictorial_detail?pictorial_id=${list.repliedContent.pictorialId}&reply_id=${list.id}&show_reply=${false}' 'pictorial_detail?pictorial_id=${list.repliedContent.pictorialId}&reply_id=${list.id}&show_reply=${false}'
}, },
5: { 5: {
'showText': '关注了你的问题', 'showText': '关注了你的问题',
'opeUrl': 'openUrl':
'pictorial_detail?pictorial_id=${list.repliedContent.pictorialId}' 'pictorial_detail?pictorial_id=${list.repliedContent.pictorialId}'
} }
}; };
...@@ -208,11 +208,11 @@ Widget messageList(Data list) { ...@@ -208,11 +208,11 @@ Widget messageList(Data list) {
onTap: () { onTap: () {
onClickButton('photo', onClickButton('photo',
{'business_id': list.repliedContent.id.toString()}); {'business_id': list.repliedContent.id.toString()});
// jumpToNative('url_page', {"url": 'alpha://${content[list.repliedContent?.type]['openUrl']}'}); jumpToNative('url_page', {"url": 'alpha://${content[list.repliedContent?.type]['openUrl']}'});
jumpToNative('url_page', { // jumpToNative('url_page', {
"url": // "url":
'alpha://topic_detail?topic_id=${list.repliedContent.topicId}' // 'alpha://topic_detail?topic_id=${list.repliedContent.topicId}'
}); // });
}, },
child: Container( child: Container(
width: ScreenUtil.instance.setWidth(48), width: ScreenUtil.instance.setWidth(48),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment