style.scss 6.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360
  1. .packet-send-wrap{
  2. position: relative;
  3. z-index: 1015;
  4. vertical-align: middle;
  5. display: inline-block;
  6. .help-wrap{
  7. position: absolute;
  8. left: 50%;
  9. top: 50%;
  10. margin-left: -139px;
  11. margin-top: -192px;
  12. width: 278px;
  13. height: 384px;
  14. background-color: #ffffff;
  15. .title{
  16. text-align: center;
  17. font-size: 14px;
  18. padding-top: 12px;
  19. margin-bottom: 14px;
  20. color: #333333;
  21. }
  22. .content{
  23. color: #999999;
  24. font-size: 14px;
  25. padding: 0 18px 18px;
  26. }
  27. .item{
  28. line-height: 1.6;
  29. margin-bottom: 10px;
  30. text-align: left;
  31. }
  32. }
  33. .main-box{
  34. padding: 0 20px;
  35. }
  36. .send-wrap{
  37. display: inline-block;
  38. vertical-align: middle;
  39. width: 278px;
  40. // height: 384px;
  41. background-color: #ffffff;
  42. border: 2px solid #f55a3c;
  43. border-radius: 4px;
  44. padding: 0 0 14px;
  45. box-sizing: border-box;
  46. position: relative;
  47. &.is-private{
  48. .words{
  49. margin-top: 30px;
  50. }
  51. }
  52. .el-icon-question{
  53. position: absolute;
  54. top: 10px;
  55. left: 18px;
  56. color: #c9c9c9;
  57. font-size: 20px;
  58. font-weight: bold;
  59. cursor: pointer;
  60. }
  61. .title{
  62. text-align: center;
  63. font-size: 14px;
  64. color: #f55a3c;
  65. padding-top: 10px;
  66. margin-bottom: 8px;
  67. }
  68. }
  69. .input-item{
  70. height: 30px;
  71. line-height: 30px;
  72. background-color: #f2f2f2;
  73. color: #333333;
  74. font-size: 14px;
  75. padding: 0 8px;
  76. .packet-box{
  77. position: relative;
  78. margin-left: 64px;
  79. padding-right: 50px;
  80. }
  81. input{
  82. text-align: right;
  83. display: block;
  84. outline: none;
  85. border: none;
  86. background-color: transparent;
  87. box-sizing: border-box;
  88. margin-right: 4px;
  89. height: 30px;
  90. line-height: 30px;
  91. width: 100%;
  92. -webkit-appearance: none;
  93. }
  94. .text{
  95. width: 64px;
  96. float: left;
  97. text-align: left;
  98. em{
  99. width: 16px;
  100. height: 16px;
  101. line-height: 16px;
  102. font-size: 12px;
  103. vertical-align: middle;
  104. color: #ffffff;
  105. margin-right: 4px;
  106. display: inline-block;
  107. background-color: #e8b948;
  108. text-align: center;
  109. }
  110. }
  111. .unit{
  112. position: absolute;
  113. top: 0;
  114. right: 0;
  115. // display: inline-block;
  116. text-align: left;
  117. width: 45px;
  118. height: 30px;
  119. cursor: pointer;
  120. &:hover{
  121. .code-menu {
  122. display: block;
  123. }
  124. }
  125. .cur-unit{
  126. position: relative;
  127. @include ellipsis;
  128. &.has-arrow{
  129. padding-right: 12px;
  130. &:before{
  131. content: "";
  132. position: absolute;
  133. top: 12px;
  134. right: 0;
  135. margin-left: 2px;
  136. vertical-align: middle;
  137. @include triangle-down(5px, #000000);
  138. }
  139. }
  140. }
  141. }
  142. .code-menu{
  143. display: none;
  144. position: absolute;
  145. top: 30px;
  146. left: 50%;
  147. transform: translateX(-50%);
  148. background-color: #ffffff;
  149. border: 1px solid #e1e1e1;
  150. border-radius: 2px;
  151. z-index: 2;
  152. .code-item{
  153. padding: 0 6px;
  154. text-align: center;
  155. line-height: 22px;
  156. font-size: 12px;
  157. color: #333333;
  158. border-bottom: 1px solid #e1e1e1;
  159. box-sizing: border-box;
  160. &:last-child{
  161. border-bottom: none;
  162. }
  163. &:hover{
  164. background-color: #e1e1e1;
  165. }
  166. &.disabled{
  167. background: #ececec;
  168. cursor: no-drop;
  169. }
  170. }
  171. &::after{
  172. content: '';
  173. position: absolute;
  174. left: 50%;
  175. top: -6px;
  176. transform: translate(-50%, -50%);
  177. @include triangle-up(5px, #e1e1e1);
  178. }
  179. }
  180. }
  181. .pack-num-input{
  182. input{
  183. //width: 120px;
  184. }
  185. .unit{
  186. width: 45px;
  187. }
  188. }
  189. .input-tips{
  190. color: #666666;
  191. font-size: 12px;
  192. text-align: left;
  193. margin: 6px 0 14px;
  194. span{
  195. cursor: pointer;
  196. color: #4385e9;
  197. }
  198. }
  199. .group-user-num{
  200. font-size: 12px;
  201. color: #666666;
  202. text-align: left;
  203. margin: 6px 0 10px;
  204. }
  205. .words{
  206. width: 100%;
  207. box-sizing: border-box;
  208. padding: 12px;
  209. background-color: #f2f2f2;
  210. outline: none;
  211. border: none;
  212. resize: none;
  213. }
  214. .el-icon-close{
  215. position: absolute;
  216. top: 6px;
  217. right: 6px;
  218. color: #333333;
  219. font-size: 16px;
  220. font-weight: bold;
  221. cursor: pointer;
  222. }
  223. .sum{
  224. font-size: 24px;
  225. color: #333333;
  226. text-align: center;
  227. margin: 14px 0 22px;
  228. span{
  229. font-size: 16px;
  230. }
  231. }
  232. .send-btn{
  233. display: block;
  234. width: 100%;
  235. background-color: #f55a3c;
  236. height: 40px;
  237. line-height: 40px;
  238. text-align: center;
  239. color: #fefefe;
  240. font-size: 14px;
  241. &:hover{
  242. background-color: #f33510;
  243. }
  244. &.is-disable{
  245. background-color: #fccdc4;
  246. cursor: not-allowed;
  247. }
  248. &.loading {
  249. background-color: #ef9381;
  250. pointer-events: none;
  251. }
  252. }
  253. .bot{
  254. margin-top: 10px;
  255. font-size: 12px;
  256. text-align: center;
  257. color: #999999;
  258. }
  259. .redpacket-tips{
  260. font-size: 12px;
  261. color: #f55a3c;
  262. text-align: center;
  263. background-color: #fce792;
  264. line-height: 18px;
  265. height: 18px;
  266. margin-bottom: 2px;
  267. &.hidden{
  268. visibility: hidden;
  269. }
  270. }
  271. input::-webkit-outer-spin-button,input::-webkit-inner-spin-button{
  272. -webkit-appearance: none !important;
  273. }/* chrome */
  274. }
  275. .h5-wrap{
  276. .packet-send-wrap{
  277. position: absolute;
  278. top: 0;
  279. right: 0;
  280. bottom: 0;
  281. left: 0;
  282. background: #f2f2f2;
  283. &.pub-modal-mask{
  284. position: absolute;
  285. background: #f2f2f2;
  286. }
  287. .send-wrap{
  288. width: auto;
  289. background: transparent;
  290. border: 0;
  291. border-radius: 0;
  292. vertical-align: top;
  293. .title{
  294. display: none;
  295. }
  296. }
  297. .sum{
  298. margin: px2rem(156) 0 px2rem(86);
  299. font-size: px2rem(99);
  300. em{
  301. font-size: px2rem(33);
  302. }
  303. }
  304. .send-btn{
  305. width: auto;
  306. height: px2rem(102);
  307. padding: 0 px2rem(60);
  308. margin: 0 auto;
  309. border-radius: px2rem(18);
  310. }
  311. .words{
  312. background: #ffffff;
  313. border-radius: px2rem(12);
  314. font-size: px2rem(34);
  315. }
  316. .input-item{
  317. width: px2rem(654);
  318. height: px2rem(112);
  319. background: #ffffff;
  320. border-radius: px2rem(12);
  321. display: flex;
  322. align-items: center;
  323. justify-content: space-between;
  324. padding: 0 px2rem(36);
  325. box-sizing: border-box;
  326. font-size: px2rem(34);
  327. .text{
  328. width: auto;
  329. white-space: nowrap;
  330. }
  331. em{
  332. display: none;
  333. }
  334. input{
  335. font-size: px2rem(34);
  336. }
  337. }
  338. .el-icon-question,.el-icon-close{
  339. display: none;
  340. }
  341. .bot{
  342. position: fixed;
  343. bottom: px2rem(24);
  344. width: 100%;
  345. }
  346. }
  347. .redpacket-backbar{
  348. &:after{
  349. display: none;
  350. }
  351. }
  352. }
  353. .mini-wrap{
  354. .redpacket-backbar{
  355. display: none;
  356. }
  357. }