|
@@ -19,6 +19,8 @@ var tip = require('../../plugin/tip'); |
|
@@ -19,6 +19,8 @@ var tip = require('../../plugin/tip'); |
19
|
|
19
|
|
20
|
var brandId = $('#brand-info').data('id');
|
20
|
var brandId = $('#brand-info').data('id');
|
21
|
|
21
|
|
|
|
22
|
+var jumpToApp = $('#jump-to-app').val();
|
|
|
23
|
+
|
22
|
var mIntro, aIntro;
|
24
|
var mIntro, aIntro;
|
23
|
|
25
|
|
24
|
var moreHammer, likeHammer;
|
26
|
var moreHammer, likeHammer;
|
|
@@ -71,6 +73,12 @@ likeHammer.on('tap', function(e) { |
|
@@ -71,6 +73,12 @@ likeHammer.on('tap', function(e) { |
71
|
var opt = 'ok',
|
73
|
var opt = 'ok',
|
72
|
$this = $(e.target);
|
74
|
$this = $(e.target);
|
73
|
|
75
|
|
|
|
76
|
+
|
|
|
77
|
+ //jumpToApp = 1表示APP未登录的情况,此时不发送ajax请求而由a链接直接跳转APP
|
|
|
78
|
+ if (jumpToApp === '1') {
|
|
|
79
|
+ return;
|
|
|
80
|
+ }
|
|
|
81
|
+
|
74
|
e.preventDefault();
|
82
|
e.preventDefault();
|
75
|
|
83
|
|
76
|
if ($this.hasClass('like')) {
|
84
|
if ($this.hasClass('like')) {
|