graceUI.css 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309
  1. /* #ifdef MP-BAIDU */
  2. @import "iconsforbaidu.css";
  3. /* #endif */
  4. /* 规划 H5 端字体 */
  5. /* #ifdef H5 */
  6. body{font-family:-apple-system,Helvetica,sans-serif,Arial;}
  7. /* #endif */
  8. /* 图标加载 */
  9. /* #ifndef APP-NVUE */
  10. /* #ifndef MP-BAIDU */
  11. @font-face{
  12. font-family : "gui-iconfont";
  13. font-weight : normal;
  14. font-style : normal;
  15. src : url('@/static/grace.ttf') format('truetype');
  16. }
  17. /* #endif */
  18. .gui-icons{font-family:"gui-iconfont"; font-style:normal;}
  19. /* #endif */
  20. /* 页面主体结构 */
  21. .gui-body{width:750rpx;}
  22. /* 去除图片空白 */
  23. .gui-img-in{font-size:0;}
  24. /* #ifndef APP-NVUE */
  25. .gui-flex{display:flex;}
  26. .gui-border-box{box-sizing:border-box;}
  27. .gui-body{width:750rpx; box-sizing:border-box;}
  28. /* #endif */
  29. /* flex 布局 */
  30. .gui-rows{flex-direction:row;}
  31. .gui-row{flex-direction:row;}
  32. .gui-columns{flex-direction:column;}
  33. .gui-column{flex-direction:column;}
  34. .gui-wrap{flex-direction:row; flex-wrap:wrap;}
  35. .gui-nowrap{flex-direction:row; flex-wrap:nowrap;}
  36. .gui-space-around{justify-content:space-around;}
  37. .gui-space-between{justify-content:space-between;}
  38. .gui-justify-content-start{justify-content:flex-start;}
  39. .gui-justify-content-center{justify-content:center;}
  40. .gui-justify-content-end{justify-content:flex-end;}
  41. .gui-align-items-start{align-items:flex-start;}
  42. .gui-align-items-center{align-items:center;}
  43. .gui-align-items-end{align-items:flex-end;}
  44. .gui-flex1{flex:1;}
  45. /* 文本对齐 */
  46. .gui-text-left{text-align:left;}
  47. .gui-text-center{text-align:center;}
  48. .gui-text-right{text-align:right;}
  49. .gui-ellipsis{overflow:hidden;}
  50. /* #ifndef APP-NVUE */
  51. .gui-ellipsis{white-space:nowrap; text-overflow:ellipsis;}
  52. .gui-block-text{display:block;}
  53. /* #endif */
  54. /* 文本修饰 */
  55. .gui-bold{font-weight:bold;}
  56. .gui-line-through{text-decoration:line-through;}
  57. .gui-underline{text-decoration:underline;}
  58. .gui-italic{font-style:italic;}
  59. /* 定位 */
  60. .gui-relative{position:relative;}
  61. .gui-absolute-lt{position:absolute; z-index:2; left:0; top:0;}
  62. .gui-absolute-rt{position:absolute; z-index:2; right:0; top:0;}
  63. .gui-absolute-lb{position:absolute; z-index:2; left:0; bottom:0;}
  64. .gui-absolute-rb{position:absolute; z-index:2; right:0; bottom:0;}
  65. .gui-fixed-lt{position:fixed; z-index:2; left:0; top:0;}
  66. .gui-fixed-rt{position:fixed; z-index:2; right:0; top:0;}
  67. .gui-fixed-lb{position:fixed; z-index:2; left:0; bottom:0;}
  68. .gui-fixed-rb{position:fixed; z-index:2; right:0; bottom:0;}
  69. /* 背景色 */
  70. .gui-bg-red{background-color:#EE0A25 !important;}
  71. .gui-bg-green{background-color:#07C160 !important;}
  72. .gui-bg-blue{background-color:#008AFF !important;}
  73. .gui-bg-orange{background-color:#ED6A0C !important;}
  74. .gui-bg-yellow{background-color:#FBDE4E !important;}
  75. .gui-bg-purple{background-color:#8A3FD4 !important;}
  76. .gui-bg-white{background-color:#FFFFFF !important;}
  77. .gui-bg-black{background-color:#2B2E3D !important;}
  78. .gui-bg-black{background-color:#2B2E3D !important;}
  79. .gui-bg-black2{background-color:#656565 !important;}
  80. .gui-bg-black3{background-color:#969799 !important;}
  81. .gui-bg-black4{background-color:#C8C9CC !important;}
  82. .gui-bg-black-opacity7{background-color:rgba(0,0,0,0.7);}
  83. .gui-bg-black-opacity5{background-color:rgba(0,0,0,0.5);}
  84. .gui-bg-black-opacity3{background-color:rgba(0,0,0,0.3);}
  85. .gui-gtbg-red{background-image:linear-gradient(45deg, #FF0066 , #D50000) !important;}
  86. .gui-gtbg-blue{background-image:linear-gradient(45deg, #5887DF , #008AFF) !important;}
  87. .gui-gtbg-green{background-image:linear-gradient(45deg, #39B55A , #8DC63E) !important;}
  88. .gui-bg-gray{background-color:#F7F8FA !important;}
  89. .gui-bg-white{background-color:#FFFFFF !important;}
  90. /* 内置颜色 */
  91. .gui-color-black{color:#2B2E3D !important;}
  92. .gui-color-white{color:#FFFFFF !important;}
  93. .gui-color-gray{color:rgba(69, 90, 100, 0.6) !important;}
  94. .gui-color-gray-light{color:rgba(69, 90, 100, 0.3) !important;}
  95. .gui-color-blue{color:#008AFF !important;}
  96. .gui-color-red{color:#EE0A25 !important;}
  97. .gui-color-orange{color:#ED6A0C !important;}
  98. .gui-color-purple{color:#8A3FD4 !important;}
  99. .gui-color-green{color:#39B55A !important;}
  100. .gui-color-yellow{color:#FBDE4E !important;}
  101. /* 边框 */
  102. /* #ifdef APP-NVUE */
  103. .gui-border{border-style:solid; border-width:1rpx; border-color:#F1F2F3;}
  104. .gui-border-l{border-left-style:solid; border-left-width:1rpx; border-left-color:#F1F2F3;}
  105. .gui-border-r{border-right-style:solid; border-right-width:1rpx; border-right-color:#F1F2F3;}
  106. .gui-border-t{border-top-style:solid; border-top-width:1rpx; border-top-color:#F1F2F3;}
  107. .gui-border-b{border-bottom-style:solid; border-bottom-width:1rpx; border-bottom-color:#F1F2F3;}
  108. .gui-noborder{border-right-width:0; border-top-width:0; border-left-width:0; border-bottom-width:0;}
  109. /* #endif */
  110. /* #ifndef APP-NVUE */
  111. .gui-border{border:1rpx solid #F1F2F3;}
  112. .gui-border-l{border-left:1rpx solid #F1F2F3;}
  113. .gui-border-r{border-right:1rpx solid #F1F2F3;}
  114. .gui-border-t{border-top:1rpx solid #F1F2F3;}
  115. .gui-border-b{border-bottom:1rpx solid #F1F2F3;}
  116. .gui-noborder{border:none !important;}
  117. /* #endif */
  118. /* 自定义头部导航相关 */
  119. .gui-header-content{width:100rpx; flex:1; text-align:center; margin-left:10rpx; margin-right:168rpx;}
  120. .gui-headr-back{width:148rpx; line-height:40px; font-size:32rpx;}
  121. /* 宫格布局 */
  122. .gui-grids{padding:0;}
  123. .gui-grids-items{width:138rpx;}
  124. /* #ifndef APP-NVUE */
  125. .gui-grids-items{box-sizing:border-box;}
  126. /* #endif */
  127. .gui-grids-icon{height:80rpx; font-size:68rpx; line-height:80rpx; text-align:center;}
  128. /* #ifndef APP-NVUE */
  129. .gui-grids-icon{display:block; width:100%;}
  130. /* #endif */
  131. .gui-grids-icon-img{width:80rpx; height:80rpx; border-radius:6rpx;}
  132. .gui-grids-text{line-height:50rpx; text-align:center; font-size:24rpx; margin-top:2px;}
  133. /* #ifndef APP-NVUE */
  134. .gui-grids-text{display:block; width:100%;}
  135. /* #endif */
  136. /* 列表样式 */
  137. /* #ifndef APP-NVUE */
  138. .gui-list-items, .gui-list-title{display:flex;}
  139. .gui-list-icon, .gui-list-title-text, .gui-list-title-desc, .gui-list-body-desc, .gui-list-arrow-right{display:block;}
  140. /* #endif */
  141. .gui-list-items{flex-direction:row; flex-wrap:nowrap; align-items:center; justify-content:center;}
  142. .gui-list-icon{width:80rpx; height:80rpx; line-height:80rpx; text-align:center; font-size:44rpx;}
  143. .gui-list-image{width:80rpx; height:80rpx; border-radius:80rpx; font-size:0;}
  144. .gui-list-body{padding:25rpx 0; margin-left:25rpx; width:100rpx; flex:1;}
  145. .gui-list-title{flex-direction:row; flex-wrap:nowrap; justify-content:space-between; align-items:center;}
  146. .gui-list-one-line{line-height:60rpx !important;}
  147. .gui-list-title-text{font-size:26rpx; line-height:44rpx;}
  148. .gui-list-title-desc{font-size:22rpx; line-height:30rpx;}
  149. .gui-list-body-desc{font-size:22rpx; line-height:32rpx;}
  150. .gui-list-arrow-right{width:50rpx; height:50rpx; line-height:50rpx; font-size:30rpx; text-align:right;}
  151. /* 徽章 */
  152. .gui-badge{border-radius:38rpx; height:38rpx; line-height:38rpx; padding:0 13rpx; font-size:22rpx;}
  153. .gui-badge-absolute{position:absolute; right:0rpx; top:4rpx; z-index:1;}
  154. .gui-badge-point{width:20rpx; height:20rpx; border-radius:12rpx; position:absolute; right:4rpx; top:4rpx; z-index:1; background-color:#FF0000;}
  155. .gui-badge-gender{width:38rpx; height:38rpx; border-radius:30rpx; text-align:center; font-size:22rpx !important; line-height:38rpx; position:absolute; right:6rpx; top:4rpx; z-index:1;}
  156. /* 滚动区域 */
  157. /* #ifndef APP-NVUE */
  158. .gui-scroll-x{display:flex; white-space:nowrap;}
  159. .gui-scroll-x-item, .gui-scroll-x-items{display:inline-flex; vertical-align:top;}
  160. /* #endif */
  161. /* #ifdef MP-ALIPAY */
  162. .gui-scroll-x{display:block; white-space:nowrap;}
  163. /* #endif */
  164. .gui-scroll-x{width:750rpx; flex-direction:row; overflow:hidden;}
  165. /* 卡片列表 */
  166. .gui-card-list{}
  167. .gui-card-item{width:330rpx; margin-bottom:30rpx;}
  168. .gui-card-img{width:330rpx; height:191rpx; overflow:hidden; position:relative;}
  169. .gui-card-title{margin-top:3px;}
  170. .gui-card-desc{margin-top:3px;}
  171. .gui-card-tip{width:68rpx; height:40rpx; line-height:40rpx; text-align:center;}
  172. .gui-card-mask-title{line-height:60rpx; height:60rpx; padding:0 10rpx; width:330rpx;}
  173. /* 底部导航相关 */
  174. .gui-footer-icon-buttons{width:80rpx; height:80rpx; margin:10rpx;}
  175. .gui-footer-icon-buttons-icon{text-align:center; font-size:38rpx; line-height:50rpx;}
  176. .gui-footer-icon-buttons-text{text-align:center; font-size:20rpx; line-height:30rpx;}
  177. .gui-footer-large-buttons{margin-left:25rpx; margin-right:25rpx;}
  178. .gui-footer-large-button{width:218rpx; height:80rpx;}
  179. .gui-footer-large-button-text{line-height:80rpx !important;}
  180. /* 通用标题布局 */
  181. .gui-title-line{width:50rpx; height:1px; background-color:#E1E2E3; flex:1;}
  182. .gui-title-text{line-height:60rpx;}
  183. .gui-title-icon{width:50rpx; font-size:32rpx;}
  184. /* 表单 */
  185. .gui-form{overflow:hidden;}
  186. .gui-form-item{flex-direction:row; flex-wrap:nowrap; align-items:center;}
  187. .gui-form-label{width:130rpx; height:100rpx; font-size:28rpx; line-height:100rpx; overflow:hidden;}
  188. .gui-form-icon{width:60rpx; height:60rpx; line-height:60rpx; font-size:28rpx;}
  189. .gui-form-body{width:200rpx; margin-left:20rpx; overflow:hidden; flex:1;}
  190. .gui-form-input{height:40rpx; line-height:40rpx; margin:20rpx 0; background-color:rgba(255,255,255,0); border-width:0px; font-size:28rpx;}
  191. .gui-check-item{margin:10rpx 10rpx 0 0; padding:0 10rpx; font-size:28rpx; flex-direction:row; flex-wrap:nowrap; align-items:center;}
  192. .gui-check-item-y{margin:10rpx 0; font-size:28rpx;}
  193. .gui-textarea{height:120rpx; padding:15rpx; line-height:38rpx; background-color:rgba(255,255,255,0); border-width:0px; font-size:28rpx;}
  194. @font-face{font-family:"gui-formicons"; src:url('data:application/ttf;charset=utf-8;base64,OLh6+EVGahJS0OU2yaKO26Kiu6Zv+fbC+9P6l/wm8ZwtrOU5zo2XwdDjj7ilb9szx6Pz8hzzU1DUMrbXMHC2NbU15WTlxOxUdK2llbX0DSSdFF0GClXLlRPIOJppGChZi5s6MnpKNvaqMLkwKoD8NsI9B7wqBANQgCNQhGDQgBAwhFKwhHGhBeDCDCOAI2YElRARjiAS2EBlMIQx4iGInC9nJQTHaVXQA5E8EE500AB910O4gBKhATdCAWWEFskIYcQBnigDbEBX2IBwYQHyQhIThBohj9KScAF0gKAuQMEpALsJAHSEG+/kuiIgA4aBqIoCiQhzQx6qgEABMoBTShNDCC5oAC1AQWUAuIQRYwhzaCM7QFGOgo6EHXQAn6DDbQJNjjczuo4gsok+FuApClC9pt9nPwK3ehR05loNUk');}
  195. /* 底部导航 */
  196. /* #ifndef APP-NVUE */
  197. .gui-form-item{display:flex;}
  198. .gui-form-label, .gui-form-icon{display:block;}
  199. .gui-form-picker{display:flex;}
  200. .gui-check-item{display:flexbox;}
  201. .gui-check-item-y{display:block;}
  202. .gui-textarea{box-sizing:border-box;}
  203. /* #endif */
  204. /* 评论列表 */
  205. .gui-comments{}
  206. .gui-comments-items{margin-top:35rpx;}
  207. .gui-comments-face{width:80rpx; height:80rpx; border-radius:80rpx; margin-right:25rpx;}
  208. .gui-comments-body{width:580rpx; overflow:hidden;}
  209. .gui-comments-header-text{line-height:40rpx;}
  210. .gui-comments-info{margin-top:2px;}
  211. .gui-comments-info-text{font-size:22rpx; line-height:40rpx; margin-top:10rpx;}
  212. .gui-comments-content{line-height:36rpx; font-size:26rpx; padding:8rpx 0;}
  213. .gui-comments-replay{font-size:24rpx; color:#666666; border-radius:3px; margin:3px 0; padding:15rpx; line-height:36rpx;}
  214. .gui-comments-replay-btn{font-size:20rpx; line-height:44rpx; padding:0rpx 20rpx; border-radius:44rpx;}
  215. .gui-comments-imgs{margin:8rpx 0;}
  216. .gui-comments-image{width:180rpx; height:128rpx; margin-right:10rpx; margin-bottom:10rpx; font-size:0; overflow:hidden;}
  217. /* 底部导航相关 */
  218. .gui-footer-input-body{padding:0 20rpx; height:70rpx; border-radius:66rpx; margin:0 30rpx;}
  219. .gui-footer-input-icon{width:66rpx; text-align:center; line-height:66rpx; font-size:30rpx; margin-right:10rpx;}
  220. .gui-footer-input{width:100rpx; flex:1; font-size:26rpx; height:32rpx; line-height:32rpx; padding:0; overflow:hidden;}
  221. .gui-common-line{height:20rpx; background-color:#F7F8FA;}
  222. /* css3 动画 不支持 nvue */
  223. /* #ifndef APP-NVUE */
  224. .gui-transition-all{transition:all 0.2s ease-in 0s;}
  225. /* 使用记录 : gui-switch-navigation2 gui-popup */
  226. @keyframes gui-fade-in{0%{opacity:0;} 100%{opacity:1;}}
  227. .gui-fade-in{animation:gui-fade-in 350ms ease-in forwards;}
  228. /* 使用记录 : gui-image gui-popup */
  229. @keyframes gui-fade-out{0%{opacity:1;} 100%{opacity:0;}}
  230. .gui-fade-out{animation:gui-fade-out 350ms ease-out forwards;}
  231. /* 使用记录 : gui-popup */
  232. @keyframes gui-top-in{0%{transform:translateY(-1000px);} 100%{transform:translateY(0px);}}
  233. .gui-top-in{animation:gui-top-in 350ms linear forwards;}
  234. /* 使用记录 : gui-popup */
  235. @keyframes gui-top-out{0%{transform:translateY(0px);} 100%{transform:translateY(-1000px);}}
  236. .gui-top-out{animation:gui-top-out 350ms linear forwards;}
  237. /* 使用记录 : gui-popup */
  238. @keyframes gui-bottom-in{0%{transform:translateY(600px);} 100%{transform:translateY(0px);}}
  239. .gui-bottom-in{animation:gui-bottom-in 350ms linear forwards;}
  240. /* 使用记录 : gui-popup */
  241. @keyframes gui-bottom-out{0%{transform:translateY(0px);} 100%{transform:translateY(600px);}}
  242. .gui-bottom-out{animation:gui-bottom-out 350ms linear forwards;}
  243. /* 使用记录 : gui-popup */
  244. @keyframes gui-left-in{0%{transform:translateX(-600px);} 100%{transform:translateX(0px);}}
  245. .gui-left-in{animation:gui-left-in 350ms linear forwards;}
  246. /* 使用记录 : gui-popup */
  247. @keyframes gui-left-out{0%{transform:translateX(0px);} 100%{transform:translateX(-600px);}}
  248. .gui-left-out{animation:gui-left-out 350ms linear forwards;}
  249. /* 使用记录 : gui-popup */
  250. @keyframes gui-right-in{0%{transform:translateX(600px);} 100%{transform:translateX(0px);}}
  251. .gui-right-in{animation:gui-right-in 350ms linear forwards;}
  252. /* 使用记录 : gui-popup */
  253. @keyframes gui-right-out{0%{transform:translateX(0px);} 100%{transform:translateX(600px);}}
  254. .gui-right-out{animation:gui-right-out 350ms linear forwards;}
  255. /* 使用记录 : gui-popup */
  256. @keyframes gui-scale-in{0%{transform:scale(0.3,0.3);} 100%{transform:scale(1,1);}}
  257. .gui-scale-in{animation:gui-scale-in 350ms linear forwards;}
  258. /* 使用记录 : gui-popup */
  259. @keyframes gui-scale-out{0%{transform:scale(1,1);} 100%{transform:scale(0.3,0.3);}}
  260. .gui-scale-out{animation:gui-scale-out 350ms linear forwards;}
  261. /* 使用记录 : gui-page */
  262. @keyframes gui-rotate360{0%{transform:rotate(0deg);} 50%{transform:rotate(180deg);} 100%{transform:rotate(360deg);}}
  263. .gui-rotate360{animation:gui-rotate360 1200ms infinite linear;}
  264. /* #endif */
  265. /* 不支持 nvue 的常用样式 */
  266. /* #ifndef APP-NVUE */
  267. .gui-box-shadow{box-shadow:0px 0px 16rpx #323232;}
  268. .gui-transition-all{transition:all 0.2s ease-in 0s;}
  269. ::-webkit-scrollbar {display: none;}
  270. /* #endif */