mirror of
https://github.com/taobataoma/meanTorrent.git
synced 2026-06-20 19:01:16 +02:00
feat(torrents): add music-desk link
This commit is contained in:
@@ -28,7 +28,9 @@
|
||||
|
||||
var cir2 = angular.element('<div></div>');
|
||||
cir2.css('border-radius', '50%');
|
||||
cir2.css('background-image', 'url(' + attrs.src + ')');
|
||||
if(attrs.src) {
|
||||
cir2.css('background-image', 'url(' + attrs.src + ')');
|
||||
}
|
||||
cir2.css('background-size', '100% 100%');
|
||||
cir2.css('height', '100%');
|
||||
cir2.css('width', '100%');
|
||||
|
||||
@@ -116,7 +116,7 @@ body {
|
||||
}
|
||||
.music {
|
||||
max-width: 300px;
|
||||
margin: 35px auto 35px auto;
|
||||
margin: 10px auto 10px auto;
|
||||
overflow: hidden;
|
||||
|
||||
transition-property: transform, opacity;
|
||||
@@ -124,7 +124,7 @@ body {
|
||||
transition-timing-function: ease;
|
||||
&:hover {
|
||||
/* csslint ignore:start */
|
||||
transform: scale(1.2);
|
||||
transform: scale(1.1);
|
||||
/* csslint ignore:end */
|
||||
}
|
||||
&::before {
|
||||
|
||||
@@ -430,10 +430,11 @@
|
||||
<div class="container">
|
||||
<div class="topone">
|
||||
<div class="col-md-3">
|
||||
<img class="img-thumbnail center-block" music-disk="vm.musicTopOne.torrent_type=='music'"
|
||||
ng-src="{{vm.TGI.getTorrentTopOneImage(vm.musicTopOne)}}"
|
||||
alt="{{vm.TGI.getTorrentTitle(vm.musicTopOne)}}" onload="this.style.opacity='1';"
|
||||
ng-click="vm.openTorrentInfo(vm.TVTopOne._id);">
|
||||
<div ng-click="vm.openTorrentInfo(vm.musicTopOne._id);">
|
||||
<img class="img-thumbnail center-block" music-disk="vm.musicTopOne.torrent_type=='music'"
|
||||
ng-src="{{vm.TGI.getTorrentTopOneImage(vm.musicTopOne)}}"
|
||||
alt="{{vm.TGI.getTorrentTitle(vm.musicTopOne)}}" onload="this.style.opacity='1';">
|
||||
</div>
|
||||
|
||||
<div class="down-torrent">
|
||||
<button class="btn btn-success btn-block" ng-click="vm.downloadTorrent(vm.musicTopOne._id)"
|
||||
|
||||
Reference in New Issue
Block a user