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> <p style="color: #666">To Be The Best QRCode Payment Service Provider!</p>
</div> </div>
</div> </div>
<header ng-if="headerDisplay" class="main-header">
<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"> <nav style="margin-left: 0px" class="navbar navbar-static-top navbar-static-top-yedian" role="navigation">
<!-- Logo --> <!-- 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 --> <!-- mini logo for sidebar mini 50x50 pixels -->
<span class="logo-mini"><img src="static/images/r_white_logo.svg" <span class="logo-mini"><img src="static/images/r_white_logo.svg"
style="max-height: 35px;margin-left: 15%;"></span> style="max-height: 35px;margin-left: 15%;"></span>
@ -151,7 +155,7 @@ margin-bottom: 10%;"/>
<!--<b>RoyalPay</b>--> <!--<b>RoyalPay</b>-->
</span> </span>
</a> </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 --> <!-- mini logo for sidebar mini 50x50 pixels -->
<span class="logo-mini"><img ng-src="{{currentUser.org.logo}}" <span class="logo-mini"><img ng-src="{{currentUser.org.logo}}"
style="max-height: 35px;margin-bottom: 8px;margin-right: 5px;"></span> style="max-height: 35px;margin-bottom: 8px;margin-right: 5px;"></span>
@ -239,20 +243,18 @@ margin-bottom: 10%;"/>
</ul> </ul>
</div> </div>
</nav> </nav>
</header> </header>
<div ng-if="currentUser!=null" ng-cloak <div style="min-height: 890px" ui-view>
ng-class="currentUser.org?(currentUser.org.banner_class||'fxplus'):'royalpay'" ui-view> <div class="backgroud">
<div class="backgroud"> <div class="total_logo">
<div class="total_logo">
<a><img src="/static/images/manage_total_logo.png"> </a> <a><img src="/static/images/manage_total_logo.png"> </a>
<div class="easypay"> <div class="easypay">
<b>Easy BusinessEasy Payment!</b> <b>Easy BusinessEasy Payment!</b>
</div> </div>
</div> </div>
<div style="margin: 0 auto;display: flex;padding-top: 40px;padding-bottom:0.5%;width: 60%;flex-wrap:wrap"> <div style="margin: 0 auto;display: flex;padding-top: 40px;padding-bottom:0.5%;width: 60%;flex-wrap:wrap">
<div class="box-items" ng-if="'10'|withRole"> <div class="box-items" ng-if="'10'|withRole">
<a ng-click="headerShow()" ui-sref="listMenu({role:'Compliance'})" ui-sref-opts="{reload:true}"> <a ng-click="headerShow()" ui-sref="listMenu({role:'Compliance'})" ui-sref-opts="{reload:true}">
<div class="boxs"> <div class="boxs">
@ -263,7 +265,7 @@ margin-bottom: 10%;"/>
</div> </div>
<div class="box-items" ng-if="'10000000000'|withRole"> <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"> <div class="boxs">
<img src="/static/images/manage/menu_2.png"> <img src="/static/images/manage/menu_2.png">
</div> </div>
@ -272,7 +274,7 @@ margin-bottom: 10%;"/>
</div> </div>
<div class="box-items" ng-if="'100000'|withRole"> <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"> <div class="boxs">
<img src="/static/images/manage/menu_3.png"> <img src="/static/images/manage/menu_3.png">
</div> </div>
@ -281,7 +283,7 @@ margin-bottom: 10%;"/>
</div> </div>
<div class="box-items" ng-if="'1000'|withRole"> <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"> <div class="boxs">
<img src="/static/images/manage/menu_4.png"> <img src="/static/images/manage/menu_4.png">
</div> </div>
@ -290,7 +292,7 @@ margin-bottom: 10%;"/>
</div> </div>
<div class="box-items" ng-if="'100'|withRole"> <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"> <div class="boxs">
<img src="/static/images/manage/menu_5.png"> <img src="/static/images/manage/menu_5.png">
</div> </div>
@ -299,7 +301,7 @@ margin-bottom: 10%;"/>
</div> </div>
<div class="box-items" ng-if="'10000'|withRole"> <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"> <div class="boxs">
<img src="/static/images/manage/menu_6.png"> <img src="/static/images/manage/menu_6.png">
</div> </div>
@ -308,7 +310,7 @@ margin-bottom: 10%;"/>
</div> </div>
<div class="box-items" ng-if="'1'|withRole"> <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"> <div class="boxs">
<img src="/static/images/manage/menu_7.png"> <img src="/static/images/manage/menu_7.png">
</div> </div>
@ -317,7 +319,7 @@ margin-bottom: 10%;"/>
</div> </div>
<div class="box-items" ng-if="'10000000'|withRole"> <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"> <div class="boxs">
<img src="/static/images/manage/menu_8.png"> <img src="/static/images/manage/menu_8.png">
</div> </div>
@ -326,7 +328,7 @@ margin-bottom: 10%;"/>
</div> </div>
<div class="box-items" ng-if="'100000000'|withRole"> <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"> <div class="boxs">
<img src="/static/images/manage/menu_9.png"> <img src="/static/images/manage/menu_9.png">
</div> </div>
@ -335,21 +337,23 @@ margin-bottom: 10%;"/>
</div> </div>
<div class="box-items" ng-if="'1000000'|withRole"> <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"> <div class="boxs">
<img src="/static/images/manage/menu_10.png"> <img src="/static/images/manage/menu_10.png">
</div> </div>
<p class="box-font">Director</p> <p class="box-font">Director</p>
</a> </a>
</div> </div>
</div> </div>
<div style="text-align: center"> <div style="text-align: center">
<footer> <footer>
<strong>Copyright © 2015-2017 <a href="http://www.royalpay.com.au">RoyalPay</a>.</strong> All rights <strong>Copyright © 2015-2017 <a href="http://www.royalpay.com.au">RoyalPay</a>.</strong> All rights
reserved. reserved.
</footer> </footer>
</div> </div>
</div> </div>
</div>
<footer ng-if="copyright" class="main-footer" style="margin-left: 0px"> <footer ng-if="copyright" class="main-footer" style="margin-left: 0px">
<div class="pull-right hidden-xs"> <div class="pull-right hidden-xs">
<b>Easy BusinessEasy Pay</b> <b>Easy BusinessEasy Pay</b>
@ -357,6 +361,7 @@ margin-bottom: 10%;"/>
<strong>Copyright © 2015-2017 <a href="http://www.royalpay.com.au">RoyalPay</a>.</strong> All rights <strong>Copyright © 2015-2017 <a href="http://www.royalpay.com.au">RoyalPay</a>.</strong> All rights
reserved. reserved.
</footer> </footer>
</div> </div>
</body> </body>
</html> </html>

@ -17,8 +17,14 @@ define(['angular', 'angularSanitize', 'angularAnimate', 'angularMessages', 'uiRo
}]); }]);
app.controller('managerIndexCtrl', ['$scope', '$rootScope', '$http', '$log', '$timeout', '$interval', '$uibModal', '$filter', 'myLoginLogView', 'commonDialog', app.controller('managerIndexCtrl', ['$scope', '$rootScope', '$http', '$log', '$timeout', '$interval', '$uibModal', '$filter', 'myLoginLogView', 'commonDialog',
function ($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.headerDisplay = false;
$scope.copyright = false; $scope.copyright = false;
}else{
$scope.headerDisplay = true;
$scope.copyright = true;
}
$scope.headerShow = function () { $scope.headerShow = function () {
$scope.headerDisplay = true; $scope.headerDisplay = true;

Loading…
Cancel
Save