alertBar.html 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174
  1. <style type="text/css">
  2. body {
  3. font-size: 14px;
  4. line-height: 180%;
  5. margin-top: 0px;
  6. margin-right: 0px;
  7. margin-bottom: 0px;
  8. margin-left: 0px;
  9. color: #666666;
  10. background-color: #DDE9F4;
  11. }
  12. .mask {
  13. position: fixed;
  14. top: 0px;
  15. left: 0px;
  16. width: 100%;
  17. height: 100%;
  18. filter: alpha(opacity=60);
  19. background-color: #777;
  20. z-index: 1;
  21. background: rgba(0, 0, 0, .3);
  22. }
  23. .md {
  24. width: 400px;
  25. height: 200px;
  26. position: absolute;
  27. left: 50%;
  28. top: 50%;
  29. margin-left: -200px;
  30. margin-top: -200px;
  31. /*border: 1px #000 solid;*/
  32. z-index: 9999 !important;
  33. /*text-align: center;*/
  34. /*background-color: white;*/
  35. }
  36. A {
  37. font-size: 14px;
  38. TEXT-DECORATION: none;
  39. color: #666666;
  40. }
  41. A:link {
  42. font-size: 14px;
  43. TEXT-DECORATION: none;
  44. color: #666666;
  45. }
  46. A:visited {
  47. font-size: 14px;
  48. TEXT-DECORATION: none;
  49. color: #333333;
  50. }
  51. A:hover {
  52. font-size: 14px;
  53. TEXT-DECORATION: none;
  54. color: #008AD5;
  55. }
  56. A:active {
  57. font-size: 14px;
  58. TEXT-DECORATION: none;
  59. color: #008AD5;
  60. }
  61. table {
  62. font-size: 14px;
  63. line-height: 180%;
  64. color: #5A5A5A;
  65. font-family: "Microsoft YaHei", "微软雅黑", "Microsoft JhengHei";
  66. }
  67. td,
  68. tr {
  69. font-size: 14px;
  70. line-height: 180%;
  71. color: #5A5A5A;
  72. font-family: "Microsoft YaHei", "微软雅黑", "Microsoft JhengHei";
  73. }
  74. .z1 {
  75. font-size: 14px;
  76. line-height: 180%;
  77. color: #A3A3A3;
  78. font-family: "Microsoft YaHei", "微软雅黑", "Microsoft JhengHei";
  79. TEXT-DECORATION: none;
  80. }
  81. .z7 {
  82. font-size: 16px;
  83. line-height: 150%;
  84. color: #ffffff;
  85. font-family: "Microsoft YaHei", "微软雅黑", "Microsoft JhengHei";
  86. TEXT-DECORATION: none;
  87. }
  88. .z7 A {
  89. font-size: 16px;
  90. line-height: 150%;
  91. color: #ffffff;
  92. font-family: "Microsoft YaHei", "微软雅黑", "Microsoft JhengHei";
  93. TEXT-DECORATION: none;
  94. }
  95. .alert_bg1 {
  96. background-color: #ffffff;
  97. box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
  98. -webkit-box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
  99. -moz-box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
  100. padding: 10px 10px 10px 10px;
  101. border-radius: 5px;
  102. width: 600px;
  103. }
  104. .bt4 {
  105. color: #ffffff;
  106. height: 36px;
  107. width: 90px;
  108. border-radius: 2px;
  109. font-size: 14px;
  110. font-family: "Microsoft YaHei", "微软雅黑", "Microsoft JhengHei";
  111. background-color: #45A9E7;
  112. border-top-style: none;
  113. border-right-style: none;
  114. border-bottom-style: none;
  115. border-left-style: none;
  116. }
  117. .bt5 {
  118. color: #999999;
  119. ;
  120. height: 36px;
  121. width: 90px;
  122. border-radius: 2px;
  123. font-size: 14px;
  124. font-family: "Microsoft YaHei", "微软雅黑", "Microsoft JhengHei";
  125. border: #D5D5D5 1px solid;
  126. background-color: #ffffff;
  127. }
  128. </style>
  129. <table width="100%" border="0" cellspacing="20" cellpadding="0" class="mask" ng-show="message">
  130. <tr class="md">
  131. <td valign="bottom" class="alert_bg1" style="background-image:url(assets/images/main_title_bg1.jpg);background-repeat: no-repeat;background-position: left top;">
  132. <table width="100%" border="0" cellspacing="0" cellpadding="0">
  133. <tr>
  134. <td width="30" class="title">&nbsp;</td>
  135. <td class="z7">{{title}}</td>
  136. <td align="right">
  137. <a ng-click="hideAlert()"><img src="assets/images/close_24.png" width="24" height="24" border="0"></a>
  138. </td>
  139. </tr>
  140. </table>
  141. <table width="100%" border="0" cellspacing="0" cellpadding="5">
  142. <tr>
  143. <td height="20"></td>
  144. </tr>
  145. <tr>
  146. <td height="60" align="center">{{message}}</td>
  147. </tr>
  148. <tr>
  149. <td align="center" class="z1"><input name="button" type="submit" class="bt4" id="button" value="确认" ng-click="hideAlert()">
  150. <!--<input name="button2" type="submit" class="bt5" id="button2" value="取消">-->
  151. </td>
  152. </tr>
  153. </table>
  154. </td>
  155. </tr>
  156. </table>