将域名mybookmark.cn切换成b.lucq.fun

This commit is contained in:
B05BEE13.卢郴群 2021-05-26 16:03:33 +08:00
parent dd67d8ee64
commit 30878006eb
18 changed files with 70 additions and 37 deletions

View File

@ -1,9 +1,9 @@
# 在线书签管理工具 # 在线书签管理工具
![image](https://mybookmark.cn/images/screenshot.gif) ![image](https://b.lucq.fun/images/screenshot.gif)
1 在线体验(demo) 1 在线体验(demo)
------------- -------------
[在线书签管理系统](http://mybookmark.cn/ "在线书签管理系统")体验账号test。密码123456。 [在线书签管理系统](http://b.lucq.fun/ "在线书签管理系统")体验账号test。密码123456。
2 为什么要做个网络书签 2 为什么要做个网络书签
------------------ ------------------
@ -31,7 +31,7 @@
- [x] 新增备忘录功能有时候随手要做点纪录就方便了。任意界面按快捷键A增加备忘录。双击备忘录可查看详情亦可分享备忘。 - [x] 新增备忘录功能有时候随手要做点纪录就方便了。任意界面按快捷键A增加备忘录。双击备忘录可查看详情亦可分享备忘。
- [x] 在设置的全局链接,可设置快捷键,用来在任何页面,快速打开设置的链接。 - [x] 在设置的全局链接,可设置快捷键,用来在任何页面,快速打开设置的链接。
- [x] 增加[Chrome插件](https://chrome.google.com/webstore/detail/%E4%B9%A6%E7%AD%BE%E5%BF%AB%E9%80%9F%E6%B7%BB%E5%8A%A0/lmmobgephofdffmaednjooplcpbgbjle),可在任意界面快速添加书签至系统。如果你无法访问该插件,可以按照[Chrome如何安装插件开发版本/自制)](https://jingyan.baidu.com/article/f3ad7d0f58d6b609c3345b80.html)方法安装插件,插件请到[bookmark-plugin](https://github.com/luchenqun/bookmark-plugin)下载。 - [x] 增加[Chrome插件](https://chrome.google.com/webstore/detail/%E4%B9%A6%E7%AD%BE%E5%BF%AB%E9%80%9F%E6%B7%BB%E5%8A%A0/lmmobgephofdffmaednjooplcpbgbjle),可在任意界面快速添加书签至系统。如果你无法访问该插件,可以按照[Chrome如何安装插件开发版本/自制)](https://jingyan.baidu.com/article/f3ad7d0f58d6b609c3345b80.html)方法安装插件,插件请到[bookmark-plugin](https://github.com/luchenqun/bookmark-plugin)下载。
- [x] 适配手机平板,手机端请访问[m.mybookmark.cn](http://m.mybookmark.cn/)。 - [x] 适配手机平板,手机端请访问[mb.lucq.fun](http://mb.lucq.fun/)。
4 主要用到的软件与模块说明 4 主要用到的软件与模块说明

View File

@ -1,6 +1,6 @@
server { server {
listen 80; listen 80;
server_name mybookmark.cn; server_name b.lucq.fun;
root /var/www/my-bookmark; root /var/www/my-bookmark;
set $node_port 2000; set $node_port 2000;

View File

@ -56,7 +56,7 @@
<p> <p>
对不起,您的风筝已掉线,请时光倒流回前一秒。<br /> 对不起,您的风筝已掉线,请时光倒流回前一秒。<br />
<span id="totalSecond">5</span>秒后自动 <span id="totalSecond">5</span>秒后自动
<a href="https://mybookmark.cn" class="backhome"><span>返回首页</span></a> <a href="https://b.lucq.fun" class="backhome"><span>返回首页</span></a>
</p> </p>
</div> </div>
</div> </div>

View File

@ -37,6 +37,14 @@
var text = e.text.length >= 180 ? e.text.substr(0, 180) + "..." : e.text; var text = e.text.length >= 180 ? e.text.substr(0, 180) + "..." : e.text;
toastr.error(text + "<br/>复制失败", "提示"); toastr.error(text + "<br/>复制失败", "提示");
}); });
if (window.location.hostname.indexOf("mybookmark.cn") >= 0) {
toastr.warning("域名【mybookmark.cn】将于2021年11月份到期届时将不再续费无法访问。后续将使用新域名【http://b.lucq.fun】为您提供服务。10秒后会自动跳转到新的域名。", "提示");
$(".js-domain").removeClass("hidden");
setTimeout(function () {
window.location = "http://b.lucq.fun/#/tags";
}, 10000);
}
}; };
let resizeContainer = () => { let resizeContainer = () => {
let count = 1; let count = 1;
@ -53,18 +61,25 @@
</head> </head>
<body ng-app="bookmarkApp"> <body ng-app="bookmarkApp">
<div class="ui container" id="js-container" style="position: absolute;left: 86;"> <div class="ui container" id="js-container" style="position: absolute; left: 86">
<div class="ui error hidden message js-domain" style="margin-bottom: 3px">
<div class="header">域名更换提示!</div>
<ul class="list">
<li>域名【mybookmark.cn】将于2021年11月份到期届时将不再续费无法访问。目前已使用新域名【<a href="http://b.lucq.fun/">http://b.lucq.fun</a>】为您提供服务。</li>
<li>10秒后会自动跳转到新的域名。<a href="http://b.lucq.fun/">立即跳转</a></li>
</ul>
</div>
<!-- directive菜单 --> <!-- directive菜单 -->
<menus></menus> <menus></menus>
<div class="ui container" style="width: 100%; height: 2px;"></div> <div class="ui container" style="width: 100%; height: 2px"></div>
<div class="ui container"> <div class="ui container">
<div ui-view></div> <div ui-view></div>
</div> </div>
<div class="ui container" style="width: 100%; height: 10px;"></div> <div class="ui container" style="width: 100%; height: 10px"></div>
<div class="foot" style="margin-bottom: 10px;"> <div class="foot" style="margin-bottom: 10px">
<div class="ui segment container" style="text-align: center;">我爱佳佳与这个世界&nbsp;&nbsp;|&nbsp;&nbsp;<a href="http://m.mybookmark.cn/">移动设备访问</a>&nbsp;&nbsp;|&nbsp;&nbsp;联系我(QQ群1026967226)&nbsp;&nbsp;|&nbsp;&nbsp;<a href="http://beian.miit.gov.cn/" target="_blank">粤ICP备18032994号</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a href="https://github.com/luchenqun/my-bookmark" target="_blank">网站源码</a>&nbsp;&nbsp;|&nbsp;&nbsp;V2.0.0&nbsp;&nbsp;|&nbsp;&nbsp;<span>加载失败,请按 Ctrl + Shift + R 强制刷新!(●'◡'●)</span><br /></div> <div class="ui segment container" style="text-align: center">我爱佳佳与这个世界&nbsp;&nbsp;|&nbsp;&nbsp;<a href="http://mb.lucq.fun/">移动设备访问</a>&nbsp;&nbsp;|&nbsp;&nbsp;联系我(QQ群1026967226)&nbsp;&nbsp;|&nbsp;&nbsp;<a href="http://beian.miit.gov.cn/" target="_blank">粤ICP备18032994号</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a href="https://github.com/luchenqun/my-bookmark" target="_blank">网站源码</a>&nbsp;&nbsp;|&nbsp;&nbsp;V2.0.0&nbsp;&nbsp;|&nbsp;&nbsp;<span>加载失败,请按 Ctrl + Shift + R 强制刷新!(●'◡'●)</span><br /></div>
<!-- 主要用来配合clipboard.min.js复制文本的 --> <!-- 主要用来配合clipboard.min.js复制文本的 -->
<div id="clipboard" data-clipboard-text="i love this world and jiajia!" style="opacity: 0; cursor: default;"> <div id="clipboard" data-clipboard-text="i love this world and jiajia!" style="opacity: 0; cursor: default">
<span>Copy</span> <span>Copy</span>
</div> </div>
</div> </div>

View File

@ -1,8 +1,11 @@
app.controller('adviceCtr', ['$scope', '$state', '$timeout', 'pubSubService', 'dataService', function ($scope, $state, $timeout, pubSubService, dataService) { app.controller('adviceCtr', ['$scope', '$state', '$timeout', '$window', 'pubSubService', 'dataService', function ($scope, $state, $timeout, $window, pubSubService, dataService) {
console.log("Hello adviceCtr"); console.log("Hello adviceCtr");
console.log($window.location.hostname);
if (dataService.smallDevice()) { if (dataService.smallDevice()) {
$window.location = "http://m.mybookmark.cn/#/tags"; if ($window.location.hostname.indexOf("b.lucq.fun") >= 0) {
return; $window.location = "http://mb.lucq.fun/#/tags";
return;
}
} }
pubSubService.publish('Menus.active'); pubSubService.publish('Menus.active');

View File

@ -1,8 +1,10 @@
app.controller('bookmarksCtr', ['$scope', '$state', '$stateParams', '$filter', '$window', '$timeout', '$document', 'ngDialog', 'pubSubService', 'dataService', function ($scope, $state, $stateParams, $filter, $window, $timeout, $document, ngDialog, pubSubService, dataService) { app.controller('bookmarksCtr', ['$scope', '$state', '$stateParams', '$filter', '$window', '$timeout', '$document', 'ngDialog', 'pubSubService', 'dataService', function ($scope, $state, $stateParams, $filter, $window, $timeout, $document, ngDialog, pubSubService, dataService) {
console.log("Hello bookmarksCtr...", $stateParams); console.log("Hello bookmarksCtr...", $stateParams);
if (dataService.smallDevice()) { if (dataService.smallDevice()) {
$window.location = "http://m.mybookmark.cn/#/tags"; if ($window.location.hostname.indexOf("b.lucq.fun") >= 0) {
return; $window.location = "http://mb.lucq.fun/#/tags";
return;
}
} }
pubSubService.publish('Menus.active'); pubSubService.publish('Menus.active');
$state.go('tags'); $state.go('tags');

View File

@ -1,8 +1,10 @@
app.controller('homeCtr', ['$scope', '$stateParams', '$filter', '$state', '$window', 'pubSubService', 'dataService', function ($scope, $stateParams, $filter, $state, $window, pubSubService, dataService) { app.controller('homeCtr', ['$scope', '$stateParams', '$filter', '$state', '$window', 'pubSubService', 'dataService', function ($scope, $stateParams, $filter, $state, $window, pubSubService, dataService) {
console.log('Hello homeCtr......'); console.log('Hello homeCtr......');
if (dataService.smallDevice()) { if (dataService.smallDevice()) {
$window.location = "http://m.mybookmark.cn/#/tags"; if ($window.location.hostname.indexOf("b.lucq.fun") >= 0) {
return; $window.location = "http://mb.lucq.fun/#/tags";
return;
}
} }
pubSubService.publish('Menus.active'); pubSubService.publish('Menus.active');

View File

@ -1,8 +1,10 @@
app.controller('hotCtr', ['$scope', '$state', '$sce', '$filter', '$window', '$timeout', '$document', 'pubSubService', 'dataService', function ($scope, $state, $sce, $filter, $window, $timeout, $document, pubSubService, dataService) { app.controller('hotCtr', ['$scope', '$state', '$sce', '$filter', '$window', '$timeout', '$document', 'pubSubService', 'dataService', function ($scope, $state, $sce, $filter, $window, $timeout, $document, pubSubService, dataService) {
console.log("Hello hotCtr..."); console.log("Hello hotCtr...");
if (dataService.smallDevice()) { if (dataService.smallDevice()) {
$window.location = "http://m.mybookmark.cn/#/tags"; if ($window.location.hostname.indexOf("b.lucq.fun") >= 0) {
return; $window.location = "http://mb.lucq.fun/#/tags";
return;
}
} }
pubSubService.publish('Menus.active'); pubSubService.publish('Menus.active');
const pageSize = 40; const pageSize = 40;

View File

@ -1,8 +1,10 @@
app.controller('loginCtr', ['$scope', '$filter', '$state', '$http', '$cookieStore', '$window', 'pubSubService', 'dataService', function ($scope, $filter, $state, $http, $cookieStore, $window, pubSubService, dataService) { app.controller('loginCtr', ['$scope', '$filter', '$state', '$http', '$cookieStore', '$window', 'pubSubService', 'dataService', function ($scope, $filter, $state, $http, $cookieStore, $window, pubSubService, dataService) {
console.log("Hello loginCtr..."); console.log("Hello loginCtr...");
if (dataService.smallDevice()) { if (dataService.smallDevice()) {
$window.location = "http://m.mybookmark.cn/#/tags"; if ($window.location.hostname.indexOf("b.lucq.fun") >= 0) {
return; $window.location = "http://mb.lucq.fun/#/tags";
return;
}
} }
pubSubService.publish('Menus.active'); pubSubService.publish('Menus.active');

View File

@ -99,7 +99,7 @@ app.controller('menuCtr', ['$scope', '$stateParams', '$state', '$window', '$time
} else if (searchOption == 3) { } else if (searchOption == 3) {
$window.open('https://stackoverflow.com/search?q=' + encodeURIComponent(keyword), '_blank'); $window.open('https://stackoverflow.com/search?q=' + encodeURIComponent(keyword), '_blank');
} else if (searchOption == 4) { } else if (searchOption == 4) {
$window.open('http://www.baidu.com/s?tn=mybookmark.cn&ch=3&ie=utf-8&wd=' + encodeURIComponent(keyword), '_blank'); $window.open('http://www.baidu.com/s?tn=b.lucq.fun&ch=3&ie=utf-8&wd=' + encodeURIComponent(keyword), '_blank');
} else if (searchOption == 5) { } else if (searchOption == 5) {
console.log('search note, word = ', keyword); console.log('search note, word = ', keyword);
$state.go('note', { keyword }, { reload: true }) $state.go('note', { keyword }, { reload: true })

View File

@ -1,8 +1,10 @@
app.controller('noteCtr', ['$scope', '$state', '$stateParams', '$filter', '$window', '$timeout', '$document', 'ngDialog', 'pubSubService', 'dataService', function ($scope, $state, $stateParams, $filter, $window, $timeout, $document, ngDialog, pubSubService, dataService) { app.controller('noteCtr', ['$scope', '$state', '$stateParams', '$filter', '$window', '$timeout', '$document', 'ngDialog', 'pubSubService', 'dataService', function ($scope, $state, $stateParams, $filter, $window, $timeout, $document, ngDialog, pubSubService, dataService) {
console.log("Hello noteCtr...", $stateParams); console.log("Hello noteCtr...", $stateParams);
if (dataService.smallDevice()) { if (dataService.smallDevice()) {
$window.location = "http://m.mybookmark.cn/#/tags"; if ($window.location.hostname.indexOf("b.lucq.fun") >= 0) {
return; $window.location = "http://mb.lucq.fun/#/tags";
return;
}
} }
pubSubService.publish('Menus.active'); pubSubService.publish('Menus.active');

View File

@ -1,8 +1,10 @@
app.controller('searchCtr', ['$scope', '$state', '$stateParams', '$filter', '$window', '$timeout', '$document', 'ngDialog', 'pubSubService', 'dataService', function ($scope, $state, $stateParams, $filter, $window, $timeout, $document, ngDialog, pubSubService, dataService) { app.controller('searchCtr', ['$scope', '$state', '$stateParams', '$filter', '$window', '$timeout', '$document', 'ngDialog', 'pubSubService', 'dataService', function ($scope, $state, $stateParams, $filter, $window, $timeout, $document, ngDialog, pubSubService, dataService) {
console.log("Hello searchCtr...", $stateParams); console.log("Hello searchCtr...", $stateParams);
if (dataService.smallDevice()) { if (dataService.smallDevice()) {
$window.location = "http://m.mybookmark.cn/#/tags"; if ($window.location.hostname.indexOf("b.lucq.fun") >= 0) {
return; $window.location = "http://mb.lucq.fun/#/tags";
return;
}
} }
pubSubService.publish('Menus.active'); pubSubService.publish('Menus.active');

View File

@ -1,8 +1,10 @@
app.controller('settingsCtr', ['$scope', '$stateParams', '$filter', '$state', '$window', '$timeout', 'pubSubService', 'dataService', function ($scope, $stateParams, $filter, $state, $window, $timeout, pubSubService, dataService) { app.controller('settingsCtr', ['$scope', '$stateParams', '$filter', '$state', '$window', '$timeout', 'pubSubService', 'dataService', function ($scope, $stateParams, $filter, $state, $window, $timeout, pubSubService, dataService) {
console.log('Hello settingsCtr......', $stateParams); console.log('Hello settingsCtr......', $stateParams);
if (dataService.smallDevice()) { if (dataService.smallDevice()) {
$window.location = "http://m.mybookmark.cn/#/tags"; if ($window.location.hostname.indexOf("b.lucq.fun") >= 0) {
return; $window.location = "http://mb.lucq.fun/#/tags";
return;
}
} }
pubSubService.publish('Menus.active'); pubSubService.publish('Menus.active');

View File

@ -1,8 +1,10 @@
app.controller('tagsCtr', ['$scope', '$filter', '$state', '$window', '$stateParams', '$timeout', '$document', 'ngDialog', 'pubSubService', 'dataService', function ($scope, $filter, $state, $window, $stateParams, $timeout, $document, ngDialog, pubSubService, dataService) { app.controller('tagsCtr', ['$scope', '$filter', '$state', '$window', '$stateParams', '$timeout', '$document', 'ngDialog', 'pubSubService', 'dataService', function ($scope, $filter, $state, $window, $stateParams, $timeout, $document, ngDialog, pubSubService, dataService) {
console.log("Hello tagsCtr...", $stateParams); console.log("Hello tagsCtr...", $stateParams);
if (dataService.smallDevice()) { if (dataService.smallDevice()) {
$window.location = "http://m.mybookmark.cn/#/tags"; if ($window.location.hostname.indexOf("b.lucq.fun") >= 0) {
return; $window.location = "http://mb.lucq.fun/#/tags";
return;
}
} }
pubSubService.publish('Menus.active'); pubSubService.publish('Menus.active');

File diff suppressed because one or more lines are too long

View File

@ -7,7 +7,7 @@
<div class="fields"> <div class="fields">
<div class="required eight wide field" ng-class="{error:urlError}"> <div class="required eight wide field" ng-class="{error:urlError}">
<label>书签链接</label> <label>书签链接</label>
<input type="text" placeholder="输粘贴网页地址https://mybookmark.cn/" ng-model="url" /> <input type="text" placeholder="输粘贴网页地址https://b.lucq.fun/" ng-model="url" />
</div> </div>
<div class="required eight wide field" ng-class="{error:titleError}"> <div class="required eight wide field" ng-class="{error:titleError}">
<label ng-click="restoreTitle()">书签标题</label> <label ng-click="restoreTitle()">书签标题</label>

View File

@ -27,7 +27,7 @@
<div class="field"> <div class="field">
<div class="ui submit button" ng-click="login()">登陆</div> <div class="ui submit button" ng-click="login()">登陆</div>
<span> <span>
<div style="margin-top:8px;float:right;">跳转到<a href="http://m.mybookmark.cn" target="_blank">移动设备</a>。没有账号?<a style="cursor:pointer;" ng-click="showRegister()">注册一个!</a>(体验账号test。密码123456)。 <div style="margin-top:8px;float:right;">跳转到<a href="http://mb.lucq.fun" target="_blank">移动设备</a>。没有账号?<a style="cursor:pointer;" ng-click="showRegister()">注册一个!</a>(体验账号test。密码123456)。
<a href="https://chrome.google.com/webstore/detail/%E4%B9%A6%E7%AD%BE%E5%BF%AB%E9%80%9F%E6%B7%BB%E5%8A%A0/lmmobgephofdffmaednjooplcpbgbjle" target="_blank">Chrome插件</a>安装(需科学上网)</p> <a href="https://chrome.google.com/webstore/detail/%E4%B9%A6%E7%AD%BE%E5%BF%AB%E9%80%9F%E6%B7%BB%E5%8A%A0/lmmobgephofdffmaednjooplcpbgbjle" target="_blank">Chrome插件</a>安装(需科学上网)</p>
</div> </div>
</span> </span>

View File

@ -152,9 +152,8 @@
</div> </div>
<div class="ui container js-p-info" ng-show="form[6]"> <div class="ui container js-p-info" ng-show="form[6]">
<h3 class="ui dividing header">赞赏说明</h3> <h3 class="ui dividing header">赞赏说明</h3>
<p>赞赏金额主要用于服务器的租用与域名的费用,对于赞赏有以下几点说明:</p> <p>1、如果你觉得我的这个系统帮助到了你那请我喝杯咖啡吧。</p>
<p>1、目前租用的服务器每年大概六七百。域名mybookmark.cn我花151元买了五年2021年11月份到期。域名mybookmark.cn我花151元买了五年2021年11月份到期。</p> <p>2、赞赏转账的时候请留言添加“书签赞赏”这四个汉字。</p>
<p>2、赞赏转账的时候请留言添加“账号 + 书签赞赏”这四个汉字。供我区分。</p>
<h3 class="ui dividing header">赞赏二维码</h3> <h3 class="ui dividing header">赞赏二维码</h3>
<div class="ui grid"> <div class="ui grid">
<div class="one wide column"></div> <div class="one wide column"></div>