...
|
...
|
@@ -353,7 +353,7 @@ function getMouseEventPosition(e) { |
|
|
}
|
|
|
|
|
|
function setMktc() {
|
|
|
var mktc = window.qs.mkt_code || window.qs.union_type || util.getMktcBySeo();
|
|
|
var mktc = window.qs.mkt_code || window.qs.union_type || cookies('unionTypeYas') || util.getMktcBySeo();
|
|
|
if (mktc) {
|
|
|
var options = {
|
|
|
path: "/",
|
...
|
...
|
@@ -377,7 +377,7 @@ function setMktc() { |
|
|
}
|
|
|
|
|
|
function getMktc() {
|
|
|
var mktc = cookies('mkt_code') || window.qs.mkt_code || window.qs.union_type;
|
|
|
var mktc = cookies('mkt_code') || window.qs.mkt_code || window.qs.union_type || cookies('unionTypeYas');
|
|
|
if (mktc) {
|
|
|
return {
|
|
|
mktc: mktc
|
...
|
...
|
@@ -387,7 +387,7 @@ function getMktc() { |
|
|
}
|
|
|
|
|
|
function setUnionType() {
|
|
|
var mktc = window.qs.mkt_code || window.qs.union_type || util.getMktcBySeo() || cookies('mkt_code') || '100000000000349';
|
|
|
var mktc = window.qs.mkt_code || window.qs.union_type || cookies('unionTypeYas') || util.getMktcBySeo() || cookies('mkt_code') || '100000000000349';
|
|
|
var aDom = document.getElementsByTagName("a"); //获取页面所有a标签
|
|
|
for (var i = 0; i < aDom.length; i++) {
|
|
|
var href = aDom[i].getAttribute('href') || '';
|
...
|
...
|
|