input.scss 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351
  1. @import "/style/mixin.scss"
  2. .input_form_box {
  3. .input_title {
  4. font-size: 32upx;
  5. color: #333333;
  6. padding: 30upx;
  7. &.required::before {
  8. content: '*';
  9. font-size: 28upx;
  10. color: #f73333;
  11. }
  12. }
  13. .input_box {
  14. display: flex;
  15. flex-wrap: wrap;
  16. align-items: center;
  17. padding: 0 30upx;
  18. background-color: #fff;
  19. &.line {
  20. border-top: 1upx solid #f7f7f7;
  21. }
  22. &.btm_line {
  23. border-bottom: 1upx solid #e5e5e5;
  24. }
  25. .name {
  26. font-size: 28upx;
  27. color: #333333;
  28. min-width: 120upx;
  29. flex-shrink: 0;
  30. padding: 30upx 0;
  31. &.required::before {
  32. content: '*';
  33. font-size: 28upx;
  34. color: #f73333;
  35. }
  36. }
  37. .prompt {
  38. width: 100%;
  39. padding-bottom: 20upx;
  40. font-size: 28upx;
  41. color: #999999;
  42. transform: translateY(-10upx);
  43. }
  44. picker {
  45. flex: 1;
  46. }
  47. }
  48. .input_info {
  49. padding: 30upx 0;
  50. display: flex;
  51. flex: 1;
  52. align-items: center;
  53. justify-content: flex-end;
  54. > text {
  55. font-size: 24upx;
  56. color: #555555;
  57. margin-left: 10upx;
  58. flex-shrink: 0;
  59. }
  60. > view {
  61. font-size: 28upx;
  62. color: #333;
  63. margin-left: 10upx;
  64. flex-shrink: 0;
  65. }
  66. input {
  67. width: 100%;
  68. text-align: right;
  69. font-size: 28upx;
  70. }
  71. button {
  72. flex-shrink: 0;
  73. min-width: 146upx;
  74. padding: 0 30upx;
  75. height: 60upx;
  76. line-height: 60upx;
  77. background-color: $themeColor;
  78. border-radius: 8upx;
  79. font-size: 24upx;
  80. color: #ffffff;
  81. margin-left: 20upx;
  82. }
  83. }
  84. .switch {
  85. flex: 1;
  86. display: flex;
  87. justify-content: flex-end;
  88. align-items: center;
  89. &::after {
  90. content: "";
  91. @include bis('https://qn.kemean.cn/upload/201908/05/5f85ccc4de404cafb30b15dedef41e8b', 100% 100%);
  92. width: 108upx;
  93. height: 58upx;
  94. }
  95. &.active::after {
  96. background-image: url('https://qn.kemean.cn/upload/201908/05/eef318fa5c9f4692a1bd6ef6edd9be10');
  97. }
  98. }
  99. .radio_box {
  100. padding: 30upx 0;
  101. flex: 1;
  102. display: flex;
  103. justify-content: flex-end;
  104. view {
  105. display: flex;
  106. align-items: center;
  107. font-size: 28upx;
  108. color: #333333;
  109. margin-left: 90upx;
  110. &:first-child {
  111. margin-left: 0;
  112. }
  113. &::before {
  114. content: '';
  115. width: 38upx;
  116. height: 38upx;
  117. margin-right: 15upx;
  118. border: 2upx solid #eee;
  119. border-radius: 50%;
  120. box-sizing: border-box;
  121. }
  122. &.active::before {
  123. border: 12upx solid $themeColor;
  124. }
  125. }
  126. }
  127. .select_info {
  128. padding: 30upx 0;
  129. flex: 1;
  130. display: flex;
  131. justify-content: flex-end;
  132. align-items: center;
  133. .value {
  134. font-size: 28upx;
  135. color: #333;
  136. text-align: right;
  137. }
  138. .select {
  139. font-size: 28upx;
  140. color: #ccc;
  141. }
  142. .head_img {
  143. width: 100upx;
  144. height: 100upx;
  145. border-radius: 10upx;
  146. }
  147. &::after {
  148. content: '';
  149. @include bis('http://qn.kemean.cn/upload/202009/17/1600306951172qyyjj3hh.png', 100% 100%);
  150. width: 12upx;
  151. height: 20upx;
  152. margin-left: 24upx;
  153. flex-shrink: 0;
  154. }
  155. }
  156. .time_limit_box {
  157. width: 100%;
  158. display: flex;
  159. align-items: center;
  160. margin-top: -30rpx;
  161. .value {
  162. flex: 1;
  163. font-size: 28upx;
  164. color: #333;
  165. text-align: right;
  166. padding: 30rpx 0;
  167. }
  168. .to {
  169. font-size: 28rpx;
  170. color: #333333;
  171. padding: 0 30rpx;
  172. }
  173. .select {
  174. flex: 1;
  175. font-size: 28upx;
  176. color: #ccc;
  177. padding: 30rpx 0;
  178. }
  179. }
  180. .upload_info {
  181. width: 100%;
  182. display: flex;
  183. flex-wrap: wrap;
  184. padding-bottom: 10upx;
  185. .upload_img {
  186. width: 200upx;
  187. height: 200upx;
  188. background-color: #ffffff;
  189. border-radius: 4upx;
  190. margin-right: 16upx;
  191. margin-bottom: 16upx;
  192. overflow: hidden;
  193. position: relative;
  194. &:nth-child(3n) {
  195. margin-right: 0;
  196. }
  197. image {
  198. width: 100%;
  199. height: 100%;
  200. }
  201. .delete {
  202. position: absolute;
  203. top: 0upx;
  204. right: 0upx;
  205. width: 44upx;
  206. height: 44upx;
  207. background-image: url('https://qn.kemean.cn/upload/201908/05/df40b98b77fc4c42a5e0327c62975e29');
  208. background-position: center center;
  209. background-repeat: no-repeat;
  210. background-size: 100% 100%;
  211. }
  212. &.upload {
  213. border: none;
  214. background-color: #f7f7f7;
  215. background-image: url(./static/icon/ic_upload.png);
  216. background-position: center center;
  217. background-repeat: no-repeat;
  218. background-size: 60% 60%;
  219. }
  220. }
  221. }
  222. .textarea_info {
  223. width: 100%;
  224. padding-bottom: 30upx;
  225. font-size: 28upx;
  226. color: #333;
  227. textarea {
  228. width: 100%;
  229. height: 154upx;
  230. font-size: 28upx;
  231. line-height: 150%;
  232. }
  233. }
  234. }
  235. .placeholder {
  236. color: #ccc;
  237. }
  238. .protocol {
  239. margin-top: 20upx;
  240. display: flex;
  241. justify-content: center;
  242. align-items: center;
  243. font-size: 28upx;
  244. color: #666;
  245. text {
  246. color: $themeColor;
  247. }
  248. view {
  249. @include theme('unselected_img', './');
  250. background-repeat: no-repeat;
  251. background-position: center center;
  252. background-size: cover;
  253. width: 34upx;
  254. height: 34upx;
  255. margin-right: 10upx;
  256. &.active {
  257. @include theme('radio_img', './');
  258. }
  259. }
  260. }
  261. .form_but {
  262. margin-top: 80upx;
  263. padding: 30upx;
  264. display: flex;
  265. justify-content: center;
  266. button {
  267. flex: 1;
  268. height: 88upx;
  269. background-color: #f0f0f0;
  270. border-radius: 8upx;
  271. line-height: 88upx;
  272. font-size: 34upx;
  273. color: #cccccc;
  274. &.active {
  275. @include theme("btn_bg");
  276. color: #ffffff;
  277. }
  278. &::after {
  279. border: none;
  280. }
  281. }
  282. }
  283. // -----------------------导航条-------------------------------
  284. .cell_list {
  285. background-color: #fff;
  286. padding: 30upx;
  287. display: flex;
  288. justify-content: space-between;
  289. align-items: center;
  290. border-bottom: 1upx solid #f5f5f5;
  291. &:active {
  292. background-color: #f5f5f5;
  293. }
  294. &.interval {
  295. margin-bottom: 20upx;
  296. border-bottom: 0;
  297. }
  298. .cell_left {
  299. font-size: 28upx;
  300. color: #333333;
  301. display: flex;
  302. align-items: center;
  303. image {
  304. width: 30upx;
  305. height: 30upx;
  306. margin-right: 20upx;
  307. }
  308. }
  309. .cell_right {
  310. font-size: 28upx;
  311. color: #333333;
  312. display: flex;
  313. align-items: center;
  314. &.arrow::after {
  315. content: '';
  316. @include bis('./static/icon/me_lise_more.png', 100% 100%);
  317. width: 12upx;
  318. height: 22upx;
  319. margin-left: 20upx;
  320. }
  321. image {
  322. width: 36upx;
  323. height: 36upx;
  324. margin-left: 20upx;
  325. }
  326. }
  327. }