PhoneValidationThirdStep.vue 9.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335
  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. window.location.href = '/cloudcenter'
  28. }
  29. }
  30. }
  31. </script>
  32. <style lang="scss" scoped>
  33. .validation {
  34. margin: 0 auto;
  35. width: 100%;
  36. background: #eee;
  37. .container{
  38. padding-top: 50px;
  39. margin: 0 auto;
  40. width: 980px;
  41. text-align: center;
  42. .content{
  43. padding: 0 50px;
  44. margin: 50px auto 0;
  45. width: 100%;
  46. /*height: 540px;*/
  47. text-align: center;
  48. background: #fff;
  49. .content-top{
  50. height: 80px;
  51. line-height: 80px;
  52. h3{
  53. margin-bottom: 0;
  54. font-size: 24px;
  55. color: #000;
  56. border-bottom: 1px solid #dcdcdc;
  57. }
  58. .step{
  59. position: relative;
  60. margin-top: 10px;
  61. img{
  62. width: 315px;
  63. height: 46px;
  64. }
  65. .step-item{
  66. position: absolute;
  67. top: 45px;
  68. left: 265px;
  69. span{
  70. margin-right: 78px;
  71. font-size: 14px;
  72. color: #b4b4b4;
  73. }
  74. span.active {
  75. color: #0076ad;
  76. }
  77. }
  78. }
  79. }
  80. form {
  81. margin-top: 150px;
  82. padding-bottom: 44px;
  83. input{
  84. padding: 0 0 0 18px;
  85. width: 360px;
  86. height: 44px;
  87. line-height: 44px;
  88. font-size: 14px;
  89. color: #000;
  90. border-radius: 0;
  91. }
  92. input.answer {
  93. background: url("/images/all/more.png") no-repeat 325px center;
  94. cursor: pointer;
  95. }
  96. ul{
  97. display: none;
  98. position: absolute;
  99. top: 44px;
  100. left: 0;
  101. width: 360px;
  102. background: #fff;
  103. box-shadow: 0 0 5px rgba(0,0,0,.5);
  104. -moz-box-shadow: 0 0 5px rgba(0,0,0,.5);
  105. -o-box-shadow: 0 0 5px rgba(0,0,0,.5);
  106. -webkit-box-shadow: 0 0 5px rgba(0,0,0,.5);
  107. z-index: 10;
  108. li{
  109. padding-left: 18px;
  110. width: 100%;
  111. height: 30px;
  112. line-height: 30px;
  113. text-align: left;
  114. font-size: 14px;
  115. color: #000;
  116. cursor: pointer;
  117. &:hover{
  118. background: #0076ad;
  119. color: #fff;
  120. }
  121. }
  122. }
  123. span.tip{
  124. position: absolute;
  125. top: 0;
  126. right: -238px;
  127. font-size: 13px;
  128. color: #8c8c8c;
  129. a{
  130. font-size: 13px;
  131. color: #0076ad;
  132. }
  133. }
  134. span.tip.codeError-tip{
  135. position: absolute;
  136. top: 3px;
  137. left: 378px;
  138. width: 200px;
  139. text-align: left;
  140. color: #ff4949;
  141. font-size: 12px;
  142. }
  143. i{
  144. position: absolute;
  145. top: 13px;
  146. left: 20px;
  147. font-size: 20px;
  148. color: #a0a0a0;
  149. }
  150. .btn {
  151. margin: 34px 0 16px 0;
  152. width: 360px;
  153. height: 44px;
  154. line-height: 44px;
  155. font-size: 16px;
  156. color: #fff;
  157. background: #0076AD;
  158. border-radius: 3px;
  159. }
  160. }
  161. .content-bottom{
  162. margin: 155px auto 0;
  163. padding-bottom: 50px;
  164. width: 360px;
  165. div.warp{
  166. padding-bottom: 65px;
  167. }
  168. p{
  169. font-size: 24px;
  170. color: #323232;
  171. img{
  172. margin-right: 20px;
  173. width: 30px;
  174. height: 28px;
  175. }
  176. }
  177. p.pass{
  178. font-size: 24px;
  179. color: #e77405;
  180. img{
  181. height: 30px;
  182. }
  183. }
  184. p.passed {
  185. color: #2ab300;
  186. img{
  187. height: 30px;
  188. }
  189. }
  190. span{
  191. display: inline-block;
  192. font-size: 14px;
  193. color: #8b8b8b;
  194. }
  195. span.close-tip{
  196. margin: 15px 0 140px 0;
  197. }
  198. .close-btn{
  199. margin: 0 auto;
  200. width: 200px;
  201. height: 36px;
  202. line-height: 36px;
  203. font-size: 14px;
  204. text-align: center;
  205. color: #323232;
  206. border: 1px solid #d2d2d2;
  207. border-radius: 3px;
  208. cursor: pointer ;
  209. }
  210. span.use{
  211. display: inline-block;
  212. margin-bottom: 30px;
  213. width: 360px;
  214. font-size: 14px;
  215. color: #000;
  216. text-align: left;
  217. em{
  218. font-size: 14px;
  219. font-style: normal;
  220. color: #000;
  221. }
  222. }
  223. .form-group {
  224. margin: 0 auto 16px;
  225. position: relative;
  226. width: 360px;
  227. height: 44px;
  228. line-height: 44px;
  229. input{
  230. padding: 0 0 0 18px;
  231. width: 360px;
  232. height: 44px;
  233. line-height: 44px;
  234. font-size: 14px;
  235. color: #000;
  236. border-radius: 0;
  237. }
  238. input.msg{
  239. float: left;
  240. width: 210px;
  241. padding: 0 0 0 18px;
  242. height: 44px;
  243. line-height: 44px;
  244. font-size: 14px;
  245. color: #000;
  246. border-radius: 0;
  247. }
  248. span.msg{
  249. float: right;
  250. margin: 0;
  251. width: 130px;
  252. height: 44px;
  253. line-height: 44px;
  254. text-align: center ;
  255. font-size: 14px;
  256. color: #5a5a5a;
  257. background: #f4f4f4;
  258. border: 1px solid #dcdcdc;
  259. cursor: pointer;
  260. }
  261. span.msg.send{
  262. background: #d2d2d2;
  263. color: #fff;
  264. }
  265. }
  266. .btn {
  267. margin: 34px 0 10px 0;
  268. width: 360px;
  269. height: 44px;
  270. line-height: 44px;
  271. font-size: 16px;
  272. color: #fff;
  273. background: #0076AD;
  274. border-radius: 3px;
  275. }
  276. }
  277. .choose{
  278. margin: 155px auto 0;
  279. padding-bottom: 44px;
  280. div{
  281. padding: 0 15px;
  282. margin: 0 auto 16px;
  283. width: 360px;
  284. height: 60px;
  285. line-height: 60px;
  286. text-align: left;
  287. overflow: hidden;
  288. border: 1px solid #d2d2d2;
  289. cursor: pointer;
  290. &:hover,&.active{
  291. border-color: #0076ad;
  292. span{
  293. color: #0076ad;
  294. }
  295. i.second {
  296. color: #0076ad;
  297. }
  298. }
  299. img.first{
  300. float: left;
  301. margin: 24px 20px 0 0;
  302. font-size: 20px;
  303. color: #323232;
  304. }
  305. img.first.mob{
  306. margin: 22px 20px 0 5px;
  307. font-size: 28px;
  308. }
  309. i.second {
  310. float: right;
  311. margin: 20px 0 0 5px;
  312. font-size: 20px;
  313. color: #323232;
  314. }
  315. span{
  316. float: left;
  317. font-size: 14px;
  318. color: #323232;
  319. }
  320. }
  321. }
  322. a.return{
  323. position: absolute;
  324. left: 0;
  325. top: -15px;
  326. img{
  327. width: 34px !important;
  328. height: 34px !important;
  329. }
  330. }
  331. }
  332. }
  333. }
  334. </style>