...
|
...
|
@@ -259,13 +259,17 @@ const processArticleDetail = (articleContent, isApp, gender, isWeixin, isqq, isW |
|
|
let alreadyTop = [];
|
|
|
let alreadyLeft = [];
|
|
|
|
|
|
if (height > 480) {
|
|
|
height = 480;
|
|
|
}
|
|
|
|
|
|
if (tagList.length > 0) {
|
|
|
_.forEach(tagList, (tag, tagIndex) => {
|
|
|
// 产生位置
|
|
|
tagList[tagIndex].top = _randomNumForLabel(height / 2,
|
|
|
alreadyTop);
|
|
|
alreadyTop.push(tagList[tagIndex].top);
|
|
|
tagList[tagIndex].left = _randomNumForLabel(138); // 此数值为能产生的最大值,暂不支持左右颠倒
|
|
|
tagList[tagIndex].left = _randomNumForLabel(105); // 此数值为能产生的最大值,暂不支持左右颠倒
|
|
|
alreadyLeft.push(tagList[tagIndex].left);
|
|
|
|
|
|
// 链接
|
...
|
...
|
|