...
|
...
|
@@ -11,11 +11,13 @@ let question = { |
|
|
this.$item = $('.qs-item', this.$base);
|
|
|
this.startTime = Date.parse(new Date()) / 1000;
|
|
|
|
|
|
if (yoho.isApp) {
|
|
|
if (this.$base.length && yoho.isApp) {
|
|
|
let data = this.$base.data();
|
|
|
|
|
|
yoho.ready(function() {
|
|
|
yoho.invokeMethod('get.pageType', 'questionnaire');
|
|
|
yoho.invokeMethod('get.pageType', {
|
|
|
pageType: 'questionnaire'
|
|
|
});
|
|
|
yoho.invokeMethod('set.shareInfo', {
|
|
|
title: data.title,
|
|
|
link: 'http://m.yohobuy.com/3party/questionnaire/' + data.id,
|
...
|
...
|
|