components.scss 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539
  1. /******************** 这里放组件样式 ********************/
  2. /***** uni组件颜色覆盖 *****/
  3. // select选项面包 确定按钮
  4. .uni-picker-container .uni-picker-action.uni-picker-action-confirm{color: #30c190!important;}
  5. .uni-calendar-item__weeks-box .uni-calendar-item--checked{background-color: #30c190!important;}
  6. .uni-date-changed .uni-datetime-picker--btn{background-color: #30c190!important;}
  7. /***** view *****/
  8. view{box-sizing: border-box;}
  9. /***** 对齐方式 *****/
  10. .ezy-tl{text-align: left;}
  11. .ezy-tc{text-align: center;}
  12. .ezy-tr{text-align: right;}
  13. /***** 状态栏 *****/
  14. .phone-status-bar{height: var(--status-bar-height);width: 100%;}
  15. /***** 超出省略 *****/
  16. // 文本超出省略号显示 (一行)
  17. @mixin single-line-ellipsis() {text-overflow: ellipsis;overflow: hidden;word-wrap: break-word;white-space: nowrap;word-break: break-all;}
  18. // 文本超出省略号显示 (多行)
  19. @mixin multi-line-ellipsis($rows: 3){-webkit-line-clamp:$rows;text-overflow: ellipsis;-o-text-overflow: ellipsis;overflow: hidden;word-wrap: break-word;display: -webkit-box;white-space: normal !important;-webkit-box-orient: vertical;}
  20. /***** 页面背景图 *****/
  21. // no-repeat cover
  22. @mixin ezy-no-repeat-cover($position: center) {
  23. background-position: $position;background-size: cover;background-repeat: no-repeat;
  24. }
  25. // no-repeat contain
  26. @mixin ezy-no-repeat-contain($position: center) {
  27. background-position: $position;background-size: contain;background-repeat: no-repeat;
  28. }
  29. /***** tabbar *****/
  30. .phone-custom-tabbar,.phone-client-tabbar{
  31. width: 100%;height: 120rpx;background-color: #fff;border-top: 1rpx solid #e5e4e4;z-index: 9;
  32. position: fixed;left: 0;right: 0;bottom:0;
  33. box-sizing: border-box;display: flex;justify-content: space-around;align-items: center;
  34. .tabbar-item{text-align: center;width: 160rpx;}
  35. .tabbar-item-icon{width: 40rpx;height: 40rpx;display: block;@include ezy-no-repeat-cover();margin: 0 auto 2rpx;}
  36. .tabbar-item-text{font-size: 28rpx;color: #333;}
  37. .tabbar-item-text.active{color: #3fd2a1;}
  38. }
  39. .phone-client-tabbar{
  40. background-color: #0abf8a;border: 0;
  41. .tabbar-item-text{color: #fff;}
  42. }
  43. /***** list列表滚动 *****/
  44. .phone-scroll-view{
  45. .uni-load-more{margin-bottom:var(--status-bar-height);}
  46. .uni-list--border-bottom{display: none;}
  47. }
  48. /***** 富文本处理 *****/
  49. @mixin ezy-rich-text() {
  50. white-space: pre-wrap;text-align: justify;
  51. div,p,span{margin: 0;padding: 0;}
  52. img{max-width: 100%;}
  53. .ql-align-center{text-align: center}
  54. .ql-align-right{text-align: right}
  55. // 9号字
  56. .ql-size-9px{font-size: 18rpx;}
  57. // 12号字
  58. .ql-size-12px{font-size: 24rpx;}
  59. // 14号字
  60. .ql-size-14px{font-size: 28rpx;}
  61. // 16号字
  62. .ql-size-16px{font-size: 32rpx;}
  63. // 18号字
  64. .ql-size-18px{font-size: 36rpx;}
  65. // 24号字
  66. .ql-size-24px{font-size: 48rpx;}
  67. // 32号字
  68. .ql-size-32px{font-size: 64rpx;}
  69. // 单倍行距
  70. .line-height-lineHeight1{line-height: 1;}
  71. // 1.5倍行距
  72. .line-height-lineHeight1-5{line-height: 1.5;}
  73. // 2倍行距
  74. .line-height-lineHeight2{line-height: 2;}
  75. // 2.5倍行距
  76. .line-height-lineHeight2-5{line-height: 2.5;}
  77. // 3倍行距
  78. .line-height-lineHeight3{line-height: 3;}
  79. }
  80. /***** 按钮 *****/
  81. // 按钮
  82. .phone-green-btn[type='default']{background-color: #3fd2a1;color: #fff;}
  83. .phone-white-btn[type='default']{background-color: #fff;color: #3fd2a1;border: 1rpx solid #3fd2a1;}
  84. .phone-white-btn[type='default']:after{display: none;}
  85. .phone-green-btn[type='default']:hover{background-color: #34c595;color: #fff;}
  86. /***** 标题栏 *****/
  87. // 三个元素
  88. .phone-navBar-box{
  89. display: flex;align-items: center;justify-content: space-between;background-color: #fff;
  90. padding: calc(var(--status-bar-height)) 20rpx 0 0;box-sizing: border-box;position: relative;
  91. flex-shrink: 0;
  92. .nav-bar-icon{
  93. width: 100rpx;height: 100rpx;padding-right: 32rpx;box-sizing: border-box;
  94. display: flex;align-items: center;justify-content: center;
  95. }
  96. .nav-bar-icon::before{
  97. width: 24rpx;height: 38rpx;display: block;content: '';
  98. background-image: url("@/static/images/common/nav-bar-jt.svg");@include ezy-no-repeat-cover();
  99. }
  100. .nav-bar-title{font-size: 36rpx;color: #333;}
  101. // 考试数字
  102. .nav-bar-other{
  103. font-size: 30rpx;color: #fff;margin-right: 2%;
  104. .key-note{color: #ffff01;}
  105. }
  106. // 文字按钮
  107. .text-btn{font-size: 26rpx;color: #666;padding-top: 4rpx;box-sizing: border-box;}
  108. // 图标
  109. .nav-bar-icon-box{
  110. .nav-bar-right-icon{font-size: 42rpx;color: #666;}
  111. .nav-bar-right-icon + .nav-bar-right-icon{margin-left: 24rpx;}
  112. }
  113. }
  114. // 两个元素
  115. .icon-title-navBar-box,.icon-title-bjcolor-navBar-box{
  116. height: 100rpx;line-height: 100rpx;flex-shrink: 0;
  117. display: flex;align-items: center;justify-content: center;background-color: #fff;
  118. padding: calc(var(--status-bar-height)) 20rpx 0 0;box-sizing: content-box;position: relative;
  119. .nav-bar-title{
  120. font-size: 32rpx;height: 63rpx;line-height: 63rpx;color: #333;max-width: 70%;
  121. }
  122. .nav-bar-icon{
  123. width: 100rpx;height: 100rpx;padding-right: 32rpx;box-sizing: border-box;
  124. display: flex;align-items: center;justify-content: center;
  125. position: absolute;left: 0;top: calc( var(--status-bar-height) );z-index: 1;
  126. }
  127. .nav-bar-icon::before{
  128. width: 24rpx;height: 38rpx;content: '';
  129. background-image: url("@/static/images/common/nav-bar-jt.svg");@include ezy-no-repeat-cover();
  130. }
  131. .bar-ml10{margin-left: 10rpx;}
  132. .nav-bar-btn{font-size: 24rpx;position: absolute;right: 20rpx;
  133. line-height: 50rpx;border-radius: 8rpx;padding: 0 10rpx;}
  134. }
  135. // 带背景色client使用
  136. .icon-title-bjcolor-navBar-box{
  137. background-color: #fff;padding: 10rpx;border-bottom: 1rpx solid #e0e0e0;
  138. .nav-bar-title{color: #3fd2a1;}
  139. .nav-bar-icon{width: 100rpx;height: 63rpx;background-image:unset;top: calc(12rpx + var(--status-bar-height));}
  140. .nav-bar-icon::before{content:'';width:50rpx;height: 50rpx;display: inline-block;margin-top: 6rpx;
  141. @include ezy-no-repeat-cover();
  142. background-image: url("@/static/images/common/return-icon.png");}
  143. }
  144. //带下边线的navBar
  145. .border-navBar-box{border-bottom: 1rpx solid #f4f6fa;}
  146. // 仅一个返回按钮
  147. .phone-nav-bar-icon{width: 24rpx;height: 38rpx;position: absolute;left: 24rpx;top: var(--status-bar-height);
  148. background-image: url("@/static/images/common/nav-bar-jt.svg");@include ezy-no-repeat-cover();
  149. }
  150. /***** tab *****/
  151. // client
  152. .phone-tab-box{
  153. .segmented-control--text{height: 80rpx!important;}
  154. .segmented-control__text{font-size: 32rpx!important;}
  155. }
  156. // admin
  157. .admin-tab-box{
  158. uni-scroll-view{z-index: 99!important;}
  159. .v-tabs__container-item.active{color: #3fd2a1!important;}
  160. .v-tabs__container-line.animation{height:4rpx!important;background-color: #3fd2a1!important;}
  161. }
  162. /***** 查询框 *****/
  163. .phone-search-box{
  164. width: 100%;padding: 20rpx 42rpx;box-sizing: border-box;background-color:#f4f6fa;position: relative;
  165. .search-input {
  166. height: 70rpx;line-height: 70rpx;font-size: 28rpx;background-color:#fff;
  167. border-radius: 35rpx;padding: 0 70rpx 0 20rpx;
  168. }
  169. .uni-input-placeholder{color:#a4a4a4;}
  170. .search-icon {
  171. width: 100rpx;height: 60rpx;line-height: 60rpx;text-align: center;
  172. position: absolute;right: 52rpx;top: 25rpx;
  173. background-color: #3fd2a1;
  174. border-radius: 40rpx;
  175. }
  176. }
  177. /***** 筛选查询框 *****/
  178. .select-search-row {
  179. width: 100%;background-color:#f4f6fa;padding: calc(20rpx + var(--status-bar-height)) 42rpx 20rpx;box-sizing: border-box;
  180. .select-search-body{display: flex;background-color:#fff;border-radius: 55rpx;position: relative;}
  181. .select-jt-box {width: 130rpx;height: 70rpx;line-height: 70rpx;flex-shrink: 0;
  182. display: flex;align-items: center;justify-content: center;}
  183. .selected-item {font-size: 28rpx;}
  184. .arrow {width: 0;height: 0;border-left: 6rpx solid transparent;border-right: 6rpx solid transparent;margin-left: 10rpx;}
  185. .arrow-down {border-top: 10rpx solid #000;}
  186. .arrow-up {border-bottom: 10rpx solid #000;}
  187. .select-list-box{
  188. width: 150rpx;border-radius: 8rpx;
  189. position: absolute;top: 90rpx;left: 20rpx;right: 0;z-index: 2;
  190. background-color: rgba(0, 0, 0, 0.8);color: #fff;
  191. .menu-item {padding: 10px;border-bottom: 1rpx solid #ccc;font-size: 28rpx;}
  192. .menu-item:last-child{border: 0;}
  193. }
  194. .select-list-box::before{
  195. content: '';width: 0;height: 0;border-bottom: 18rpx solid rgba(0, 0, 0, 0.8);;
  196. border-left: 12rpx solid transparent;border-right: 12rpx solid transparent;
  197. position: absolute;top: -16rpx;right:24rpx;
  198. }
  199. .search-input{
  200. font-size: 28rpx;height: 70rpx;line-height: 70rpx;padding: 0 120rpx 0 10rpx;text-align: left;flex: 1;}
  201. .search-icon {
  202. width: 100rpx;height: 60rpx;line-height: 60rpx;text-align: center;
  203. position: absolute;right: 10rpx;top: 5rpx;
  204. background-color: #3fd2a1;
  205. border-radius: 40rpx;
  206. }
  207. }
  208. .search-clear-box{
  209. width: 100%;height: 100rpx;line-height: 100rpx;display: flex;background-color: #fff;
  210. align-items: center;justify-content: center;
  211. icon{width: 30rpx;height: 30rpx;@include ezy-no-repeat-cover;
  212. background-image: url("@/static/images/common/clear-icon.svg");}
  213. text{font-size: 28rpx;color: #666;margin-left: 10rpx;}
  214. }
  215. // 前面带线的标题
  216. .phone-line-title {display: block;color: #333;font-size: 36rpx;line-height: 1;}
  217. .phone-line-title:before{content: ' ';width: 4rpx;height: 36rpx;background-color:#3fd2a1;
  218. margin-right: 18rpx;display: inline-block;vertical-align: middle;}
  219. /***** 试题---题干 *****/
  220. .phone-shiti-question{
  221. font-size: 32rpx;color: #333;line-height: 1.6;margin-bottom: 24rpx;
  222. text-align: justify;word-wrap: break-word;word-break: break-all;display: block;@include ezy-rich-text;
  223. display: flex;flex-direction: row;justify-content: flex-start;
  224. .question-num{flex-shrink: 0;}
  225. }
  226. /***** 单选题 *****/
  227. .phone-danxuan-box{
  228. margin: 0 10rpx;overflow: auto;height: calc(100vh - 440rpx - var(--status-bar-height));
  229. .danxuan-option-box{
  230. width: 100%;line-height:96rpx;border-radius: 8px;margin-bottom: 20rpx;
  231. font-size: 32rpx;color: #666;box-sizing: border-box;padding: 10rpx 24rpx;
  232. display: flex;
  233. .option-change{
  234. width: 48rpx;height: 48rpx;line-height: 48rpx;box-sizing: border-box;
  235. flex-shrink: 0;border-radius: 50%;border: 1rpx solid;margin-right: 16rpx;
  236. display: flex;align-items: center;justify-content: center;
  237. }
  238. .option-question{font-size: 32rpx;line-height: 1.6;margin-left: 6rpx;@include ezy-rich-text;
  239. text-align: justify;word-wrap: break-word;word-break: break-all;display: block;}
  240. }
  241. .danxuan-option-box.active .option-change{color: #FFF;background-color:#6186fb;border-color:#6186fb;}
  242. .danxuan-option-box.showError .option-change{color: #FFF;background-color:#ff5757;border-color:#ff5757;}
  243. .danxuan-option-box.active_right .option-change{color: #FFF;background-color:#1ac136;border-color:#1ac136;}
  244. }
  245. /***** 判断题 *****/
  246. .phone-duoxuan-box{
  247. margin: 0 10rpx;overflow: auto;height: calc(100vh - 440rpx - var(--status-bar-height));
  248. .duoxuan-option-box{
  249. width: 100%;line-height:96rpx;border-radius: 8px;margin-bottom: 20rpx;
  250. font-size: 32rpx;color: #666;box-sizing: border-box;padding: 10rpx 24rpx;
  251. display: flex;
  252. .option-change{
  253. width: 48rpx;height: 48rpx;line-height: 48rpx;box-sizing: border-box;
  254. flex-shrink: 0;border-radius: 50%;border: 1rpx solid;margin-right: 16rpx;
  255. display: flex;align-items: center;justify-content: center;
  256. }
  257. .option-question{font-size: 32rpx;line-height: 1.6;margin-left: 6rpx;@include ezy-rich-text;
  258. text-align: justify;word-wrap: break-word;word-break: break-all;display: block;}
  259. }
  260. // active background-color:#0589e9;
  261. .duoxuan-option-box.active .option-change{color: #FFF;background-color:#6186fb;border-color:#6186fb;}
  262. .duoxuan-option-box.showError .option-change{color: #FFF;background-color:#ff5757;border-color:#ff5757;}
  263. .duoxuan-option-box.active_right .option-change{color: #FFF;background-color:#1ac136;border-color:#1ac136;}
  264. }
  265. /***** 判断题 *****/
  266. .phone-panduan-box{
  267. margin: 0 10rpx;overflow: auto;height: calc(100vh - 440rpx - var(--status-bar-height));
  268. .panduan-option-box{
  269. width: 100%;line-height:96rpx;border-radius: 8px;margin-bottom: 20rpx;
  270. font-size: 32rpx;color: #666;box-sizing: border-box;padding: 10rpx 24rpx;
  271. .option-question{font-size: 32rpx;line-height: 1.6;margin-left: 16rpx;margin-bottom: 24rpx;
  272. text-align: justify;word-wrap: break-word;word-break: break-all;display: flex;
  273. .uni-radio-input{margin-right: 20rpx;}
  274. }
  275. }
  276. // active background-color:#0589e9;
  277. .option-question.active .uni-radio-input{color: #FFF;background-color:#6186fb!important;border-color:#6186fb!important;}
  278. .option-question.showError .uni-radio-input{color: #FFF;background-color:#ff5757!important;border-color:#ff5757!important;}
  279. .option-question.active_right .uni-radio-input{color: #FFF;background-color:#1ac136!important;border-color:#1ac136!important;}
  280. }
  281. /***** 填空题 *****/
  282. .phone-tiankong-box{
  283. overflow: auto;height: calc(100vh - 440rpx - var(--status-bar-height));
  284. .tiankong-option-box{
  285. padding:0 40rpx;box-sizing: border-box;margin-bottom: 36rpx;
  286. .option-question{font-size: 30rpx;color: #333;}
  287. .option-question-text{font-size: 30rpx;color: #333;margin-top: 16rpx;background: #f0f0f0;padding: 10px;border-radius: 4px;}
  288. }
  289. }
  290. /***** 单选块列表 *****/
  291. .phone-radio-group{
  292. display: flex;flex-wrap: wrap;overflow: auto;
  293. box-sizing: border-box;padding:16rpx;background-color: #fff;
  294. .form-radio-double-group{justify-content: space-between;}
  295. .phone-radio-item{
  296. width: 29%;height:60rpx;line-height:60rpx;border-radius: 6rpx;box-sizing: border-box;
  297. background-color:#f5f5f5;text-align: center;margin:10rpx 2%;@include single-line-ellipsis();
  298. padding: 0 6rpx;font-size: 26rpx;border:1rpx solid #f5f5f5;
  299. }
  300. .radioActive{background-color:#e5f8f4;border:1rpx solid #6bccb0;color:#6bccb0;}
  301. }
  302. /***** 考试须知 *****/
  303. .phone-ksxz-dialog{
  304. position: relative;
  305. .uni-dialog-title{
  306. padding: 24rpx 0!important;font-size: 30rpx;border-bottom: 1px solid #f5f5f5;
  307. .uni-popup__info{color: #333!important;}
  308. }
  309. .ksxz-close-icon{width: 36rpx;height: 36rpx;@include ezy-no-repeat-cover;
  310. position: absolute;top: 26rpx;right: 20rpx;
  311. background-image: url("@/static/images/common/close-icon.svg");}
  312. .uni-dialog-content{justify-content: flex-start!important;}
  313. .uni-dialog-button-text{color: #999!important;}
  314. .uni-dialog-button-text.uni-button-color{color: #3fd2a1!important;}
  315. .ksxz-content-box{
  316. width: 100%;font-size: 28rpx;color: #333;max-height: 70vh;overflow: auto;
  317. >view{margin-bottom: 12rpx;line-height: 1.6;}
  318. .ksms-row{margin-bottom: 12rpx;}
  319. .ksms-intro{color: #666;}
  320. .ksxz-img-box{
  321. text-align: center;
  322. img{max-width: 100%;max-height: 260rpx;}
  323. }
  324. }
  325. }
  326. /***** 默认头像 *****/
  327. .phone-default-userImg{
  328. width: 170rpx;height: 170rpx;margin: 0 auto;
  329. background-image: url("@/static/images/my/user-default-img.png");@include ezy-no-repeat-cover();}
  330. /***** form *****/
  331. // label-input
  332. .form-label-input{
  333. width: 100%;display: flex;justify-content: space-between;align-items: center;
  334. background-color: #fff;font-size: 30rpx;color: #333;
  335. padding: 20rpx;box-sizing: border-box;margin-bottom: 2rpx;
  336. .is-disabled{background-color: transparent!important;color: #999!important;}
  337. .form-label-require{color: #ff0101;margin-right: 6rpx;width:16rpx;display: inline-block;}
  338. .phone-form-label{min-width: 180rpx;}
  339. input{text-align: right;flex: 1;}
  340. .is-input-border{border:0!important;}
  341. .uni-input-placeholder{overflow: unset;}
  342. .uni-easyinput__placeholder-class{font-size: 30rpx!important;}
  343. .form-textarea-box{width: 100%;height: 160rpx;padding: 10rpx;border: 1rpx solid #e5e5e5;border-radius: 4px;}
  344. .change-icon{
  345. width: 36rpx;height: 36rpx;@include ezy-no-repeat-cover();transform: unset;
  346. background-image: url("@/static/images/common/change-icon.svg");
  347. display: inline-block;vertical-align: middle;margin-left: 8rpx;
  348. }
  349. .content-clear-icon{color: rgb(192, 196, 204)!important;}
  350. icon{width: 30rpx;height: 30rpx;@include ezy-no-repeat-cover;flex-shrink: 0;
  351. background-image: url("@/static/images/common/nav-bar-jt-bottom.svg");
  352. transform: rotate(270deg);margin-left: 4rpx;}
  353. // 文字行
  354. .input-text-row{height:60rpx;display: flex;align-items: center;flex: 1;justify-content: flex-end;}
  355. // 文字 超出省略
  356. .text-ellipsis-row{overflow: hidden;}
  357. .text-ellipsis{@include single-line-ellipsis();margin-left: 24rpx;}
  358. }
  359. // label-radio
  360. .form-label-radio{
  361. width: 100%;display: flex;justify-content: space-between;align-items: center;
  362. background-color: #fff;font-size: 30rpx;color: #333;
  363. padding: 6rpx 20rpx;box-sizing: border-box;margin-bottom: 2rpx;
  364. .form-label-require{color: #ff0101;margin-right: 6rpx;width:16rpx;display: inline-block;}
  365. .phone-form-label{min-width: 180rpx;line-height:60rpx;flex-shrink: 0;}
  366. .form-radio-group{display: flex;flex-wrap: wrap;flex: 1;}
  367. .form-radio-double-group{justify-content: space-between;}
  368. .form-radio-item{
  369. width: 29%;height:60rpx;line-height:60rpx;border-radius: 6rpx;box-sizing: border-box;
  370. background-color:#f5f5f5;text-align: center;margin:10rpx 2%;border:1rpx solid #f5f5f5;
  371. box-sizing: border-box;padding: 0 6rpx;font-size: 26rpx;
  372. }
  373. .genderActive{background-color:#e5f8f4;border:1rpx solid #6bccb0;color:#6bccb0;}
  374. // btn
  375. .radio-add-btn{
  376. width: 29%;height:60rpx;line-height:60rpx;border-radius: 6rpx;box-sizing: border-box;
  377. text-align: center;margin:10rpx 2%;border:1rpx solid #6bccb0;color:#6bccb0;
  378. box-sizing: border-box;padding: 0 6rpx;font-size: 26rpx;background-color:#e5f8f4;
  379. }
  380. .radio-btn-box{
  381. width: 100%;display:block;text-align: center;
  382. .radio-btn{color:#6bccb0;display:inline-block;margin: 16rpx 0;}
  383. .radio-btn::after{
  384. content: '';width: 30rpx;height: 30rpx;@include ezy-no-repeat-cover;
  385. background-image: url("@/static/images/common/nav-bar-jt-bottom-green.svg");
  386. display: inline-block;vertical-align: middle;margin-left: 10rpx;font-size: 30rpx;
  387. }
  388. .collapsed-btn::after{transform: rotate(180deg);}
  389. }
  390. .label-radio-btn-box{margin-right: 180rpx;}
  391. }
  392. // label-select
  393. .form-label-select{
  394. width: 100%;display: flex;justify-content: space-between;
  395. background-color: #fff;font-size: 30rpx;color: #333;
  396. padding: 20rpx;box-sizing: border-box;margin-bottom: 2rpx;
  397. .select-picker-box{width: 100%;display: flex;align-items: center;justify-content: flex-end;}
  398. .select-picker-box[disabled="true"]{color: #999;}
  399. .form-label-require{color: #ff0101;margin-right: 6rpx;width:16rpx;display: inline-block;}
  400. .phone-form-label{min-width: 180rpx;line-height:60rpx;flex-shrink: 0;}
  401. .form-radio-picker{width:auto!important;flex: unset!important;display: flex;align-items: center;}
  402. .form-radio-select,.form-radio-disabled{
  403. display: flex;align-items: center;flex: 1;justify-content: flex-end;
  404. icon{width: 30rpx;height: 30rpx;@include ezy-no-repeat-cover;
  405. background-image: url("@/static/images/common/nav-bar-jt-bottom.svg");
  406. transform: rotate(270deg);margin-left: 4rpx;}
  407. }
  408. .form-radio-disabled{
  409. color: #999;
  410. icon{background-image: url("@/static/images/common/nav-bar-jt-bottom-disabled.svg");}
  411. }
  412. // 日期
  413. .uni-date{
  414. display: flex;align-items: center;
  415. .uni-date-editor{flex: 1;display: flex;justify-content: flex-end;}
  416. }
  417. }
  418. //form disabled
  419. .form-label-disabled{position: relative;}
  420. .form-label-disabled::before{content:'';position: absolute;top: 0;left: 0;right: 0;bottom: 0;z-index: 2;}
  421. // label-switch
  422. .form-label-switch{
  423. width: 100%;display: flex;justify-content: space-between;align-items: center;
  424. background-color: #fff;font-size: 30rpx;color: #333;
  425. padding: 20rpx;box-sizing: border-box;margin-bottom: 2rpx;
  426. .form-label-require{color: #ff0101;margin-right: 6rpx;width:16rpx;display: inline-block;}
  427. .phone-form-label{min-width: 180rpx;line-height:52rpx;flex-shrink: 0;}
  428. }
  429. /***** admin上传 *****/
  430. .admin-upload-btn-box,.sfz-upload-box{
  431. width: 200rpx;height: 200rpx;border: 1rpx dashed #ccc;margin: 0 auto;box-sizing: border-box;
  432. display: flex;align-items: center;justify-content: center;border-radius: 8rpx;overflow: hidden;
  433. text{font-size: 42rpx;color:#d7d7d7;}
  434. .other-image{width: 200rpx;max-height: 200rpx;border-radius: 8rpx;}
  435. .sfz-image{width: 360rpx;max-height: 220rpx;border-radius: 8rpx;}
  436. }
  437. .sfz-upload-box{
  438. width: 360rpx;height: 220rpx;
  439. text{color:#888;}
  440. .sfz-content{font-size: 32rpx;color:#888;}
  441. }
  442. .upload-bottom-text {font-size: 24rpx;color: #666;text-align: center;margin-top: 10rpx;}
  443. /***** 通用弹窗 *****/
  444. .phone-common-dialog{
  445. width: 660rpx;border-radius: 12rpx;background-color: #fff;padding-top: 24rpx;
  446. .common-title{padding-top: 24rpx;font-size: 34rpx;color: #333;text-align: center;}
  447. .common-content{font-size: 32rpx;color: #666;margin:32rpx 48rpx 48rpx;line-height: 1.6;}
  448. .common-input-box{
  449. padding: 32rpx 0 20rpx;
  450. .common-input-row{display: flex;align-items: center;margin-bottom: 24rpx;}
  451. .common-label-require{color: #ff0101;margin-right: 6rpx;width:16rpx;display: inline-block;flex-shrink: 0;}
  452. .common-input-label{width: 200rpx;line-height:70rpx;font-size: 28rpx;color: #333;text-align: right;}
  453. .common-input,.common-input-margin{
  454. height: 70rpx;min-height: 70rpx;padding: 20rpx;box-sizing: border-box;margin-right: 30rpx;
  455. border: 1rpx solid #f0f0f0;border-radius: 10rpx;display: block;flex: 1;font-size: 28rpx;}
  456. .common-input-margin{margin:0 46rpx 24rpx 46rpx;}
  457. }
  458. .content-center-class{text-align: center;}
  459. .content-left-class{text-align: left;}
  460. .content-margin-bottom{margin-bottom: 20rpx;}
  461. .common-btn-box{display: flex;flex-direction: row;border-top-color: #f5f5f5;border-top-style: solid;border-top-width: 1px;}
  462. .not-confirm-btn,.confirm-btn{height: 90rpx;line-height: 90rpx;flex:1;text-align: center;font-size: 30rpx;}
  463. .not-confirm-btn{color: #666;}
  464. .confirm-btn{border-left-color: #f0f0f0;border-left-style: solid;border-left-width: 1px;color: #3fd2a1;}
  465. .no-border-btn{border: 0;}
  466. .code-img{width: 500rpx;height: 500rpx;display: block;margin: 0 auto;}
  467. }
  468. .phone-tip-dialog{
  469. width: 580rpx;border-radius: 12rpx;background-color: #fff;padding: 24rpx;
  470. .tip-title{padding-top: 24rpx;font-size: 34rpx;color: #333;text-align: center;}
  471. .tip-content{font-size: 32rpx;color: #666;margin:32rpx 24rpx 56rpx;line-height: 1.6;text-align: justify;}
  472. }
  473. /***** 列表通用新增按钮 *****/
  474. .list-new-btn-box{
  475. padding: 20rpx 24rpx 20rpx;background-color: #f4f6fa;box-sizing: border-box;
  476. .phone-green-btn{font-size: 28rpx;}
  477. }
  478. .share-popup-box{
  479. box-sizing: border-box;padding: 32rpx;position: relative;
  480. .share-title{font-size: 32rpx;color: #333;text-align: center;margin-bottom: 36rpx;}
  481. .close-btn{width: 100rpx;height: 100rpx;position: absolute;right: 0;top: 0;
  482. display: flex;align-items: center;justify-content: center;}
  483. .close-btn::after{content: '';width: 36rpx;height: 36rpx;display: block;@include ezy-no-repeat-cover;
  484. background-image: url("@/static/images/common/close-icon.svg");}
  485. .share-list{display: flex;justify-content: space-evenly;margin: 42rpx 0;}
  486. .share-item{
  487. display: flex;justify-content: center;flex-direction: column;align-items: center;
  488. .share-icon{width: 80rpx;height: 80rpx;@include ezy-no-repeat-cover;margin-bottom: 10rpx;}
  489. .wechat-icon{background-image: url("@/static/images/common/weixin-icon.svg");}
  490. .timeline-icon{background-image: url("@/static/images/common/pyq-icon.svg");}
  491. .share-text{font-size: 26rpx;color: #333;}
  492. }
  493. .share-close{width: 360rpx;height: 70rpx;line-height: 70rpx;background-color: #fff;border: 1rpx solid #3fd2a1;
  494. color: #3fd2a1;text-align: center;border-radius: 8rpx;margin: 32rpx auto 0;border-radius: 35rpx;}
  495. }