components.scss 19 KB

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