...
|
...
|
@@ -84,15 +84,7 @@ export default class guochaoHome extends PureComponent { |
|
|
};
|
|
|
|
|
|
scrollTop= ()=> {
|
|
|
let timer = setInterval(function() {
|
|
|
window.scrollBy(0, -50);
|
|
|
let scrollHeight = window.pageYOffset ||
|
|
|
document.documentElement.scrollTop ||
|
|
|
document.body.scrollTop;
|
|
|
if (scrollHeight === 0) {
|
|
|
clearInterval(timer);
|
|
|
};
|
|
|
}, 2);
|
|
|
window.scrollTo({top:0,left:0,behavior:"smooth"})
|
|
|
};
|
|
|
|
|
|
render (){
|
...
|
...
|
@@ -261,8 +253,8 @@ export default class guochaoHome extends PureComponent { |
|
|
<a className="bottom_4" onClick={linkToMiniApp} data-type="miniApp" data-url="/pages/goodsList/productPool?productPool=26496&title=未来感"
|
|
|
href={env === "miniprogram" ? "javascript:void(0)" : 'http://search.m.yohobuy.com/?filter_poolId=26496&title=未来感&openby:yohobuy={"action":"go.poollist","params":{"title":"未来感","productPool":"26496"}}'}></a>
|
|
|
</div>
|
|
|
<a onClick={linkToMiniApp} data-type="h5" data-url='https://activity.yoho.cn/feature/2969.html?openby:yohobuy={"action":"go.h5","params":{"title":"新品节主会场/BOY","url":"https://activity.yoho.cn/feature/2969.html","share":"/operations/api/v5/webshare/getShare","shareparam":{"share_id":"5601"},"param":{"share_id":"5601"}}}'
|
|
|
href={env === "miniprogram" ? "javascript:void(0)" : 'https://activity.yoho.cn/feature/2969.html?openby:yohobuy={"action":"go.h5","params":{"title":"新品节主会场/BOY","url":"https://activity.yoho.cn/feature/2969.html","share":"/operations/api/v5/webshare/getShare","shareparam":{"share_id":"5601"},"param":{"share_id":"5601"}}}'}
|
|
|
<a onClick={linkToMiniApp} data-type="h5" data-url='https://activity.yoho.cn/feature/2969.html'
|
|
|
href={env === "miniprogram" ? "javascript:void(0)" : 'https://activity.yoho.cn/feature/2969.html?openby:yohobuy={"action":"go.h5","params":{"title":"新品节主会场/BOY","url":"https://activity.yoho.cn/feature/2969.html","share":"\\/operations\\/api\\/v5\\/webshare\\/getShare","shareparam":{"share_id":"5601"},"param":{"share_id":"5601"}}}'}
|
|
|
className='bottom'></a>
|
|
|
<div className='footer'></div>
|
|
|
</div>
|
...
|
...
|
|