common.scss 19 KB

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