diff --git a/modules/core/client/app/trans-string-en.js b/modules/core/client/app/trans-string-en.js index e6fa5513..e9ec4ab0 100644 --- a/modules/core/client/app/trans-string-en.js +++ b/modules/core/client/app/trans-string-en.js @@ -243,6 +243,7 @@ TORRENT_THUMBS_FAILED: 'Thumbs-up for torrent failed', TORRENT_RATING_SUCCESSFULLY: 'Rating torrent successfully', TORRENT_RATING_FAILED: 'Rating torrent failed', + EDIT_THIS_OVERVIEW: 'Edit this Overview', ANNOUNCE_URL: 'Announce Url', TORRENT_FILENAME: 'Torrent Filename', diff --git a/modules/core/client/app/trans-string-zh.js b/modules/core/client/app/trans-string-zh.js index bb6227d0..e9ae99d1 100644 --- a/modules/core/client/app/trans-string-zh.js +++ b/modules/core/client/app/trans-string-zh.js @@ -243,6 +243,7 @@ TORRENT_THUMBS_FAILED: '为种子点赞失败', TORRENT_RATING_SUCCESSFULLY: '为种子投票成功', TORRENT_RATING_FAILED: '为种子投票失败', + EDIT_THIS_OVERVIEW: '编辑详情介绍', ANNOUNCE_URL: 'Tracker 地址', TORRENT_FILENAME: '种子文件名', @@ -703,7 +704,7 @@ ARTIST: '艺人名称', BELONGS_TO_COLLECTION: '集合', GENRES: '类型', - OVERVIEW: '剧情', + OVERVIEW: '详情介绍', POPULARITY: 'popularity', PRODUCTION_COMPANIES: '制作', PRODUCTION_COUNTRIES: '国家', diff --git a/modules/core/client/controllers/home.client.controller.js b/modules/core/client/controllers/home.client.controller.js index 79829cb7..2c763c90 100644 --- a/modules/core/client/controllers/home.client.controller.js +++ b/modules/core/client/controllers/home.client.controller.js @@ -85,10 +85,10 @@ }; /** - * getVarietyTopInfo + * initTopOneVarietyInfo */ - vm.getVarietyTopInfo = function () { - if (vm.sportsTopOne.resource_detail_info.cover) { + vm.initTopOneVarietyInfo = function () { + if (vm.varietyTopOne.resource_detail_info.cover) { $('.variety-backdrop').css('backgroundImage', 'url(/modules/torrents/client/uploads/cover/' + vm.varietyTopOne.resource_detail_info.cover + ')'); } }; diff --git a/modules/core/client/less/mt.less b/modules/core/client/less/mt.less index 643dfc2e..208c2703 100644 --- a/modules/core/client/less/mt.less +++ b/modules/core/client/less/mt.less @@ -82,17 +82,16 @@ body { height: 100%; } .img-circle { - //opacity: 0; transition-property: transform, opacity; transition-duration: 1s; transition-timing-function: ease; cursor: pointer; - max-height: 400px; + max-width: 120px; //transition: transform .5s ease-in-out; &:hover { /* csslint ignore:start */ - transform: scale(1.1); + transform: scale(1.2); /* csslint ignore:end */ } } @@ -106,13 +105,6 @@ body { .se-info { color: @mt-base-color; } - .img-circle { - &:hover { - /* csslint ignore:start */ - transform: scale(1.2); - /* csslint ignore:end */ - } - } .down-torrent { margin-top: 20px; } @@ -121,6 +113,9 @@ body { max-width: 270px; cursor: pointer; + height: 100%; + width: 100%; + transition-property: transform, opacity; transition-duration: 1s; transition-timing-function: ease; @@ -163,7 +158,7 @@ body { cursor: pointer; max-width: 100% !important; height: auto !important; - border: 1px solid #999; + border: 1px solid #333; } } } diff --git a/modules/core/client/views/home.client.view.html b/modules/core/client/views/home.client.view.html index 464fd3e2..7109cd83 100644 --- a/modules/core/client/views/home.client.view.html +++ b/modules/core/client/views/home.client.view.html @@ -8,7 +8,7 @@