diff --git a/public/images/wx.jpg b/public/images/wx.jpg new file mode 100644 index 0000000..083427a Binary files /dev/null and b/public/images/wx.jpg differ diff --git a/public/images/zfb.jpg b/public/images/zfb.jpg new file mode 100644 index 0000000..4a1318e Binary files /dev/null and b/public/images/zfb.jpg differ diff --git a/public/index.html b/public/index.html index 7c44bd1..ab94130 100644 --- a/public/index.html +++ b/public/index.html @@ -1,85 +1,84 @@ - - - - - - - - 在线书签管理工具-我的书签 - - - - - - - - - - - - - -
- - -
+ + + + + + + + 在线书签管理工具-我的书签 + + + + + + + + + + + +
-
-
-
-
-
-     Copyleft ©All Rights Reserved LCQ(假装网站有个页脚)  |  联系我(QQ:530485521)  |  网站源码  |  V1.3.0  |  由于使用国外服务器,如果加载失败,请按F5,你懂的!(●'◡'●) + + +
+
+
+
+
+
+     Copyleft ©All Rights Reserved LCQ(假装网站有个页脚)  |  联系我(QQ:530485521)  |  网站源码  |  V1.3.0  |  由于使用国外服务器,如果加载失败,请按F5,你懂的!(●'◡'●) +
+
+ + + +
- - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/public/scripts/app-angular.js b/public/scripts/app-angular.js index 3aa53e1..9cdd3cb 100644 --- a/public/scripts/app-angular.js +++ b/public/scripts/app-angular.js @@ -19,6 +19,11 @@ app.config(function($stateProvider, $urlRouterProvider, $httpProvider) { templateUrl: '/views/hot.html', controller: 'hotCtr' }) + .state('praise', { + url: '/praise', + templateUrl: '/views/praise.html', + controller: 'praiseCtr' + }) .state('search', { url: '/search', templateUrl: '/views/search.html', diff --git a/public/scripts/controllers/menus-controller.js b/public/scripts/controllers/menus-controller.js index 45036bd..3cffde2 100644 --- a/public/scripts/controllers/menus-controller.js +++ b/public/scripts/controllers/menus-controller.js @@ -31,6 +31,9 @@ app.controller('menuCtr', ['$scope', '$stateParams', '$state', '$window', '$time }, { uiSref: 'hot', title: '热门收藏' + }, { + uiSref: 'praise', + title: '赞赏' }]; // 未登陆显示的菜单数据 @@ -43,6 +46,9 @@ app.controller('menuCtr', ['$scope', '$stateParams', '$state', '$window', '$time }, { uiSref: 'hot', title: '热门收藏' + }, { + uiSref: 'praise', + title: '赞赏' }]; /** @@ -69,7 +75,9 @@ app.controller('menuCtr', ['$scope', '$stateParams', '$state', '$window', '$time $window.open('http://www.baidu.com/s?tn=mybookmark.cn&ch=3&ie=utf-8&wd=' + encodeURIComponent(searchWord), '_blank'); } - if(!searchWord){ return; } + if (!searchWord) { + return; + } var newItem = { t: searchOption, @@ -188,7 +196,7 @@ app.controller('menuCtr', ['$scope', '$stateParams', '$state', '$window', '$time .then((data) => { $scope.searchHistory = JSON.parse(data.search_history || '[]'); var count = 1; - var id = setInterval(function () { + var id = setInterval(function() { var items = $('.search-item').popup({ on: 'focus', inline: true diff --git a/public/scripts/controllers/praise-controller.js b/public/scripts/controllers/praise-controller.js new file mode 100644 index 0000000..2112a4e --- /dev/null +++ b/public/scripts/controllers/praise-controller.js @@ -0,0 +1,40 @@ +app.controller('praiseCtr', ['$scope', '$state', '$stateParams', '$filter', '$window', '$timeout', 'ngDialog', 'bookmarkService', 'pubSubService', function($scope, $state, $stateParams, $filter, $window, $timeout, ngDialog, bookmarkService, pubSubService) { + console.log("Hello praiseCtr...", $stateParams); + + bookmarkService.autoLogin() + .then((data) => { + var login = data.logined; + var index = login ? 5 : 3; + pubSubService.publish('Common.menuActive', { + login: login, + index: index + }); + }) + .catch((err) => { + console.log('autoLogin err', err) + }); + + function animation() { + var data = ['scale', 'fade', 'fade up', 'fade down', 'fade left', 'fade right', 'horizontal flip', + 'vertical flip', 'drop', 'fly left', 'fly right', 'fly up', 'fly down', + 'browse', 'browse right', 'slide down', 'slide up', 'slide left', 'slide right' + ]; + var t = data[parseInt(Math.random() * 1000) % data.length]; + + return t; + } + + function transition() { + $timeout(function() { + timeagoInstance.cancel(); + timeagoInstance.render(document.querySelectorAll('.need_to_be_rendered'), 'zh_CN'); + }, 100) + var className = 'js-table-search'; + $('.' + className).transition('hide'); + $('.' + className).transition({ + animation: animation(), + duration: 500, + }); + } + +}]); diff --git a/public/views/praise.html b/public/views/praise.html new file mode 100644 index 0000000..ce1ba55 --- /dev/null +++ b/public/views/praise.html @@ -0,0 +1,40 @@ +
+
+

赞赏说明

+

赞赏金额主要用于服务器的租用与域名的费用,对于赞赏有以下几点说明:

+

1、目前租用的服务器Vultr,每月5$,折合人名币大概35元/月。如果有新用户想购买Vultr服务器的,可以点击链接进行购买,这样你我将都能得到10$。域名mybookmark.cn我花151元买了五年,2021年11月份到期。

+

2、由于目前的服务器在国外,导致有时候访问比较慢,如果赞赏金融余额超过1000,将在国内租用一个服务器,提高访问速度。如果有能提供国内免费服务器的更佳!

+

3、对于开发计划,优先开发赞赏用户提出的需求,当然需要我自己同意加入开发计划。

+

4、赞赏用户的一些其他特权(暂未开发),如:可以自定义网站背景,可自定义更多的分类(目前上限为30个)。

+

5、赞赏之后我会及时将赞赏信息更新到网站上,如果有遗漏,可联系我微信QQ530485521或者在留言版块说明。

+

赞赏二维码

+
+
+
+
+
+
+
+

赞赏排行版

+ + + + + + + + + + + + + + + + + + + +
用户昵称赞赏日期赞赏金融(人民币)留言说明
lcq泥巴2017-03-01 12:03:08210本人用于服务器租用
+
+