去掉snap文件夹
This commit is contained in:
parent
7b29cb9a7d
commit
c0b23a4987
Binary file not shown.
|
After Width: | Height: | Size: 24 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 6.2 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 6.6 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 6.7 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 6.1 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 6.1 KiB |
|
|
@ -191,8 +191,8 @@ app.controller('hotCtr', ['$scope', '$state', '$stateParams', '$filter', '$windo
|
||||||
// console.log('success............', json, JSON.stringify(json.data.list[0]) );
|
// console.log('success............', json, JSON.stringify(json.data.list[0]) );
|
||||||
$scope.loadBusy = false;
|
$scope.loadBusy = false;
|
||||||
var alterRex = "/mmbiz.qpic.cn|images.jianshu.io|zhimg.com/g";
|
var alterRex = "/mmbiz.qpic.cn|images.jianshu.io|zhimg.com/g";
|
||||||
var defaultSnap = "./images/snap/default.png"
|
var defaultSnap = "./images/default.jpg"
|
||||||
var defaultFavicon = "./images/favicon/default.ico"
|
var defaultFavicon = "./images/default.ico"
|
||||||
$timeout(function() {
|
$timeout(function() {
|
||||||
if (json.code == 200) {
|
if (json.code == 200) {
|
||||||
var bookmarkList = json.data.list;
|
var bookmarkList = json.data.list;
|
||||||
|
|
|
||||||
|
|
@ -5,11 +5,7 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="content">
|
<div class="content">
|
||||||
<div class="ui grid">
|
<div class="ui grid">
|
||||||
<div class="six wide column">
|
<div class="sixteen wide column">
|
||||||
<img class="bordered" ng-src="{{bookmark.snap_url}}" err-src="./images/snap/default.png" />
|
|
||||||
</div>
|
|
||||||
<div class="one wide column"></div>
|
|
||||||
<div class="nine wide column">
|
|
||||||
<div class="ui vertically divided grid">
|
<div class="ui vertically divided grid">
|
||||||
<div class="one column row">
|
<div class="one column row">
|
||||||
<div class="column">
|
<div class="column">
|
||||||
|
|
|
||||||
|
|
@ -133,7 +133,7 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="image" href="{{ bookmark.url }}" ng-click="jumpToUrl(bookmark.url, bookmark.id)" style="cursor:pointer">
|
<div class="image" href="{{ bookmark.url }}" ng-click="jumpToUrl(bookmark.url, bookmark.id)" style="cursor:pointer">
|
||||||
<img ng-src="./images/snap/{{bookmark.id}}.png" err-src="./images/snap/default.png"/>
|
<img ng-src="./images/snap/{{bookmark.id}}.png" err-src="./images/default.jpg"/>
|
||||||
</div>
|
</div>
|
||||||
<div class="extra content tags" style="height:50px;">
|
<div class="extra content tags" style="height:50px;">
|
||||||
<div class="ui label" ng-repeat="tag in bookmark.tags" tag-id="{{ tag.id }}" ng-click="jumpToTags(tag.id)">
|
<div class="ui label" ng-repeat="tag in bookmark.tags" tag-id="{{ tag.id }}" ng-click="jumpToTags(tag.id)">
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,7 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="image hot-image" href="{{ bookmark.url }}" style="cursor:pointer" ng-click="jumpToUrl(bookmark.url)">
|
<div class="image hot-image" href="{{ bookmark.url }}" style="cursor:pointer" ng-click="jumpToUrl(bookmark.url)">
|
||||||
<img ng-src="{{bookmark.snap_url}}" err-src="./images/snap/default.png"/>
|
<img ng-src="{{bookmark.snap_url}}"/>
|
||||||
</div>
|
</div>
|
||||||
<div class="extra content" ng-show="!bookmark.edit">
|
<div class="extra content" ng-show="!bookmark.edit">
|
||||||
<img class="ui avatar image" style="width:16px;height:16px;" ng-src="{{bookmark.favicon_url}}">
|
<img class="ui avatar image" style="width:16px;height:16px;" ng-src="{{bookmark.favicon_url}}">
|
||||||
|
|
|
||||||
|
|
@ -1327,7 +1327,7 @@ api.getHotBookmarksByTimer = function() {
|
||||||
}
|
}
|
||||||
var url = "https://api.shouqu.me/api_service/api/v1/daily/dailyMark";
|
var url = "https://api.shouqu.me/api_service/api/v1/daily/dailyMark";
|
||||||
var alterRex = "/mmbiz.qpic.cn|images.jianshu.io|zhimg.com/g";
|
var alterRex = "/mmbiz.qpic.cn|images.jianshu.io|zhimg.com/g";
|
||||||
var defaultSnap = "./images/snap/default.png";
|
var defaultSnap = "./images/default.jpg";
|
||||||
var defaultFavicon = "./images/favicon/default.ico";
|
var defaultFavicon = "./images/favicon/default.ico";
|
||||||
request.post({
|
request.post({
|
||||||
url: url,
|
url: url,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue