将域名mybookmark.cn切换成b.lucq.fun
This commit is contained in:
parent
dd67d8ee64
commit
30878006eb
|
|
@ -1,9 +1,9 @@
|
|||
# 在线书签管理工具
|
||||

|
||||

|
||||
|
||||
1 在线体验(demo)
|
||||
-------------
|
||||
[在线书签管理系统](http://mybookmark.cn/ "在线书签管理系统"),体验账号:test。密码:123456。
|
||||
[在线书签管理系统](http://b.lucq.fun/ "在线书签管理系统"),体验账号:test。密码:123456。
|
||||
|
||||
2 为什么要做个网络书签
|
||||
------------------
|
||||
|
|
@ -31,7 +31,7 @@
|
|||
- [x] 新增备忘录功能,有时候随手要做点纪录,就方便了。任意界面按快捷键A增加备忘录。双击备忘录可查看详情!亦可分享备忘。
|
||||
- [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] 适配手机平板,手机端请访问[m.mybookmark.cn](http://m.mybookmark.cn/)。
|
||||
- [x] 适配手机平板,手机端请访问[mb.lucq.fun](http://mb.lucq.fun/)。
|
||||
|
||||
|
||||
4 主要用到的软件与模块说明
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
server {
|
||||
listen 80;
|
||||
server_name mybookmark.cn;
|
||||
server_name b.lucq.fun;
|
||||
root /var/www/my-bookmark;
|
||||
set $node_port 2000;
|
||||
|
||||
|
|
|
|||
|
|
@ -56,7 +56,7 @@
|
|||
<p>
|
||||
对不起,您的风筝已掉线,请时光倒流回前一秒。<br />
|
||||
<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>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -37,6 +37,14 @@
|
|||
var text = e.text.length >= 180 ? e.text.substr(0, 180) + "..." : e.text;
|
||||
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 count = 1;
|
||||
|
|
@ -53,18 +61,25 @@
|
|||
</head>
|
||||
|
||||
<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:菜单 -->
|
||||
<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 ui-view></div>
|
||||
</div>
|
||||
<div class="ui container" style="width: 100%; height: 10px;"></div>
|
||||
<div class="foot" style="margin-bottom: 10px;">
|
||||
<div class="ui segment container" style="text-align: center;">我爱佳佳与这个世界 | <a href="http://m.mybookmark.cn/">移动设备访问</a> | 联系我(QQ群:1026967226) | <a href="http://beian.miit.gov.cn/" target="_blank">粤ICP备18032994号</a> | <a href="https://github.com/luchenqun/my-bookmark" target="_blank">网站源码</a> | V2.0.0 | <span>加载失败,请按 Ctrl + Shift + R 强制刷新!(●'◡'●)</span><br /></div>
|
||||
<div class="ui container" style="width: 100%; height: 10px"></div>
|
||||
<div class="foot" style="margin-bottom: 10px">
|
||||
<div class="ui segment container" style="text-align: center">我爱佳佳与这个世界 | <a href="http://mb.lucq.fun/">移动设备访问</a> | 联系我(QQ群:1026967226) | <a href="http://beian.miit.gov.cn/" target="_blank">粤ICP备18032994号</a> | <a href="https://github.com/luchenqun/my-bookmark" target="_blank">网站源码</a> | V2.0.0 | <span>加载失败,请按 Ctrl + Shift + R 强制刷新!(●'◡'●)</span><br /></div>
|
||||
<!-- 主要用来配合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>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -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($window.location.hostname);
|
||||
if (dataService.smallDevice()) {
|
||||
$window.location = "http://m.mybookmark.cn/#/tags";
|
||||
return;
|
||||
if ($window.location.hostname.indexOf("b.lucq.fun") >= 0) {
|
||||
$window.location = "http://mb.lucq.fun/#/tags";
|
||||
return;
|
||||
}
|
||||
}
|
||||
pubSubService.publish('Menus.active');
|
||||
|
||||
|
|
|
|||
|
|
@ -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) {
|
||||
console.log("Hello bookmarksCtr...", $stateParams);
|
||||
if (dataService.smallDevice()) {
|
||||
$window.location = "http://m.mybookmark.cn/#/tags";
|
||||
return;
|
||||
if ($window.location.hostname.indexOf("b.lucq.fun") >= 0) {
|
||||
$window.location = "http://mb.lucq.fun/#/tags";
|
||||
return;
|
||||
}
|
||||
}
|
||||
pubSubService.publish('Menus.active');
|
||||
$state.go('tags');
|
||||
|
|
|
|||
|
|
@ -1,8 +1,10 @@
|
|||
app.controller('homeCtr', ['$scope', '$stateParams', '$filter', '$state', '$window', 'pubSubService', 'dataService', function ($scope, $stateParams, $filter, $state, $window, pubSubService, dataService) {
|
||||
console.log('Hello homeCtr......');
|
||||
if (dataService.smallDevice()) {
|
||||
$window.location = "http://m.mybookmark.cn/#/tags";
|
||||
return;
|
||||
if ($window.location.hostname.indexOf("b.lucq.fun") >= 0) {
|
||||
$window.location = "http://mb.lucq.fun/#/tags";
|
||||
return;
|
||||
}
|
||||
}
|
||||
pubSubService.publish('Menus.active');
|
||||
|
||||
|
|
|
|||
|
|
@ -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) {
|
||||
console.log("Hello hotCtr...");
|
||||
if (dataService.smallDevice()) {
|
||||
$window.location = "http://m.mybookmark.cn/#/tags";
|
||||
return;
|
||||
if ($window.location.hostname.indexOf("b.lucq.fun") >= 0) {
|
||||
$window.location = "http://mb.lucq.fun/#/tags";
|
||||
return;
|
||||
}
|
||||
}
|
||||
pubSubService.publish('Menus.active');
|
||||
const pageSize = 40;
|
||||
|
|
|
|||
|
|
@ -1,8 +1,10 @@
|
|||
app.controller('loginCtr', ['$scope', '$filter', '$state', '$http', '$cookieStore', '$window', 'pubSubService', 'dataService', function ($scope, $filter, $state, $http, $cookieStore, $window, pubSubService, dataService) {
|
||||
console.log("Hello loginCtr...");
|
||||
if (dataService.smallDevice()) {
|
||||
$window.location = "http://m.mybookmark.cn/#/tags";
|
||||
return;
|
||||
if ($window.location.hostname.indexOf("b.lucq.fun") >= 0) {
|
||||
$window.location = "http://mb.lucq.fun/#/tags";
|
||||
return;
|
||||
}
|
||||
}
|
||||
pubSubService.publish('Menus.active');
|
||||
|
||||
|
|
|
|||
|
|
@ -99,7 +99,7 @@ app.controller('menuCtr', ['$scope', '$stateParams', '$state', '$window', '$time
|
|||
} else if (searchOption == 3) {
|
||||
$window.open('https://stackoverflow.com/search?q=' + encodeURIComponent(keyword), '_blank');
|
||||
} 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) {
|
||||
console.log('search note, word = ', keyword);
|
||||
$state.go('note', { keyword }, { reload: true })
|
||||
|
|
|
|||
|
|
@ -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) {
|
||||
console.log("Hello noteCtr...", $stateParams);
|
||||
if (dataService.smallDevice()) {
|
||||
$window.location = "http://m.mybookmark.cn/#/tags";
|
||||
return;
|
||||
if ($window.location.hostname.indexOf("b.lucq.fun") >= 0) {
|
||||
$window.location = "http://mb.lucq.fun/#/tags";
|
||||
return;
|
||||
}
|
||||
}
|
||||
pubSubService.publish('Menus.active');
|
||||
|
||||
|
|
|
|||
|
|
@ -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) {
|
||||
console.log("Hello searchCtr...", $stateParams);
|
||||
if (dataService.smallDevice()) {
|
||||
$window.location = "http://m.mybookmark.cn/#/tags";
|
||||
return;
|
||||
if ($window.location.hostname.indexOf("b.lucq.fun") >= 0) {
|
||||
$window.location = "http://mb.lucq.fun/#/tags";
|
||||
return;
|
||||
}
|
||||
}
|
||||
pubSubService.publish('Menus.active');
|
||||
|
||||
|
|
|
|||
|
|
@ -1,8 +1,10 @@
|
|||
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);
|
||||
if (dataService.smallDevice()) {
|
||||
$window.location = "http://m.mybookmark.cn/#/tags";
|
||||
return;
|
||||
if ($window.location.hostname.indexOf("b.lucq.fun") >= 0) {
|
||||
$window.location = "http://mb.lucq.fun/#/tags";
|
||||
return;
|
||||
}
|
||||
}
|
||||
pubSubService.publish('Menus.active');
|
||||
|
||||
|
|
|
|||
|
|
@ -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) {
|
||||
console.log("Hello tagsCtr...", $stateParams);
|
||||
if (dataService.smallDevice()) {
|
||||
$window.location = "http://m.mybookmark.cn/#/tags";
|
||||
return;
|
||||
if ($window.location.hostname.indexOf("b.lucq.fun") >= 0) {
|
||||
$window.location = "http://mb.lucq.fun/#/tags";
|
||||
return;
|
||||
}
|
||||
}
|
||||
pubSubService.publish('Menus.active');
|
||||
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -7,7 +7,7 @@
|
|||
<div class="fields">
|
||||
<div class="required eight wide field" ng-class="{error:urlError}">
|
||||
<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 class="required eight wide field" ng-class="{error:titleError}">
|
||||
<label ng-click="restoreTitle()">书签标题</label>
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@
|
|||
<div class="field">
|
||||
<div class="ui submit button" ng-click="login()">登陆</div>
|
||||
<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>
|
||||
</div>
|
||||
</span>
|
||||
|
|
|
|||
|
|
@ -152,9 +152,8 @@
|
|||
</div>
|
||||
<div class="ui container js-p-info" ng-show="form[6]">
|
||||
<h3 class="ui dividing header">赞赏说明</h3>
|
||||
<p>赞赏金额主要用于服务器的租用与域名的费用,对于赞赏有以下几点说明:</p>
|
||||
<p>1、目前租用的服务器每年大概六七百。域名mybookmark.cn我花151元买了五年,2021年11月份到期。域名mybookmark.cn我花151元买了五年,2021年11月份到期。</p>
|
||||
<p>2、赞赏转账的时候,请留言添加“账号 + 书签赞赏”这四个汉字。供我区分。</p>
|
||||
<p>1、如果你觉得我的这个系统帮助到了你,那请我喝杯咖啡吧。</p>
|
||||
<p>2、赞赏转账的时候,请留言添加“书签赞赏”这四个汉字。</p>
|
||||
<h3 class="ui dividing header">赞赏二维码</h3>
|
||||
<div class="ui grid">
|
||||
<div class="one wide column"></div>
|
||||
|
|
|
|||
Loading…
Reference in New Issue