PasswordStepSuccess.vue 6.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369
  1. <template>
  2. <div class="validation">
  3. <div class="container">
  4. <div class="content">
  5. <div class="content-top">
  6. <h3>密码重置</h3>
  7. <div class="step">
  8. <img src="/images/all/step03.png" alt=""/>
  9. <div class="step-item"><span class="active">账号验证</span><span class="active">密码设置</span><span class="active">设置完成</span></div>
  10. </div>
  11. </div>
  12. <div class="content-bottom">
  13. <p class="passed"><img src="/images/all/pass.png" alt=""/>重置成功</p>
  14. <span class="close-tip">请妥善保管好自己的密码,保障自身的利益!</span>
  15. <div class="close-btn" @click="goCloudCenter">关闭</div>
  16. </div>
  17. </div>
  18. </div>
  19. </div>
  20. </template>
  21. <script>
  22. export default {
  23. name: 'validation',
  24. methods: {
  25. // 跳转个人中心
  26. goCloudCenter () {
  27. if (this.$route.query.returnURL) {
  28. window.location.href = decodeURIComponent(this.$route.query.returnURL)
  29. } else {
  30. this.$router.push('/')
  31. }
  32. }
  33. }
  34. }
  35. </script>
  36. <style lang="scss" scoped>
  37. .validation {
  38. margin: 0 auto;
  39. width: 100%;
  40. background: #eee;
  41. .container{
  42. padding-top: 50px;
  43. margin: 0 auto;
  44. width: 980px;
  45. text-align: center;
  46. .content{
  47. padding: 0 50px;
  48. margin: 50px auto 0;
  49. width: 100%;
  50. /*height: 540px;*/
  51. text-align: center;
  52. background: #fff;
  53. .content-top{
  54. height: 80px;
  55. line-height: 80px;
  56. h3{
  57. margin-bottom: 0;
  58. font-size: 24px;
  59. color: #000;
  60. border-bottom: 1px solid #dcdcdc;
  61. }
  62. .step{
  63. position: relative;
  64. margin-top: 10px;
  65. img{
  66. width: 315px;
  67. height: 46px;
  68. }
  69. .step-item{
  70. position: absolute;
  71. top: 45px;
  72. left: 265px;
  73. span{
  74. margin-right: 85px;
  75. font-size: 14px;
  76. color: #b4b4b4;
  77. }
  78. span.active {
  79. color: #0076ad;
  80. }
  81. }
  82. }
  83. }
  84. form {
  85. margin-top: 150px;
  86. padding-bottom: 44px;
  87. input{
  88. padding: 0 0 0 18px;
  89. width: 360px;
  90. height: 44px;
  91. line-height: 44px;
  92. font-size: 14px;
  93. color: #000;
  94. border-radius: 0;
  95. }
  96. input.answer {
  97. background: url("/images/all/more.png") no-repeat 325px center;
  98. cursor: pointer;
  99. }
  100. .pwd {
  101. margin: 6px 0 -15px 0;
  102. text-align: left;
  103. font-size: 13px;
  104. em{
  105. display: inline-block;
  106. margin: 0 8px 2px 0;
  107. width: 24px;
  108. height: 6px;
  109. &:first-child{
  110. margin-left: 10px;
  111. }
  112. }
  113. span{
  114. margin-left: 10px;
  115. font-size: 13px;
  116. }
  117. }
  118. .pwd.sm{
  119. color: #8c8c8c;
  120. em {
  121. background: #bfbfbf;
  122. &:first-child{
  123. background: #ff4e00;
  124. }
  125. }
  126. span{
  127. color: #ff4e00;
  128. }
  129. }
  130. .pwd.md{
  131. color: #8c8c8c;
  132. em {
  133. background: #22ac38;
  134. &:nth-child(3){
  135. background: #bfbfbf;
  136. }
  137. }
  138. span{
  139. color: #22ac38;
  140. }
  141. }
  142. .pwd.lar{
  143. color: #8c8c8c;
  144. em {
  145. background: #00a0e9;
  146. }
  147. span{
  148. color: #00a0e9;
  149. }
  150. }
  151. .pwd.low{
  152. color: #8c8c8c;
  153. em{
  154. background: #bfbfbf;
  155. }
  156. }
  157. span.tip{
  158. position: absolute;
  159. top: 0;
  160. right: -238px;
  161. font-size: 13px;
  162. color: #8c8c8c;
  163. a{
  164. font-size: 13px;
  165. color: #0076ad;
  166. }
  167. }
  168. span.tip.codeError-tip{
  169. position: absolute;
  170. top: 3px;
  171. left: 378px;
  172. width: 200px;
  173. text-align: left;
  174. color: #ff4949;
  175. font-size: 12px;
  176. }
  177. i{
  178. position: absolute;
  179. top: 13px;
  180. left: 20px;
  181. font-size: 20px;
  182. color: #a0a0a0;
  183. }
  184. .btn {
  185. margin: 34px 0 16px 0;
  186. width: 360px;
  187. height: 44px;
  188. line-height: 44px;
  189. font-size: 16px;
  190. color: #fff;
  191. background: #0076AD;
  192. border-radius: 3px;
  193. }
  194. }
  195. .content-bottom{
  196. margin: 155px auto 0;
  197. padding-bottom: 50px;
  198. width: 360px;
  199. div.warp{
  200. padding-bottom: 65px;
  201. }
  202. p{
  203. font-size: 24px;
  204. color: #323232;
  205. img{
  206. margin-right: 20px;
  207. width: 30px;
  208. height: 28px;
  209. }
  210. }
  211. p.pass{
  212. font-size: 24px;
  213. color: #e77405;
  214. img{
  215. height: 30px;
  216. }
  217. }
  218. p.passed {
  219. color: #2ab300;
  220. img{
  221. height: 30px;
  222. }
  223. }
  224. span{
  225. display: inline-block;
  226. font-size: 14px;
  227. color: #8b8b8b;
  228. }
  229. span.close-tip{
  230. margin: 15px 0 140px 0;
  231. }
  232. .close-btn{
  233. margin: 0 auto;
  234. width: 200px;
  235. height: 36px;
  236. line-height: 36px;
  237. font-size: 14px;
  238. text-align: center;
  239. color: #323232;
  240. border: 1px solid #d2d2d2;
  241. border-radius: 3px;
  242. cursor: pointer ;
  243. }
  244. span.use{
  245. display: inline-block;
  246. margin-bottom: 30px;
  247. width: 360px;
  248. font-size: 14px;
  249. color: #000;
  250. text-align: left;
  251. em{
  252. font-size: 14px;
  253. font-style: normal;
  254. color: #000;
  255. }
  256. }
  257. .form-group {
  258. margin: 0 auto 16px;
  259. position: relative;
  260. width: 360px;
  261. height: 44px;
  262. line-height: 44px;
  263. input{
  264. padding: 0 0 0 18px;
  265. width: 360px;
  266. height: 44px;
  267. line-height: 44px;
  268. font-size: 14px;
  269. color: #000;
  270. border-radius: 0;
  271. }
  272. input.msg{
  273. float: left;
  274. width: 210px;
  275. padding: 0 0 0 18px;
  276. height: 44px;
  277. line-height: 44px;
  278. font-size: 14px;
  279. color: #000;
  280. border-radius: 0;
  281. }
  282. span.msg{
  283. float: right;
  284. margin: 0;
  285. width: 130px;
  286. height: 44px;
  287. line-height: 44px;
  288. text-align: center ;
  289. font-size: 14px;
  290. color: #5a5a5a;
  291. background: #f4f4f4;
  292. border: 1px solid #dcdcdc;
  293. cursor: pointer;
  294. }
  295. span.msg.send{
  296. background: #d2d2d2;
  297. color: #fff;
  298. }
  299. }
  300. .btn {
  301. margin: 34px 0 10px 0;
  302. width: 360px;
  303. height: 44px;
  304. line-height: 44px;
  305. font-size: 16px;
  306. color: #fff;
  307. background: #0076AD;
  308. border-radius: 3px;
  309. }
  310. }
  311. .choose{
  312. margin: 155px auto 0;
  313. padding-bottom: 44px;
  314. div{
  315. padding: 0 15px;
  316. margin: 0 auto 16px;
  317. width: 360px;
  318. height: 60px;
  319. line-height: 60px;
  320. text-align: left;
  321. overflow: hidden;
  322. border: 1px solid #d2d2d2;
  323. cursor: pointer;
  324. &:hover,&.active{
  325. border-color: #0076ad;
  326. span{
  327. color: #0076ad;
  328. }
  329. i.second {
  330. color: #0076ad;
  331. }
  332. }
  333. img.first{
  334. float: left;
  335. margin: 24px 20px 0 0;
  336. font-size: 20px;
  337. color: #323232;
  338. }
  339. img.first.mob{
  340. margin: 22px 20px 0 5px;
  341. font-size: 28px;
  342. }
  343. i.second {
  344. float: right;
  345. margin: 20px 0 0 5px;
  346. font-size: 20px;
  347. color: #323232;
  348. }
  349. span{
  350. float: left;
  351. font-size: 14px;
  352. color: #323232;
  353. }
  354. }
  355. }
  356. a.return{
  357. position: absolute;
  358. left: 0;
  359. top: -15px;
  360. img{
  361. width: 34px !important;
  362. height: 34px !important;
  363. }
  364. }
  365. }
  366. }
  367. }
  368. </style>