自己不想看热门了......
This commit is contained in:
parent
d65b121d9f
commit
2d59d2839d
|
|
@ -9,6 +9,7 @@ app.controller('menuCtr', ['$scope', '$stateParams', '$state', '$window', '$time
|
||||||
$scope.historyTypes = dataService.historyTypes;
|
$scope.historyTypes = dataService.historyTypes;
|
||||||
$scope.quickUrl = {};
|
$scope.quickUrl = {};
|
||||||
$scope.longPress = false;
|
$scope.longPress = false;
|
||||||
|
$scope.user = {};
|
||||||
|
|
||||||
// 防止在登陆的情况下,在浏览器里面直接输入url,这时候要更新菜单选项
|
// 防止在登陆的情况下,在浏览器里面直接输入url,这时候要更新菜单选项
|
||||||
pubSubService.subscribe('Common.menuActive', $scope, function (event, params) {
|
pubSubService.subscribe('Common.menuActive', $scope, function (event, params) {
|
||||||
|
|
@ -25,6 +26,17 @@ app.controller('menuCtr', ['$scope', '$stateParams', '$state', '$window', '$time
|
||||||
$scope.loginMenus = dataService.loginMenus; // 登陆之后显示的菜单数据。uiSerf:内部跳转链接。
|
$scope.loginMenus = dataService.loginMenus; // 登陆之后显示的菜单数据。uiSerf:内部跳转链接。
|
||||||
$scope.notLoginMenus = dataService.notLoginMenus; // 未登陆显示的菜单数据
|
$scope.notLoginMenus = dataService.notLoginMenus; // 未登陆显示的菜单数据
|
||||||
|
|
||||||
|
bookmarkService.userInfo({})
|
||||||
|
.then((data) => {
|
||||||
|
$scope.user = data;
|
||||||
|
if(data.username === 'lcq') {
|
||||||
|
$scope.loginMenus = $scope.loginMenus.filter(item => item.uiSref !== 'hot');
|
||||||
|
}
|
||||||
|
})
|
||||||
|
.catch((err) => {
|
||||||
|
|
||||||
|
});
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @func
|
* @func
|
||||||
* @desc 点击搜索按钮搜索书签
|
* @desc 点击搜索按钮搜索书签
|
||||||
|
|
|
||||||
|
|
@ -62,17 +62,17 @@
|
||||||
<i class="add square icon"></i>
|
<i class="add square icon"></i>
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="item" style="padding:0 8px 0 13px;" ng-click="star()">
|
<div class="item" style="padding:0 8px 0 13px;" ng-click="star()" ng-show="user.username !== 'lcq'">
|
||||||
<span data-tooltip="如果你觉得我的系统对你有帮助,请点击跳转到 Github 为我 Star">
|
<span data-tooltip="如果你觉得我的系统对你有帮助,请点击跳转到 Github 为我 Star">
|
||||||
<i class="star icon"></i>
|
<i class="star icon"></i>
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="item" style="padding:0 8px 0 13px;" ng-click="showUpdate()">
|
<div class="item" style="padding:0 8px 0 13px;" ng-click="showUpdate()" ng-show="user.username !== 'lcq'">
|
||||||
<span class="suggest">
|
<span class="suggest">
|
||||||
<i class="info circle icon"></i>
|
<i class="info circle icon"></i>
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="item" style="padding:0 8px 0 13px;" ng-click="coffee()">
|
<div class="item" style="padding:0 8px 0 13px;" ng-click="coffee()" ng-show="user.username !== 'lcq'">
|
||||||
<span data-tooltip="请我喝杯咖啡">
|
<span data-tooltip="请我喝杯咖啡">
|
||||||
<i class="coffee icon"></i>
|
<i class="coffee icon"></i>
|
||||||
</span>
|
</span>
|
||||||
|
|
|
||||||
|
|
@ -220,7 +220,7 @@
|
||||||
<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>赞赏金额主要用于服务器的租用与域名的费用,对于赞赏有以下几点说明:</p>
|
||||||
<p>1、目前租用的服务器Vultr,每月5$,折合人名币大概35元/月。如果有新用户想购买Vultr服务器的,可以点击<a href="http://www.vultr.com/?ref=6902013" target="_blank">链接</a>进行购买,这样你我将都能得到10$。域名mybookmark.cn我花151元买了五年,2021年11月份到期。</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">
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue