PhoneStepSuccess.vue 9.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339
  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: 78px;
  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. ul{
  101. display: none;
  102. position: absolute;
  103. top: 44px;
  104. left: 0;
  105. width: 360px;
  106. background: #fff;
  107. box-shadow: 0 0 5px rgba(0,0,0,.5);
  108. -moz-box-shadow: 0 0 5px rgba(0,0,0,.5);
  109. -o-box-shadow: 0 0 5px rgba(0,0,0,.5);
  110. -webkit-box-shadow: 0 0 5px rgba(0,0,0,.5);
  111. z-index: 10;
  112. li{
  113. padding-left: 18px;
  114. width: 100%;
  115. height: 30px;
  116. line-height: 30px;
  117. text-align: left;
  118. font-size: 14px;
  119. color: #000;
  120. cursor: pointer;
  121. &:hover{
  122. background: #0076ad;
  123. color: #fff;
  124. }
  125. }
  126. }
  127. span.tip{
  128. position: absolute;
  129. top: 0;
  130. right: -238px;
  131. font-size: 13px;
  132. color: #8c8c8c;
  133. a{
  134. font-size: 13px;
  135. color: #0076ad;
  136. }
  137. }
  138. span.tip.codeError-tip{
  139. position: absolute;
  140. top: 3px;
  141. left: 378px;
  142. width: 200px;
  143. text-align: left;
  144. color: #ff4949;
  145. font-size: 12px;
  146. }
  147. i{
  148. position: absolute;
  149. top: 13px;
  150. left: 20px;
  151. font-size: 20px;
  152. color: #a0a0a0;
  153. }
  154. .btn {
  155. margin: 34px 0 16px 0;
  156. width: 360px;
  157. height: 44px;
  158. line-height: 44px;
  159. font-size: 16px;
  160. color: #fff;
  161. background: #0076AD;
  162. border-radius: 3px;
  163. }
  164. }
  165. .content-bottom{
  166. margin: 155px auto 0;
  167. padding-bottom: 50px;
  168. width: 360px;
  169. div.warp{
  170. padding-bottom: 65px;
  171. }
  172. p{
  173. font-size: 24px;
  174. color: #323232;
  175. img{
  176. margin-right: 20px;
  177. width: 30px;
  178. height: 28px;
  179. }
  180. }
  181. p.pass{
  182. font-size: 24px;
  183. color: #e77405;
  184. img{
  185. height: 30px;
  186. }
  187. }
  188. p.passed {
  189. color: #2ab300;
  190. img{
  191. height: 30px;
  192. }
  193. }
  194. span{
  195. display: inline-block;
  196. font-size: 14px;
  197. color: #8b8b8b;
  198. }
  199. span.close-tip{
  200. margin: 15px 0 140px 0;
  201. }
  202. .close-btn{
  203. margin: 0 auto;
  204. width: 200px;
  205. height: 36px;
  206. line-height: 36px;
  207. font-size: 14px;
  208. text-align: center;
  209. color: #323232;
  210. border: 1px solid #d2d2d2;
  211. border-radius: 3px;
  212. cursor: pointer ;
  213. }
  214. span.use{
  215. display: inline-block;
  216. margin-bottom: 30px;
  217. width: 360px;
  218. font-size: 14px;
  219. color: #000;
  220. text-align: left;
  221. em{
  222. font-size: 14px;
  223. font-style: normal;
  224. color: #000;
  225. }
  226. }
  227. .form-group {
  228. margin: 0 auto 16px;
  229. position: relative;
  230. width: 360px;
  231. height: 44px;
  232. line-height: 44px;
  233. input{
  234. padding: 0 0 0 18px;
  235. width: 360px;
  236. height: 44px;
  237. line-height: 44px;
  238. font-size: 14px;
  239. color: #000;
  240. border-radius: 0;
  241. }
  242. input.msg{
  243. float: left;
  244. width: 210px;
  245. padding: 0 0 0 18px;
  246. height: 44px;
  247. line-height: 44px;
  248. font-size: 14px;
  249. color: #000;
  250. border-radius: 0;
  251. }
  252. span.msg{
  253. float: right;
  254. margin: 0;
  255. width: 130px;
  256. height: 44px;
  257. line-height: 44px;
  258. text-align: center ;
  259. font-size: 14px;
  260. color: #5a5a5a;
  261. background: #f4f4f4;
  262. border: 1px solid #dcdcdc;
  263. cursor: pointer;
  264. }
  265. span.msg.send{
  266. background: #d2d2d2;
  267. color: #fff;
  268. }
  269. }
  270. .btn {
  271. margin: 34px 0 10px 0;
  272. width: 360px;
  273. height: 44px;
  274. line-height: 44px;
  275. font-size: 16px;
  276. color: #fff;
  277. background: #0076AD;
  278. border-radius: 3px;
  279. }
  280. }
  281. .choose{
  282. margin: 155px auto 0;
  283. padding-bottom: 44px;
  284. div{
  285. padding: 0 15px;
  286. margin: 0 auto 16px;
  287. width: 360px;
  288. height: 60px;
  289. line-height: 60px;
  290. text-align: left;
  291. overflow: hidden;
  292. border: 1px solid #d2d2d2;
  293. cursor: pointer;
  294. &:hover,&.active{
  295. border-color: #0076ad;
  296. span{
  297. color: #0076ad;
  298. }
  299. i.second {
  300. color: #0076ad;
  301. }
  302. }
  303. img.first{
  304. float: left;
  305. margin: 24px 20px 0 0;
  306. font-size: 20px;
  307. color: #323232;
  308. }
  309. img.first.mob{
  310. margin: 22px 20px 0 5px;
  311. font-size: 28px;
  312. }
  313. i.second {
  314. float: right;
  315. margin: 20px 0 0 5px;
  316. font-size: 20px;
  317. color: #323232;
  318. }
  319. span{
  320. float: left;
  321. font-size: 14px;
  322. color: #323232;
  323. }
  324. }
  325. }
  326. a.return{
  327. position: absolute;
  328. left: 0;
  329. top: -15px;
  330. img{
  331. width: 34px !important;
  332. height: 34px !important;
  333. }
  334. }
  335. }
  336. }
  337. }
  338. </style>