common.scss 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374
  1. .fw {
  2. width: 100%;
  3. }
  4. /* 通用css */
  5. .p_container {
  6. height: 100% !important;
  7. background-color: #F0F1F6;
  8. color: #333333;
  9. font-family: Source Han Sans CN;
  10. font-size: 0;
  11. }
  12. .p_content {
  13. display: inline-block;
  14. width: 100%;
  15. font-size: 30upx;
  16. background-color: #F0F1F6;
  17. }
  18. .backgroundCustom_FF7 {
  19. background-color: #ff7800 !important;
  20. color: #fff !important;
  21. }
  22. .backgroundCustom_2CC0A9 {
  23. background-color: #2CC0A9 !important;
  24. color: #fff !important;
  25. }
  26. /* 背景色 */
  27. /* 字体颜色 */
  28. .p_colorF {
  29. color: #ffffff !important;
  30. }
  31. .p_color_3 {
  32. color: #333333 !important;
  33. }
  34. .p_color_6 {
  35. color: #666666 !important;
  36. }
  37. .p_color_9 {
  38. color: #999999 !important;
  39. }
  40. .p_color_4d {
  41. color: #4d4d54 !important;
  42. }
  43. .p_color_8a {
  44. color: #8a8a99 !important;
  45. }
  46. /* 字体颜色 */
  47. .p_color_8A8A99 {
  48. color: #8A8A99 !important;
  49. }
  50. .p_color_2 {
  51. color: #222222 !important;
  52. }
  53. .p_color_992 {
  54. color: #99242C !important;
  55. }
  56. .p_color_722 {
  57. color: #722d00 !important;
  58. }
  59. .p_color_00A8A8 {
  60. color: #00A8A8 !important;
  61. }
  62. .p_color_D18E09 {
  63. color: #D18E09;
  64. }
  65. .p_color_red {
  66. color: red !important;
  67. }
  68. .p_color_E6825E {
  69. color: #E6825E !important;
  70. }
  71. .p_color_2CC0A9 {
  72. color: #2CC0A9 !important;
  73. }
  74. .p_color_FB9630 {
  75. color: #FB9630 !important;
  76. }
  77. .p_color_82D98A {
  78. color: #82D98A !important;
  79. }
  80. .p_color_40A6EB {
  81. color: #40A6EB !important;
  82. }
  83. .colorC9595b {
  84. color: #c9595b !important;
  85. }
  86. /* 搜索框 */
  87. .p_search_con {
  88. width: 100%;
  89. height: 76upx;
  90. background: #F0F1F6;
  91. border-radius: 38upx;
  92. margin-bottom: 20upx;
  93. position: relative;
  94. }
  95. .p_search_img {
  96. width: 32upx;
  97. height: 32upx;
  98. position: absolute;
  99. left: 30upx;
  100. top: 0;
  101. bottom: 0;
  102. margin: auto 0;
  103. }
  104. .p_search_input {
  105. width: 100%;
  106. text-align: center;
  107. }
  108. /* 加载更多 */
  109. .p_load_more {
  110. padding: 39upx 0 40upx;
  111. font-size: 26upx;
  112. text-align: center;
  113. }
  114. /* 按钮 */
  115. .p_btn_con {
  116. width: 100%;
  117. padding: 0 30upx;
  118. overflow: hidden;
  119. background-color: #fff;
  120. position: fixed;
  121. left: 0;
  122. bottom: 0;
  123. z-index: 2;
  124. }
  125. .p_btn_con_rela {
  126. position: relative;
  127. }
  128. .p_btn {
  129. width: 100%;
  130. height: 90upx;
  131. margin: 30upx 0;
  132. border-radius: 50px;
  133. font-size: 34upx;
  134. font-weight: 500;
  135. }
  136. .p_form {
  137. display: block;
  138. }
  139. .p_form_btn {
  140. height: 100%;
  141. width: 100%;
  142. border-radius: 8upx;
  143. font-size: 34upx;
  144. font-weight: 500;
  145. }
  146. /* 边框 */
  147. .p_border_top,
  148. .border_top {
  149. position: relative;
  150. }
  151. .p_border_top::before,
  152. .border_top::before {
  153. content: " ";
  154. position: absolute;
  155. left: 0;
  156. top: 0;
  157. width: 100%;
  158. height: 1px;
  159. border-top: 1px solid #e6e6e6;
  160. -webkit-transform-origin: 0 0;
  161. transform-origin: 0 0;
  162. -webkit-transform: scaleY(0.5);
  163. transform: scaleY(0.5);
  164. }
  165. .p_border_bottom,
  166. .border_bottom {
  167. position: relative;
  168. }
  169. .p_border_bottom::before,
  170. .border_bottom::before {
  171. content: " ";
  172. position: absolute;
  173. left: 0;
  174. bottom: 0;
  175. width: 100%;
  176. height: 1px;
  177. border-bottom: 1px solid #e6e6e6;
  178. -webkit-transform-origin: 0 0;
  179. transform-origin: 0 0;
  180. -webkit-transform: scaleY(0.5);
  181. transform: scaleY(0.5);
  182. }
  183. .p_border_left,
  184. .border_left {
  185. position: relative;
  186. }
  187. .p_border_left::after,
  188. .border_left::after {
  189. content: " ";
  190. position: absolute;
  191. left: 0;
  192. bottom: 0;
  193. width: 1px;
  194. height: 100%;
  195. border-left: 1px solid #e6e6e6;
  196. -webkit-transform-origin: 0 0;
  197. transform-origin: 0 0;
  198. -webkit-transform: scaleX(0.5);
  199. transform: scaleX(0.5);
  200. }
  201. .p_border_right,
  202. .border_right {
  203. position: relative;
  204. }
  205. .p_border_right::after,
  206. .border_right::after {
  207. content: " ";
  208. position: absolute;
  209. right: 0;
  210. bottom: 0;
  211. width: 1px;
  212. height: 100%;
  213. border-right: 1px solid #e6e6e6;
  214. -webkit-transform-origin: 0 0;
  215. transform-origin: 0 0;
  216. -webkit-transform: scaleX(0.5);
  217. transform: scaleX(0.5);
  218. }
  219. .p_border,
  220. .border {
  221. position: relative;
  222. }
  223. .p_border::before,
  224. .border::before {
  225. content: "";
  226. position: absolute;
  227. border: 1px solid #e6e6e6;
  228. top: -50%;
  229. left: -50%;
  230. width: 200%;
  231. height: 200%;
  232. border-radius: 50px;
  233. transform: scale(0.5);
  234. box-sizing: border-box;
  235. }
  236. /* 提示 */
  237. .p_tip {
  238. padding: 36upx 30upx;
  239. font-size: 26upx;
  240. line-height: 40upx;
  241. }
  242. /* 滑块 */
  243. .p_switch {
  244. transform: scale(0.7);
  245. margin-right: -20upx;
  246. }
  247. .p_bt200 {
  248. padding-bottom: 200upx;
  249. }
  250. .p_concerned {
  251. width: 100%;
  252. position: fixed;
  253. bottom: 0;
  254. left: 0;
  255. z-index: 10;
  256. }
  257. /* 二期右箭头 */
  258. .p_right {
  259. width: 20upx;
  260. height: 20upx;
  261. border: 1px;
  262. border-style: solid;
  263. border-color: #666 #666 transparent transparent;
  264. transform: rotateZ(45deg);
  265. }
  266. /* 背景图 */
  267. .p_back_img {
  268. position: absolute;
  269. top: 0;
  270. left: 0;
  271. width: 100%;
  272. }
  273. /* 快速问诊按钮 */
  274. .p_doctor_btn_img {
  275. position: absolute;
  276. width: 100%;
  277. height: 100%;
  278. border-radius: 26upx;
  279. top: 0;
  280. left: 0;
  281. /* box-shadow: 2px 2px 3px -1px #02C28A; */
  282. }
  283. /* 新css 全局样式无 */
  284. /* 滚动 */
  285. .p_scroll {
  286. overflow: auto;
  287. -webkit-overflow-scrolling: touch;
  288. }
  289. .p_mask {
  290. width: 100%;
  291. height: 100%;
  292. background: rgba(0, 0, 0, 0.6);
  293. position: fixed;
  294. top: 0;
  295. left: 0;
  296. z-index: 20;
  297. }
  298. .content view,
  299. .content image,
  300. .content text,
  301. .content navigator,
  302. .content form {
  303. box-sizing: border-box;
  304. line-height: 1.4em;
  305. }
  306. .p_content view,
  307. .p_content image,
  308. .p_content text,
  309. .p_content navigator,
  310. .p_content form {
  311. box-sizing: border-box;
  312. line-height: 1.4em;
  313. }
  314. .p_lineClamp {
  315. overflow: hidden;
  316. text-overflow: ellipsis;
  317. display: -webkit-box;
  318. -webkit-line-clamp: 2;
  319. -webkit-box-orient: vertical;
  320. }
  321. .p_flexStart {
  322. display: flex;
  323. align-items: center;
  324. justify-content: flex-start;
  325. }
  326. .p_inner {
  327. width: 100%;
  328. height: 100%;
  329. position: relative;
  330. z-index: 1;
  331. }
  332. .backgroundCustom_F6 {
  333. background: #F6F6F6;
  334. }
  335. .p_format {
  336. /* width: 100%;
  337. display: inline-block; */
  338. border-top: 1px solid transparent;
  339. border-bottom: 1px solid transparent;
  340. }
  341. .p_content {
  342. display: inline-block;
  343. width: 100%;
  344. font-size: 30upx;
  345. background-color: #F0F1F6;
  346. }
  347. .p_color_red {
  348. color: red !important;
  349. }