graceUI.css 16 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145
  1. /* #ifdef MP-BAIDU */
  2. @import "iconsforbaidu.css";
  3. /* #endif */
  4. /* 规划 H5 端字体 */
  5. /* #ifdef H5 */
  6. body {
  7. font-family: -apple-system, Helvetica, sans-serif, Arial;
  8. }
  9. /* #endif */
  10. /* 图标加载 */
  11. /* #ifndef APP-NVUE */
  12. /* #ifndef MP-BAIDU */
  13. @font-face {
  14. font-family: "gui-iconfont";
  15. font-weight: normal;
  16. font-style: normal;
  17. /* src : url('@/static/grace.ttf') format('truetype'); */
  18. }
  19. /* #endif */
  20. .gui-icons {
  21. font-family: "gui-iconfont";
  22. font-style: normal;
  23. }
  24. /* #endif */
  25. /* 页面主体结构 */
  26. .gui-body {
  27. width: 750rpx;
  28. }
  29. /* 去除图片空白 */
  30. .gui-img-in {
  31. font-size: 0;
  32. }
  33. /* #ifndef APP-NVUE */
  34. .gui-flex {
  35. display: flex;
  36. }
  37. .gui-border-box {
  38. box-sizing: border-box;
  39. }
  40. .gui-body {
  41. width: 750rpx;
  42. box-sizing: border-box;
  43. }
  44. /* #endif */
  45. /* flex 布局 */
  46. .gui-rows {
  47. flex-direction: row;
  48. }
  49. .gui-row {
  50. flex-direction: row;
  51. }
  52. .gui-columns {
  53. flex-direction: column;
  54. }
  55. .gui-column {
  56. flex-direction: column;
  57. }
  58. .gui-wrap {
  59. flex-direction: row;
  60. flex-wrap: wrap;
  61. }
  62. .gui-nowrap {
  63. flex-direction: row;
  64. flex-wrap: nowrap;
  65. }
  66. .gui-space-around {
  67. justify-content: space-around;
  68. }
  69. .gui-space-between {
  70. justify-content: space-between;
  71. }
  72. .gui-justify-content-start {
  73. justify-content: flex-start;
  74. }
  75. .gui-justify-content-center {
  76. justify-content: center;
  77. }
  78. .gui-justify-content-end {
  79. justify-content: flex-end;
  80. }
  81. .gui-align-items-start {
  82. align-items: flex-start;
  83. }
  84. .gui-align-items-center {
  85. align-items: center;
  86. }
  87. .gui-align-items-end {
  88. align-items: flex-end;
  89. }
  90. .gui-flex1 {
  91. flex: 1;
  92. }
  93. /* 文本对齐 */
  94. .gui-text-left {
  95. text-align: left;
  96. }
  97. .gui-text-center {
  98. text-align: center;
  99. }
  100. .gui-text-right {
  101. text-align: right;
  102. }
  103. .gui-ellipsis {
  104. overflow: hidden;
  105. }
  106. /* #ifndef APP-NVUE */
  107. .gui-ellipsis {
  108. white-space: nowrap;
  109. text-overflow: ellipsis;
  110. }
  111. .gui-block-text {
  112. display: block;
  113. }
  114. /* #endif */
  115. /* 文本修饰 */
  116. .gui-bold {
  117. font-weight: bold;
  118. }
  119. .gui-line-through {
  120. text-decoration: line-through;
  121. }
  122. .gui-underline {
  123. text-decoration: underline;
  124. }
  125. .gui-italic {
  126. font-style: italic;
  127. }
  128. /* 定位 */
  129. .gui-relative {
  130. position: relative;
  131. }
  132. .gui-absolute-lt {
  133. position: absolute;
  134. z-index: 2;
  135. left: 0;
  136. top: 0;
  137. }
  138. .gui-absolute-rt {
  139. position: absolute;
  140. z-index: 2;
  141. right: 0;
  142. top: 0;
  143. }
  144. .gui-absolute-lb {
  145. position: absolute;
  146. z-index: 2;
  147. left: 0;
  148. bottom: 0;
  149. }
  150. .gui-absolute-rb {
  151. position: absolute;
  152. z-index: 2;
  153. right: 0;
  154. bottom: 0;
  155. }
  156. .gui-fixed-lt {
  157. position: fixed;
  158. z-index: 2;
  159. left: 0;
  160. top: 0;
  161. }
  162. .gui-fixed-rt {
  163. position: fixed;
  164. z-index: 2;
  165. right: 0;
  166. top: 0;
  167. }
  168. .gui-fixed-lb {
  169. position: fixed;
  170. z-index: 2;
  171. left: 0;
  172. bottom: 0;
  173. }
  174. .gui-fixed-rb {
  175. position: fixed;
  176. z-index: 2;
  177. right: 0;
  178. bottom: 0;
  179. }
  180. /* 背景色 */
  181. .gui-bg-red {
  182. background-color: #EE0A25 !important;
  183. }
  184. .gui-bg-green {
  185. background-color: #07C160 !important;
  186. }
  187. .gui-bg-blue {
  188. background-color: #008AFF !important;
  189. }
  190. .gui-bg-orange {
  191. background-color: #ED6A0C !important;
  192. }
  193. .gui-bg-yellow {
  194. background-color: #FBDE4E !important;
  195. }
  196. .gui-bg-purple {
  197. background-color: #8A3FD4 !important;
  198. }
  199. .gui-bg-white {
  200. background-color: #FFFFFF !important;
  201. }
  202. .gui-bg-black {
  203. background-color: #2B2E3D !important;
  204. }
  205. .gui-bg-black {
  206. background-color: #2B2E3D !important;
  207. }
  208. .gui-bg-black2 {
  209. background-color: #656565 !important;
  210. }
  211. .gui-bg-black3 {
  212. background-color: #969799 !important;
  213. }
  214. .gui-bg-black4 {
  215. background-color: #C8C9CC !important;
  216. }
  217. .gui-bg-black-opacity7 {
  218. background-color: rgba(0, 0, 0, 0.7);
  219. }
  220. .gui-bg-black-opacity5 {
  221. background-color: rgba(0, 0, 0, 0.5);
  222. }
  223. .gui-bg-black-opacity3 {
  224. background-color: rgba(0, 0, 0, 0.3);
  225. }
  226. .gui-gtbg-red {
  227. background-image: linear-gradient(45deg, #FF0066, #D50000) !important;
  228. }
  229. .gui-gtbg-blue {
  230. background-image: linear-gradient(45deg, #5887DF, #008AFF) !important;
  231. }
  232. .gui-gtbg-green {
  233. background-image: linear-gradient(45deg, #39B55A, #8DC63E) !important;
  234. }
  235. .gui-bg-gray {
  236. background-color: #F7F8FA !important;
  237. }
  238. .gui-bg-white {
  239. background-color: #FFFFFF !important;
  240. }
  241. /* 内置颜色 */
  242. .gui-color-black {
  243. color: #2B2E3D !important;
  244. }
  245. .gui-color-white {
  246. color: #FFFFFF !important;
  247. }
  248. .gui-color-gray {
  249. color: rgba(69, 90, 100, 0.6) !important;
  250. }
  251. .gui-color-gray-light {
  252. color: rgba(69, 90, 100, 0.3) !important;
  253. }
  254. .gui-color-blue {
  255. color: #008AFF !important;
  256. }
  257. .gui-color-red {
  258. color: #EE0A25 !important;
  259. }
  260. .gui-color-orange {
  261. color: #ED6A0C !important;
  262. }
  263. .gui-color-purple {
  264. color: #8A3FD4 !important;
  265. }
  266. .gui-color-green {
  267. color: #39B55A !important;
  268. }
  269. .gui-color-yellow {
  270. color: #FBDE4E !important;
  271. }
  272. /* 边框 */
  273. /* #ifdef APP-NVUE */
  274. .gui-border {
  275. border-style: solid;
  276. border-width: 1rpx;
  277. border-color: #F1F2F3;
  278. }
  279. .gui-border-l {
  280. border-left-style: solid;
  281. border-left-width: 1rpx;
  282. border-left-color: #F1F2F3;
  283. }
  284. .gui-border-r {
  285. border-right-style: solid;
  286. border-right-width: 1rpx;
  287. border-right-color: #F1F2F3;
  288. }
  289. .gui-border-t {
  290. border-top-style: solid;
  291. border-top-width: 1rpx;
  292. border-top-color: #F1F2F3;
  293. }
  294. .gui-border-b {
  295. border-bottom-style: solid;
  296. border-bottom-width: 1rpx;
  297. border-bottom-color: #F1F2F3;
  298. }
  299. .gui-noborder {
  300. border-right-width: 0;
  301. border-top-width: 0;
  302. border-left-width: 0;
  303. border-bottom-width: 0;
  304. }
  305. /* #endif */
  306. /* #ifndef APP-NVUE */
  307. .gui-border {
  308. border: 1rpx solid #F1F2F3;
  309. }
  310. .gui-border-l {
  311. border-left: 1rpx solid #F1F2F3;
  312. }
  313. .gui-border-r {
  314. border-right: 1rpx solid #F1F2F3;
  315. }
  316. .gui-border-t {
  317. border-top: 1rpx solid #F1F2F3;
  318. }
  319. .gui-border-b {
  320. border-bottom: 1rpx solid #F1F2F3;
  321. }
  322. .gui-noborder {
  323. border: none !important;
  324. }
  325. /* #endif */
  326. /* 自定义头部导航相关 */
  327. .gui-header-content {
  328. width: 100rpx;
  329. flex: 1;
  330. text-align: center;
  331. margin-left: 10rpx;
  332. margin-right: 168rpx;
  333. }
  334. .gui-headr-back {
  335. width: 148rpx;
  336. line-height: 40px;
  337. font-size: 32rpx;
  338. }
  339. /* 宫格布局 */
  340. .gui-grids {
  341. padding: 0;
  342. }
  343. .gui-grids-items {
  344. width: 138rpx;
  345. }
  346. /* #ifndef APP-NVUE */
  347. .gui-grids-items {
  348. box-sizing: border-box;
  349. }
  350. /* #endif */
  351. .gui-grids-icon {
  352. height: 80rpx;
  353. font-size: 68rpx;
  354. line-height: 80rpx;
  355. text-align: center;
  356. }
  357. /* #ifndef APP-NVUE */
  358. .gui-grids-icon {
  359. display: block;
  360. width: 100%;
  361. }
  362. /* #endif */
  363. .gui-grids-icon-img {
  364. width: 80rpx;
  365. height: 80rpx;
  366. border-radius: 6rpx;
  367. }
  368. .gui-grids-text {
  369. line-height: 50rpx;
  370. text-align: center;
  371. font-size: 24rpx;
  372. margin-top: 2px;
  373. }
  374. /* #ifndef APP-NVUE */
  375. .gui-grids-text {
  376. display: block;
  377. width: 100%;
  378. }
  379. /* #endif */
  380. /* 列表样式 */
  381. /* #ifndef APP-NVUE */
  382. .gui-list-items,
  383. .gui-list-title {
  384. display: flex;
  385. }
  386. .gui-list-icon,
  387. .gui-list-title-text,
  388. .gui-list-title-desc,
  389. .gui-list-body-desc,
  390. .gui-list-arrow-right {
  391. display: block;
  392. }
  393. /* #endif */
  394. .gui-list-items {
  395. flex-direction: row;
  396. flex-wrap: nowrap;
  397. align-items: center;
  398. justify-content: center;
  399. }
  400. .gui-list-icon {
  401. width: 80rpx;
  402. height: 80rpx;
  403. line-height: 80rpx;
  404. text-align: center;
  405. font-size: 44rpx;
  406. }
  407. .gui-list-image {
  408. width: 80rpx;
  409. height: 80rpx;
  410. border-radius: 80rpx;
  411. font-size: 0;
  412. }
  413. .gui-list-body {
  414. padding: 25rpx 0;
  415. margin-left: 25rpx;
  416. width: 100rpx;
  417. flex: 1;
  418. }
  419. .gui-list-title {
  420. flex-direction: row;
  421. flex-wrap: nowrap;
  422. justify-content: space-between;
  423. align-items: center;
  424. }
  425. .gui-list-one-line {
  426. line-height: 60rpx !important;
  427. }
  428. .gui-list-title-text {
  429. font-size: 26rpx;
  430. line-height: 44rpx;
  431. }
  432. .gui-list-title-desc {
  433. font-size: 22rpx;
  434. line-height: 30rpx;
  435. }
  436. .gui-list-body-desc {
  437. font-size: 22rpx;
  438. line-height: 32rpx;
  439. }
  440. .gui-list-arrow-right {
  441. width: 50rpx;
  442. height: 50rpx;
  443. line-height: 50rpx;
  444. font-size: 30rpx;
  445. text-align: right;
  446. }
  447. /* 徽章 */
  448. .gui-badge {
  449. border-radius: 38rpx;
  450. height: 38rpx;
  451. line-height: 38rpx;
  452. padding: 0 13rpx;
  453. font-size: 22rpx;
  454. }
  455. .gui-badge-absolute {
  456. position: absolute;
  457. right: 0rpx;
  458. top: 4rpx;
  459. z-index: 1;
  460. }
  461. .gui-badge-point {
  462. width: 20rpx;
  463. height: 20rpx;
  464. border-radius: 12rpx;
  465. position: absolute;
  466. right: 4rpx;
  467. top: 4rpx;
  468. z-index: 1;
  469. background-color: #FF0000;
  470. }
  471. .gui-badge-gender {
  472. width: 38rpx;
  473. height: 38rpx;
  474. border-radius: 30rpx;
  475. text-align: center;
  476. font-size: 22rpx !important;
  477. line-height: 38rpx;
  478. position: absolute;
  479. right: 6rpx;
  480. top: 4rpx;
  481. z-index: 1;
  482. }
  483. /* 滚动区域 */
  484. /* #ifndef APP-NVUE */
  485. .gui-scroll-x {
  486. display: flex;
  487. white-space: nowrap;
  488. }
  489. .gui-scroll-x-item,
  490. .gui-scroll-x-items {
  491. display: inline-flex;
  492. vertical-align: top;
  493. }
  494. /* #endif */
  495. /* #ifdef MP-ALIPAY */
  496. .gui-scroll-x {
  497. display: block;
  498. white-space: nowrap;
  499. }
  500. /* #endif */
  501. .gui-scroll-x {
  502. width: 750rpx;
  503. flex-direction: row;
  504. overflow: hidden;
  505. }
  506. /* 卡片列表 */
  507. .gui-card-list {}
  508. .gui-card-item {
  509. width: 330rpx;
  510. margin-bottom: 30rpx;
  511. }
  512. .gui-card-img {
  513. width: 330rpx;
  514. height: 191rpx;
  515. overflow: hidden;
  516. position: relative;
  517. }
  518. .gui-card-title {
  519. margin-top: 3px;
  520. }
  521. .gui-card-desc {
  522. margin-top: 3px;
  523. }
  524. .gui-card-tip {
  525. width: 68rpx;
  526. height: 40rpx;
  527. line-height: 40rpx;
  528. text-align: center;
  529. }
  530. .gui-card-mask-title {
  531. line-height: 60rpx;
  532. height: 60rpx;
  533. padding: 0 10rpx;
  534. width: 330rpx;
  535. }
  536. /* 底部导航相关 */
  537. .gui-footer-icon-buttons {
  538. width: 80rpx;
  539. height: 80rpx;
  540. margin: 10rpx;
  541. }
  542. .gui-footer-icon-buttons-icon {
  543. text-align: center;
  544. font-size: 38rpx;
  545. line-height: 50rpx;
  546. }
  547. .gui-footer-icon-buttons-text {
  548. text-align: center;
  549. font-size: 20rpx;
  550. line-height: 30rpx;
  551. }
  552. .gui-footer-large-buttons {
  553. margin-left: 25rpx;
  554. margin-right: 25rpx;
  555. }
  556. .gui-footer-large-button {
  557. width: 218rpx;
  558. height: 80rpx;
  559. }
  560. .gui-footer-large-button-text {
  561. line-height: 80rpx !important;
  562. }
  563. /* 通用标题布局 */
  564. .gui-title-line {
  565. width: 50rpx;
  566. height: 1px;
  567. background-color: #E1E2E3;
  568. flex: 1;
  569. }
  570. .gui-title-text {
  571. line-height: 60rpx;
  572. }
  573. .gui-title-icon {
  574. width: 50rpx;
  575. font-size: 32rpx;
  576. }
  577. /* 表单 */
  578. .gui-form {
  579. overflow: hidden;
  580. }
  581. .gui-form-item {
  582. flex-direction: row;
  583. flex-wrap: nowrap;
  584. align-items: center;
  585. }
  586. .gui-form-label {
  587. width: 130rpx;
  588. height: 100rpx;
  589. font-size: 28rpx;
  590. line-height: 100rpx;
  591. overflow: hidden;
  592. }
  593. .gui-form-icon {
  594. width: 60rpx;
  595. height: 60rpx;
  596. line-height: 60rpx;
  597. font-size: 28rpx;
  598. }
  599. .gui-form-body {
  600. width: 200rpx;
  601. margin-left: 20rpx;
  602. overflow: hidden;
  603. flex: 1;
  604. }
  605. .gui-form-input {
  606. height: 40rpx;
  607. line-height: 40rpx;
  608. margin: 20rpx 0;
  609. background-color: rgba(255, 255, 255, 0);
  610. border-width: 0px;
  611. font-size: 28rpx;
  612. }
  613. .gui-check-item {
  614. margin: 10rpx 10rpx 0 0;
  615. padding: 0 10rpx;
  616. font-size: 28rpx;
  617. flex-direction: row;
  618. flex-wrap: nowrap;
  619. align-items: center;
  620. }
  621. .gui-check-item-y {
  622. margin: 10rpx 0;
  623. font-size: 28rpx;
  624. }
  625. .gui-textarea {
  626. height: 120rpx;
  627. padding: 15rpx;
  628. line-height: 38rpx;
  629. background-color: rgba(255, 255, 255, 0);
  630. border-width: 0px;
  631. font-size: 28rpx;
  632. }
  633. @font-face {
  634. font-family: "gui-formicons";
  635. src: url('data:application/ttf;charset=utf-8;base64,OLh6+EVGahJS0OU2yaKO26Kiu6Zv+fbC+9P6l/wm8ZwtrOU5zo2XwdDjj7ilb9szx6Pz8hzzU1DUMrbXMHC2NbU15WTlxOxUdK2llbX0DSSdFF0GClXLlRPIOJppGChZi5s6MnpKNvaqMLkwKoD8NsI9B7wqBANQgCNQhGDQgBAwhFKwhHGhBeDCDCOAI2YElRARjiAS2EBlMIQx4iGInC9nJQTHaVXQA623EC285A07B4O4gBKhATdCAWWEFskIYcQBnigDbEBX2IBwYQHyQhIThBohj9KScAF0gKAuQMEpALsJAHSEG+/kuiIgA4aBqIoCiQhzQx6qgEABMoBTShNDCC5oAC1AQWUAuIQRYwhzaCM7QFGOgo6EHXQAn6DDbQJNjjczuo4gsok+FuApClC9pt9nPwK3ehR05loNUk');
  636. }
  637. /* 底部导航 */
  638. /* #ifndef APP-NVUE */
  639. .gui-form-item {
  640. display: flex;
  641. }
  642. .gui-form-label,
  643. .gui-form-icon {
  644. display: block;
  645. }
  646. .gui-form-picker {
  647. display: flex;
  648. }
  649. .gui-check-item {
  650. display: flexbox;
  651. }
  652. .gui-check-item-y {
  653. display: block;
  654. }
  655. .gui-textarea {
  656. box-sizing: border-box;
  657. }
  658. /* #endif */
  659. /* 评论列表 */
  660. .gui-comments {}
  661. .gui-comments-items {
  662. margin-top: 35rpx;
  663. }
  664. .gui-comments-face {
  665. width: 80rpx;
  666. height: 80rpx;
  667. border-radius: 80rpx;
  668. margin-right: 25rpx;
  669. }
  670. .gui-comments-body {
  671. width: 580rpx;
  672. overflow: hidden;
  673. }
  674. .gui-comments-header-text {
  675. line-height: 40rpx;
  676. }
  677. .gui-comments-info {
  678. margin-top: 2px;
  679. }
  680. .gui-comments-info-text {
  681. font-size: 22rpx;
  682. line-height: 40rpx;
  683. margin-top: 10rpx;
  684. }
  685. .gui-comments-content {
  686. line-height: 36rpx;
  687. font-size: 26rpx;
  688. padding: 8rpx 0;
  689. }
  690. .gui-comments-replay {
  691. font-size: 24rpx;
  692. color: #666666;
  693. border-radius: 3px;
  694. margin: 3px 0;
  695. padding: 15rpx;
  696. line-height: 36rpx;
  697. }
  698. .gui-comments-replay-btn {
  699. font-size: 20rpx;
  700. line-height: 44rpx;
  701. padding: 0rpx 20rpx;
  702. border-radius: 44rpx;
  703. }
  704. .gui-comments-imgs {
  705. margin: 8rpx 0;
  706. }
  707. .gui-comments-image {
  708. width: 180rpx;
  709. height: 128rpx;
  710. margin-right: 10rpx;
  711. margin-bottom: 10rpx;
  712. font-size: 0;
  713. overflow: hidden;
  714. }
  715. /* 底部导航相关 */
  716. .gui-footer-input-body {
  717. padding: 0 20rpx;
  718. height: 70rpx;
  719. border-radius: 66rpx;
  720. margin: 0 30rpx;
  721. }
  722. .gui-footer-input-icon {
  723. width: 66rpx;
  724. text-align: center;
  725. line-height: 66rpx;
  726. font-size: 30rpx;
  727. margin-right: 10rpx;
  728. }
  729. .gui-footer-input {
  730. width: 100rpx;
  731. flex: 1;
  732. font-size: 26rpx;
  733. height: 32rpx;
  734. line-height: 32rpx;
  735. padding: 0;
  736. overflow: hidden;
  737. }
  738. .gui-common-line {
  739. height: 20rpx;
  740. background-color: #F7F8FA;
  741. }
  742. /* css3 动画 不支持 nvue */
  743. /* #ifndef APP-NVUE */
  744. .gui-transition-all {
  745. transition: all 0.2s ease-in 0s;
  746. }
  747. /* 使用记录 : gui-switch-navigation2 gui-popup */
  748. @keyframes gui-fade-in {
  749. 0% {
  750. opacity: 0;
  751. }
  752. 100% {
  753. opacity: 1;
  754. }
  755. }
  756. .gui-fade-in {
  757. animation: gui-fade-in 350ms ease-in forwards;
  758. }
  759. /* 使用记录 : gui-image gui-popup */
  760. @keyframes gui-fade-out {
  761. 0% {
  762. opacity: 1;
  763. }
  764. 100% {
  765. opacity: 0;
  766. }
  767. }
  768. .gui-fade-out {
  769. animation: gui-fade-out 350ms ease-out forwards;
  770. }
  771. /* 使用记录 : gui-popup */
  772. @keyframes gui-top-in {
  773. 0% {
  774. transform: translateY(-1000px);
  775. }
  776. 100% {
  777. transform: translateY(0px);
  778. }
  779. }
  780. .gui-top-in {
  781. animation: gui-top-in 350ms linear forwards;
  782. }
  783. /* 使用记录 : gui-popup */
  784. @keyframes gui-top-out {
  785. 0% {
  786. transform: translateY(0px);
  787. }
  788. 100% {
  789. transform: translateY(-1000px);
  790. }
  791. }
  792. .gui-top-out {
  793. animation: gui-top-out 350ms linear forwards;
  794. }
  795. /* 使用记录 : gui-popup */
  796. @keyframes gui-bottom-in {
  797. 0% {
  798. transform: translateY(600px);
  799. }
  800. 100% {
  801. transform: translateY(0px);
  802. }
  803. }
  804. .gui-bottom-in {
  805. animation: gui-bottom-in 350ms linear forwards;
  806. }
  807. /* 使用记录 : gui-popup */
  808. @keyframes gui-bottom-out {
  809. 0% {
  810. transform: translateY(0px);
  811. }
  812. 100% {
  813. transform: translateY(600px);
  814. }
  815. }
  816. .gui-bottom-out {
  817. animation: gui-bottom-out 350ms linear forwards;
  818. }
  819. /* 使用记录 : gui-popup */
  820. @keyframes gui-left-in {
  821. 0% {
  822. transform: translateX(-600px);
  823. }
  824. 100% {
  825. transform: translateX(0px);
  826. }
  827. }
  828. .gui-left-in {
  829. animation: gui-left-in 350ms linear forwards;
  830. }
  831. /* 使用记录 : gui-popup */
  832. @keyframes gui-left-out {
  833. 0% {
  834. transform: translateX(0px);
  835. }
  836. 100% {
  837. transform: translateX(-600px);
  838. }
  839. }
  840. .gui-left-out {
  841. animation: gui-left-out 350ms linear forwards;
  842. }
  843. /* 使用记录 : gui-popup */
  844. @keyframes gui-right-in {
  845. 0% {
  846. transform: translateX(600px);
  847. }
  848. 100% {
  849. transform: translateX(0px);
  850. }
  851. }
  852. .gui-right-in {
  853. animation: gui-right-in 350ms linear forwards;
  854. }
  855. /* 使用记录 : gui-popup */
  856. @keyframes gui-right-out {
  857. 0% {
  858. transform: translateX(0px);
  859. }
  860. 100% {
  861. transform: translateX(600px);
  862. }
  863. }
  864. .gui-right-out {
  865. animation: gui-right-out 350ms linear forwards;
  866. }
  867. /* 使用记录 : gui-popup */
  868. @keyframes gui-scale-in {
  869. 0% {
  870. transform: scale(0.3, 0.3);
  871. }
  872. 100% {
  873. transform: scale(1, 1);
  874. }
  875. }
  876. .gui-scale-in {
  877. animation: gui-scale-in 350ms linear forwards;
  878. }
  879. /* 使用记录 : gui-popup */
  880. @keyframes gui-scale-out {
  881. 0% {
  882. transform: scale(1, 1);
  883. }
  884. 100% {
  885. transform: scale(0.3, 0.3);
  886. }
  887. }
  888. .gui-scale-out {
  889. animation: gui-scale-out 350ms linear forwards;
  890. }
  891. /* 使用记录 : gui-page */
  892. @keyframes gui-rotate360 {
  893. 0% {
  894. transform: rotate(0deg);
  895. }
  896. 50% {
  897. transform: rotate(180deg);
  898. }
  899. 100% {
  900. transform: rotate(360deg);
  901. }
  902. }
  903. .gui-rotate360 {
  904. animation: gui-rotate360 1200ms infinite linear;
  905. }
  906. /* #endif */
  907. /* 不支持 nvue 的常用样式 */
  908. /* #ifndef APP-NVUE */
  909. .gui-box-shadow {
  910. box-shadow: 0px 0px 16rpx #323232;
  911. }
  912. .gui-transition-all {
  913. transition: all 0.2s ease-in 0s;
  914. }
  915. ::-webkit-scrollbar {
  916. display: none;
  917. }
  918. /* #endif */