CINXE.COM
全国商业地产活动-赢商荟-赢商网
<!doctype html> <html lang="en"> <head> <link rel="icon" href="/images/favicon.ico" type="image/x-icon"/> <meta charset="UTF-8"/> <meta name="viewport" content="width=device-width, initial-scale=1.0"/> <meta http-equiv="X-UA-Compatible" content="ie=edge"/> <meta name="description" content="赢商荟提供开发商活动、品牌或、商业地产行业活动以及其他活动,还提供了活动免费发布、活动报名、活动策划等服务,找活动,办活动上赢商荟。"> <title>全国商业地产活动-赢商荟-赢商网</title> <link rel="stylesheet" href="/font-awesome-4.7.0/css/font-awesome.min.css"> <link rel="stylesheet" href="/css/head.css" type="text/css"/> <link rel="stylesheet" href="/css/main.css" type="text/css"/> <script src="/js/jquery.min.js"></script> <script src="/js/public.js"></script> <script src="/src/js/util.js"></script> <script src="/js/scroll.js"></script> <script src="/js/activeScroll.js"></script> <script type="text/javascript" src="/admin/static/layui/layui.all.js"></script> <script src="/js/jquery.lazyload.min.js"></script> <script src="/admin/common/custom.js"></script> <script src="/js/jquery.cookie.js"></script> <script src="http://jscss.winshang.com/tjjs/ysh-pc.js"></script> <style lang="css"> .flex-wrap { display: flex; flex-wrap: wrap; } .ellipsis { white-space: nowrap; /* 确保文本在一行内显示 */ overflow: hidden; /* 隐藏超出容器的内容 */ text-overflow: ellipsis; /* 使用省略号表示被截断的文本 */ font-size: 14px; color: #999; } .overflow-auto-wrap{ height: 90px; overflow-y: auto; } /* 设置滚动条的宽度和背景颜色 */ .overflow-auto-wrap::-webkit-scrollbar { width: 8px; background-color: #f9f9f9; } /* 滚动条轨道样式 */ .overflow-auto-wrap::-webkit-scrollbar-track { background: #e1e1e1; border-radius: 10px; } /* 滚动条滑块样式 */ .overflow-auto-wrap::-webkit-scrollbar-thumb { background-color: #c1c1c1; border-radius: 10px; border: 2px solid #ffffff; } /* 滚动条滑块hover样式 */ .overflow-auto-wrap::-webkit-scrollbar-thumb:hover { background: #a8a8a8; } </style> <script> //活动资讯列表轮播 // window.onload = function() { // scrollPic(); // } function scrollPic() { var scrollPic = new ScrollPic(); scrollPic.scrollContId = "scrollPic"; //内容容器ID scrollPic.arrLeftId = "LeftArr"; //左箭头ID scrollPic.arrRightId = "RightArr"; //右箭头ID scrollPic.frameWidth = 1200; //显示框宽度 scrollPic.pageWidth = 300; //翻页宽度 scrollPic.speed = 10; //移动速度(单位毫秒,越小越快) scrollPic.space = 10; //每次移动像素(单位px,越大越快) scrollPic.autoPlay = true; //自动播放 scrollPic.autoPlayTime = 5; //自动播放间隔时间(秒) scrollPic.initialize(); //初始化 } </script> </head> <body> <!-- 头部 --> <!-- 头部 --> <div class="win-head"> <div class="win-top"> <span><i class="fa fa-bars"></i><a href="http://www.winshangdata.com/">赢商产品</a></span> <span class="win-user"><a href="javascript:location.href='http://account.winshang.com/login?tourl='+escape(location.href);">登录</a>/<a href="javascript:location.href='http://www.winshangdata.com/userCenter/register?tourl='+escape(location.href);">注册</a></span> <div class="win-setting"> <span class="win-mysetting" id="setting"> 我的赢商荟<i id="setListfa" class="fa fa-sort-desc"></i> </span> <div class="win-setting-nav" id="settingList"> <a href="/pc/activity/enroll/enrollList">我报名的</a> <a href="/pc/activityManager/myActivityPage?status=1">我的活动</a> <a href="/pc/user/subAccountListPage" check-authority="ACCOUNT_SETTING" hidden>账号设置</a> <a href="/pc/vip/myVip">我的VIP</a> <a href="/pc/user/logout">退出登录</a> </div> </div> <div class="win-topvip"> <a href="/pc/vip/vipRight" target="_blank"><i class="iconfont iconH-VIP"></i>主办方VIP</a> </div> <div class="win-mobile"> <span><i class="fa fa-mobile"></i><a href="/pc/sponsor/introduce.jsp" target="">签到验票App</a></span> </div> <div class="win-wx"> <span><i class="fa fa-weixin"></i>关注赢商荟公众号 <a><img src="/images/yshewm.jpg"></a></span> </div> </div> <div class="clear"></div> <!-- 搜索 --> <div class="win-searh-wrap"> <div class="win-searh"> <a href="http://ysh.winshang.com/pc/attendee/activity/index"><img src="/images/newLogo.png" class="win-logo"></a> <div class="win-area"> <span class="win-setCity" id="setCity"> 全国<i id="setCityfa" class="fa fa-sort-desc "></i> </span> <div class="win-city" id="setCityList"> <dl id="hot"> <dd><a href="#">全国</a></dd> <dd><a href="#">北京</a></dd> <dd><a href="#">上海</a></dd> </dl> <dl id="other"> <dt>其他城市:</dt> <dd><a href="#">全国</a></dd> <dd><a href="#">北京</a></dd> <dd><a href="#">上海</a></dd> </dl> </div> </div> <div class="win-searh-hd"> <input type="text" placeholder="活动名称" id="title" value=""> <input type="submit" value="" class="sub" onclick="searchTitle()"> </div> <div class="win-ck"> <a onclick="publish()" class="win-fb"><i class="fa fa-paper-plane-o"></i> 发布活动 </a> <span id="free-span"></span> <a href="/pc/attendee/activity/recommend" class="win-day"><i class="fa fa-calendar-minus-o"></i> 活动日历</a> </div> </div> </div> <!-- 导航 --> <div class="win-nav-wrap"> <ul class="win-nav"> <li class="acitve" ><a href="http://ysh.winshang.com/pc/attendee/activity/index">首页</a></li> <li onclick="searchCategoryOne(1)"> <a>赢商主办</a></li> <li onclick="searchCategoryOne(2)"> <a>开发商活动</a></li> <li onclick="searchCategoryOne(3)"> <a>品牌活动</a></li> <li onclick="searchCategoryOne(4)"><a>行业活动及其他</a> </li> <li><a href="/pc/attendee/activity/previous">往期活动</a></li> <li><a href="http://news.winshang.com/list-31.html" target="_blank">活动资讯</a></li> </ul> </div> <div class="win-nav-second"> <div class="tab tab_one "> <ul> <li ><a onclick="searchCategoryOne(1)">精选</a></li> <li ><a onclick="searchCategoryTwo(5)">全国论坛</a></li> <li ><a onclick="searchCategoryTwo(6)">区域论坛</a></li> <li ><a onclick="searchCategoryTwo(7)">定制式论坛</a> </li> <li ><a onclick="searchCategoryTwo(8)">城市沙龙</a></li> <li ><a onclick="searchCategoryTwo(9)">企业培训</a></li> <li ><a onclick="searchCategoryTwo(10)">考察</a></li> <li ><a onclick="searchCategoryTwo(11)">快闪</a></li> <li ><a onclick="searchCategoryTwo(12)">其他</a></li> </ul> </div> <div class="tab tab_two "> <ul> <li ><a onclick="searchCategoryOne(2)">精选</a></li> <li ><a onclick="searchCategoryTwo(13)">招商发布会</a> </li> <li ><a onclick="searchCategoryTwo(14)">开业活动</a> </li> <li ><a onclick="searchCategoryTwo(15)">其他</a></li> </ul> </div> <div class="tab tab_three "> <ul> <li ><a onclick="searchCategoryOne(3)">精选</a></li> <li ><a onclick="searchCategoryTwo(16)">品牌发布会</a> </li> <li ><a onclick="searchCategoryTwo(17)">开业活动</a> </li> <li ><a onclick="searchCategoryTwo(18)">其他</a></li> </ul> </div> <div class="tab tab_four "> <ul> <li ><a onclick="searchCategoryOne(4)">精选</a></li> <li ><a onclick="searchCategoryTwo(19)">行业活动</a> </li> <li ><a onclick="searchCategoryTwo(20)">企业活动</a> </li> <li ><a onclick="searchCategoryTwo(21)">培训</a></li> <li ><a onclick="searchCategoryTwo(22)">考察</a></li> <li ><a onclick="searchCategoryTwo(23)">其他</a></li> </ul> </div> </div> </div> <script> //判断移动端访问 // function call(){ // if(/Android|webOS|iPhone|iPod|BlackBerry/i.test(navigator.userAgent)) { // window.location.href = "http://news.baidu.com/"; // } else { // window.location.href = "http://yshlocal.winshang.com:1101/pc/attendee/activity/index"; // } // } //发布验证判断 function publish(e) { function post(url, data, success, fail) { console.debug("url", url); console.debug("param", data); $.ajax({ type: "POST", url: url, data: data, success: function (resp) { console.debug("resp", resp) if (success) { success(resp); } }, error: function () { layer.msg("网络错误,url=" + url, {icon: 2}); if (fail) { fail(); } } }); } post("/pc/user/getUserApproveStatus", {}, function (resp) { console.info("resp", resp) if (resp.code == -1499) { //未登录到登陆页 location.href = "/pc/user/logout"; } else if (resp.code == 0) { //是主账号或子帐号,进入添加活动页面 location.href = "/pc/activityManager/addActivityPage"; } else if (resp.code == -1) { layer.msg("您VIP升级审核中,审核通过后可发布活动", { time: 3000, move: false, }); } else if (resp.code == -2 || resp.code == -1560) { //todo 未提交购买身份的 layer.msg("VIP身份升级后可发布活动 ", { time: 3000, move: false, end: function () { location.href = "/pc/vip/vipRight" } }); } }); } //发布弹窗取消 $(".fb-cancel").click(function () { $(".win-fbLayer").fadeOut(); $(".win-verifi").fadeOut(); $("body").css("overflow-y", "auto") }) function getQueryString(name) { var reg = new RegExp('(^|&)' + name + '=([^&]*)(&|$)', 'i'); var r = window.location.search.substr(1).match(reg); if (r != null) { return unescape(r[2]); } return null; } function searchTitle() { var status = getQueryString("status")==null?-1:getQueryString("status") var test = window.location.href; //活动管理搜索 if(test.indexOf("/pc/activityManager/myActivityPage")!=-1 || test.indexOf("/pc/attendee/activity/activityManagerSearch")!=-1){ var title = $("#title").val(); var pageNum = 1 var pageSize = 15 location.href = "/pc/attendee/activity/activityManagerSearch?title="+title+"&pageNum="+pageNum+"&pageSize="+pageSize+"&status="+status; }else{ var city = "0"; if (city == "") { city = 0; } var title = $("#title").val(); var one = "0"; if (one == "") one = 0; var two = "0"; if (two == "") two = 0; var timeSlot = "0" == '' ? 0 : "0"; var price = "0" == '' ? 0 : "0"; var sort = "0" == '' ? 0 : "0"; location.href = "/pc/attendee/activity/search?firstCategoryId=" + one + "&secondCateGoryId=" + two + "&timeBucket=" + timeSlot + "&price=" + price + "&sort=" + sort + "&title=" + title + "&city=" + city; } } $(function () { var userFrom = navigator.userAgent.toLowerCase(); if (userFrom.indexOf("mobile") > -1) { this.location = "/wap/activity/index"; } var title = ""; var one = "0"; if (one == "") one = 0; var two = "0"; if (two == "") two = 0; var timeSlot = "0"; if (timeSlot == "") timeSlot = 0; var price = "0"; if (price == "") price = 0; var sort = "0"; if (sort == "") sort = 0; $.ajax({ type: "post", url: '/pc/attendee/activity/province', async: false, dataType: "json", success: function (data) { var hot = "<dt>热门城市:</dt>"; for (var i = 0; i < data.data.hotCity.length; i++) { hot += "<dd><a href='/pc/attendee/activity/search?firstCategoryId=" + one + "&secondCateGoryId=" + two + "&timeBucket=" + timeSlot + "&price=" + price + "&sort=" + sort + "&title=" + title + "&city=" + data.data.hotCity[i].id + "'>" + data.data.hotCity[i].name + "</a></dd>" } $("#hot").html(hot); var other = "<dt>其他城市:</dt>"; for (var i = 0; i < data.data.otherCity.length; i++) { other += "<dd><a href='/pc/attendee/activity/search?firstCategoryId=" + one + "&secondCateGoryId=" + two + "&timeBucket=" + timeSlot + "&price=" + price + "&sort=" + sort + "&title=" + title + "&city=" + data.data.otherCity[i].id + "'>" + data.data.otherCity[i].name + "</a></dd>" } $("#other").html(other); }, //调用出错执行的函数 error: function (e) { //请求出错处理 console.info("err", e) } }); // //免费期处理 $.ajax({ type: "post", url: '/pc/vip/vipTypeInfo', async: false, dataType: "json", success: function (data) { console.info("data", data) if (data.code == 0) { if (data.data.isFreeTime) { $("#free-span").addClass("free"); } } }, //调用出错执行的函数 error: function (e) { //请求出错处理 console.info("err", e) } }); }); function select(status, userId) { window.open("/pc/activity/enroll/toActivityDetails?activityId=" + userId); } function searchCategoryOne(id) { var city = "0"; if (city == "") { city = 0; } location.href = "/pc/attendee/activity/search?firstCategoryId=" + id + "&city=" + city; } function searchCategoryTwo(id) { var one = "0"; if (one == "") { one == 0; } var city = "0"; if (city == "") { city = 0; } location.href = "/pc/attendee/activity/search?secondCateGoryId=" + id + "&city=" + city + "&firstCategoryId=" + one; } </script> <!--<div class="win-main">--> <!--</div>--> <!--</body>--> <!--</html>--> <div class="win-wrap"> <!-- 轮播图 --> <div id="banner"> <ul class="advs"> <li v-for="carouselVo in bannerList"> <a target="_blank" :href="'http://ysh.winshang.com/pc/activity/enroll/toActivityDetails?activityId='+carouselVo.id"> <img :src="carouselVo.poster" alt=""></a></li> </ul> <ul class="icons"> <li v-for="carouselVo in bannerList"></li> </ul> </div> <!-- 推荐活动 --> <div style="position: relative; overflow: hidden; width: 1200px; height: 70px; margin:30px auto 10px;"> <ul> <p><a href="http://ysh.winshang.com/pc/activity/enroll/toActivityDetails?activityId=847" target="_blank"><img src="https://img3.winshangdata.com/api/server-file/file/access?fileKey=20230630110636851.jpg"/></a></p> </ul> </div> <!-- 推荐活动 --> <div class="win-acitve-title"> <span>推荐活动</span> <a target="_blank" href="/pc/attendee/activity/search?firstCategoryId=1&city=0">更多></a> </div> <div class="win-acitve-hide" v-if="activityRecommendVos.length==0"> 暂无活动... </div> <ul class="win-acitve-list flex-wrap"> <!-- 这里显示8条 --> <li v-for="recommendVo in activityRecommendVos"> <a @click="select(recommendVo.status,recommendVo.id)" target="_blank" class="active-img"> <img :src="recommendVo.poster" class="activityRecommendVo-img"> </a> <div class="acitve-top"> <p class="title"><a @click="select(recommendVo.status,recommendVo.id)">{{recommendVo.title}}</a></p> <p class="address"> <i class="iconfont icondingwei"></i> {{recommendVo.province}}{{recommendVo.province === recommendVo.city ? '' : recommendVo.city}}{{recommendVo.address}} </p> <span class="time"> <i class="iconfont iconshijian"></i>{{recommendVo.startTime}} 至 {{recommendVo.endTime}} </span> <span class="fee" v-if="recommendVo.isFree">{{recommendVo.isFree}}</span> <span class="tag">{{recommendVo.category}}</span> </div> <div class="acitve-bottom"> <div class="logo"><img :src="recommendVo.logo"></div> <span class="active-com">{{recommendVo.holderName}}</span> <div class="vip-icon"> <img v-if="recommendVo.vipType==1" src="/images/vip_icon1.png" title="认证版"> <img v-if="recommendVo.vipType==2" src="/images/vip_icon2.png" title="钻石版"> <img v-if="recommendVo.vipType==3" src="/images/vip_icon3.png" title="专业版"> </div> </div> </li> </ul> <!-- 赢商品牌活动回顾 --> <div class="win-acitve-title"> <span>赢商品牌活动</span> <a target="_blank" href="/pc/attendee/activity/search?firstCategoryId=1&city=0">更多></a> </div> <div class="win-acitve-hide" v-if="activityReviewVos.length==0"> 暂无活动... </div> <ul class="win-acitve-list flex-wrap"> <!-- 这里显示8条 --> <li v-for="recommendVo in activityReviewVos"> <a @click="select(recommendVo.status,recommendVo.id)" target="_blank" class="active-img"> <img :src="recommendVo.poster" class="winShangTrainingVo-img"> </a> <div class="acitve-top"> <p class="title"><a @click="select(recommendVo.status,recommendVo.id)">{{recommendVo.title}}</a></p> <div v-if="recommendVo.titles && recommendVo.titles.length"> <div class="overflow-auto-wrap"> <p class="ellipsis" v-for="item in recommendVo.titles"><a style="font-size: 14px;color: #999;" @click="select(0,item.id)">{{'精彩回顾:'+item.title}}</a></p> </div> </div> <div v-else> <p class="address"> <i class="iconfont icondingwei"></i> {{recommendVo.province}}{{recommendVo.province === recommendVo.city ? '' : recommendVo.city}}{{recommendVo.address}} </p> <span class="time"> <i class="iconfont iconshijian"></i>{{recommendVo.startTime}} 至 {{recommendVo.endTime}} </span> <span class="fee" v-if="recommendVo.isFree">{{recommendVo.isFree}}</span> <span class="tag">{{recommendVo.category}}</span> </div> </div> <div class="acitve-bottom"> <div class="logo"><img :src="recommendVo.logo"></div> <span class="active-com">{{recommendVo.holderName}}</span> <div class="vip-icon"> <img v-if="recommendVo.vipType==1" src="/images/vip_icon1.png" title="认证版"> <img v-if="recommendVo.vipType==2" src="/images/vip_icon2.png" title="钻石版"> <img v-if="recommendVo.vipType==3" src="/images/vip_icon3.png" title="专业版"> </div> </div> </li> </ul> <!-- 活动资讯 --> <div class="win-acitve-title"> <span>活动资讯</span> <a target="_blank" href="http://news.winshang.com/list-31.html">更多活动资讯></a> </div> <div class="win-acitve-hide" v-if="activityConsultVos.length==0"> 暂无活动... </div> <div> <div class="scroll"> <div class="scroll_left" id="LeftArr"> <</div> <div class="pic" id="scrollPic"> <ul class="win-acitve-list win-scroll-list"> <li v-for="consultVo in activityConsultVos"> <a target="_blank" :href="consultVo.htmlUrl" class="active-img"> <img :src="consultVo.img"> </a> <div class="acitve-top"> <p class="title"><a target="_blank" :href="consultVo.htmlUrl">{{consultVo.title}}</a></p> <p class="txt"> </p> <span class="time"> <i class="iconfont iconshijian"></i>{{timestamp2TimeStr(consultVo.newsTime)}}</span> </div> <div class="acitve-bottom active-key">关键词:<a target="_blank" :href="'http://news.winshang.com/search/'+consultVo.oneKeyword">{{consultVo.oneKeyword}}</a><a target="_blank" :href="'http://news.winshang.com/search/'+consultVo.twoKeyword">{{consultVo.twoKeyword}}</a> </div> </li> </ul> </div> <div class="scroll_right" id="RightArr"> ></div> </div> </div> <!-- 往期活动 --> <div class="win-acitve-title"> <span>往期活动</span> <a href="/pc/attendee/activity/previous" target="_blank">更多往期活动></a> </div> <div class="win-acitve-hide" v-if="activitySearchPreviousVos.length==0"> 暂无活动... </div> <ul class="win-acitve-list flex-wrap"> <!-- 这里显示8条 --> <li v-for="previousVo in activitySearchPreviousVos"> <a @click="select(0,previousVo.id)" target="_blank" class="active-img"> <img :src="previousVo.poster" class="activitySearchPreviousVo"> </a> <div class="acitve-top"> <p class="title"><a target="_blank" @click="select(0,previousVo.id)">{{previousVo.title}}</a></p> <p class="address"> <i class="iconfont icondingwei"></i> {{previousVo.province}}{{previousVo.province === previousVo.city ? '' : previousVo.city}}{{previousVo.address}} </p> <span class="time"> <i class="iconfont iconshijian"></i>{{previousVo.startTime}} 至 {{previousVo.endTime}} </span> <span class="fee" v-if="previousVo.isFree">{{previousVo.isFree}}</span> <span class="tag">{{previousVo.category}}</span> </div> <div class="acitve-bottom"> <div class="logo"><img :src="previousVo.logo"></div> <span class="active-com">{{previousVo.holderName}}</span> <div class="vip-icon"> <img v-if="previousVo.vipType==1" src="/images/vip_icon1.png" title="认证版"> <img v-if="previousVo.vipType==2" src="/images/vip_icon2.png" title="专业版"> <img v-if="previousVo.vipType==3" src="/images/vip_icon3.png" title="钻石版"> </div> </div> </li> </ul> <!-- 赢商培训 --> <div class="win-acitve-title"> <span>赢商培训</span> <a target="_blank" href="/pc/attendee/activity/search?firstCategoryId=1&city=0">更多></a> </div> <div class="win-acitve-hide" v-if="winShangTrainingVos.length==0"> 暂无活动... </div> <ul class="win-acitve-list flex-wrap"> <!-- 这里显示8条 --> <li v-for="recommendVo in winShangTrainingVos"> <a @click="select(recommendVo.status,recommendVo.id)" target="_blank" class="active-img"> <img :src="recommendVo.poster" class="winShangTrainingVo-img"> </a> <div class="acitve-top"> <p class="title"><a @click="select(recommendVo.status,recommendVo.id)">{{recommendVo.title}}</a></p> <p class="address"> <i class="iconfont icondingwei"></i> {{recommendVo.province}}{{recommendVo.province === recommendVo.city ? '' : recommendVo.city}}{{recommendVo.address}} </p> <span class="time"> <i class="iconfont iconshijian"></i>{{recommendVo.startTime}} 至 {{recommendVo.endTime}} </span> <span class="fee" v-if="recommendVo.isFree">{{recommendVo.isFree}}</span> <span class="tag">{{recommendVo.category}}</span> </div> <div class="acitve-bottom"> <div class="logo"><img :src="recommendVo.logo"></div> <span class="active-com">{{recommendVo.holderName}}</span> <div class="vip-icon"> <img v-if="recommendVo.vipType==1" src="/images/vip_icon1.png" title="认证版"> <img v-if="recommendVo.vipType==2" src="/images/vip_icon2.png" title="钻石版"> <img v-if="recommendVo.vipType==3" src="/images/vip_icon3.png" title="专业版"> </div> </div> </li> </ul> </div> <div class="win-foot"> <div class="bottomwrap"> <div class="bcode"><img src="/images/newyshcode.jpg"><p>关注赢商荟服务号</p></div> <div class="brinfo"> <div class="footer-list"><a href="http://www.winshang.com/help/jieshao/About.html" target="_blank">关于赢商</a> <a href="http://www.winshang.com/help/jieshao/uperiority.html" target="_blank" rel="nofollow">赢商优势</a> <a href="http://www.winshang.com/help/jieshao/marketing.html" target="_blank" rel="nofollow">精准营销</a> <a href="http://www.winshang.com/help/jieshao/cooperation.html" target="_blank">商务合作</a> <a href="javascript:;" onclick="regist()" rel="nofollow">会员注册</a><a href="http://www.winshang.com/help/jieshao/cooperation.html" target="_blank">联系我们</a><a href="http://yzs.winshangdata.com/active.html?zysdsjdbdhl#/ActiveInfo" name="yzslogin" target="_blank">赢招商/品牌云</a> <a href="http://yzxz.winshangdata.com/web/index.html" target="_blank">赢在选址</a> <a name="mall_id" href="http://www.zhimatech.com/#/product" rel="nofollow" target="_blank">MOLLI</a></div> <div class="fCopyright">Copyright @ 2009-2019 All Rights Reserved 粤ICP备10067299号 广东赢商网数据服务股份有限公司</div> <div class="fotel">赢商荟联系电话:020-37128283</div> </div> <div class="fxclear"></div> </div> </div> <script> /** * 注册 */ function regist() { var url = "http://www.winshang.com/registera?tourl="+window.location.href; window.open(url); } </script> <div id="moquu_wxin" class="moquu_wxin"><a> <div class="moquu_wxinh"></div> </a></div> <a id="moquu_top" href="javascript:void(0)"></a> <div class="win-ad-vip"> <span class="ad-close">×</span> <a href="/pc/vip/vipRight">点击了解更多></a> </div> <div class="mask-layer"></div> <div class="win-minAd-vip"> <span class="min-close">×</span> <a href="/pc/vip/vipRight">点击了解更多></a> </div> <script type="text/javascript" src="/wap/js/swiper.jquery.min.js"></script> <script src="/js/vue.min.js"></script> <script> //vue异步渲染 $(function () { var app = new Vue({ el: $(".win-wrap")[0], data: { bannerList: [], activityRecommendVos: [], activityConsultVos: [], activitySearchPreviousVos: [], winShangTrainingVos:[], activityReviewVos:[] }, created: function () { //获取轮播图 m.post("/pc/attendee/activity/getCarousel", null, function (resp) { if (resp && resp.data) { app.bannerList = resp.data; } }); //获取推荐活动 m.post("/pc/attendee/activity/getRecommendList", null, function (resp) { if (resp && resp.data) { app.activityRecommendVos = resp.data; for (let i = 0; i < app.activityRecommendVos.length; i++) { if (app.activityRecommendVos[i].poster.indexOf('?') == -1) { app.activityRecommendVos[i].poster = app.activityRecommendVos[i].poster + '?w=280' } } } }); //获取赢商培训 m.post("/pc/attendee/activity/getWinShangTrainingList", null, function (resp) { if (resp && resp.data) { app.winShangTrainingVos = resp.data; console.log('winShangTrainingVos==>',app.winShangTrainingVos) for (let i = 0; i < app.winShangTrainingVos.length; i++) { if (app.winShangTrainingVos[i].poster.indexOf('?') == -1) { app.winShangTrainingVos[i].poster = app.winShangTrainingVos[i].poster + '?w=280' } } } }); //获取赢商品牌活动回顾 m.post("/pc/attendee/activity/getWinShangActivityReview", null, function (resp) { if (resp && resp.data) { app.activityReviewVos = resp.data; console.log('asdhuiauid ',app.activityReviewVos) for (let i = 0; i < app.activityReviewVos.length; i++) { if (app.activityReviewVos[i].poster.indexOf('?') == -1) { app.activityReviewVos[i].poster = app.activityReviewVos[i].poster + '?w=280' } } } }); //获取活动咨询 m.post("/pc/attendee/activity/getActivityConsultVos", null, function (resp) { if (resp && resp.data) { // app.activityConsultVos = resp.data; resp.data.forEach(item => { if (item) { app.activityConsultVos.push(item); } }) } }); //获取往期活动 m.post("/pc/attendee/activity/getRandomActivity", null, function (resp) { if (resp && resp.data) { app.activitySearchPreviousVos = resp.data; for (let i = 0; i < app.activitySearchPreviousVos.length; i++) { if (app.activitySearchPreviousVos[i].poster.indexOf('?') == -1) { app.activitySearchPreviousVos[i].poster = app.activitySearchPreviousVos[i].poster + '?w=280' } } } }); }, //监测数据变动 watch: { bannerList: function () { this.$nextTick(function () { /*现在数据已经渲染完毕*/ //初始化轮播图 initBanner(); // com(); }) }, activityRecommendVos: function () { this.$nextTick(function () { /*现在数据已经渲染完毕*/ com() //懒加载初始化 m.initLazyImg($('.activityRecommendVo-img')); }) }, winShangTrainingVos: function () { this.$nextTick(function () { /*现在数据已经渲染完毕*/ com() //懒加载初始化 m.initLazyImg($('.winShangTrainingVo-img')); }) }, activityConsultVos: function () { this.$nextTick(function () { /*现在数据已经渲染完毕*/ //初始化活动咨询 scrollPic(); com() vipBanner() }) }, activitySearchPreviousVos: function () { this.$nextTick(function () { /*现在数据已经渲染完毕*/ com() //懒加载初始化 m.initLazyImg($('.activitySearchPreviousVo')); }) }, }, }); //vip广告弹窗 function vipBanner() { m.post("/pc/user/getHasUpdateMsg", null, function (resp) { if (resp.code == 0) { console.log("首次访问?", resp.data) if (resp.data == 0) { $(".win-ad-vip").fadeIn(); $(".mask-layer").fadeIn(); } else { $(".win-minAd-vip").fadeIn() } } }) } $(".ad-close").click(function () { $(this).parent().fadeOut(500); $(".mask-layer").fadeOut(500); $(".win-minAd-vip").fadeIn() }); $(".min-close").click(function () { $(".win-minAd-vip").fadeOut(500); }); // resetCookieExpire(); // //重新设置cookie的有效期 改为7天 // function resetCookieExpire(){ // let referrer = document.referrer; // if(referrer == 'http://account.winshang.com/'){ // let winfanguserCookie = winCookieUtils.getCookie("winfanguser"); // if(winfanguserCookie){ // winCookieUtils.set("winfanguser",winfanguserCookie,7,".winshang.com",'/;') // } // } // } }); /** * 时间戳转时间 yyyy-MM-dd hh:mm:ss * @param data * @returns {string} */ function timestamp2TimeStr(timestamp) { if (!timestamp) { return ''; } var date = new Date(timestamp); var y = date.getFullYear(); var m = date.getMonth() + 1; m = m < 10 ? ('0' + m) : m; var d = date.getDate(); d = d < 10 ? ('0' + d) : d; var h = date.getHours(); h = h < 10 ? ('0' + h) : h; var minute = date.getMinutes(); var second = date.getSeconds(); minute = minute < 10 ? ('0' + minute) : minute; second = second < 10 ? ('0' + second) : second; return y + '-' + m + '-' + d + ' ' + h + ':' + minute + ':' + second; } function com() { $(".active-com").each(function () { if ($(this).text().length > 8) { $(this).addClass("comlength") } }); } </script> </body> </html>