App.vue 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438
  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 url("/components/gaoyia-parse/parse.css");
  16. @import url("/components/css/animate.css");
  17. page {
  18. background: #F8F6F6;
  19. -webkit-text-size-adjust: none
  20. }
  21. .clearfix {
  22. zoom: 1
  23. }
  24. .clearfix:after {
  25. clear: both;
  26. display: block;
  27. visibility: hidden;
  28. overflow: hidden;
  29. height: 0;
  30. content: '\20'
  31. }
  32. button.nt {
  33. background: transparent;
  34. font-size: 12px;
  35. padding: 0;
  36. border-radius: 0;
  37. color: #303033;
  38. margin: 0px;
  39. line-height: 1;
  40. overflow: visible
  41. }
  42. button.nt::after {
  43. border: 0;
  44. }
  45. .fx-r {
  46. display: flex;
  47. flex-direction: row;
  48. flex-wrap: wrap;
  49. }
  50. .fx-h {
  51. display: flex;
  52. flex-direction: column;
  53. }
  54. .fx-ac {
  55. justify-content: center;
  56. }
  57. .fx-as {
  58. justify-content: flex-start;
  59. }
  60. .fx-ae {
  61. justify-content: flex-end;
  62. }
  63. .fx-bc {
  64. align-items: center;
  65. }
  66. .fx-be {
  67. align-items: flex-end;
  68. }
  69. .fx-bs {
  70. align-items: flex-start;
  71. }
  72. .fx-g1 {
  73. flex-grow: 1;
  74. }
  75. .fx-g2 {
  76. flex-grow: 2;
  77. }
  78. .fx-g3 {
  79. flex-grow: 3;
  80. }
  81. .fx-g4 {
  82. flex-grow: 4;
  83. }
  84. .fx-s {
  85. flex-shrink: 0;
  86. }
  87. .pr {
  88. position: relative;
  89. }
  90. .pa {
  91. position: absolute;
  92. }
  93. .fl {
  94. float: left
  95. }
  96. .fr {
  97. float: right
  98. }
  99. .font-14 {
  100. font-size: 14px !important;
  101. }
  102. .font-12 {
  103. font-size: 12px !important;
  104. }
  105. .border-none {
  106. border: none !important;
  107. }
  108. .text-r {
  109. text-align: right
  110. }
  111. .text-l {
  112. text-align: left
  113. }
  114. .dn {
  115. display: none !important;
  116. }
  117. .db {
  118. display: block !important;
  119. }
  120. .mk {
  121. background: #000;
  122. opacity: 0.5;
  123. position: fixed;
  124. top: 0px;
  125. left: 0px;
  126. right: 0px;
  127. bottom: 0px;
  128. z-index: 100
  129. }
  130. @keyframes rotate {
  131. from {
  132. transform: rotate(0deg)
  133. }
  134. to {
  135. transform: rotate(359deg)
  136. }
  137. }
  138. .ihover:active {
  139. opacity: .5
  140. }
  141. .ripple,
  142. button.ripple {
  143. position: relative;
  144. overflow: hidden
  145. }
  146. .ripple:after,
  147. button.ripple:after {
  148. content: "";
  149. background: rgba(255, 255, 255, 0.3);
  150. display: block;
  151. position: absolute;
  152. border-radius: 50%;
  153. padding-top: 240%;
  154. padding-left: 240%;
  155. margin-top: -120%;
  156. margin-left: -120%;
  157. opacity: 0;
  158. transition: all 1s
  159. }
  160. .ripple:active:after,
  161. button.ripple:active:after {
  162. padding-top: 0;
  163. padding-left: 0;
  164. margin-top: 0;
  165. margin-left: 0;
  166. opacity: 1;
  167. transition: 0s
  168. }
  169. .pbl-box {
  170. -moz-column-count: 2;
  171. -webkit-column-count: 2;
  172. column-count: 2;
  173. -moz-column-gap: 5px;
  174. -webkit-column-gap: 5px;
  175. }
  176. .pbl-item {
  177. -webkit-column-break-inside: avoid;
  178. -moz-page-break-inside: avoid;
  179. -webkit-column-break-inside: avoid;
  180. break-inside: avoid;
  181. }
  182. .app-more {
  183. text-align: center;
  184. height: 30px;
  185. }
  186. .app-more image {
  187. width: 20px;
  188. height: 20px;
  189. animation: rotate 1.5s linear infinite;
  190. margin-right: 4px;
  191. }
  192. .app-more text {
  193. margin-left: 3px;
  194. position: relative;
  195. top: -4px;
  196. font-size: 12px;
  197. }
  198. .app-more-button {
  199. position: relative;
  200. height: 30px;
  201. }
  202. .app-more-button text {
  203. padding: 0px 20px;
  204. background: #f2f2f2;
  205. }
  206. .app-more-button .hr {
  207. background: #e5e5e5;
  208. width: 90%;
  209. height: 1px;
  210. margin-left: 5%;
  211. position: absolute;
  212. top: 16px;
  213. }
  214. .app-more-button .a-m-c {
  215. position: absolute;
  216. z-index: 9;
  217. width: 100%;
  218. height: 30px;
  219. }
  220. .placeholder-style {
  221. color: #d5d5d9;
  222. font-size: 15px;
  223. }
  224. .placeholder-style2 {
  225. color: #666666;
  226. font-size: 14px;
  227. }
  228. .placeholder-999 {
  229. color: #999999;
  230. font-size: 12px;
  231. }
  232. /*****超出一行省略*****/
  233. .shenlueStyle {
  234. overflow: hidden;
  235. white-space: nowrap;
  236. text-overflow: ellipsis
  237. }
  238. .shenlueStyle2 {
  239. text-overflow: -o-ellipsis-lastline;
  240. overflow: hidden;
  241. text-overflow: ellipsis;
  242. display: -webkit-box;
  243. -webkit-line-clamp: 2;
  244. line-clamp: 2;
  245. -webkit-box-orient: vertical;
  246. }
  247. .shenlueStyle3 {
  248. text-overflow: -o-ellipsis-lastline;
  249. overflow: hidden;
  250. text-overflow: ellipsis;
  251. display: -webkit-box;
  252. -webkit-line-clamp: 3;
  253. line-clamp: 3;
  254. -webkit-box-orient: vertical;
  255. }
  256. .bgChangColor {
  257. background: linear-gradient(to right, #ff6879, #e81a62)
  258. }
  259. .scrollHide::-webkit-scrollbar {
  260. width: 0;
  261. height: 0;
  262. color: transparent;
  263. }
  264. .font-size18 {
  265. font-size: 18px !important;
  266. }
  267. img[lazy=loading] {
  268. opacity: 0;
  269. }
  270. img[lazy=loaded] {
  271. transition: opacity 1s ease;
  272. }
  273. .loading {
  274. text-align: center;
  275. height: 30px;
  276. color: #4A2723;
  277. line-height: 30px;
  278. width: 100%;
  279. }
  280. .loading image {
  281. width: 20px;
  282. height: 20px;
  283. animation: rotate 1.5s linear infinite;
  284. margin-right: 4px;
  285. }
  286. .loading text {
  287. margin-left: 3px;
  288. position: relative;
  289. font-size: 12px;
  290. }
  291. .loading.complete {
  292. font-size: 14px;
  293. color: #ccc;
  294. padding: 10px 0;
  295. }
  296. @keyframes rotate {
  297. from {
  298. transform: rotate(0deg)
  299. }
  300. to {
  301. transform: rotate(359deg)
  302. }
  303. }
  304. @keyframes posterScale {
  305. 0% {
  306. transform: scale(0.9);
  307. }
  308. 100% {
  309. transform: scale(1.2);
  310. }
  311. }
  312. ::-webkit-scrollbar {
  313. width: 0;
  314. height: 0;
  315. color: transparent;
  316. }
  317. .load-app {
  318. position: absolute;
  319. width: 100%;
  320. height: 100%;
  321. top: 0;
  322. left: 0;
  323. }
  324. .load-app image {
  325. width: 60px;
  326. height: 60px;
  327. }
  328. .load-app .tipbb {
  329. font-size: 14px;
  330. color: #ccc;
  331. background: #ccc -webkit-linear-gradient(left, #ccc, #7d7b7b 50%, #474646 90%, #ccc) no-repeat 0 0;
  332. background-size: 20% 100%;
  333. -webkit-background-clip: text;
  334. -webkit-text-fill-color: transparent;
  335. text-align: center;
  336. font-weight: bold;
  337. text-decoration: underline;
  338. }
  339. .load-app .tipbb {
  340. -webkit-animation: slideShine 2s linear infinite;
  341. animation: slideShine 2s linear infinite;
  342. margin-top: 10px;
  343. }
  344. @-webkit-keyframes slideShine {
  345. 0% {
  346. background-position: 0 0;
  347. }
  348. 100% {
  349. background-position: 100% 100%;
  350. }
  351. }
  352. @keyframes slideShine {
  353. 0% {
  354. background-position: 0 0;
  355. }
  356. 100% {
  357. background-position: 100% 100%;
  358. }
  359. }
  360. </style>