App.vue 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229
  1. <script>
  2. export default {
  3. onLaunch: function() {
  4. console.log('App Launch')
  5. },
  6. onShow: function() {
  7. console.log('App Show')
  8. },
  9. onHide: function() {
  10. console.log('App Hide')
  11. }
  12. }
  13. </script>
  14. <style>
  15. @import "~@/static/css/tiku.css";
  16. /*每个页面公共css */
  17. @import "./static/font/iconfont.css";
  18. /*占位符*/
  19. .lz-status_bar {
  20. height: var(--status-bar-height);
  21. width: 100%;
  22. background-color: #fff;
  23. }
  24. .lz-top_view {
  25. height: var(--status-bar-height);
  26. width: 100%;
  27. position: fixed;
  28. background-color: #fff;
  29. top: 0;
  30. z-index: 999;
  31. }
  32. /*头部样式*/
  33. .kaoshi-head{
  34. background: #fff;
  35. top: var(--status-bar-height);
  36. z-index: 100;
  37. border-bottom: solid 1px #f6f7f9;
  38. }
  39. .kaoshi-head-left .icon-zuojiantou{
  40. font-size: 20px;
  41. }
  42. .kaoshi-head-top{
  43. display: flex;
  44. font-size: 16px;
  45. color: #000;
  46. align-items: center;
  47. width: 93%;
  48. margin: 0 auto;
  49. line-height: 50px;
  50. }
  51. .kaoshi-head .kaoshi-head-left{width: 20%;display: flex;align-items: center;}
  52. .kaoshi-head .kaoshi-head-left .iconfont{font-size: 18px;}
  53. .kaoshi-head .kaoshi-head-m{
  54. width: 60%;
  55. text-align: center;
  56. font-size: 18px !important;
  57. text-overflow: ellipsis;
  58. overflow: hidden;
  59. display: -webkit-box;
  60. -webkit-line-clamp: 1;
  61. -webkit-box-orient: vertical;
  62. word-break: break-all;
  63. font-weight: bold !important;
  64. }
  65. .kaoshi-head .kaoshi-head-right{width: 20%;text-align: right;}
  66. .kaoshi-head-right .iconfont{
  67. font-size: 23px;
  68. }
  69. .pub-flex-1 {
  70. flex: 1;
  71. }
  72. .pub-gray{
  73. color: #b4b3b3;
  74. }
  75. .pub-s-gray {
  76. color: #616161;
  77. }
  78. .pub-orange{
  79. color: #ffb500
  80. }
  81. .pub-green{
  82. color: #0ec358;
  83. }
  84. .pub-red{
  85. color: #ff4c4c
  86. }
  87. .green-background{
  88. background: #0ec358;
  89. border: solid 1px #0ec358!important;
  90. color: #fff;
  91. }
  92. .orange-background{
  93. background: #ffb500;
  94. border: solid 1px #ffb500!important;
  95. color: #fff;
  96. }
  97. .red-background{
  98. background: #ff4c4c;
  99. border: solid 1px #ff4c4c!important;
  100. color: #fff;
  101. }
  102. .dai{
  103. border: solid 1px #0081ff!important;
  104. }
  105. .exam-tan-button {
  106. text-align: center;
  107. }
  108. .white-background{
  109. background: #fff
  110. }
  111. .vip{
  112. width: 35px;
  113. color: #ffecd5;
  114. border-radius: 5px;
  115. padding: 4px 6px;
  116. font-size: 11px;
  117. margin-left: 4px;
  118. display: inline-block;
  119. background-image: linear-gradient(to left, #4b444c, #000);
  120. }
  121. .vip image{
  122. width: 14px;
  123. height: 14px;
  124. float: left;
  125. margin-right: 3px;
  126. }
  127. /* 弹窗 */
  128. .lz-modal {
  129. position: fixed;
  130. top: 0;
  131. right: 0;
  132. bottom: 0;
  133. left: 0;
  134. z-index: 999;
  135. opacity: 0;
  136. outline: 0;
  137. text-align: center;
  138. backface-visibility: hidden;
  139. perspective: 1000px;
  140. background: rgba(0,0,0,.4);
  141. transition: all .3s ease-in-out 0s;
  142. pointer-events: none;
  143. }
  144. .lz-modal .lz-modal-dialog {
  145. position: relative;
  146. display: inline-block;
  147. vertical-align: middle;
  148. margin-left: auto;
  149. margin-right: auto;
  150. width: 81%;
  151. max-width: 100%;
  152. background-color: #fff;
  153. border-radius: 10px;
  154. overflow: hidden;
  155. }
  156. .lz-modal::before {
  157. content: "\200B";
  158. display: inline-block;
  159. height: 100%;
  160. vertical-align: middle;
  161. }
  162. .lz-list-header{
  163. display: flex;
  164. flex-direction: row;
  165. width: 89%;
  166. margin: 0 auto;
  167. padding: 14px 0;
  168. align-items: center;
  169. justify-content: space-between;
  170. font-size: 17px;
  171. color: #000;
  172. }
  173. .lz-list-header .iconfont{
  174. color: #c5c5c5;
  175. }
  176. .lz-list-item .lz-list-line .lz-list-content {
  177. flex: 1;
  178. color: #000;
  179. font-size: 15px;
  180. line-height: 1.5;
  181. text-align: left;
  182. width: auto;
  183. overflow: hidden;
  184. text-overflow: ellipsis;
  185. white-space: nowrap;
  186. padding: 10px 0;
  187. margin: 0 18px 12px;
  188. border: solid 1px #dfdfdf;
  189. padding-left: 11px;
  190. }
  191. .lz-list-item uni-input {
  192. font-size: 14px;
  193. }
  194. .lz-list-body::before {
  195. border-bottom: none;
  196. }
  197. .lz-list-body::before {
  198. border-top:none;
  199. }
  200. .primary {
  201. width: 92%;
  202. margin: 0 auto;
  203. background: #3c7bfc !important;
  204. color: #fff !important;
  205. border-radius: 6px;
  206. font-size: 16px;
  207. }
  208. .lz-list-header .icon-cuo1{
  209. font-size: 17px;
  210. color: #9e9e9e;
  211. }
  212. .lz-modal.lz-modal-show {
  213. opacity: 1;
  214. transition-duration: .3s;
  215. transform: scale(1);
  216. overflow-x: hidden;
  217. overflow-y: auto;
  218. pointer-events: auto;
  219. }
  220. .search-wuc .cur .cur-line{
  221. width: 17px !important;
  222. }
  223. .my-kf .uni-list-cell__container {
  224. padding: 9px 15px !important;
  225. }
  226. </style>