common.scss 18 KB

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