components.scss 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467
  1. /******************** 这里放组件样式 ********************/
  2. /***** view *****/
  3. view{box-sizing: border-box;}
  4. /***** 对齐方式 *****/
  5. .ezy-tl{text-align: left;}
  6. .ezy-tc{text-align: center;}
  7. .ezy-tr{text-align: right;}
  8. /***** 状态栏 *****/
  9. .ezy-status-bar{height: var(--status-bar-height);width: 100%;background-color: red;}
  10. /***** 超出省略 *****/
  11. // 文本超出省略号显示 (一行)
  12. @mixin single-line-ellipsis() {text-overflow: ellipsis;overflow: hidden;word-wrap: break-word;white-space: nowrap;word-break: break-all;}
  13. // 文本超出省略号显示 (多行)
  14. @mixin multi-line-ellipsis($rows: 3){-webkit-line-clamp:$rows;text-overflow: ellipsis;-o-text-overflow: ellipsis;overflow: hidden;word-wrap: break-word;display: -webkit-box;white-space: normal !important;-webkit-box-orient: vertical;}
  15. /***** 页面高度 *****/
  16. /* #ifdef H5 */
  17. //标题栏
  18. $titleBar-page: calc(100vh - var(--status-bar-height));
  19. //tabBar
  20. $titleBar-page: calc(100vh - var(--window-bottom));
  21. //标题栏 + tabBar
  22. $titleBar-tabBar-page: calc(100vh - var(--status-bar-height) - var(--window-bottom));
  23. /* #endif */
  24. /* #ifdef APP-PLUS */
  25. //标题栏
  26. $titleBar-page: calc(100vh - var(--status-bar-height));
  27. //tabBar
  28. $titleBar-page: 100vh;
  29. //标题栏 + tabBar
  30. $titleBar-tabBar-page: calc(100vh - var(--status-bar-height));
  31. /* #endif */
  32. /***** 页面背景图 *****/
  33. // no-repeat cover
  34. @mixin ezy-no-repeat-cover($position: center) {
  35. background-position: $position;background-size: cover;background-repeat: no-repeat;
  36. }
  37. // no-repeat contain
  38. @mixin ezy-no-repeat-contain($position: center) {
  39. background-position: $position;background-size: contain;background-repeat: no-repeat;
  40. }
  41. /***** 富文本处理 *****/
  42. @mixin ezy-rich-text() {
  43. div,p,span{margin: 0;padding: 0;}
  44. img{max-width: 100%;}
  45. }
  46. // 全屏的popup弹窗
  47. .ezy-popup-width-all{
  48. width: 100%;
  49. .uni-popup__wrapper{width: 100%;}
  50. }
  51. /***** tabbar *****/
  52. .ezy-custom-tabbar{
  53. width: 100%;height: 100rpx;position: fixed;left: 0;right: 0;background-color: #f9f9f9;box-shadow: 0 8rpx 24rpx rgba(0, 0, 0, 0.4);
  54. bottom: var(--window-bottom);padding: 0 24rpx env(safe-area-inset-bottom) 24rpx;box-sizing: border-box;z-index: 9;
  55. display: flex;flex-direction: row;align-items: center;
  56. .tabbar-item-box{
  57. width: 25%;display: flex;flex-wrap: nowrap;justify-content: space-evenly;
  58. }
  59. .tabbar-item{width: 60rpx;height: 80rpx;@include ezy-no-repeat-cover;z-index: 2;}
  60. }
  61. /***** 标题栏 *****/
  62. // 三个元素
  63. .ezy-navBar-box{
  64. display: flex;align-items: center;justify-content: space-between;
  65. padding: 0 20rpx 20rpx;box-sizing: border-box;position: relative;
  66. .nav-bar-icon{
  67. width: 24rpx;height: 38rpx;
  68. background-image: url("@/static/images/common/navBar-return-btn.png");@include ezy-no-repeat-cover();
  69. }
  70. .nav-bar-title{font-size: 36rpx;color: #fff;}
  71. // 考试数字
  72. .nav-bar-other{
  73. font-size: 30rpx;color: #fff;margin-right: 2%;
  74. .key-note{color: #ffff01;}
  75. }
  76. // 文字按钮
  77. .text-btn{font-size: 26rpx;color: #fff;padding-top: 4rpx;box-sizing: border-box;}
  78. }
  79. // 两个元素
  80. .icon-title-navBar-box{
  81. display: flex;align-items: center;justify-content: center;
  82. padding: calc(36rpx + var(--status-bar-height)) 20rpx 36rpx;box-sizing: border-box;position: relative;
  83. .nav-bar-title{
  84. font-size: 36rpx;height: 63rpx;line-height: 63rpx;color: #fff;
  85. max-width: 70%;position: relative;z-index: 1;
  86. }
  87. .nav-bar-icon{
  88. width: 100rpx;height: 100rpx;display: flex;align-items: center;
  89. position: absolute;left: 0;top: calc(14rpx + var(--status-bar-height));z-index: 1;
  90. }
  91. .nav-bar-icon::before{
  92. width: 24rpx;height: 38rpx;content: '';display: block;margin-left: 24rpx;
  93. background-image: url("@/static/images/common/navBar-return-btn.png");@include ezy-no-repeat-cover();
  94. }
  95. }
  96. .icon-title-navBar-box::before{
  97. width: 100%;height: 356rpx;content: '';display: block;position: absolute;z-index: 0;top: 0;left: 0;
  98. background-image: url("@/static/images/common/page-header-bj.png");@include ezy-no-repeat-cover(top);
  99. }
  100. // 仅一个返回按钮
  101. .ezy-nav-bar-icon{width: 72rpx;height: 63rpx;position: absolute;left: 0;top: var(--status-bar-height);}
  102. .ezy-nav-bar-icon::after{
  103. width: 24rpx;height: 38rpx;content: '';display: block;margin: 12rpx auto;
  104. background-image: url("@/static/images/common/navBar-return-btn.png");@include ezy-no-repeat-cover();
  105. }
  106. /***** 试题---题干 *****/
  107. .ezy-shiti-question{
  108. margin: 24rpx 0 42rpx;font-size: 32rpx;color: #333;line-height: 1.6;padding: 0 10rpx;box-sizing: border-box;
  109. text-align: justify;word-wrap: break-word;word-break: break-all;display: block;@include ezy-rich-text;
  110. }
  111. /***** 单选题 *****/
  112. .ezy-danxuan-box{
  113. margin: 0 10rpx;
  114. .danxuan-title{
  115. width: 231rpx;height: 63rpx;
  116. background-image: url("@/static/images/exam/danxuan-title.png");@include ezy-no-repeat-cover();
  117. }
  118. .danxuan-option-box{
  119. width: 100%;line-height:96rpx;border-radius: 8px;margin-bottom: 20rpx;
  120. font-size: 32rpx;color: #333;box-sizing: border-box;padding: 10rpx 24rpx;
  121. display: flex;
  122. .option-change{
  123. width: 48rpx;height: 48rpx;line-height: 48rpx;box-sizing: border-box;
  124. flex-shrink: 0;border-radius: 50%;border: 1rpx solid;margin-right: 16rpx;
  125. display: flex;align-items: center;justify-content: center;
  126. }
  127. .option-question{font-size: 32rpx;line-height: 1.6;margin-left: 6rpx;@include ezy-rich-text;
  128. text-align: justify;word-wrap: break-word;word-break: break-all;display: block;}
  129. }
  130. .danxuan-option-box.active .option-change{color: #FFF;background-color:#0589e9;border-color:#0589e9;}
  131. .danxuan-option-box.showError .option-change{color: #FFF;background-color:#ff5757;border-color:#ff5757;}
  132. .danxuan-option-box.active_right .option-change{color: #FFF;background-color:#1ac136;border-color:#1ac136;}
  133. }
  134. /***** 判断题 *****/
  135. .ezy-panduan-box{
  136. margin: 0 10rpx;
  137. .panduan-title{
  138. width: 231rpx;height: 63rpx;
  139. background-image: url("@/static/images/exam/panduan-title.png");@include ezy-no-repeat-cover();
  140. }
  141. .danxuan-option-box{
  142. width: 100%;line-height:96rpx;border-radius: 8px;margin-bottom: 20rpx;
  143. font-size: 32rpx;color: #333;box-sizing: border-box;padding: 10rpx 24rpx;
  144. }
  145. .uni-radio-input{
  146. width: 56rpx;height: 56rpx;border: 0;@include ezy-no-repeat-cover();
  147. background-image: url("@/static/images/exam/option-bj.png");}
  148. .option-question{display: flex;}
  149. .option-question.active .uni-radio-input{
  150. background-image: url("@/static/images/exam/option-active-img.png");
  151. background-color: transparent!important;
  152. svg{display: none;}
  153. }
  154. .option-question.showError .uni-radio-input{
  155. background-image: url("@/static/images/exam/option-error-img.png");
  156. background-color: transparent!important;
  157. svg{display: none;}
  158. }
  159. .option-question.active_right .uni-radio-input{
  160. background-image: url("@/static/images/exam/option-right-img.png");
  161. background-color: transparent!important;
  162. svg{display: none;}
  163. }
  164. }
  165. /***** 填空题 *****/
  166. .ezy-tiankong-box{
  167. .tiankongn-title{
  168. width: 231rpx;height: 63rpx;
  169. background-image: url("@/static/images/exam/tiankong-title.png");@include ezy-no-repeat-cover;
  170. }
  171. .tiankong-input {width: 50px;height: 32rpx;border: 1px solid #999;}
  172. .tk-input-box{display: inline-block;position: relative;font-size: 0;margin: 0 4rpx;}
  173. .tiankong-input{text-align: center;}
  174. .tiankong-input.showError{color: #ff5757;}
  175. .tiankong-input.active_right{color: green;}
  176. .tk-input-box.showError::after{
  177. content: '';width: 30rpx;height: 30rpx;display: block;position: absolute;top: -12rpx;right: -6rpx;
  178. background-image: url("@/static/images/exam/option-error-img.png");@include ezy-no-repeat-cover;
  179. }
  180. .tk-input-box.active_right::after{
  181. content: '';width: 30rpx;height: 30rpx;display: block;position: absolute;top: -12rpx;right: -6rpx;
  182. background-image: url("@/static/images/exam/option-right-img.png");@include ezy-no-repeat-cover;
  183. }
  184. .ezy-shiti-question li{margin: 20rpx 0;}
  185. }
  186. /***** 英语题 *****/
  187. .ezy-yingyu-danxuan-box{
  188. .yingyu-danxuan-title{
  189. width: 231rpx;height: 63rpx;
  190. background-image: url("@/static/images/exam/danxuan-title.png");@include ezy-no-repeat-cover();
  191. }
  192. .yingyu-danxuan-option-box{
  193. width: 100%;line-height:96rpx;border-radius: 8px;margin-bottom: 20rpx;
  194. font-size: 32rpx;color: #333;box-sizing: border-box;padding: 10rpx 24rpx;
  195. display: flex;
  196. .option-change{
  197. width: 48rpx;height: 48rpx;line-height: 48rpx;box-sizing: border-box;
  198. flex-shrink: 0;border-radius: 50%;border: 1rpx solid;margin-right: 16rpx;
  199. display: flex;align-items: center;justify-content: center;
  200. }
  201. .option-question{font-size: 32rpx;line-height: 1.6;margin-left: 6rpx;@include ezy-rich-text;
  202. text-align: justify;word-wrap: break-word;word-break: break-all;display: block;}
  203. }
  204. .yingyu-danxuan-option-box.active .option-change{color: #FFF;background-color:#0589e9;border-color:#0589e9;}
  205. .yingyu-danxuan-option-box.showError .option-change{color: #FFF;background-color:#ff5757;border-color:#ff5757;}
  206. .yingyu-danxuan-option-box.active_right .option-change{color: #FFF;background-color:#1ac136;border-color:#1ac136;}
  207. }
  208. /***** 英语题播放按钮 *****/
  209. .yingyu-canplay-img,.yingyu-playing-img{
  210. width: 48rpx;height: 48rpx;display: inline-block;margin: 0 24rpx 3rpx;
  211. vertical-align: middle;@include ezy-no-repeat-cover();
  212. }
  213. .yingyu-canplay-img{background-image: url("@/static/images/exam/yingyu-canplay-img.png");}
  214. .yingyu-playing-img{background-image: url("@/static/images/exam/yingyu-playing-img.gif");}
  215. /***** 试题白色的框 *****/
  216. .shiti-frame-box{
  217. flex: 1;width: 92%;height: auto;background-color: rgba(255, 255, 255, 0.6);border-radius: 10px;
  218. margin: 12rpx auto 32rpx;position: relative;padding: 10% 0 6%;box-sizing: border-box;display: flex;flex-direction: column;
  219. }
  220. .shiti-frame-box::before{
  221. content: "";display: block;background-color: rgba(255, 255, 255, 0.6);border-radius: 0 0 10rpx 10rpx;
  222. position: absolute;top: 20rpx;left: 20rpx;right: 20rpx;bottom: 30rpx;z-index: 1;
  223. }
  224. /***** 模拟标题栏 *****/
  225. .ezy-title-bar {
  226. height: calc(44px + env(safe-area-inset-top));
  227. position: fixed;top: var(--status-bar-height);left: var(--window-left);right: var(--window-right);
  228. background-color: rgb(248, 248, 248);color: rgb(0, 0, 0);box-sizing: border-box;
  229. display: flex;align-items: center;justify-content: center;overflow: hidden;z-index: 998;
  230. }
  231. // 小的提示弹窗
  232. .ezy-tip-dialog{
  233. .tip-content-box{@include ezy-no-repeat-cover;box-sizing: border-box;text-align:center;}
  234. .tip-title{
  235. color: #343434;font-size: 38rpx;margin-bottom: 24rpx;
  236. }
  237. .tip-content{
  238. color: #666;font-size: 32rpx;padding-bottom: 42rpx;
  239. border-bottom: 1px dashed #70cbf4;line-height: 1.6;
  240. }
  241. .tip-img{
  242. width: 260rpx;height: 260rpx;@include ezy-no-repeat-contain;margin: 0 auto;
  243. background-image: url("@/static/images/common/dialog-login-img.png");
  244. }
  245. .tip-btn-box{
  246. width: 100%;display: flex;justify-content: space-between;margin: 52rpx 0 0;
  247. .not-confirm-btn,.confirm-btn{
  248. width: 248rpx;height: 92rpx;line-height: 92rpx;
  249. color: #fff;@include ezy-no-repeat-cover;
  250. }
  251. .not-confirm-btn{background-image: url("@/static/images/common/tip-cancel-btn.png");}
  252. .confirm-btn{background-image: url("@/static/images/common/tip-confirm-btn.png");}
  253. }
  254. }
  255. .tip-small-dialog{
  256. .tip-content-box{
  257. width: 625rpx;height: 365rpx;padding: 42rpx 48rpx;
  258. background-image: url("@/static/images/common/tip-small-bj.png");
  259. }
  260. .tip-btn-box{
  261. margin: 0;
  262. .not-confirm-btn,.confirm-btn{
  263. width: 220rpx;height: 82rpx;line-height: 82rpx;margin: 30rpx 20rpx 0;
  264. }
  265. }
  266. }
  267. .tip-middle-dialog{
  268. .tip-content-box{
  269. width: 625rpx;height: 423rpx;padding: 42rpx 48rpx;
  270. background-image: url("@/static/images/common/tip-middle-bj.png");
  271. }
  272. }
  273. .tip-big-dialog{
  274. .tip-content-box{
  275. width: 625rpx;height: 519rpx;padding: 42rpx 48rpx;
  276. background-image: url("@/static/images/common/tip-big-bj.png");
  277. }
  278. .tip-content{min-height: 240rpx;text-align: justify;}
  279. }
  280. .sxtk-sc-dialog{
  281. .tip-title{color: #343434;font-size: 38rpx;margin-bottom: 24rpx;}
  282. .tip-content-box{
  283. width: 625rpx;height: 587rpx;padding: 42rpx 48rpx;box-sizing: border-box;
  284. background-image: url("@/static/images/my/tk-dialog-bj.png");
  285. @include ezy-no-repeat-cover;box-sizing: border-box;text-align:center;
  286. }
  287. .tip-content{
  288. min-height: 180rpx;text-align: justify;border-bottom: 1px dashed #70cbf4;
  289. margin-bottom: 30rpx;color: #666;font-size: 32rpx;padding-bottom: 42rpx;
  290. border-bottom: 1px dashed #70cbf4;line-height: 1.8;}
  291. .not-confirm-btn,.confirm-btn{
  292. width: 519rpx;height: 98rpx;line-height: 98rpx;@include ezy-no-repeat-cover;
  293. color: #fff;
  294. }
  295. .not-confirm-btn{background-image: url("@/static/images/my/tk-dialog-qx.png");margin-top: 16rpx;}
  296. .confirm-btn{background-image: url("@/static/images/my/tk-dialog-sc.png");}
  297. }
  298. /*积分框*/
  299. .ezy-jf-box{
  300. width: 142rpx;height: 46rpx;display: flex;align-items: center;line-height: 1.2;font-size: 26rpx;
  301. @include ezy-no-repeat-cover;background-image: url("@/static/images/common/jf-bj.png");margin-top: 20rpx;
  302. .jf-icon{width: 35rpx;height: 35rpx;margin:0 4rpx 0 10rpx;flex-shrink: 0;
  303. @include ezy-no-repeat-cover;background-image: url("@/static/images/my/jf-qb.png");}
  304. .jf-text{min-width: 60rpx;text-align: center;color: #fff;}
  305. }
  306. // tab页面
  307. .ezy-tab-border{
  308. flex: 1;width: 92%;height: auto;background-color: rgba(255, 255, 255, 0.6);border-radius: 10px;
  309. margin: 12rpx auto 32rpx;position: relative;box-sizing: border-box;display: flex;flex-direction: column;
  310. }
  311. .ezy-tab-box{
  312. height: 82rpx!important;
  313. background-color: rgba(255, 255, 255, 0.6);z-index: 3;margin: 20rpx 20rpx 0;
  314. box-sizing: border-box;padding: 10rpx 12rpx;border-radius: 8rpx;
  315. .segmented-control__text{color: #333!important;}
  316. .segmented-control__item--button,.segmented-control__item--button--last{height: 62rpx;border: 0;border-width: 0!important;border-radius: 8rpx;}
  317. .segmented-control__item--button--active .segmented-control__text{color: #fff!important;}
  318. }
  319. //视频
  320. .ezy-video-box{
  321. width: 606rpx;height: 365rpx;@include ezy-no-repeat-cover;margin: 0 auto 42rpx;
  322. background-image: url("@/static/images/exam/video-frame-bj.png");position: relative;
  323. box-sizing: border-box;padding: 18rpx;
  324. .ezy-video{
  325. width: 100%;height: 100%!important;background-color: transparent;
  326. .prism-big-play-btn{
  327. width: 87rpx;height: 87rpx;@include ezy-no-repeat-cover;background-image: url("@/static/images/course/video-play-btn.png");
  328. top: 52%;left: 50%!important;transform: translate(-50%, -50%);z-index: 20;
  329. .outter{border: 0;}
  330. }
  331. .prism-info-display{display: none;}
  332. .prism-time-display .time-bound,.prism-time-display .duration{color: #fff;}
  333. // 播放按钮动画
  334. .play-apply-animation{animation:unset;}
  335. }
  336. }
  337. // 底部支付
  338. .footer-mall-pay-box{
  339. width: 100%;background-color: #fff;position: absolute;bottom: 0;
  340. display: flex;align-items: center;justify-content: space-between;
  341. box-sizing: border-box;padding: 16rpx 12rpx calc(16rpx + var(--window-bottom));
  342. .mall-left-box{
  343. font-size: 22rpx;color: #afafaf;
  344. .price-icon-box{margin-bottom: 6rpx;}
  345. .red-price{font-size: 56rpx;color:#ff0101;font-weight: bold;margin-right: 10rpx;}
  346. .fh-text{font-size: 32rpx;margin-right: 0;}
  347. .mxjt-sq-icon,.mxjt-zk-icon{
  348. width: 18rpx;height: 18rpx;@include ezy-no-repeat-cover;margin-left: 4rpx;
  349. background-image: url("@/static/images/common/jt-up-icon.svg");
  350. }
  351. .mxjt-zk-icon{transform: rotate(180deg);}
  352. }
  353. .pay-status-box{
  354. width: 200rpx;display: flex;align-items: center;border-left: 1rpx solid #ccc;
  355. padding:2rpx 0 2rpx 16rpx;color: #666;margin-left: 4rpx;
  356. icon{width: 42rpx;height: 42rpx;@include ezy-no-repeat-cover;margin-right: 8rpx;}
  357. .wx-icon{background-image: url("@/static/images/pay/svip-wx-icon.png");}
  358. .zfb-icon{background-image: url("@/static/images/pay/svip-zfb-icon.png");}
  359. .apple-icon{background-image: url("@/static/images/common/apple-icon.png");}
  360. }
  361. .pay-status-box::after{
  362. content:'';width: 24rpx;height: 24rpx;margin-left: 4rpx;
  363. @include ezy-no-repeat-cover;background-image: url("@/static/images/common/qiehuan-icon.svg");
  364. }
  365. .apple-status-box{align-items: center;justify-content: center;}
  366. .apple-status-box::after{display: none;}
  367. .pay-btn{
  368. width: 200rpx;height: 80rpx;font-size: 28rpx;line-height: 80rpx;text-align: center;color: #fff;
  369. @include ezy-no-repeat-cover;background-image: url("@/static/images/mall/mall-btn.png");
  370. }
  371. }
  372. .footer-mall-pay-box::before{content:'';width: 100%;height: 4rpx;background-color: rgba(0, 0, 0, 0.4);
  373. position: absolute;left: 0;top: -4rpx;opacity: 0.4;}
  374. // 明细弹窗
  375. .mall-detail-dialog{
  376. width: 100%;height: 100vh;display: flex;align-items: flex-end;
  377. .detail-content-box{
  378. width: 750rpx;height: 90vh;@include ezy-no-repeat-cover(top);
  379. background-image: url("@/static/images/mall/cpmx-border-bj.png");
  380. box-sizing: border-box;padding: 84rpx 32rpx 0;position: relative;
  381. display: flex;flex-direction: column;
  382. }
  383. .yfmx-title,.cpmx-title{
  384. width: 231rpx;height: 58rpx;@include ezy-no-repeat-cover;
  385. background-image: url("@/static/images/mall/yfmx-text.png");
  386. display: block;margin: 0 auto 42rpx;
  387. }
  388. .cpmx-title{background-image: url("@/static/images/mall/cpmx-text.png");}
  389. .dialog-close-btn{
  390. width: 60rpx;height: 60rpx;
  391. background-image: url("@/static/images/catalog/catalog-close-btn.png");@include ezy-no-repeat-cover;
  392. position: absolute;top: 64rpx;right: 36rpx;
  393. }
  394. .content-yuanjia{font-size: 46rpx;color: #ff0101;}
  395. .select-all-box{
  396. text{padding-left: 200rpx;margin-left: -200rpx;display: inline-block;vertical-align: middle;}
  397. }
  398. .detail-checkbox{
  399. .uni-checkbox-input{
  400. width: 48rpx;height: 48rpx;@include ezy-no-repeat-cover;margin: 0 12rpx 0 0;
  401. background-image: url("@/static/images/pay/svip-radio.png");flex-shrink: 0;
  402. background-color:transparent;border:0; pointer-events: none;
  403. svg{
  404. width: 48rpx;height: 48rpx;transform: unset;left: 0;top:0;
  405. @include ezy-no-repeat-cover;background-image: url("@/static/images/pay/svip-radio-checked.png");
  406. }
  407. }
  408. }
  409. .detail-checkbox.checkbox-checked .uni-checkbox-input{
  410. background-image: url("@/static/images/pay/svip-radio-checked.png");
  411. }
  412. .detail-body-box{height: calc(90vh - 420rpx);overflow-y: auto;}
  413. .detail-item-box{
  414. display: flex;align-items: center;margin-top: 10rpx;border-bottom: 1px dashed #ccc;
  415. box-sizing: border-box;padding-bottom:32rpx;margin-bottom: 32rpx;
  416. .mall-image{width: 220rpx;height: 220rpx;margin-right: 16rpx;flex-shrink: 0;}
  417. .mt-20{margin-right: 20rpx;}
  418. .content-body-box{height: 220rpx;display: flex;flex-direction: column;justify-content: space-between;flex: 1;}
  419. .content-name{
  420. font-size: 36rpx;color: #000;margin-bottom: 12rpx;display: flex;align-items: center;
  421. .name-text{@include single-line-ellipsis;max-width: 320rpx;margin-right: 10rpx;}
  422. }
  423. .content-text{font-size: 24rpx;color: #666;@include multi-line-ellipsis(3);line-height: 1.5;}
  424. }
  425. .detail-bottom-box{
  426. width: 100%;display: flex;justify-content: space-between;color: #666;padding: 10rpx 0;
  427. .bottom-text-row{display: flex;align-items: center;}
  428. }
  429. .product-body-box{
  430. height: calc(90vh - 220rpx);overflow-y: auto;
  431. .content-body-box{justify-content: center;}
  432. }
  433. }
  434. // 升级提醒弹窗
  435. .phone-tip-dialog{
  436. width: 580rpx;border-radius: 12rpx;background-color: #fff;padding: 24rpx;
  437. .tip-title{padding-top: 24rpx;font-size: 34rpx;color: #333;text-align: center;}
  438. .tip-content{font-size: 32rpx;color: #666;margin:32rpx 32rpx 56rpx;line-height: 1.6;text-align: justify;}
  439. }