From f4f5149e27031a788ad68f185d3f64f77de60951 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?B05BEE13=2E=E5=8D=A2=E9=83=B4=E7=BE=A4?= Date: Thu, 10 Dec 2020 09:56:32 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=BF=E6=8D=A2=E5=B2=9B=E9=93=BE=E5=9B=BE?= =?UTF-8?q?=E7=89=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- www/scripts/controllers/hot-controller.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/scripts/controllers/hot-controller.js b/www/scripts/controllers/hot-controller.js index 5ddf3fc..7221962 100644 --- a/www/scripts/controllers/hot-controller.js +++ b/www/scripts/controllers/hot-controller.js @@ -165,7 +165,7 @@ app.controller('hotCtr', ['$scope', '$state', '$sce', '$filter', '$window', '$ti bookmark.snap = articl.pic || defaultSnap; bookmark.clickCount = articl.likenum; bookmark.createdAt = timeagoInstance.format(articl.addtime * 1000, 'zh_CN'); - bookmark.content = articl.content.replace(/https:\/\/mmbiz.qpic.cn/gi, "http://img01.store.sogou.com/net/a/04/link?appid=100520029&url=https://mmbiz.qpic.cn").replace(/http:\/\/mmbiz.qpic.cn/gi, "http://img01.store.sogou.com/net/a/04/link?appid=100520029&url=https://mmbiz.qpic.cn"); + bookmark.content = articl.content.replace(/https:\/\/mmbiz.qpic.cn/gi, "https://favicon.lucq.fun/qpic&url=https://mmbiz.qpic.cn").replace(/http:\/\/mmbiz.qpic.cn/gi, "https://favicon.lucq.fun/qpic&url=https://mmbiz.qpic.cn"); bookmark.content = $sce.trustAsHtml(bookmark.content); $scope.bookmarks.push(bookmark); })