...
|
...
|
@@ -99,6 +99,8 @@ tipDialog.init(); |
|
|
|
|
|
let $list = $('#qs-list');
|
|
|
|
|
|
let canShare = $list.hasClass('can-share');
|
|
|
|
|
|
$list.on('click', 'li', function() {
|
|
|
let data = $(this).data();
|
|
|
|
...
|
...
|
@@ -110,10 +112,10 @@ $list.on('click', 'li', function() { |
|
|
if (resData.code === 200) {
|
|
|
jumpQuestionDetail(data);
|
|
|
} else if (resData.code === 206) {
|
|
|
if (yoho && yoho.isApp) {
|
|
|
if (canShare && yoho && yoho.isApp) {
|
|
|
yoho.invokeMethod('go.showShareAlert', {
|
|
|
title: data.title,
|
|
|
link: 'http://m.yohobuy.com/3party/questionnaire/' + data.id,
|
|
|
link: 'https://m.yohobuy.com/3party/questionnaire/' + data.id,
|
|
|
desc: data.desc,
|
|
|
imgUrl: data.img
|
|
|
});
|
...
|
...
|
|