common.scss 18 KB

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