common.scss 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961
  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. &.only_title{
  385. padding: 0 96rpx;
  386. height: 96rpx;
  387. .nav_title{
  388. text-align: center;
  389. }
  390. }
  391. &.row_search_box{
  392. padding: 24rpx 24rpx 0;
  393. .search_box{
  394. width: 100%;
  395. }
  396. }
  397. // 标题
  398. .nav_title{
  399. font-weight: 600;
  400. font-size: 44rpx;
  401. color: #333333;
  402. flex: 1;
  403. overflow: hidden;
  404. white-space: nowrap;
  405. text-overflow: ellipsis;
  406. }
  407. // 搜索
  408. .search_box {
  409. display: flex;
  410. align-items: center;
  411. box-sizing: border-box;
  412. width: 320rpx;
  413. .is-input-border{
  414. border-radius: 8rpx;
  415. border: 2rpx solid #DCDFE6;
  416. border-color: #DCDFE6 !important;
  417. }
  418. .search_icon {
  419. width: 32rpx;
  420. height: 32rpx;
  421. margin-left:24rpx;
  422. }
  423. .uni-easyinput__content-input {
  424. padding-left: 8rpx !important;
  425. font-size: 28rpx;
  426. color: #333333;
  427. height: 72rpx;
  428. .uni-easyinput__placeholder-class {
  429. font-size: 28rpx;
  430. color: #C0C4CC;
  431. }
  432. }
  433. }
  434. .upload_button{
  435. display: flex;
  436. align-items: center;
  437. height: 72rpx;
  438. padding: 0 28rpx;
  439. margin-right: 8rpx;
  440. background-color: #2E64FA;
  441. border-radius: 8rpx;
  442. border: 2rpx solid #2E64FA;
  443. .img{
  444. width: 28rpx;
  445. height: 28rpx;
  446. }
  447. .text{
  448. font-weight: 500;
  449. font-size: 28rpx;
  450. color: #FFFFFF;
  451. }
  452. }
  453. }
  454. //条件选择器
  455. .filter_picker {
  456. display: flex;
  457. width: 100%;
  458. gap: 32rpx;
  459. padding:24rpx 24rpx 0;
  460. box-sizing: border-box;
  461. background-color: #FFFFFF;
  462. .filter_item {
  463. display: flex;
  464. align-items: center;
  465. justify-content: space-between;
  466. padding:16rpx;
  467. background-color: #FFFFFF;
  468. border-radius: 8rpx;
  469. height: 72rpx;
  470. box-sizing: border-box;
  471. border: 2rpx solid #DCDFE6;
  472. .filter_text {
  473. font-size: 28rpx;
  474. color: #333333;
  475. font-weight: 400;
  476. margin-right: 8rpx;
  477. white-space: nowrap;
  478. overflow: hidden;
  479. }
  480. }
  481. }
  482. }
  483. //公共 tabs 样式
  484. .scroll_tabs {
  485. display: flex;
  486. margin-top: 24rpx;
  487. height: 56rpx;
  488. padding: 0 24rpx;
  489. box-sizing: border-box;
  490. .scroll_tabs_view{
  491. flex:1;
  492. }
  493. .uni-scroll-view-content {
  494. display: flex;
  495. gap: 48rpx;
  496. }
  497. .tab_item {
  498. display: inline-flex;
  499. font-weight: 400;
  500. font-size: 28rpx;
  501. color: #999999;
  502. position: relative;
  503. height: 100%;
  504. white-space: nowrap;
  505. &.selected {
  506. font-weight: 500;
  507. font-size: 32rpx;
  508. color: #2E64FA;
  509. &::after {
  510. content: '';
  511. position: absolute;
  512. bottom: 0rpx;
  513. left: 0;
  514. width: 100%;
  515. height: 4rpx;
  516. background-color: #2E64FA;
  517. }
  518. }
  519. }
  520. }
  521. //公共 tabBtns 样式
  522. .scroll_tab_btn{
  523. display: flex;
  524. margin-top: 32rpx;
  525. height: 72rpx;
  526. padding: 0 24rpx;
  527. box-sizing: border-box;
  528. > .uni-scroll-view{
  529. > .uni-scroll-view{
  530. > .uni-scroll-view-content {
  531. display: flex;
  532. gap: 24rpx;
  533. }
  534. }
  535. }
  536. .tab_item {
  537. flex:1;
  538. min-width: 128rpx;
  539. // display: inline-flex;
  540. // justify-content: center;
  541. // align-items: center;
  542. line-height: 68rpx;
  543. text-align: center;
  544. font-weight: 400;
  545. font-size: 28rpx;
  546. color: #333333;
  547. height: 100%;
  548. box-sizing: border-box;
  549. background-color: #FFFFFF;
  550. border-radius: 8rpx;
  551. border: 2rpx solid #DCDFE6;
  552. white-space: nowrap;
  553. overflow: hidden;
  554. text-overflow: ellipsis;
  555. &.selected {
  556. font-weight: 500;
  557. color: #2E64FA;
  558. background-color: rgba(46,100,250,0.1);
  559. border: 2rpx solid #2E64FA;
  560. }
  561. }
  562. }
  563. //定义只有标题时的表头样式
  564. .custom_navbar_only_title{
  565. .uni-navbar--border{
  566. border-bottom-color:#F3F3F3 !important;
  567. }
  568. .uni-navbar__header-btns-left {
  569. .uni-icons{
  570. font-size: 40rpx !important;
  571. }
  572. }
  573. .uni-navbar__header-container{
  574. .uni-navbar__header-container-inner{
  575. font-size: 32rpx;
  576. .uni-nav-bar-text{
  577. font-weight: 500;
  578. font-size: 32rpx;
  579. color: #333333;
  580. }
  581. }
  582. }
  583. }
  584. //表单样式
  585. .forms_style {
  586. width: 100%;
  587. display: flex;
  588. flex-direction: column;
  589. &.view{
  590. .uni-forms-item {
  591. .uni-forms-item__label {
  592. min-height: auto;
  593. align-items: flex-start;
  594. }
  595. //文本
  596. .uni-forms-item__content{
  597. justify-content: flex-end;
  598. text-align: right;
  599. }
  600. }
  601. }
  602. .uni-forms-item {
  603. &.uni-forms-item--border{
  604. padding: 24rpx 0;
  605. border-top: 2rpx solid #F3F3F3;
  606. }
  607. .uni-forms-item__label {
  608. font-weight: 400;
  609. font-size: 28rpx;
  610. color: #666666;
  611. min-height: 72rpx;
  612. height: auto;
  613. padding: 0;
  614. }
  615. .uni-forms-item__content {
  616. font-weight: 400;
  617. font-size: 28rpx;
  618. color: #333333;
  619. //输入框
  620. .uni-easyinput {
  621. font-size: 28rpx;
  622. .is-input-border {
  623. border: 2rpx solid #E9E9E9 !important;
  624. border-radius: 8rpx;
  625. }
  626. .is-disabled {
  627. background-color: #F3F3F3 !important;
  628. border: 2rpx solid #DCDFE6 !important;
  629. color: #333333;
  630. }
  631. .uni-easyinput__content-input {
  632. height: 72rpx;
  633. min-height:72rpx;
  634. font-size: 28rpx;
  635. padding-left:24rpx !important;
  636. .uni-easyinput__placeholder-class {
  637. font-size: 28rpx;
  638. color: #909399 ;
  639. }
  640. }
  641. .uni-easyinput__content-textarea{
  642. padding-left:24rpx !important;
  643. }
  644. .content-clear-icon {
  645. font-size: 40rpx !important;
  646. padding: 0 10rpx;
  647. }
  648. }
  649. //checkbox 单选 多选
  650. .uni-data-checklist {
  651. .checklist-group {
  652. .checklist-box{
  653. margin: 12rpx 0;
  654. margin-right: 24rpx;
  655. .radio__inner{
  656. width: 32rpx;
  657. height: 32rpx;
  658. border: 2rpx solid rgba(0,0,0,0.2);
  659. border-radius: 32rpx;
  660. .radio__inner-icon{
  661. width: 20rpx;
  662. height: 20rpx;
  663. border-radius: 20rpx;
  664. }
  665. }
  666. .checklist-content {
  667. .checklist-text{
  668. font-weight: 400;
  669. font-size: 28rpx;
  670. color: #333333;
  671. margin-left: 8rpx;
  672. line-height: 28rpx;
  673. }
  674. }
  675. }
  676. }
  677. }
  678. //单选框
  679. .uni-stat__select {
  680. .uni-select {
  681. font-size: 28rpx;
  682. border: 2rpx solid #DCDFE6;
  683. border-radius: 8rpx;
  684. height: 72rpx;
  685. min-height: 72rpx;
  686. box-sizing: border-box;
  687. padding: 0 16rpx 0 24rpx;
  688. &.uni-select--disabled{
  689. background-color: #F3F3F3;
  690. border: 2rpx solid #DCDFE6;
  691. }
  692. .uni-select__input-box {
  693. height: 72rpx;
  694. .uni-select__input-text {
  695. font-size: 28rpx !important;
  696. color: #333333;
  697. &.uni-select__input-placeholder {
  698. font-size: 28rpx;
  699. color: #909399;
  700. }
  701. }
  702. .tag-calss {
  703. font-size: 24rpx;
  704. border-radius: 8rpx;
  705. height: 48rpx;
  706. line-height: 44rpx;
  707. padding: 0 4rpx 0 8rpx;
  708. margin: 4rpx 12rpx 4rpx 0;
  709. .text {
  710. font-size: 24rpx;
  711. line-height: 44rpx;
  712. }
  713. }
  714. .uniui-clear {
  715. font-size: 40rpx !important;
  716. }
  717. }
  718. .uniui-top,
  719. .uniui-bottom {
  720. color: #c0c4cc !important;
  721. font-size: 32rpx !important;
  722. }
  723. //下拉框样式
  724. .uni-select__selector {
  725. .uni-select__selector-item {
  726. font-size: 24rpx;
  727. color: #666666;
  728. line-height: 60rpx;
  729. padding: 0 20rpx;
  730. }
  731. .uni-select_selector-item_active {
  732. background-color: #fff;
  733. color: #2e64fa;
  734. font-weight: 400;
  735. }
  736. }
  737. }
  738. }
  739. //日期选择框
  740. .uni-date {
  741. .uni-date-x--border {
  742. border: 2rpx solid #E9E9E9;
  743. border-radius: 8rpx;
  744. .uni-date-x {
  745. font-size: 28rpx;
  746. color: #333333;
  747. border-radius: 8rpx;
  748. .uniui-calendar {
  749. font-size: 32rpx !important;
  750. }
  751. .icon-calendar {
  752. font-size: 36rpx !important;
  753. }
  754. .uni-date__x-input {
  755. height: 72rpx;
  756. line-height: 72rpx;
  757. font-size: 28rpx;
  758. }
  759. }
  760. .uni-date__icon-clear {
  761. padding-right: 10rpx;
  762. }
  763. .uniui-clear {
  764. font-size: 40rpx !important;
  765. }
  766. }
  767. }
  768. }
  769. }
  770. }
  771. // 提示框样式
  772. .uni-popup-dialog {
  773. // width: 610rpx !important;
  774. border-radius: 20rpx !important;
  775. // background: linear-gradient(180deg, #dae4ff 0%, #ffffff 35.1%);
  776. &.white {
  777. background: #ffffff;
  778. }
  779. &.footBorder{
  780. .uni-dialog-button-group{
  781. border-top-color: #EBEEF5;
  782. border-top-width:1px !important;
  783. padding: 24rpx 40rpx;
  784. .uni-dialog-button{
  785. height: 80rpx;
  786. box-sizing: border-box;
  787. border-radius: 8rpx;
  788. &:first-child {
  789. border: 2rpx solid #DCDFE6;
  790. background-color: #FFFFFF;
  791. .uni-dialog-button-text {
  792. color: #666666 !important;
  793. }
  794. }
  795. }
  796. }
  797. }
  798. .uni-dialog-title {
  799. display: none !important;
  800. }
  801. .uni-dialog-content {
  802. flex-direction: column !important;
  803. padding: 0 !important;
  804. }
  805. //自定义标题样式
  806. .dialog_title {
  807. height: 96rpx;
  808. padding: 0 40rpx;
  809. width: 100%;
  810. background-color: #F5F7FA;
  811. border-radius: 20rpx 20rpx 0 0;
  812. box-sizing: border-box;
  813. display: flex;
  814. justify-content: space-between;
  815. align-items: center;
  816. .dialog_title_lt {
  817. display: inline-flex;
  818. align-items: center;
  819. .title {
  820. flex: 1;
  821. white-space: nowrap;
  822. overflow: hidden;
  823. text-overflow: ellipsis;
  824. color: #303133;
  825. font-weight: 500;
  826. font-size: 32rpx;
  827. }
  828. }
  829. }
  830. //自定义弹框内容
  831. .dialog_content {
  832. min-height: 160rpx;
  833. height: auto;
  834. display: flex;
  835. // overflow: auto;
  836. width: 100%;
  837. box-sizing: border-box;
  838. padding: 0 10rpx;
  839. flex-wrap: wrap;
  840. &.alert{
  841. justify-content: center;
  842. align-items: center;
  843. color: #666666;
  844. font-size: 28rpx;
  845. line-height: 40rpx;
  846. text-align: center;
  847. }
  848. }
  849. .uni-dialog-button-group {
  850. border-top-width: 0 !important;
  851. padding: 40rpx 44rpx 28rpx;
  852. box-sizing: border-box;
  853. .uni-dialog-button {
  854. height: 72rpx;
  855. background-color: #f0f2f9;
  856. border-radius: 12rpx;
  857. font-size: 28rpx;
  858. &:first-child {
  859. margin-right: 20rpx;
  860. .uni-dialog-button-text {
  861. color: #606266 !important;
  862. }
  863. }
  864. &:last-child {
  865. margin-left: 20rpx;
  866. .uni-dialog-button-text {
  867. color: #ffffff !important;
  868. }
  869. background-color: #2e64fa;
  870. }
  871. &.uni-border-left {
  872. border-left-width: 0;
  873. }
  874. }
  875. }
  876. }
  877. // 提示框样式
  878. .uni-tooltip-popup {
  879. padding: 8rpx 12rpx !important;
  880. max-width: 300rpx;
  881. // width: 120rpx;
  882. min-width: 100rpx;
  883. box-sizing: border-box;
  884. border-radius: 16rpx !important;
  885. line-height: 28rpx !important;
  886. font-size: 24rpx !important;
  887. text-align: center !important;
  888. white-space: nowrap;
  889. }
  890. // 我的荣誉头部下拉框
  891. .my_honor_selector_popup{
  892. top:313rpx;
  893. z-index: 999;
  894. .maskClass{
  895. opacity: 0 !important;
  896. }
  897. [name="content"]{
  898. width: 196rpx;
  899. left: 24rpx !important;
  900. box-sizing: border-box;
  901. border: 1px solid #EBEEF5;
  902. border-radius: 6px !important;
  903. box-shadow: 0 2px 12px 0 rgb(0 0 0 / 10%);
  904. z-index: 3;
  905. padding: 4px 0;
  906. transition:none !important;
  907. transform: none !important;
  908. }
  909. .uni-popup__wrapper{
  910. .selector_item_active{
  911. color: #2E64FA !important;
  912. font-weight: 400;
  913. .selector_item_icon{
  914. color: #2E64FA !important;
  915. }
  916. }
  917. .selector_item{
  918. justify-content: space-between;
  919. align-items: center;
  920. display: flex;
  921. cursor: pointer;
  922. line-height: 70rpx;
  923. font-size: 28rpx;
  924. padding: 0px 20rpx;
  925. .selector_item_text{
  926. flex:1;
  927. }
  928. .selector_item_icon{
  929. font-size: 28rpx !important;
  930. }
  931. }
  932. }
  933. }
  934. .uni-calendar-item--multiple .uni-calendar-item--before-checked, .uni-calendar-item--multiple .uni-calendar-item--after-checked {
  935. background-color:#2E64FA !important;
  936. }
  937. .uni-datetime-picker--btn{
  938. background-color:#2E64FA !important;
  939. }