From 456aaa294a325ec2bf4de66f6de1bbc49e6cd293 Mon Sep 17 00:00:00 2001 From: mip-platform Date: Tue, 20 Jun 2017 14:27:05 +0800 Subject: [PATCH] update extensions --- mip-wkfun-newslist/mip-wkfun-newslist.js | 11 ++--------- mip-wkfun-newslist/package.json | 2 +- 2 files changed, 3 insertions(+), 10 deletions(-) diff --git a/mip-wkfun-newslist/mip-wkfun-newslist.js b/mip-wkfun-newslist/mip-wkfun-newslist.js index dca80050..72e164c7 100644 --- a/mip-wkfun-newslist/mip-wkfun-newslist.js +++ b/mip-wkfun-newslist/mip-wkfun-newslist.js @@ -2,8 +2,8 @@ * 底层页功能组件 * @file 脚本支持 * @author wss -* @time 2017.04.07 -* @version 1.0.1 +* @time 2017.06.20 +* @version 1.0.2 */ define(function (require) { var $ = require('zepto'); @@ -29,13 +29,6 @@ define(function (require) { $('.sy-main').removeClass('h500'); $(this).hide(); }); - - var passagesHeight = $('.sy-main').height(); - if (passagesHeight < 500) { - $('.sy-main').removeClass('h500'); - $('.sy-more').hide(); - } - }; customElem.prototype.build = function () { diff --git a/mip-wkfun-newslist/package.json b/mip-wkfun-newslist/package.json index 396a4715..c0f011a5 100644 --- a/mip-wkfun-newslist/package.json +++ b/mip-wkfun-newslist/package.json @@ -1,6 +1,6 @@ { "name": "mip-wkfun-newslist", - "version": "1.0.1", + "version": "1.0.2", "description": "底层页功能组件", "author": { "name": "wss",