fix something

master
luoyang 6 years ago
parent 419758b21f
commit 53f60669a3

@ -136,12 +136,16 @@ margin-bottom: 10%;"/>
<p style="color: #666">To Be The Best QRCode Payment Service Provider!</p>
</div>
</div>
<div ng-if="currentUser!=null" ng-cloak
ng-class="currentUser.org?(currentUser.org.banner_class||'fxplus'):'royalpay'">
<header ng-if="headerDisplay" class="main-header">
<nav style="margin-left: 0px" class="navbar navbar-static-top navbar-static-top-yedian" role="navigation">
<!-- Logo -->
<a href="#" class="logo logo-yedian shine" ng-if="!currentUser.org">
<a href="#" onclick="location.reload()" class="logo logo-yedian shine" ng-if="!currentUser.org">
<!-- mini logo for sidebar mini 50x50 pixels -->
<span class="logo-mini"><img src="static/images/r_white_logo.svg"
style="max-height: 35px;margin-left: 15%;"></span>
@ -151,7 +155,7 @@ margin-bottom: 10%;"/>
<!--<b>RoyalPay</b>-->
</span>
</a>
<a href="#" class="logo logo-yedian shine" ng-if="currentUser.org">
<a href="#" onclick="location.reload()" class="logo logo-yedian shine" ng-if="currentUser.org">
<!-- mini logo for sidebar mini 50x50 pixels -->
<span class="logo-mini"><img ng-src="{{currentUser.org.logo}}"
style="max-height: 35px;margin-bottom: 8px;margin-right: 5px;"></span>
@ -240,10 +244,8 @@ margin-bottom: 10%;"/>
</div>
</nav>
</header>
<div ng-if="currentUser!=null" ng-cloak
ng-class="currentUser.org?(currentUser.org.banner_class||'fxplus'):'royalpay'" ui-view>
<div style="min-height: 890px" ui-view>
<div class="backgroud">
<div class="total_logo">
<a><img src="/static/images/manage_total_logo.png"> </a>
<div class="easypay">
@ -263,7 +265,7 @@ margin-bottom: 10%;"/>
</div>
<div class="box-items" ng-if="'10000000000'|withRole">
<a ui-sref="listMenu({role:'RiskManager'})" ui-sref-opts="{reload:true}">
<a ng-click="headerShow()" ui-sref="listMenu({role:'RiskManager'})" ui-sref-opts="{reload:true}">
<div class="boxs">
<img src="/static/images/manage/menu_2.png">
</div>
@ -272,7 +274,7 @@ margin-bottom: 10%;"/>
</div>
<div class="box-items" ng-if="'100000'|withRole">
<a ui-sref="listMenu({role:'AccountManager'})" ui-sref-opts="{reload:true}">
<a ng-click="headerShow()" ui-sref="listMenu({role:'AccountManager'})" ui-sref-opts="{reload:true}">
<div class="boxs">
<img src="/static/images/manage/menu_3.png">
</div>
@ -281,7 +283,7 @@ margin-bottom: 10%;"/>
</div>
<div class="box-items" ng-if="'1000'|withRole">
<a ui-sref="listMenu({role:'Accountant'})" ui-sref-opts="{reload:true}">
<a ng-click="headerShow()" ui-sref="listMenu({role:'Accountant'})" ui-sref-opts="{reload:true}">
<div class="boxs">
<img src="/static/images/manage/menu_4.png">
</div>
@ -290,7 +292,7 @@ margin-bottom: 10%;"/>
</div>
<div class="box-items" ng-if="'100'|withRole">
<a ui-sref="listMenu({role:'BDUser'})" ui-sref-opts="{reload:true}">
<a ng-click="headerShow()" ui-sref="listMenu({role:'BDUser'})" ui-sref-opts="{reload:true}">
<div class="boxs">
<img src="/static/images/manage/menu_5.png">
</div>
@ -299,7 +301,7 @@ margin-bottom: 10%;"/>
</div>
<div class="box-items" ng-if="'10000'|withRole">
<a ui-sref="listMenu({role:'Service'})" ui-sref-opts="{reload:true}">
<a ng-click="headerShow()" ui-sref="listMenu({role:'Service'})" ui-sref-opts="{reload:true}">
<div class="boxs">
<img src="/static/images/manage/menu_6.png">
</div>
@ -308,7 +310,7 @@ margin-bottom: 10%;"/>
</div>
<div class="box-items" ng-if="'1'|withRole">
<a ui-sref="listMenu({role:'Administrator'})" ui-sref-opts="{reload:true}">
<a ng-click="headerShow()" ui-sref="listMenu({role:'Administrator'})" ui-sref-opts="{reload:true}">
<div class="boxs">
<img src="/static/images/manage/menu_7.png">
</div>
@ -317,7 +319,7 @@ margin-bottom: 10%;"/>
</div>
<div class="box-items" ng-if="'10000000'|withRole">
<a ui-sref="listMenu({role:'SiteManager'})" ui-sref-opts="{reload:true}">
<a ng-click="headerShow()" ui-sref="listMenu({role:'SiteManager'})" ui-sref-opts="{reload:true}">
<div class="boxs">
<img src="/static/images/manage/menu_8.png">
</div>
@ -326,7 +328,7 @@ margin-bottom: 10%;"/>
</div>
<div class="box-items" ng-if="'100000000'|withRole">
<a ui-sref="listMenu({role:'Developer'})" ui-sref-opts="{reload:true}">
<a ng-click="headerShow()" ui-sref="listMenu({role:'Developer'})" ui-sref-opts="{reload:true}">
<div class="boxs">
<img src="/static/images/manage/menu_9.png">
</div>
@ -335,7 +337,7 @@ margin-bottom: 10%;"/>
</div>
<div class="box-items" ng-if="'1000000'|withRole">
<a ui-sref="listMenu({role:'Director'})" ui-sref-opts="{reload:true}">
<a ng-click="headerShow()" ui-sref="listMenu({role:'Director'})" ui-sref-opts="{reload:true}">
<div class="boxs">
<img src="/static/images/manage/menu_10.png">
</div>
@ -343,11 +345,13 @@ margin-bottom: 10%;"/>
</a>
</div>
</div>
<div style="text-align: center">
<footer>
<strong>Copyright © 2015-2017 <a href="http://www.royalpay.com.au">RoyalPay</a>.</strong> All rights
reserved.
</footer>
</div>
</div>
</div>
<footer ng-if="copyright" class="main-footer" style="margin-left: 0px">
@ -358,5 +362,6 @@ margin-bottom: 10%;"/>
reserved.
</footer>
</div>
</body>
</html>

@ -17,8 +17,14 @@ define(['angular', 'angularSanitize', 'angularAnimate', 'angularMessages', 'uiRo
}]);
app.controller('managerIndexCtrl', ['$scope', '$rootScope', '$http', '$log', '$timeout', '$interval', '$uibModal', '$filter', 'myLoginLogView', 'commonDialog',
function ($scope, $rootScope, $http, $log, $timeout, $interval, $uibModal, $filter, myLoginLogView, commonDialog) {
if (window.location.hash == "" || window.location.hash == "#/") {
$scope.headerDisplay = false;
$scope.copyright = false;
}else{
$scope.headerDisplay = true;
$scope.copyright = true;
}
$scope.headerShow = function () {
$scope.headerDisplay = true;

Loading…
Cancel
Save