style.scss 6.6 KB

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