common.scss 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844
  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. background-color: #FFFFFF;
  291. //修改密码 协议
  292. .page_module {
  293. padding-top: 20rpx;
  294. padding-bottom: 10rpx;
  295. box-sizing: border-box;
  296. uni-button[type='primary'] {
  297. background-color: #2e64fa;
  298. font-weight: 400;
  299. }
  300. }
  301. .page_content{
  302. display: flex;
  303. width: 100%;
  304. flex-wrap: wrap;
  305. padding:0 24rpx;
  306. box-sizing: border-box;
  307. .no_data{
  308. display: flex;
  309. flex-direction: column;
  310. justify-content: center;
  311. align-items: center;
  312. width:100%;
  313. height: 100%;
  314. .no_data_img{
  315. width: 464rpx;
  316. height: 278rpx;
  317. }
  318. .no_data_text{
  319. color: #999999;
  320. font-weight: 400;
  321. font-size: 24rpx;
  322. line-height: 36rpx;
  323. }
  324. }
  325. //视频播放器样式
  326. // .uni-video-container{
  327. // background-color: #FFFFFF;
  328. // }
  329. .uni-video-cover-play-button{
  330. width: 100rpx;
  331. height: 100rpx;
  332. line-height: 100rpx;
  333. background-color: rgba(0,0,0,0.8);
  334. font-size: 40rpx;
  335. border-radius: 50%;
  336. color: #FFFFFF;
  337. }
  338. .uni-video-cover{
  339. background-color:transparent;
  340. }
  341. }
  342. //底部tabbar样式
  343. .uv-tabbar{
  344. .uv-border-top{
  345. border-top-width:0 !important;
  346. box-shadow: inset 0px 2rpx 0px 0px #F3F3F3;
  347. }
  348. }
  349. }
  350. //定义表头样式 复杂表头样式
  351. .custom_uni_nav_bar{
  352. .uni-navbar--border{
  353. border-bottom-color:#F3F3F3 !important;
  354. }
  355. .uni-navbar__header-btns-left{
  356. position: absolute;
  357. top: 0;
  358. left: 0;
  359. z-index:10;
  360. height: 120rpx;
  361. .uni-icons{
  362. font-size: 48rpx !important;
  363. }
  364. }
  365. .uni-navbar__header-container{
  366. flex-direction: column;
  367. }
  368. .nav_head{
  369. width: 100%;
  370. display: flex;
  371. justify-content: space-between;
  372. align-items: center;
  373. height: 120rpx;
  374. padding: 0 24px 0 96rpx;
  375. box-sizing: border-box;
  376. box-shadow: 0px 4rpx 16rpx 0px rgba(0,0,0,0.02), inset 0px -2rpx 0px 0px #F3F3F3;
  377. &.only_title{
  378. padding: 0 96rpx;
  379. height: 96rpx;
  380. .nav_title{
  381. text-align: center;
  382. }
  383. }
  384. // 标题
  385. .nav_title{
  386. font-weight: 600;
  387. font-size: 44rpx;
  388. color: #333333;
  389. flex: 1;
  390. overflow: hidden;
  391. white-space: nowrap;
  392. text-overflow: ellipsis;
  393. }
  394. // 搜索
  395. .search_box {
  396. display: flex;
  397. align-items: center;
  398. box-sizing: border-box;
  399. width: 320rpx;
  400. .is-input-border{
  401. border-radius: 8rpx;
  402. border: 2rpx solid #DCDFE6;
  403. border-color: #DCDFE6 !important;
  404. }
  405. .search_icon {
  406. width: 32rpx;
  407. height: 32rpx;
  408. margin-left:24rpx;
  409. }
  410. .uni-easyinput__content-input {
  411. padding-left: 8rpx !important;
  412. font-size: 28rpx;
  413. color: #333333;
  414. height: 72rpx;
  415. }
  416. }
  417. }
  418. //条件选择器
  419. .filter_picker {
  420. display: flex;
  421. width: 100%;
  422. gap: 32rpx;
  423. padding:24rpx 24rpx 0;
  424. box-sizing: border-box;
  425. background-color: #FFFFFF;
  426. .filter_item {
  427. display: flex;
  428. align-items: center;
  429. justify-content: space-between;
  430. padding:16rpx;
  431. background-color: #FFFFFF;
  432. border-radius: 8rpx;
  433. height: 72rpx;
  434. box-sizing: border-box;
  435. border: 2rpx solid #DCDFE6;
  436. .filter_text {
  437. font-size: 28rpx;
  438. color: #333333;
  439. font-weight: 400;
  440. margin-right: 8rpx;
  441. white-space: nowrap;
  442. overflow: hidden;
  443. }
  444. }
  445. }
  446. }
  447. //公共 tabs 样式
  448. .scroll_tabs {
  449. display: flex;
  450. margin-top: 24rpx;
  451. height: 56rpx;
  452. padding: 0 24rpx;
  453. box-sizing: border-box;
  454. .uni-scroll-view-content {
  455. display: flex;
  456. gap: 48rpx;
  457. }
  458. .tab_item {
  459. display: inline-flex;
  460. font-weight: 400;
  461. font-size: 28rpx;
  462. color: #999999;
  463. position: relative;
  464. height: 100%;
  465. white-space: nowrap;
  466. &.selected {
  467. font-weight: 500;
  468. font-size: 32rpx;
  469. color: #2E64FA;
  470. &::after {
  471. content: '';
  472. position: absolute;
  473. bottom: 0rpx;
  474. left: 0;
  475. width: 100%;
  476. height: 4rpx;
  477. background-color: #2E64FA;
  478. }
  479. }
  480. }
  481. }
  482. //公共 tabBtns 样式
  483. .scroll_tab_btn{
  484. display: flex;
  485. margin-top: 32rpx;
  486. height: 72rpx;
  487. padding: 0 24rpx;
  488. box-sizing: border-box;
  489. > .uni-scroll-view{
  490. > .uni-scroll-view{
  491. > .uni-scroll-view-content {
  492. display: flex;
  493. gap: 24rpx;
  494. }
  495. }
  496. }
  497. .tab_item {
  498. flex:1;
  499. min-width: 128rpx;
  500. display: inline-flex;
  501. justify-content: center;
  502. align-items: center;
  503. font-weight: 400;
  504. font-size: 28rpx;
  505. color: #333333;
  506. height: 100%;
  507. box-sizing: border-box;
  508. background-color: #FFFFFF;
  509. border-radius: 8rpx;
  510. border: 2rpx solid #DCDFE6;
  511. white-space: nowrap;
  512. &.selected {
  513. font-weight: 500;
  514. color: #2E64FA;
  515. background-color: rgba(46,100,250,0.1);
  516. border: 2rpx solid #2E64FA;
  517. }
  518. }
  519. }
  520. //定义只有标题时的表头样式
  521. .custom_navbar_only_title{
  522. .uni-navbar--border{
  523. border-bottom-color:#F3F3F3 !important;
  524. }
  525. .uni-navbar__header-btns-left {
  526. .uni-icons{
  527. font-size: 40rpx !important;
  528. }
  529. }
  530. .uni-navbar__header-container{
  531. .uni-navbar__header-container-inner{
  532. font-size: 32rpx;
  533. .uni-nav-bar-text{
  534. font-weight: 500;
  535. font-size: 32rpx;
  536. color: #333333;
  537. }
  538. }
  539. }
  540. }
  541. //表单样式
  542. .forms_style {
  543. width: 100%;
  544. display: flex;
  545. flex-direction: column;
  546. .uni-forms-item {
  547. &.uni-forms-item--border{
  548. padding: 24rpx 0;
  549. border-top: 2rpx solid #F3F3F3;
  550. }
  551. .uni-forms-item__label {
  552. font-weight: 400;
  553. font-size: 28rpx;
  554. color: #666666;
  555. height: 72rpx;
  556. padding: 0;
  557. }
  558. .uni-forms-item__content {
  559. font-weight: 400;
  560. font-size: 28rpx;
  561. color: #333333;
  562. //输入框
  563. .uni-easyinput {
  564. font-size: 28rpx;
  565. .is-input-border {
  566. border: 2rpx solid #E9E9E9 !important;
  567. border-radius: 8rpx;
  568. }
  569. .is-disabled {
  570. background-color: #f5f7fa !important;
  571. color: #333333;
  572. }
  573. .uni-easyinput__content-input {
  574. height: 72rpx;
  575. min-height:72rpx;
  576. font-size: 28rpx;
  577. padding-left:24rpx !important;
  578. .uni-easyinput__placeholder-class {
  579. font-size: 28rpx;
  580. color: #909399 ;
  581. }
  582. }
  583. .content-clear-icon {
  584. font-size: 40rpx !important;
  585. padding: 0 10rpx;
  586. }
  587. }
  588. //checkbox 单选 多选
  589. .uni-data-checklist {
  590. .checklist-group {
  591. .checklist-box{
  592. margin: 12rpx 0;
  593. margin-right: 24rpx;
  594. .radio__inner{
  595. width: 32rpx;
  596. height: 32rpx;
  597. border: 2rpx solid rgba(0,0,0,0.2);
  598. border-radius: 32rpx;
  599. .radio__inner-icon{
  600. width: 20rpx;
  601. height: 20rpx;
  602. border-radius: 20rpx;
  603. }
  604. }
  605. .checklist-content {
  606. .checklist-text{
  607. font-weight: 400;
  608. font-size: 28rpx;
  609. color: #333333;
  610. margin-left: 8rpx;
  611. line-height: 28rpx;
  612. }
  613. }
  614. }
  615. }
  616. }
  617. //单选框
  618. .uni-stat__select {
  619. .uni-select {
  620. font-size: 28rpx;
  621. border: 2rpx solid #DCDFE6;
  622. border-radius: 8rpx;
  623. height: 72rpx;
  624. min-height: 72rpx;
  625. box-sizing: border-box;
  626. padding: 0 16rpx 0 24rpx;
  627. .uni-select__input-box {
  628. height: 72rpx;
  629. .uni-select__input-text {
  630. font-size: 28rpx !important;
  631. color: #333333;
  632. &.uni-select__input-placeholder {
  633. font-size: 28rpx;
  634. color: #909399;
  635. }
  636. }
  637. .tag-calss {
  638. font-size: 24rpx;
  639. border-radius: 8rpx;
  640. height: 48rpx;
  641. line-height: 44rpx;
  642. padding: 0 4rpx 0 8rpx;
  643. margin: 4rpx 12rpx 4rpx 0;
  644. .text {
  645. font-size: 24rpx;
  646. line-height: 44rpx;
  647. }
  648. }
  649. .uniui-clear {
  650. font-size: 40rpx !important;
  651. }
  652. }
  653. .uniui-top,
  654. .uniui-bottom {
  655. color: #c0c4cc !important;
  656. font-size: 32rpx !important;
  657. }
  658. //下拉框样式
  659. .uni-select__selector {
  660. .uni-select__selector-item {
  661. font-size: 24rpx;
  662. color: #666666;
  663. line-height: 60rpx;
  664. padding: 0 20rpx;
  665. }
  666. .uni-select_selector-item_active {
  667. background-color: #fff;
  668. color: #2e64fa;
  669. font-weight: 400;
  670. }
  671. }
  672. }
  673. }
  674. //日期选择框
  675. .uni-date {
  676. .uni-date-x--border {
  677. border: 1px solid #ebeef5;
  678. border-radius: 8rpx;
  679. .uni-date-x {
  680. font-size: 28rpx;
  681. color: #333333;
  682. border-radius: 8rpx;
  683. .uniui-calendar {
  684. font-size: 32rpx !important;
  685. }
  686. .uni-date__x-input {
  687. height: 72rpx;
  688. line-height: 72rpx;
  689. font-size: 28rpx;
  690. }
  691. }
  692. .uni-date__icon-clear {
  693. padding-right: 10rpx;
  694. }
  695. .uniui-clear {
  696. font-size: 40rpx !important;
  697. }
  698. }
  699. }
  700. }
  701. }
  702. }
  703. // 提示框样式
  704. .uni-popup-dialog {
  705. // width: 610rpx !important;
  706. border-radius: 20rpx !important;
  707. // background: linear-gradient(180deg, #dae4ff 0%, #ffffff 35.1%);
  708. &.white {
  709. background: #ffffff;
  710. }
  711. &.footBorder{
  712. .uni-dialog-button-group{
  713. border-top-color: #EBEEF5;
  714. border-top-width:1px !important;
  715. padding: 24rpx 40rpx;
  716. .uni-dialog-button{
  717. height: 80rpx;
  718. box-sizing: border-box;
  719. border-radius: 8rpx;
  720. &:first-child {
  721. border: 2rpx solid #DCDFE6;
  722. background-color: #FFFFFF;
  723. .uni-dialog-button-text {
  724. color: #666666 !important;
  725. }
  726. }
  727. }
  728. }
  729. }
  730. .uni-dialog-title {
  731. display: none !important;
  732. }
  733. .uni-dialog-content {
  734. flex-direction: column !important;
  735. padding: 0 !important;
  736. }
  737. //自定义标题样式
  738. .dialog_title {
  739. height: 96rpx;
  740. padding: 0 40rpx;
  741. width: 100%;
  742. background-color: #F5F7FA;
  743. border-radius: 20rpx 20rpx 0 0;
  744. box-sizing: border-box;
  745. display: flex;
  746. justify-content: space-between;
  747. align-items: center;
  748. .dialog_title_lt {
  749. display: inline-flex;
  750. align-items: center;
  751. .title {
  752. margin-left: 16rpx;
  753. flex: 1;
  754. white-space: nowrap;
  755. overflow: hidden;
  756. text-overflow: ellipsis;
  757. color: #303133;
  758. font-weight: 500;
  759. font-size: 32rpx;
  760. }
  761. }
  762. }
  763. //自定义弹框内容
  764. .dialog_content {
  765. min-height: 160rpx;
  766. height: auto;
  767. display: flex;
  768. // overflow: auto;
  769. width: 100%;
  770. box-sizing: border-box;
  771. padding: 0 10rpx;
  772. flex-wrap: wrap;
  773. &.alert{
  774. justify-content: center;
  775. align-items: center;
  776. color: #666666;
  777. font-size: 28rpx;
  778. line-height: 40rpx;
  779. text-align: center;
  780. }
  781. }
  782. .uni-dialog-button-group {
  783. border-top-width: 0 !important;
  784. padding: 40rpx 44rpx 28rpx;
  785. box-sizing: border-box;
  786. .uni-dialog-button {
  787. height: 72rpx;
  788. background-color: #f0f2f9;
  789. border-radius: 12rpx;
  790. font-size: 28rpx;
  791. &:first-child {
  792. margin-right: 20rpx;
  793. .uni-dialog-button-text {
  794. color: #606266 !important;
  795. }
  796. }
  797. &:last-child {
  798. margin-left: 20rpx;
  799. .uni-dialog-button-text {
  800. color: #ffffff !important;
  801. }
  802. background-color: #2e64fa;
  803. }
  804. &.uni-border-left {
  805. border-left-width: 0;
  806. }
  807. }
  808. }
  809. }
  810. // 提示框样式
  811. .uni-tooltip-popup {
  812. padding: 8rpx 12rpx !important;
  813. max-width: 300rpx;
  814. // width: 120rpx;
  815. min-width: 100rpx;
  816. box-sizing: border-box;
  817. border-radius: 16rpx !important;
  818. line-height: 28rpx !important;
  819. font-size: 24rpx !important;
  820. text-align: center !important;
  821. white-space: nowrap;
  822. }