活动头部导航接入

活动头部导航接入,在重构版本专题页面的时候需要注意以下几点:

有登录 参考案例 引入文件:

<!--#include virtual="/act/a20170117top/top-login-v2.htm"-->
<script src="//ossweb-img.qq.com/images/cf/title/cf.js"></script>

实例化:

var cftop = new cfTop({
 iAMSActivityId : '123245',
 iQueryFlowID : '399077',
 bIndFlowID : '399076',
 activityId : '185561',
 activityList : '185489$185490$185492$185552$185561',  //多个礼包
 iLotteryFlowId : '399245',
 isShowLottery : 1,
 objClose : 'myGiftList_399245',
 callback : function(data){
 amsSubmit(123245,399097);
 reportCFAct(123245);
 },
 bindCallback : function(data){
  amsSubmit(123245,399074);
reportCFAct(123245);
},
failureFuc : function(){}
});

有登录导航模块的不用引入milo.js

无登录 参考案例 引入js:

<script src="http://cf.qq.com/act/a20170117top/cf-v3.js"></script>

注意在无需引入其他title.js

Copyright (c) 2018 Tencent-TGIDEAS. all right reserved,powered by Gitbooktime: 2018-08-21 15:16:23

results matching ""

    No results matching ""

    results matching ""

      No results matching ""