Authored by zhangxiaoru

样式

... ... @@ -61,7 +61,7 @@ exports.detail = (req, res, next) => {
};
exports.myRebeat = (req, res, next) => {
let uid = req.yoho.isApp,
let uid = req.user.uid,
isApp = req.yoho.isApp;
req.ctx(shareBuyModel).myRebeat(uid, isApp).then(data => {
... ...
'use strict';
require('activity/share-buy.page.css');
let $ = require('yoho-jquery');
let $ = require('yoho-jquery'),
yoho = require('yoho-app');
let $news = $('.news'),
newsLiL = $news.find('li').length,
newsHeight = 0;
// tip = require('plugin/tip');
require('activity/share-buy.page.css');
let shareData = {
title: '【有货】童鞋们一起来有货玩潮流,超级专享优惠福利速来领~',
link: location.href,
desc: '有货发福利啦!甄选好货等你来BUY~',
imgUrl: 'http://img11.static.yhbimg.com/yhb-img01/2017/05/10/16/011568a808f9b10e098b6542d3a8cb3d6b.png'
};
if ($('.share-buy-page').height() < $(window).height()) {
$('.share-buy-page').height($(window).height());
}
if (yoho.isApp) {
yoho.invokeMethod('set.shareInfo', shareData);
}
function Marquee() {
let diff;
... ...
... ... @@ -14,7 +14,7 @@
.coupon-list {
background-color: #d0021b;
margin: 115px 30px 0;
margin: 0 30px;
padding: 10px 0 30px;
}
... ...