common.scss 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965
  1. page,
  2. .uni-app,
  3. uni-page,
  4. uni-page-wrapper,
  5. uni-page-body {
  6. font-family: 'PingFang SC', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Helvetica, Arial, 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif !important;
  7. text-size-adjust: 100% !important;
  8. -webkit-text-size-adjust: 100% !important;
  9. overflow: hidden;
  10. /* #ifdef MP-WEIXIN */
  11. overflow: auto;
  12. /* #endif */
  13. /* #ifdef APP */
  14. overflow: auto;
  15. /* #endif */
  16. // overflow-y: auto;
  17. }
  18. uni-page-body {
  19. height: 100%;
  20. overflow-x: hidden;
  21. overflow-y: auto;
  22. }
  23. .page_login {
  24. width: 100%;
  25. height: 100%;
  26. background-image: url('@/static/image/bg/login_bg.jpg');
  27. background-size: 100% 320px;
  28. background-repeat: no-repeat;
  29. background-position: 0 0;
  30. .login_weclome {
  31. width: calc(100% - 48px);
  32. margin: auto;
  33. height: auto;
  34. font-size: 18px;
  35. font-weight: 400;
  36. color: #ffffff;
  37. padding-top: 68px;
  38. }
  39. .login_title {
  40. width: calc(100% - 48px);
  41. margin: auto;
  42. font-size: 28px;
  43. font-weight: 500;
  44. color: #ffffff;
  45. line-height: 40px;
  46. height: 180px;
  47. margin-top: 8px;
  48. }
  49. .login_content {
  50. width: 100%;
  51. height: calc(100vh - 300px);
  52. background: #fff;
  53. box-shadow: 0px -20px 40px 0px rgba(4, 112, 255, 0.2);
  54. border-radius: 20px 20px 0px 0px;
  55. padding-top: 32px;
  56. box-sizing: border-box;
  57. .user_name {
  58. width: calc(100% - 48px);
  59. margin: auto;
  60. height: 48px;
  61. line-height: 48px;
  62. position: relative;
  63. background-color: #ffffff;
  64. .input_name {
  65. width: 100%;
  66. height: 100%;
  67. // box-shadow: 0px -10px 20px 0px rgba(4,112,255,0.2);
  68. border-radius: 10px 10px 10px 10px;
  69. border: 1px solid #ebeef5;
  70. text-indent: 40px;
  71. background-image: url('@/static/image/icon/login_acount.png');
  72. background-size: 16px 16px;
  73. background-repeat: no-repeat;
  74. background-position: 16px 50%;
  75. }
  76. .clear_icon {
  77. position: absolute;
  78. top: 0;
  79. right: 0;
  80. width: 48px;
  81. height: 48px;
  82. background-image: url('@/static/image/icon/clear_icon.png');
  83. background-size: 16px 16px;
  84. background-repeat: no-repeat;
  85. background-position: 16px 50%;
  86. }
  87. }
  88. .user_pass {
  89. width: calc(100% - 48px);
  90. margin: auto;
  91. height: 48px;
  92. line-height: 48px;
  93. margin-top: 24px;
  94. position: relative;
  95. .input_name {
  96. width: 100%;
  97. height: 100%;
  98. // box-shadow: 0px -10px 20px 0px rgba(4,112,255,0.2);
  99. border-radius: 10px 10px 10px 10px;
  100. border: 1px solid #ebeef5;
  101. text-indent: 40px;
  102. background-image: url('@/static/image/icon/login_pass.png');
  103. background-size: 16px 16px;
  104. background-repeat: no-repeat;
  105. background-position: 16px 50%;
  106. }
  107. .eye_icon {
  108. position: absolute;
  109. top: 0;
  110. right: 0;
  111. width: 48px;
  112. height: 48px;
  113. background-image: url('@/static/image/icon/login_eye.png');
  114. background-size: 16px 16px;
  115. background-repeat: no-repeat;
  116. background-position: 16px 50%;
  117. }
  118. .eyes_icon {
  119. position: absolute;
  120. top: 0;
  121. right: 0;
  122. width: 48px;
  123. height: 48px;
  124. background-image: url('@/static/image/icon/login_eyes.png');
  125. background-size: 16px 16px;
  126. background-repeat: no-repeat;
  127. background-position: 16px 50%;
  128. }
  129. }
  130. .login_button {
  131. width: calc(100% - 48px);
  132. margin: auto;
  133. margin-top: 24px;
  134. height: 48px;
  135. background: #2e64fa;
  136. border-radius: 8px 8px 8px 8px;
  137. font-weight: 500;
  138. font-size: 16px;
  139. color: #ffffff;
  140. text-align: center;
  141. line-height: 48px;
  142. }
  143. .agreement {
  144. width: 100%;
  145. display: flex;
  146. justify-content: center;
  147. align-items: center;
  148. padding: 20px 24px;
  149. box-sizing: border-box;
  150. font-size: 24rpx;
  151. .uni-radio-input {
  152. width: 24rpx;
  153. height: 24rpx;
  154. margin-right: 4rpx;
  155. svg {
  156. font-size: 18rpx;
  157. transform: translate(-50%, -48%) scale(0.5);
  158. }
  159. }
  160. .text {
  161. display: inline-flex;
  162. align-items: center;
  163. gap: 6rpx;
  164. .color_999 {
  165. color: #999999;
  166. margin: 0 4rpx;
  167. }
  168. .color_blue {
  169. color: #2e64fa;
  170. }
  171. }
  172. }
  173. }
  174. }
  175. //我的页面
  176. .page_my {
  177. width: 100%;
  178. height: 100%;
  179. position: relative;
  180. background: linear-gradient(180deg, #c7e0ff 0%, #f8f9fd 88.1%);
  181. .my_bg {
  182. width: 100%;
  183. height: 360rpx;
  184. position: absolute;
  185. left: 0rpx;
  186. top: 0rpx;
  187. z-index: 1;
  188. }
  189. .page_my_content {
  190. position: relative;
  191. z-index: 2;
  192. display: flex;
  193. flex-direction: column;
  194. width: 100%;
  195. padding: 0 48rpx;
  196. box-sizing: border-box;
  197. }
  198. .user_info {
  199. width: 100%;
  200. height: 250rpx;
  201. margin-top: 60rpx;
  202. display: flex;
  203. align-items: center;
  204. .user_image {
  205. width: 160rpx;
  206. height: 160rpx;
  207. margin-right: 40rpx;
  208. background-size: 50%;
  209. background-repeat: no-repeat;
  210. background-position: 0 50%;
  211. flex-shrink: 0;
  212. }
  213. .default_user {
  214. width: 160rpx;
  215. height: 160rpx;
  216. }
  217. .user_info_content {
  218. flex: 1;
  219. .user_name {
  220. width: 100%;
  221. font-weight: 500;
  222. font-size: 56rpx;
  223. color: #000000;
  224. display: -webkit-box;
  225. -webkit-box-orient: vertical;
  226. -webkit-line-clamp: 1; /* 设置最多显示的行数 */
  227. overflow: hidden;
  228. text-overflow: ellipsis;
  229. word-break: break-all; /* 确保单词可以在任何字符断开 */
  230. // height: auto; /* 根据字体大小调整高度 */
  231. // line-height: 1.5em; /* 每行的高度 */
  232. }
  233. // .user_school
  234. // {
  235. // width: 100%;
  236. // font-weight: 400;
  237. // font-size: 32rpx;
  238. // color: #666666;
  239. // }
  240. .user_account {
  241. margin-top: 20rpx;
  242. width: 100%;
  243. font-weight: 400;
  244. font-size: 32rpx;
  245. color: #666666;
  246. }
  247. }
  248. }
  249. .user_menu {
  250. width: 100%;
  251. height: 140rpx;
  252. margin-top: 40rpx;
  253. padding: 0 48rpx;
  254. box-sizing: border-box;
  255. background: #f9fbff;
  256. border-radius: 20rpx;
  257. display: flex;
  258. justify-content: space-between;
  259. align-items: center;
  260. &.top {
  261. margin-top: 0;
  262. }
  263. .menu_left {
  264. flex: 1;
  265. display: flex;
  266. align-items: center;
  267. }
  268. .iconfont {
  269. font-size: 36rpx;
  270. }
  271. .menu_icon {
  272. width: 40rpx;
  273. height: 40rpx;
  274. }
  275. .menu_text {
  276. font-weight: 400;
  277. font-size: 32rpx;
  278. margin-left: 16rpx;
  279. color: #333333;
  280. }
  281. .menu_right {
  282. font-size: 40rpx !important;
  283. color: #999999 !important;
  284. }
  285. }
  286. }
  287. //公共样式
  288. .page_body {
  289. width: 100%;
  290. min-height: 100%;
  291. box-sizing: border-box;
  292. background-color: #FFFFFF;
  293. //修改密码 协议
  294. .page_module {
  295. padding-top: 20rpx;
  296. padding-bottom: 10rpx;
  297. box-sizing: border-box;
  298. uni-button[type='primary'] {
  299. background-color: #2e64fa;
  300. font-weight: 400;
  301. }
  302. }
  303. .page_content{
  304. display: flex;
  305. width: 100%;
  306. flex-wrap: wrap;
  307. padding:0 24rpx;
  308. box-sizing: border-box;
  309. .no_data{
  310. display: flex;
  311. flex-direction: column;
  312. justify-content: center;
  313. align-items: center;
  314. width:100%;
  315. height: 100%;
  316. .no_data_img{
  317. width: 464rpx;
  318. height: 278rpx;
  319. }
  320. .no_data_text{
  321. color: #999999;
  322. font-weight: 400;
  323. font-size: 24rpx;
  324. line-height: 36rpx;
  325. }
  326. }
  327. //视频播放器样式
  328. // .uni-video-container{
  329. // background-color: #FFFFFF;
  330. // }
  331. .uni-video-cover-play-button{
  332. width: 100rpx;
  333. height: 100rpx;
  334. line-height: 100rpx;
  335. background-color: rgba(0,0,0,0.8);
  336. font-size: 40rpx;
  337. border-radius: 50%;
  338. color: #FFFFFF;
  339. }
  340. .uni-video-cover{
  341. background-color:transparent;
  342. }
  343. }
  344. //底部tabbar样式
  345. .uv-tabbar{
  346. .uv-border-top{
  347. border-top-width:0 !important;
  348. box-shadow: inset 0px 2rpx 0px 0px #F3F3F3;
  349. }
  350. }
  351. }
  352. //定义表头样式 复杂表头样式
  353. .custom_uni_nav_bar{
  354. .uni-navbar--border{
  355. border-bottom-color:#F3F3F3 !important;
  356. }
  357. &.custom_only_title_back_icon{
  358. .uni-navbar__header-btns-left{
  359. height: 96rpx;
  360. }
  361. }
  362. .uni-navbar__header-btns-left{
  363. position: absolute;
  364. top: 0;
  365. left: 0;
  366. z-index:10;
  367. height: 120rpx;
  368. .uni-icons{
  369. font-size: 48rpx !important;
  370. }
  371. }
  372. .uni-navbar__header-container{
  373. flex-direction: column;
  374. }
  375. .nav_head{
  376. width: 100%;
  377. display: flex;
  378. justify-content: space-between;
  379. align-items: center;
  380. height: 120rpx;
  381. padding: 0 24rpx 0 96rpx;
  382. box-sizing: border-box;
  383. box-shadow: 0px 4rpx 16rpx 0px rgba(0,0,0,0.02), inset 0px -2rpx 0px 0px #F3F3F3;
  384. &.leftWidth0{
  385. padding: 0 24rpx;
  386. }
  387. &.only_title{
  388. padding: 0 96rpx;
  389. height: 96rpx;
  390. .nav_title{
  391. text-align: center;
  392. }
  393. }
  394. &.row_search_box{
  395. padding: 24rpx 24rpx 0;
  396. .search_box{
  397. width: 100%;
  398. }
  399. }
  400. // 标题
  401. .nav_title{
  402. font-weight: 600;
  403. font-size: 44rpx;
  404. color: #333333;
  405. flex: 1;
  406. overflow: hidden;
  407. white-space: nowrap;
  408. text-overflow: ellipsis;
  409. }
  410. // 搜索
  411. .search_box {
  412. display: flex;
  413. align-items: center;
  414. box-sizing: border-box;
  415. width: 320rpx;
  416. .is-input-border{
  417. border-radius: 8rpx;
  418. border: 2rpx solid #DCDFE6;
  419. border-color: #DCDFE6 !important;
  420. }
  421. .search_icon {
  422. width: 32rpx;
  423. height: 32rpx;
  424. margin-left:24rpx;
  425. }
  426. .uni-easyinput__content-input {
  427. padding-left: 8rpx !important;
  428. font-size: 28rpx;
  429. color: #333333;
  430. height: 72rpx;
  431. .uni-easyinput__placeholder-class {
  432. font-size: 28rpx;
  433. color: #C0C4CC;
  434. }
  435. }
  436. }
  437. .upload_button{
  438. display: flex;
  439. align-items: center;
  440. height: 72rpx;
  441. padding: 0 28rpx;
  442. margin-right: 8rpx;
  443. background-color: #2E64FA;
  444. border-radius: 8rpx;
  445. border: 2rpx solid #2E64FA;
  446. .img{
  447. width: 28rpx;
  448. height: 28rpx;
  449. }
  450. .text{
  451. font-weight: 500;
  452. font-size: 28rpx;
  453. color: #FFFFFF;
  454. }
  455. }
  456. }
  457. //条件选择器
  458. .filter_picker {
  459. display: flex;
  460. width: 100%;
  461. gap: 32rpx;
  462. padding:24rpx 24rpx 0;
  463. box-sizing: border-box;
  464. background-color: #FFFFFF;
  465. .filter_item {
  466. display: flex;
  467. align-items: center;
  468. justify-content: space-between;
  469. padding:16rpx;
  470. background-color: #FFFFFF;
  471. border-radius: 8rpx;
  472. height: 72rpx;
  473. box-sizing: border-box;
  474. border: 2rpx solid #DCDFE6;
  475. .filter_text {
  476. font-size: 28rpx;
  477. color: #333333;
  478. font-weight: 400;
  479. margin-right: 8rpx;
  480. white-space: nowrap;
  481. overflow: hidden;
  482. text-overflow: ellipsis;
  483. }
  484. }
  485. }
  486. }
  487. //公共 tabs 样式
  488. .scroll_tabs {
  489. display: flex;
  490. margin-top: 24rpx;
  491. height: 56rpx;
  492. padding: 0 24rpx;
  493. box-sizing: border-box;
  494. .scroll_tabs_view{
  495. flex:1;
  496. }
  497. .uni-scroll-view-content {
  498. display: flex;
  499. gap: 48rpx;
  500. }
  501. .tab_item {
  502. display: inline-flex;
  503. font-weight: 400;
  504. font-size: 28rpx;
  505. color: #999999;
  506. position: relative;
  507. height: 100%;
  508. white-space: nowrap;
  509. &.selected {
  510. font-weight: 500;
  511. font-size: 32rpx;
  512. color: #2E64FA;
  513. &::after {
  514. content: '';
  515. position: absolute;
  516. bottom: 0rpx;
  517. left: 0;
  518. width: 100%;
  519. height: 4rpx;
  520. background-color: #2E64FA;
  521. }
  522. }
  523. }
  524. }
  525. //公共 tabBtns 样式
  526. .scroll_tab_btn{
  527. display: flex;
  528. margin-top: 32rpx;
  529. height: 72rpx;
  530. padding: 0 24rpx;
  531. box-sizing: border-box;
  532. > .uni-scroll-view{
  533. > .uni-scroll-view{
  534. > .uni-scroll-view-content {
  535. display: flex;
  536. gap: 24rpx;
  537. }
  538. }
  539. }
  540. .tab_item {
  541. flex:1;
  542. min-width: 128rpx;
  543. // display: inline-flex;
  544. // justify-content: center;
  545. // align-items: center;
  546. line-height: 68rpx;
  547. text-align: center;
  548. font-weight: 400;
  549. font-size: 28rpx;
  550. color: #333333;
  551. height: 100%;
  552. box-sizing: border-box;
  553. background-color: #FFFFFF;
  554. border-radius: 8rpx;
  555. border: 2rpx solid #DCDFE6;
  556. white-space: nowrap;
  557. overflow: hidden;
  558. text-overflow: ellipsis;
  559. &.selected {
  560. font-weight: 500;
  561. color: #2E64FA;
  562. background-color: rgba(46,100,250,0.1);
  563. border: 2rpx solid #2E64FA;
  564. }
  565. }
  566. }
  567. //定义只有标题时的表头样式
  568. .custom_navbar_only_title{
  569. .uni-navbar--border{
  570. border-bottom-color:#F3F3F3 !important;
  571. }
  572. .uni-navbar__header-btns-left {
  573. .uni-icons{
  574. font-size: 40rpx !important;
  575. }
  576. }
  577. .uni-navbar__header-container{
  578. .uni-navbar__header-container-inner{
  579. font-size: 32rpx;
  580. .uni-nav-bar-text{
  581. font-weight: 500;
  582. font-size: 32rpx;
  583. color: #333333;
  584. }
  585. }
  586. }
  587. }
  588. //表单样式
  589. .forms_style {
  590. width: 100%;
  591. display: flex;
  592. flex-direction: column;
  593. &.view{
  594. .uni-forms-item {
  595. .uni-forms-item__label {
  596. min-height: auto;
  597. align-items: flex-start;
  598. }
  599. //文本
  600. .uni-forms-item__content{
  601. justify-content: flex-end;
  602. text-align: right;
  603. }
  604. }
  605. }
  606. .uni-forms-item {
  607. &.uni-forms-item--border{
  608. padding: 24rpx 0;
  609. border-top: 2rpx solid #F3F3F3;
  610. }
  611. .uni-forms-item__label {
  612. font-weight: 400;
  613. font-size: 28rpx;
  614. color: #666666;
  615. min-height: 72rpx;
  616. height: auto;
  617. padding: 0;
  618. }
  619. .uni-forms-item__content {
  620. font-weight: 400;
  621. font-size: 28rpx;
  622. color: #333333;
  623. //输入框
  624. .uni-easyinput {
  625. font-size: 28rpx;
  626. .is-input-border {
  627. border: 2rpx solid #E9E9E9 !important;
  628. border-radius: 8rpx;
  629. }
  630. .is-disabled {
  631. background-color: #F3F3F3 !important;
  632. border: 2rpx solid #DCDFE6 !important;
  633. color: #333333;
  634. }
  635. .uni-easyinput__content-input {
  636. height: 72rpx;
  637. min-height:72rpx;
  638. font-size: 28rpx;
  639. padding-left:24rpx !important;
  640. .uni-easyinput__placeholder-class {
  641. font-size: 28rpx;
  642. color: #909399 ;
  643. }
  644. }
  645. .uni-easyinput__content-textarea{
  646. padding-left:24rpx !important;
  647. }
  648. .content-clear-icon {
  649. font-size: 40rpx !important;
  650. padding: 0 10rpx;
  651. }
  652. }
  653. //checkbox 单选 多选
  654. .uni-data-checklist {
  655. .checklist-group {
  656. .checklist-box{
  657. margin: 12rpx 0;
  658. margin-right: 24rpx;
  659. .radio__inner{
  660. width: 32rpx;
  661. height: 32rpx;
  662. border: 2rpx solid rgba(0,0,0,0.2);
  663. border-radius: 32rpx;
  664. .radio__inner-icon{
  665. width: 20rpx;
  666. height: 20rpx;
  667. border-radius: 20rpx;
  668. }
  669. }
  670. .checklist-content {
  671. .checklist-text{
  672. font-weight: 400;
  673. font-size: 28rpx;
  674. color: #333333;
  675. margin-left: 8rpx;
  676. line-height: 28rpx;
  677. }
  678. }
  679. }
  680. }
  681. }
  682. //单选框
  683. .uni-stat__select {
  684. .uni-select {
  685. font-size: 28rpx;
  686. border: 2rpx solid #DCDFE6;
  687. border-radius: 8rpx;
  688. height: 72rpx;
  689. min-height: 72rpx;
  690. box-sizing: border-box;
  691. padding: 0 16rpx 0 24rpx;
  692. &.uni-select--disabled{
  693. background-color: #F3F3F3;
  694. border: 2rpx solid #DCDFE6;
  695. }
  696. .uni-select__input-box {
  697. height: 72rpx;
  698. .uni-select__input-text {
  699. font-size: 28rpx !important;
  700. color: #333333;
  701. &.uni-select__input-placeholder {
  702. font-size: 28rpx;
  703. color: #909399;
  704. }
  705. }
  706. .tag-calss {
  707. font-size: 24rpx;
  708. border-radius: 8rpx;
  709. height: 48rpx;
  710. line-height: 44rpx;
  711. padding: 0 4rpx 0 8rpx;
  712. margin: 4rpx 12rpx 4rpx 0;
  713. .text {
  714. font-size: 24rpx;
  715. line-height: 44rpx;
  716. }
  717. }
  718. .uniui-clear {
  719. font-size: 40rpx !important;
  720. }
  721. }
  722. .uniui-top,
  723. .uniui-bottom {
  724. color: #c0c4cc !important;
  725. font-size: 32rpx !important;
  726. }
  727. //下拉框样式
  728. .uni-select__selector {
  729. .uni-select__selector-item {
  730. font-size: 24rpx;
  731. color: #666666;
  732. line-height: 60rpx;
  733. padding: 0 20rpx;
  734. }
  735. .uni-select_selector-item_active {
  736. background-color: #fff;
  737. color: #2e64fa;
  738. font-weight: 400;
  739. }
  740. }
  741. }
  742. }
  743. //日期选择框
  744. .uni-date {
  745. .uni-date-x--border {
  746. border: 2rpx solid #E9E9E9;
  747. border-radius: 8rpx;
  748. .uni-date-x {
  749. font-size: 28rpx;
  750. color: #333333;
  751. border-radius: 8rpx;
  752. .uniui-calendar {
  753. font-size: 32rpx !important;
  754. }
  755. .icon-calendar {
  756. font-size: 36rpx !important;
  757. }
  758. .uni-date__x-input {
  759. height: 72rpx;
  760. line-height: 72rpx;
  761. font-size: 28rpx;
  762. }
  763. }
  764. .uni-date__icon-clear {
  765. padding-right: 10rpx;
  766. }
  767. .uniui-clear {
  768. font-size: 40rpx !important;
  769. }
  770. }
  771. }
  772. }
  773. }
  774. }
  775. // 提示框样式
  776. .uni-popup-dialog {
  777. // width: 610rpx !important;
  778. border-radius: 20rpx !important;
  779. // background: linear-gradient(180deg, #dae4ff 0%, #ffffff 35.1%);
  780. &.white {
  781. background: #ffffff;
  782. }
  783. &.footBorder{
  784. .uni-dialog-button-group{
  785. border-top-color: #EBEEF5;
  786. border-top-width:1px !important;
  787. padding: 24rpx 40rpx;
  788. .uni-dialog-button{
  789. height: 80rpx;
  790. box-sizing: border-box;
  791. border-radius: 8rpx;
  792. &:first-child {
  793. border: 2rpx solid #DCDFE6;
  794. background-color: #FFFFFF;
  795. .uni-dialog-button-text {
  796. color: #666666 !important;
  797. }
  798. }
  799. }
  800. }
  801. }
  802. .uni-dialog-title {
  803. display: none !important;
  804. }
  805. .uni-dialog-content {
  806. flex-direction: column !important;
  807. padding: 0 !important;
  808. }
  809. //自定义标题样式
  810. .dialog_title {
  811. height: 96rpx;
  812. padding: 0 40rpx;
  813. width: 100%;
  814. background-color: #F5F7FA;
  815. border-radius: 20rpx 20rpx 0 0;
  816. box-sizing: border-box;
  817. display: flex;
  818. justify-content: space-between;
  819. align-items: center;
  820. .dialog_title_lt {
  821. display: inline-flex;
  822. align-items: center;
  823. .title {
  824. flex: 1;
  825. white-space: nowrap;
  826. overflow: hidden;
  827. text-overflow: ellipsis;
  828. color: #303133;
  829. font-weight: 500;
  830. font-size: 32rpx;
  831. }
  832. }
  833. }
  834. //自定义弹框内容
  835. .dialog_content {
  836. min-height: 160rpx;
  837. height: auto;
  838. display: flex;
  839. // overflow: auto;
  840. width: 100%;
  841. box-sizing: border-box;
  842. padding: 0 10rpx;
  843. flex-wrap: wrap;
  844. &.alert{
  845. justify-content: center;
  846. align-items: center;
  847. color: #666666;
  848. font-size: 28rpx;
  849. line-height: 40rpx;
  850. text-align: center;
  851. }
  852. }
  853. .uni-dialog-button-group {
  854. border-top-width: 0 !important;
  855. padding: 40rpx 44rpx 28rpx;
  856. box-sizing: border-box;
  857. .uni-dialog-button {
  858. height: 72rpx;
  859. background-color: #f0f2f9;
  860. border-radius: 12rpx;
  861. font-size: 28rpx;
  862. &:first-child {
  863. margin-right: 20rpx;
  864. .uni-dialog-button-text {
  865. color: #606266 !important;
  866. }
  867. }
  868. &:last-child {
  869. margin-left: 20rpx;
  870. .uni-dialog-button-text {
  871. color: #ffffff !important;
  872. }
  873. background-color: #2e64fa;
  874. }
  875. &.uni-border-left {
  876. border-left-width: 0;
  877. }
  878. }
  879. }
  880. }
  881. // 提示框样式
  882. .uni-tooltip-popup {
  883. padding: 8rpx 12rpx !important;
  884. max-width: 300rpx;
  885. // width: 120rpx;
  886. min-width: 100rpx;
  887. box-sizing: border-box;
  888. border-radius: 16rpx !important;
  889. line-height: 28rpx !important;
  890. font-size: 24rpx !important;
  891. text-align: center !important;
  892. white-space: nowrap;
  893. }
  894. // 我的荣誉头部下拉框
  895. .my_honor_selector_popup{
  896. top:313rpx;
  897. z-index: 999;
  898. .maskClass{
  899. opacity: 0 !important;
  900. }
  901. [name="content"]{
  902. width: 196rpx;
  903. left: 24rpx !important;
  904. box-sizing: border-box;
  905. border: 1px solid #EBEEF5;
  906. border-radius: 6px !important;
  907. box-shadow: 0 2px 12px 0 rgb(0 0 0 / 10%);
  908. z-index: 3;
  909. padding: 4px 0;
  910. transition:none !important;
  911. transform: none !important;
  912. }
  913. .uni-popup__wrapper{
  914. .selector_item_active{
  915. color: #2E64FA !important;
  916. font-weight: 400;
  917. .selector_item_icon{
  918. color: #2E64FA !important;
  919. }
  920. }
  921. .selector_item{
  922. justify-content: space-between;
  923. align-items: center;
  924. display: flex;
  925. cursor: pointer;
  926. line-height: 70rpx;
  927. font-size: 28rpx;
  928. padding: 0px 20rpx;
  929. .selector_item_text{
  930. flex:1;
  931. }
  932. .selector_item_icon{
  933. font-size: 28rpx !important;
  934. }
  935. }
  936. }
  937. }
  938. .uni-calendar-item--multiple .uni-calendar-item--before-checked, .uni-calendar-item--multiple .uni-calendar-item--after-checked {
  939. background-color:#2E64FA !important;
  940. }
  941. .uni-datetime-picker--btn{
  942. background-color:#2E64FA !important;
  943. }