graceUI.css 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297
  1. /*
  2. link : http://grace.hcoder.net
  3. author : 刘海君 5213606@qq.com
  4. verson : 3.0
  5. last update date : 2020-06-16
  6. GraceUI 的版权约束是不能转售或者将 GraceUI 直接发布到公开渠道!侵权必究,请遵守版权约定!
  7. GraceUI 软著号 2019SR0533188 版权机器人启动中,侵权会追责,请遵守极其简单的版权规定
  8. */
  9. page{width:100%; display:flex; flex-direction:column; flex:1;}
  10. grace-page, gracepage{display:flex; flex-direction:column; flex:1;}
  11. view{font-size:28rpx;}
  12. .grace-img-in{font-size:0;}
  13. .grace-opacity{opacity:0.9;}
  14. .grace-border-box{box-sizing:border-box;}
  15. /* #ifdef H5 */
  16. uni-page-wrapper{display:flex; flex-direction:column; flex:1;}
  17. uni-page-body{display:flex; flex-direction:column; flex:1;}
  18. body{font-family:-apple-system,Helvetica,sans-serif,Arial;}
  19. /* #endif */
  20. /* flex 布局 */
  21. .grace-flex{display:flex;}
  22. .grace-rows{display:flex; flex-direction:row;}
  23. .grace-columns{display:flex; flex-direction:column;}
  24. .grace-wrap{display:flex; flex-direction:row; flex-wrap:wrap;}
  25. .grace-nowrap{display:flex; flex-direction:row; flex-wrap:nowrap;}
  26. .grace-space-between{display:flex; flex-direction:row; justify-content:space-between;}
  27. .grace-flex-center{display:flex; flex-direction:row; justify-content:center;}
  28. .grace-flex-end{display:flex; flex-direction:row; justify-content:flex-end;}
  29. .grace-flex-vtop{align-items:flex-start;}
  30. .grace-flex-vcenter{align-items:center;}
  31. .grace-flex-vbottom{align-items:flex-end;}
  32. .grace-no-scale{flex-shrink:0;}
  33. .grace-flex1{flex:1;}
  34. .grace-flex-v1{display:flex; flex-direction:column; flex:1;}
  35. /* 定位 */
  36. .grace-relative{position:relative;}
  37. .grace-absolute-lt{position:absolute; z-index:2; left:0; top:0;}
  38. .grace-absolute-rt{position:absolute; z-index:2; right:0; top:0;}
  39. .grace-absolute-lb{position:absolute; z-index:2; left:0; bottom:0;}
  40. .grace-absolute-rb{position:absolute; z-index:2; right:0; bottom:0;}
  41. .grace-center-view{position:absolute; top:50%; left: 50%; transform: translate(-50%, -50%);}
  42. /* 吸顶容器 */
  43. .grace-fixed-top{width:100%; height:auto; position:fixed; z-index:1; left:0; top:0;}
  44. /* 宫格 */
  45. .grace-grids{padding:0; display:flex; flex-wrap:wrap;}
  46. .grace-grids-items{width:175rpx; padding:20rpx 0; display:flex; box-sizing:border-box; flex-direction:column; align-items:center;}
  47. .grace-grids-icon{width:100%; height:80rpx; font-size:60rpx; line-height:80rpx; text-align:center;}
  48. .grace-grids-icon-img{width:80rpx; height:80rpx; border-radius:6rpx;}
  49. .grace-grids-text{line-height:50rpx; width:100%; text-align:center; font-size:24rpx; margin-top:2px;}
  50. /* 内外间距 */
  51. .grace-padding{padding:0 25rpx;}
  52. .grace-margin{margin:0 25rpx;}
  53. .grace-body{padding:0 25rpx; width:700rpx;}
  54. .grace-margin-top{margin-top:30rpx;}
  55. .grace-padding-top{padding-top:30rpx;}
  56. /* 文字颜色 */
  57. .grace-black{color:#333333 !important;}
  58. .grace-black6{color:#666666 !important;}
  59. .grace-black9{color:#999999 !important;}
  60. .grace-white{color:#FFFFFF !important;}
  61. .grace-blue{color:#3687FF !important;}
  62. .grace-light-blue{color:#AFCFFF !important;}
  63. .grace-blue-sky{color:#61CBEF !important;}
  64. .grace-gray{color:#A5A7B2 !important;}
  65. .grace-red{color:#FF0036 !important;}
  66. .grace-yellow{color:#FFCC00 !important;}
  67. .grace-light-yellow{color:#ECD1A8 !important;}
  68. .grace-green{color:#9DD26D !important;}
  69. /* 背景颜色 */
  70. .grace-bg-black{background:#000000 !important; color:#FFFFFF !important;}
  71. .grace-bg-white{background:#FFFFFF !important; color:#333333 !important;}
  72. .grace-bg-blue{background:#3687FF !important; color:#FFFFFF !important;}
  73. .grace-bg-blue-sky{background:#61CBEF !important; color:#FFFFFF !important;}
  74. .grace-bg-gray{background:#A5A7B2 !important; color:#FFFFFF !important;}
  75. .grace-bg-light-gray{background:#F8F8F8 !important;}
  76. .grace-bg-red{background:#FF0036 !important; color:#FFFFFF !important;}
  77. .grace-bg-green{background:#9DD26D !important; color:#FFFFFF !important;}
  78. .grace-bg-yellow{background:#FFCC00 !important; color:#FFFFFF !important;}
  79. .grace-bg-light-blue{background:#AFCFFF !important; color:#FFFFFF !important;}
  80. .grace-bg-light-yellow{background:#ECD1A8 !important; color:#FFFFFF !important;}
  81. /* 渐变背景 */
  82. .grace-gtbg-blue{background:linear-gradient(to right, #B100FF,#00B3FF) !important; color:#FFFFFF !important;}
  83. .grace-gtbg-pink{background:linear-gradient(to right, #FF0066,#CA00FF) !important; color:#FFFFFF !important;}
  84. .grace-gtbg-green{background:linear-gradient(to right, #39B55A,#8DC63E) !important; color:#FFFFFF !important;}
  85. .grace-gtbg-purple{background:linear-gradient(to right, #F000EE,#6E00FF) !important; color:#FFFFFF !important;}
  86. .grace-gtbg-orange{background:linear-gradient(to right, #FFCD00,#FF9B00) !important; color:#FFFFFF !important;}
  87. .grace-gtbg-blue-sky{background:linear-gradient(to right, #00FFD5 ,#008CFF) !important; color:#FFFFFF !important;}
  88. /* 背景图片 */
  89. .grace-imgbg{background-size:100% auto; background-repeat:no-repeat;}
  90. .grace-imgbg-center{background-size:100% auto; background-repeat:no-repeat; background-position:center center;}
  91. .grace-imgbg-bc{background-size:100% auto; background-repeat:no-repeat; background-position:bottom center;}
  92. /* 边框 */
  93. .grace-border{border:1px solid #E9E9E9;}
  94. .grace-border-l{border-left:1px solid #E9E9E9;}
  95. .grace-border-r{border-right:1px solid #E9E9E9;}
  96. .grace-border-t{border-top:1px solid #E9E9E9;}
  97. .grace-border-b{border-bottom:1px solid #E9E9E9;}
  98. .grace-noborder{border:none !important;}
  99. /* 圆角 */
  100. .grace-border-radius{border-radius:100rpx;}
  101. .grace-border-radius-small{border-radius:10rpx;}
  102. /* 阴影 */
  103. .grace-box-shadow{box-shadow:0px 0px 16rpx #D5D6D8;}
  104. .grace-shadow{position: relative;}
  105. .grace-shadow::before{content:""; display:block; background:inherit; filter:blur(6rpx); position:absolute; width:100%; height:100%; top:8rpx; left:8rpx; z-index:-1; opacity:0.38; transform-origin:0 0; border-radius:inherit; transform:scale(1, 1);}
  106. /* 文本 */
  107. .grace-h1{font-size:80rpx;}
  108. .grace-h2{font-size:60rpx;}
  109. .grace-h3{font-size:45rpx;}
  110. .grace-h4{font-size:32rpx;}
  111. .grace-h5{font-size:30rpx;}
  112. .grace-h6{font-size:28rpx;}
  113. .grace-bold{font-weight:bold;}
  114. .grace-text{font-size:26rpx; line-height:50rpx;}
  115. .grace-desc{font-size:24rpx; line-height:44rpx;}
  116. .grace-text-small{font-size:22rpx; line-height:40rpx;}
  117. .grace-line-through{text-decoration:line-through;}
  118. .grace-italic{font-style:italic;}
  119. .grace-indent{text-indent:2em;}
  120. .grace-ellipsis{overflow:hidden; white-space:nowrap; text-overflow:ellipsis;}
  121. .grace-text-center{text-align:center;}
  122. .grace-center{text-align:center;}
  123. /* 按钮修饰 */
  124. .grace-button{font-size:30rpx; line-height:88rpx; padding:0; border-radius:6rpx;}
  125. .grace-button::after{border-radius:4rpx !important; border:none;}
  126. .grace-button[type=primary]{background:#3688FF; border:none;}
  127. .button-hover[type=primary]{opacity:0.9;}
  128. button[loading][type=primary] {background-color:#3688FF; color:#FFFFFF;}
  129. .grace-button[type=primary][plain] {color:#3688FF; border:1px solid #3688FF; background-color:rgba(0,0,0,0);}
  130. .grace-button[type=warn]{background:#ee0a25; border:none;}
  131. .button-hover[type=warn]{background:#FF0036; opacity:0.9;}
  132. button[loading][type=warn] {background-color:#ee0a25; color:#FFFFFF;}
  133. .grace-button[type=warn][plain] {color:#FF0036; border:1px solid #FF0036; background-color:rgba(0,0,0,0);}
  134. .grace-box-btn{width:80rpx; height:80rpx; line-height:80rpx; padding:0; text-align:center; font-size:50rpx;}
  135. button[disabled][type=primary] {background-color:#3688FF; opacity:0.8;}
  136. /* 标题及更多 */
  137. .grace-title{padding:10rpx 0; line-height:2em; display:flex; flex-wrap:nowrap; font-size:28rpx; justify-content:space-between; font-weight:bold; align-items:center;}
  138. .grace-title-text{width:200rpx; flex:auto;}
  139. .grace-title-icon{width:50rpx; font-size:36rpx;}
  140. .grace-line-title{display:flex; flex-direction:row; flex-wrap:nowrap; align-items:center;}
  141. .grace-line-title-line{width:50rpx; flex:auto; height:1px; background:#F9F9F9;}
  142. .grace-line-title-text{padding:0 80rpx; line-height:80rpx;}
  143. .grace-title-border{width:8rpx; background:#3688FF; margin-right:16rpx; height:28rpx; flex-shrink:0;}
  144. /* 头部导航 */
  145. .grace-header-body{display:flex; flex-direction:row; flex-wrap:nowrap; align-items:center; flex:auto;}
  146. .grace-header-body > .icons{width:44px; height:44px; line-height:44px; text-align:center; font-size:26px; flex-shrink:0;}
  147. .grace-header-icons{width:44px; height:44px; line-height:44px; text-align:center; font-size:26px; flex-shrink:0;}
  148. .grace-header-content{width:200rpx; line-height:44px; display:flex; flex:auto; flex-direction:row; flex-wrap:nowrap; align-items:center;}
  149. .grace-header-content-noflex{width:200rpx; flex:auto;}
  150. .grace-header-text{font-size:28rpx; margin:0 10rpx;}
  151. .grace-header-face{width:30px; height:30px; border-radius:30px; margin:0 10rpx;}
  152. /* 轮播组件 */
  153. .grace-swiper{width:100%; height:200rpx; position:relative; overflow:hidden;}
  154. .grace-swiper-item{width:100%; font-size:0; line-height:0; overflow:hidden;}
  155. .grace-swiper-image{width:100%;}
  156. .grace-swiper-title{width:100%; height:68rpx; line-height:68rpx; overflow:hidden; text-align:center; position:absolute; z-index:99; left:0; bottom:0; background:rgba(0, 0, 0, 0.2); color:#FFF;}
  157. /* 分类标签 */
  158. .grace-class{white-space:nowrap;}
  159. .grace-class view{width:auto; padding:0 18px; margin:0 2px; line-height:66rpx; display:inline-block; border-radius:50rpx;}
  160. .grace-class view:first-child{margin-left: 0;}
  161. .grace-class view:last-child{margin-right: 0;}
  162. .grace-class .grace-current{background:#3688FF; color:#FFFFFF;}
  163. /* 普通标签 */
  164. .grace-tags{display:inline-block; padding:5rpx 12rpx; height:26rpx; line-height:26rpx; font-size:18rpx; background:#A5A7B2; color:#FFFFFF;}
  165. .grace-tags-large{display:inline-block; padding:6rpx 20rpx; height:40rpx; line-height:40rpx; font-size:24rpx; background:#A5A7B2; color:#FFFFFF;}
  166. .grace-tbr{border-radius:5rpx;}
  167. .grace-tbr-large{border-radius:40rpx;}
  168. .grace-capsule{display:inline-flex; flex-wrap:nowrap;}
  169. .grace-capsule-icon{display:inline-block; padding:12rpx 15rpx; height:30rpx; line-height:30rpx; font-size:24rpx; background:#3688FF; color:#FFFFFF;}
  170. .grace-icon-br{border-top-left-radius:3px; border-bottom-left-radius:3px;}
  171. .grace-capsule-text{display:inline-block; padding:12rpx 15rpx; line-height:26rpx; height:26rpx; font-size:24rpx; border:1px solid #3688FF; color:#3688FF;}
  172. .grace-text-br{border-top-right-radius:3px; border-bottom-right-radius:3px;}
  173. /* 通用列表 */
  174. .grace-list{}
  175. .grace-list-items{display:flex; flex-direction:row; flex-wrap:nowrap; align-items:center; justify-content:center;}
  176. .grace-list-icon{display:block; width:80rpx; height:80rpx; line-height:80rpx; text-align:center; font-size:50rpx; flex-shrink:0;}
  177. .grace-list-image{width:80rpx; height:80rpx; border-radius:80rpx; font-size:0; flex-shrink:0;}
  178. .grace-list-body{padding:26rpx 0; margin-left:26rpx; width:100rpx; flex:auto;}
  179. .grace-list-title{display:flex; flex-direction:row; flex-wrap:nowrap; justify-content:space-between;}
  180. .grace-list-title-text{display:block; font-size:26rpx !important; color:#333333; line-height:40rpx;}
  181. .grace-list-title-desc{display:block; font-size:22rpx; color:#999999; line-height:32rpx; margin-left:20rpx; flex-shrink:0;}
  182. .grace-list-body-desc{font-size:22rpx; color:#999999; line-height:36rpx;}
  183. .grace-list-arrow-right{display:block; font-size:36rpx !important; height:50rpx !important; line-height:50rpx !important; text-align:right; width:60rpx; color:#B2B2B2; flex-shrink:0;}
  184. /* 图文卡片 */
  185. .grace-img-card{display:flex; flex-direction:row; flex-wrap:wrap; justify-content:space-between;}
  186. .grace-img-card-item{width:340rpx; overflow:hidden; font-size:0; position:relative; margin-bottom:26rpx;}
  187. .grace-img-card-img{width:340rpx; height:220rpx; position:relative; font-size:0;}
  188. .grace-img-card-bgTitle{line-height:50rpx; width:340rpx; text-align:center; position:absolute; left:0; bottom:0; background-color:rgba(0,0,0,0.2); color:#FFFFFF; font-size:24rpx;}
  189. .grace-img-card-title{font-size:26rpx; margin-top:3px; height:50rpx; line-height:50rpx; display:block;}
  190. .grace-img-card-more{flex-direction:row; flex-wrap:wrap; justify-content:space-between; align-items:center; padding:6rpx 0; display:flex;}
  191. .grace-img-card-price{font-size:30rpx; color:#FF0036;}
  192. .grace-img-card-btn{width:66rpx; border:1px solid #FF0036; line-height:30rpx; text-align:center; padding:6rpx 16rpx; border-radius:3px; font-size:20rpx; color:#FF0036; display:block;}
  193. /* 滚动区域 */
  194. .grace-scroll-x{display:flex; white-space:nowrap;}
  195. .grace-scroll-x-items{display:inline-flex; width:300rpx; height:200rpx; margin-right:10rpx;}
  196. .grace-scroll-y{font-size:0; height:200rpx; display:flex; flex-direction:column;}
  197. .grace-scroll-y-items{height:200rpx; width:100%; display:inline-flex; flex-shrink:0;}
  198. /* 徽章 */
  199. .grace-badge{border-radius:38rpx; height:38rpx; line-height:38rpx; padding:0 13rpx; font-size:22rpx;}
  200. .grace-badge-absolute{position:absolute; right:0rpx; top:4rpx; z-index:1;}
  201. .grace-badge-point{width:20rpx; height:20rpx; border-radius:12rpx; position:absolute; right:4rpx; top:4rpx; z-index:1; background:#FF0000;}
  202. .grace-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;}
  203. /* 新闻列表 */
  204. .grace-news-list{margin-top:25rpx; padding-bottom:25rpx;}
  205. .grace-news-item{display:flex; flex-direction:row; flex-wrap:nowrap; position:relative; padding:8rpx 0;}
  206. .grace-news-img{width:220rpx; height:220rpx; border-radius:5rpx; flex-shrink:0;}
  207. .grace-news-img-l{margin-right:20rpx;}
  208. .grace-news-img-r{margin-left:20rpx;}
  209. .grace-news-body{overflow:hidden; width:150rpx; flex:auto;}
  210. .grace-news-title{display:block; line-height:36rpx; font-size:26rpx; margin-top:-2rpx;}
  211. .grace-news-desc{display:block; line-height:32rpx; color:#A5A7B2; font-size:22rpx; margin-top:8rpx;}
  212. .grace-news-info{display:flex; flex-direction:row; justify-content:space-between; margin-top:8rpx;}
  213. .grace-news-info-text{font-size:22rpx; color:#999999;}
  214. .grace-news-img-list{display:flex; flex-direction:row; margin:10rpx 0; flex-wrap:wrap; justify-content: space-between;}
  215. .grace-news-imgs{width:225rpx; height:158rpx; margin:8rpx 0; font-size:0; border-radius:5rpx; overflow:hidden;}
  216. .grace-news-imgs-img{width:225rpx; height:158rpx;}
  217. /* 卡片视图 */
  218. .grace-card-view{margin-top:30rpx; margin-bottom:8rpx; border-radius:10rpx; background-color:#FFFFFF; padding:30rpx 25rpx;}
  219. .grace-card-body{flex-direction:row; flex-wrap:nowrap; padding-bottom:30rpx; display:flex;}
  220. .grace-card-img{width:100rpx; height:100rpx; border-radius:80rpx; flex-shrink:0;}
  221. .grace-card-desc{width:100rpx; margin-left:30rpx; flex:auto;}
  222. .grace-card-title{flex-direction:row; display:flex; align-items:center; flex-wrap:nowrap;}
  223. .grace-card-name{font-size:28rpx; color:#333333; line-height:50rpx; margin-right:20rpx;}
  224. .grace-card-text{line-height:50rpx; font-size:24rpx; color:#888888; display:block;}
  225. .grace-card-footer{display:flex; flex-direction:row; flex-wrap:nowrap; margin-top:20rpx; justify-content:space-between;}
  226. .grace-card-footer-item{width:700rpx; text-align:center; line-height:38rpx; font-size:26rpx; color:#666666;}
  227. /* 折叠面板 */
  228. .grace-accordion{background:#FFFFFF; margin-bottom:20rpx;}
  229. .grace-accordion-items{overflow:hidden;}
  230. .grace-accordion-items:last-child{border:none;}
  231. .grace-accordion-title{display:flex; flex-wrap:nowrap; width:92%; justify-content:space-between; padding:0 4% 0 4%; line-height:96rpx; height:96rpx; overflow:hidden; font-size:30rpx; align-items:center;}
  232. .grace-accordion-body{overflow:hidden;}
  233. /* 表单 */
  234. .grace-form{display:block; width:100%; height:auto; overflow:hidden;}
  235. .grace-form-item{display:flex; flex-direction:row; flex-wrap:nowrap; align-items:center;}
  236. .grace-form-label{display:block; width:130rpx; height:100rpx; font-size:28rpx; line-height:100rpx; flex-shrink:0; overflow:hidden; color:#888888;}
  237. .grace-form-icon{width:60rpx; height:60rpx; line-height:60rpx; font-size:28rpx; flex-shrink:0;}
  238. .grace-form-body{width:700rpx; margin-left:20rpx; overflow:hidden;}
  239. .grace-form-input{width:100%; height:40rpx; outline:none; line-height:40rpx; margin:20rpx 0; background:none; border:0; text-align:right; color:#333333; font-size:26rpx;}
  240. .grace-form-picker{display:flex; flex-direction:row; flex-wrap:nowrap; justify-content:flex-end; align-items:center;}
  241. .grace-check-item{margin:10rpx 10rpx 0 0; padding:0 10rpx; font-size:26rpx; display:block;}
  242. .grace-textarea{width:100%; height:120rpx !important; line-height:38rpx; background:none; border:0; font-size:26rpx; color:#666666;}
  243. @font-face{font-family:"grace-iconfonts"; src:url('data:application/ttf;charset=utf-8;base64,OLh6+EVGahJS0OU2yaKO26Kiu6Zv+fbC+9P6l/wm8ZwtrOU5zo2XwdDjj7ilb9szx6Pz8hzzU1DUMrbXMHC2NbU15WTlxOxUdK2llbX0DSSdFF0GClXLlRPIOJppGChZi5s6MnpKNvaqMLkwKoD8NsI9B7wqBANQgCNQhGDQgBAwhFKwhHGhBeDCDCOAI2YElRARjiAS2EBlMIQx4iGInC9nJQTHaVXQA5E8EE500AB910O4gBKhATdCAWWEFskIYcQBnigDbEBX2IBwYQHyQhIThBohj9KScAF0gKAuQMEpALsJAHSEG+/kuiIgA4aBqIoCiQhzQx6qgEABMoBTShNDCC5oAC1AQWUAuIQRYwhzaCM7QFGOgo6EHXQAn6DDbQJNjjczuo4gsok+FuApClC9pt9nPwK3ehR05loNUk');}
  244. /* 底部导航 */
  245. .grace-footer{position:fixed; z-index:2; left:0; bottom:0; background:#FFFFFF; width:750rpx; overflow:hidden; box-shadow:1px 1px 6px #888;}
  246. .grace-footer-button{width:230rpx; border:none !important; font-size:30rpx; border-radius:0; height:100rpx; line-height:100rpx;}
  247. .grace-footer-button:after{width:0; height:0;}
  248. .grace-footer-input-body{width:100rpx; flex:auto; padding:0 20rpx; height:66rpx; display:flex; flex-direction:row; flex-wrap:nowrap; background-color:#F5F6F8; border-radius:66rpx; margin:15rpx 20rpx; margin-right:0rpx; align-items:center;}
  249. .grace-footer-input-icon{width:66rpx; text-align:center; line-height:66rpx; display:block; font-size:32rpx; color:#888888;}
  250. .grace-footer-input{width:100rpx; flex:auto; font-size:26rpx; height:32rpx; line-height:32rpx; padding:0; overflow:hidden;}
  251. .grace-footer-subtext{padding:0 25rpx; font-size:26rpx;}
  252. /* 动画 */
  253. @keyframes grace-animate-rotateY360{from{transform:rotateY(0deg);} to {transform:rotateY(360deg);}}
  254. .grace-animate-rotateY360{animation:500ms linear grace-animate-rotateY360;}
  255. /* 评论列表 */
  256. .grace-comments{}
  257. .grace-comments-items{display:flex; flex-direction:row; flex-wrap:nowrap; padding:10rpx 0; margin:15rpx 0;}
  258. .grace-comments-face{width:80rpx; height:80rpx; border-radius:80rpx; margin-right:25rpx; flex-shrink:0;}
  259. .grace-comments-body{width:100rpx; flex:auto;}
  260. .grace-comments-header{display:flex; flex-direction:row; flex-wrap:nowrap; justify-content:space-between; margin-top:-4rpx; align-items:center;}
  261. .grace-comments-header-text{color:#333333; font-size:26rpx; line-height:40rpx;}
  262. .grace-comments-info{display:flex; flex-direction:row; flex-wrap:nowrap; justify-content:space-between; align-items:center;}
  263. .grace-comments-info-text{color:#999999; font-size:22rpx; line-height:40rpx; margin-top:10rpx;}
  264. .grace-comments-content{display:block; line-height:36rpx; font-size:24rpx; color:#666666; padding:8rpx 0;}
  265. .grace-comments-replay{display:block; background-color:#F5F6F8; font-size:24rpx; color:#666666; border-radius:3px; margin:3px 0; padding:20rpx; line-height:36rpx;}
  266. .grace-comments-replay-btn{display:block; background-color:#F4F5F6; font-size:20rpx; line-height:44rpx; padding:0rpx 20rpx; border-radius:44rpx; margin:5px 0; color:#333 !important;}
  267. .grace-comments-imgs{display:flex; flex-direction:row; flex-wrap:wrap; margin:8rpx 0;}
  268. .grace-comments-image{width:190rpx; height:138rpx; margin:5rpx; font-size:0; overflow:hidden;}
  269. .grace-comments-img{width:190rpx; height:138rpx; border-radius:3rpx;}
  270. /* 文件选择及预览 */
  271. .grace-file-list{display:flex; flex-wrap:wrap;}
  272. .grace-file-list .add-btn{width:31.3%; height:210rpx; margin:5px 1%; background:#F3F4F5;}
  273. .grace-file-list .add-btn view{font-size:28rpx; height:40rpx; margin-top:5px; line-height:40rpx; text-align:center; color:#999999; width:100%;}
  274. .grace-file-list .add-btn view:first-child{font-size:120rpx !important; height:80rpx; line-height:80rpx; margin:20rpx 0;}
  275. .grace-file-list .items{width:31.3%; position:relative; overflow:hidden; height:210rpx; margin:5px 1%; font-size:0; background:#F3F4F5;}
  276. .grace-file-list .items image{width:100%;}
  277. .grace-file-list .items .remove{width:50rpx; height:50rpx; line-height:50rpx; text-align:center; font-size:40rpx; position:absolute; z-index:1; right:0; bottom:0; background:rgba(0,0,0, 0.5); color:#FFFFFF;}
  278. /* 普通表格 */
  279. .grace-table{overflow:hidden;}
  280. .grace-theader{border-top:1px solid #F1F1F1; font-size:30rpx; border-left:1px solid #F1F1F1; flex-direction:row; flex-wrap:nowrap; display:flex;}
  281. .grace-td{width:375rpx; display:block; border-bottom:1px solid #F1F1F1; line-height:88rpx; text-align:center; border-right:1px solid #F1F1F1; font-size:24rpx;}
  282. .grace-tbody{border-left:1px solid #F1F1F1; display:flex; flex-direction:row; flex-wrap:nowrap;}
  283. /* 数据表格 */
  284. .grace-stable{width:750rpx;}
  285. .grace-stable-title{position:fixed; left:0; top:0; z-index:1; background:#FFFFFF;}
  286. .grace-stable-td{line-height:100rpx; display:inline-flex; width:200rpx; font-size:26rpx; justify-content:center; border-bottom:1px solid #F8F8F8;}
  287. .grace-stable-l{width:200rpx; background-color:#FFFFFF;}
  288. .grace-stable-r{width:550rpx !important; background-color:#FFFFFF;}
  289. .grace-stable-body{width:750rpx; padding-top:100rpx;}
  290. .grace-stable-body-cl{width:200rpx; display:inline-flex; flex-direction:column;}
  291. /* 模态对话框 按钮 */
  292. .grace-dialog-buttons{width:700rpx; line-height:88rpx; height:88rpx; display:block; overflow:hidden; text-align:center; font-size:26rpx; color:#999999;}
  293. /* 兼容 ios 键盘的布局 */
  294. .grace-sbody{display:flex; flex-direction:column; flex:1;}
  295. .grace-common-line{height:20rpx; background:#F4F5F6; width:100%;}