PersonalRegistration.vue 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708
  1. <template>
  2. <div class="register">
  3. <div class="container">
  4. <div class="content">
  5. <div class="content-top">
  6. <h3>个人注册</h3>
  7. <a class="go" @click="goRegister"><i class="fa fa-long-arrow-right"></i>企业注册</a>
  8. </div>
  9. <div>
  10. <el-form :model="item" :rules="rules2" ref="item" label-width="100px" class="demo-ruleForm">
  11. <el-form-item prop="vipName">
  12. <el-input type="text" v-model="item.vipName" auto-complete="off" placeholder="会员名"></el-input>
  13. </el-form-item>
  14. <el-form-item prop="password">
  15. <el-input type="password" v-model="item.password" auto-complete="off" placeholder="登录密码"></el-input>
  16. <div class="pwd sm" v-show="showMsgTip1">密码强度 <em></em><em></em><em></em><span>弱</span></div>
  17. <div class="pwd md" v-show="showMsgTip2">密码强度 <em></em><em></em><em></em><span>中</span></div>
  18. <div class="pwd lar" v-show="showMsgTip3">密码强度 <em></em><em></em><em></em><span>强</span></div>
  19. <div class="pwd low" v-show="showMsgTip4">密码强度 <em></em><em></em><em></em></div>
  20. </el-form-item>
  21. <el-form-item prop="confirm">
  22. <el-input type="password"
  23. v-model="item.confirm"
  24. v-bind:class="{active: showPasswordError}"
  25. auto-complete="off"
  26. placeholder="密码确认"></el-input>
  27. <span class="tip passwordError" v-show="showPasswordError">两次输入密码不一致</span>
  28. </el-form-item>
  29. <el-form-item prop="mobile">
  30. <el-input v-model="item.mobile"
  31. v-bind:class="{active: mobileRegister}"
  32. placeholder="手机号码"></el-input>
  33. <span class="tip" v-show="showMsgTip">单个手机号只能注册一个用户</span>
  34. <span class="tip tip-mobile" v-show="mobileRegister">该手机号已被注册</span>
  35. </el-form-item>
  36. <el-form-item prop="code">
  37. <el-input type="text" v-model="item.code"
  38. v-bind:class="{ active: codeErrorChecked }" auto-complete="off" class="msg" placeholder="短信验证码"></el-input>
  39. <el-button type="primary" class="code"
  40. v-show="sendPersonalCode"
  41. @click="getCheckCode"
  42. :disabled="this.checkMobile">获取验证码</el-button>
  43. <el-button type="primary" v-show="!sendPersonalCode" class="code code-send">已发送({{personal_time}}s)</el-button>
  44. <span v-show="codeErrorChecked" class="codeError-tip">{{codeErrorMsg}}</span>
  45. </el-form-item>
  46. <el-form-item>
  47. <a class="btn finish" @click="submit">确认注册</a>
  48. </el-form-item>
  49. <el-form-item>
  50. <el-checkbox name="type" v-model="checked" @click="checkboxChecked"></el-checkbox>
  51. <span class="agree">我已阅读并同意 <a href="/common/agreement">《优软云服务条款》</a></span>
  52. </el-form-item>
  53. </el-form>
  54. </div>
  55. </div>
  56. <div class="login">已有账号?<a href="/">立即登录</a></div>
  57. <loading v-show="isShowLoading"/>
  58. </div>
  59. </div>
  60. </template>
  61. <script>
  62. import Loading from '~components/common/loading/Loading.vue'
  63. export default {
  64. name: 'PersonalRegistration',
  65. components: {
  66. Loading
  67. },
  68. data () {
  69. var validateName = (rule, value, callback) => {
  70. if (value === '') {
  71. callback(new Error('会员名不能为空'))
  72. this.vipNameChecked = false
  73. } else {
  74. if (this.item.vipName !== '') {
  75. if (value.length < 2 || value.length > 20) {
  76. callback(new Error('请填写合适的会员名称,2~20个字符'))
  77. this.vipNameChecked = false
  78. } else {
  79. this.vipNameChecked = true
  80. }
  81. }
  82. }
  83. callback()
  84. }
  85. var validatePass = (rule, value, callback) => {
  86. if (this.item.password !== '') {
  87. if (value.length <= 20 && value.length >= 8) {
  88. var reg1 = /^(?=.{8,20})(((?=.*[0-9])(?=.*[a-z])(?=.*[A-Z]))|((?=.*[0-9])((?=.*[a-zA-Z]))(?=.*[^a-zA-Z0-9]))).*$/
  89. var reg2 = /^(?=.{8,20})(((?=.*[0-9])(?=.*[a-z]))|((?=.*[0-9])(?=.*[A-Z]))).*$/
  90. if (reg1.test(value)) {
  91. // callback(new Error('密码强度强'))
  92. this.showMsgTip3 = true
  93. this.showMsgTip2 = false
  94. this.showMsgTip1 = false
  95. this.showMsgTip4 = false
  96. this.passwordChecked = true
  97. } else if (reg2.test(value)) {
  98. // callback(new Error('密码强度中'))
  99. this.showMsgTip2 = true
  100. this.showMsgTip3 = false
  101. this.showMsgTip1 = false
  102. this.showMsgTip4 = false
  103. this.passwordChecked = true
  104. } else {
  105. this.showMsgTip1 = true
  106. this.showMsgTip3 = false
  107. this.showMsgTip2 = false
  108. this.showMsgTip4 = false
  109. this.passwordChecked = false
  110. }
  111. } else {
  112. this.showMsgTip3 = false
  113. this.showMsgTip2 = false
  114. this.showMsgTip1 = false
  115. this.showMsgTip4 = true
  116. this.passwordChecked = false
  117. }
  118. }
  119. callback()
  120. }
  121. var validatePassTip = (rule, value, callback) => {
  122. if (value === '') {
  123. callback(new Error('请输入密码'))
  124. this.passwordChecked = false
  125. } else {
  126. if (this.item.password !== '') {
  127. if (value.length <= 20 && value.length >= 8) {
  128. var reg1 = /^(?=.{8,20})(((?=.*[0-9])(?=.*[a-z])(?=.*[A-Z]))|((?=.*[0-9])((?=.*[a-zA-Z]))(?=.*[^a-zA-Z0-9]))).*$/
  129. var reg2 = /^(?=.{8,20})(((?=.*[0-9])(?=.*[a-z]))|((?=.*[0-9])(?=.*[A-Z]))).*$/
  130. if (reg1.test(value)) {
  131. this.passwordChecked = true
  132. } else if (reg2.test(value)) {
  133. this.passwordChecked = true
  134. } else {
  135. callback(new Error('密码须为8-20字符的英文、数字混合'))
  136. this.passwordChecked = false
  137. }
  138. } else {
  139. callback(new Error('密码须为8-20字符的英文、数字混合'))
  140. this.passwordChecked = false
  141. }
  142. if (this.item.confirm !== '') {
  143. if (value !== this.item.confirm) {
  144. this.showPasswordError = true
  145. // callback(new Error('两次输入密码不一致!'))
  146. this.confirmChecked = false
  147. } else {
  148. this.confirmChecked = true
  149. this.showPasswordError = false
  150. callback()
  151. }
  152. }
  153. }
  154. callback()
  155. }
  156. }
  157. var validatePass2 = (rule, value, callback) => {
  158. if (value === '') {
  159. callback(new Error('请再次输入密码'))
  160. this.confirmChecked = false
  161. this.showPasswordError = false
  162. } else if (value !== this.item.password) {
  163. // callback(new Error('两次输入密码不一致!'))
  164. this.showPasswordError = true
  165. this.confirmChecked = false
  166. } else {
  167. this.confirmChecked = true
  168. this.showPasswordError = false
  169. callback()
  170. }
  171. }
  172. var validateMobile = (rule, value, callback) => {
  173. if (value === '') {
  174. callback(new Error('请填写正确的手机号'))
  175. this.showMsgTip = false
  176. this.checkMobile = true
  177. this.mobileRegister = false
  178. this.mobileChecked = false
  179. } else {
  180. if (this.item.mobile !== '') {
  181. var reg = /^1([0-9]{10})$/
  182. if (!reg.test(value)) {
  183. callback(new Error('请填写正确的手机号'))
  184. this.showMsgTip = false
  185. this.checkMobile = true
  186. this.mobileRegister = false
  187. this.mobileChecked = false
  188. } else {
  189. this.$http.get(`/api/user/checkMobile`, {params: {mobile: this.item.mobile, mobileArea: ''}})
  190. .then(response => {
  191. if (response.data.hasRegister) {
  192. this.mobileRegister = true
  193. this.showMsgTip = false
  194. this.checkMobile = true
  195. this.mobileChecked = false
  196. } else {
  197. this.showMsgTip = false
  198. this.checkMobile = false
  199. this.mobileRegister = false
  200. this.mobileChecked = true
  201. }
  202. })
  203. }
  204. }
  205. callback()
  206. }
  207. }
  208. var validateCode = (rule, value, callback) => {
  209. if (value === '') {
  210. callback(new Error('请填写正确的验证码'))
  211. this.codeErrorChecked = false
  212. this.codeChecked = false
  213. } else {
  214. if (this.item.mobile === '') {
  215. callback(new Error('请先填写正确的手机号'))
  216. } else {
  217. if (this.token) {
  218. if (this.item.code.length === 6) {
  219. let param = new FormData()
  220. param.append('mobile', this.item.mobile)
  221. param.append('code', this.item.code)
  222. param.append('token', this.token)
  223. let config = {
  224. headers: {'Content-Type': 'multipart/form-data'}
  225. }
  226. this.$http.post(`/sso/personal/register/checkCode`, param, config)
  227. .then(response => {
  228. if (response.data.success) {
  229. this.codeChecked = true
  230. this.codeErrorChecked = false
  231. } else {
  232. this.codeErrorChecked = true
  233. this.codeChecked = false
  234. // callback(new Error('验证码输入错误'))
  235. return Promise.reject(response.data)
  236. }
  237. }).catch(err => {
  238. this.codeErrorMsg = err.errMsg
  239. // this.$message.error(err.errMsg)
  240. })
  241. } else {
  242. callback(new Error('请输入正确的验证码'))
  243. this.codeChecked = false
  244. this.codeErrorChecked = false
  245. }
  246. } else {
  247. callback(new Error('请先获取验证码'))
  248. this.codeChecked = false
  249. this.codeErrorChecked = false
  250. }
  251. }
  252. callback()
  253. }
  254. }
  255. var validateCodeIsEmpty = (rule, value, callback) => {
  256. if (value === '') {
  257. callback(new Error('请填写正确的验证码'))
  258. this.codeErrorChecked = false
  259. this.codeChecked = false
  260. } else {
  261. if (this.item.mobile === '') {
  262. callback(new Error('请先填写正确的手机号'))
  263. } else {
  264. if (this.token) {
  265. if (this.item.code.length === 6) {
  266. let param = new FormData()
  267. param.append('mobile', this.item.mobile)
  268. param.append('code', this.item.code)
  269. param.append('token', this.token)
  270. let config = {
  271. headers: {'Content-Type': 'multipart/form-data'}
  272. }
  273. this.$http.post(`/sso/personal/register/checkCode`, param, config)
  274. .then(response => {
  275. if (response.data.success) {
  276. this.codeChecked = true
  277. this.codeErrorChecked = false
  278. } else {
  279. this.codeErrorChecked = true
  280. this.codeChecked = false
  281. return Promise.reject(response.data)
  282. }
  283. }).catch(err => {
  284. this.codeErrorMsg = err.errMsg
  285. })
  286. } else {
  287. callback(new Error('请输入正确的验证码'))
  288. this.codeChecked = false
  289. this.codeErrorChecked = false
  290. }
  291. } else {
  292. callback(new Error('请先获取验证码'))
  293. this.codeChecked = false
  294. this.codeErrorChecked = false
  295. }
  296. }
  297. callback()
  298. }
  299. }
  300. return {
  301. item: {
  302. vipName: '',
  303. password: '',
  304. confirm: '',
  305. mobile: '',
  306. code: ''
  307. },
  308. isShowLoading: false,
  309. showPasswordError: false,
  310. vipNameChecked: false,
  311. passwordChecked: false,
  312. confirmChecked: false,
  313. mobileChecked: false,
  314. codeChecked: false,
  315. codeErrorChecked: false,
  316. showMsgTip: true,
  317. showMsgTip1: false,
  318. showMsgTip2: false,
  319. showMsgTip3: false,
  320. showMsgTip4: false,
  321. checkMobile: true,
  322. checked: true,
  323. token: '',
  324. mobileRegister: false,
  325. sendPersonalCode: true,
  326. codeErrorMsg: '',
  327. personal_time: 0,
  328. queryLink: '',
  329. appId: '',
  330. rules2: {
  331. vipName: [
  332. { validator: validateName, trigger: 'blur' }
  333. ],
  334. password: [
  335. { validator: validatePassTip, trigger: 'blur' },
  336. { validator: validatePass, trigger: 'change' }
  337. ],
  338. confirm: [
  339. { required: true, validator: validatePass2, trigger: 'blur' }
  340. ],
  341. mobile: [
  342. { validator: validateMobile, trigger: 'blur' }
  343. ],
  344. code: [
  345. { validator: validateCode, trigger: 'change' },
  346. { validator: validateCodeIsEmpty, trigger: 'blur' }
  347. ]
  348. }
  349. }
  350. },
  351. mounted () {
  352. // 获取链接
  353. this.$nextTick(() => {
  354. this.getUrl()
  355. })
  356. },
  357. methods: {
  358. // 获取链接
  359. getUrl () {
  360. var url = window.location.search
  361. var request = {}
  362. if (url.indexOf('?' !== -1)) {
  363. var str = url.substr(1)
  364. var strs = str.split('&')
  365. this.queryLink = str
  366. for (var i = 0; i < strs.length; i++) {
  367. request[strs[i].split('=')[0]] = decodeURI(strs[i].split('=')[1])
  368. }
  369. }
  370. this.appId = request['appId'] || ''
  371. },
  372. // 注册
  373. goRegister () {
  374. window.location.href = `/register/enterpriseRegistration?${this.queryLink}`
  375. },
  376. // 我同意是否被选中
  377. checkboxChecked () {
  378. this.checked = !this.checked
  379. },
  380. // 表单提交
  381. submit () {
  382. if (this.vipNameChecked && this.passwordChecked && this.confirmChecked && this.mobileChecked && this.codeChecked && this.checked) {
  383. if (this.item.password !== this.item.confirm) {
  384. this.$message.error('请确认两次填写密码是否一致')
  385. } else {
  386. this.isShowLoading = true
  387. let param = new FormData()
  388. param.append('vipName', this.item.vipName)
  389. param.append('password', this.item.password)
  390. param.append('mobile', this.item.mobile)
  391. // param.append('mobileArea', '')
  392. param.append('appId', this.appId)
  393. param.append('code', this.item.code)
  394. param.append('token', this.token)
  395. let config = {
  396. headers: {'Content-Type': 'multipart/form-data'}
  397. }
  398. this.$http.post('/sso/personal/register', param, config)
  399. .then(response => {
  400. this.isShowLoading = false
  401. if (response.data.success) {
  402. let userUU = response.data.content.userUU
  403. window.location.href = `/overRegister/${userUU}`
  404. } else {
  405. return Promise.reject(response.data)
  406. }
  407. }).catch(err => {
  408. this.$message.error(err.errMsg)
  409. this.isShowLoading = false
  410. this.personal_time = 0
  411. })
  412. }
  413. } else {
  414. if (!this.item.vipName) {
  415. this.$message.error('会员名不能为空')
  416. } else if (!this.vipNameChecked) {
  417. this.$message.error('会员名输入有误,请按提示重新输入')
  418. } else if (!this.item.password) {
  419. this.$message.error('密码不能为空')
  420. } else if (!this.passwordChecked) {
  421. this.$message.error('密码输入有误,请按提示重新输入')
  422. } else if (!this.item.confirm) {
  423. this.$message.error('请再次输入密码')
  424. } else if (!this.confirmChecked) {
  425. this.$message.error('请确认两次填写密码是否一致')
  426. } else if (!this.item.mobile) {
  427. this.$message.error('手机号不能为空')
  428. } else if (!this.mobileChecked) {
  429. this.$message.error('手机号输入有误,请按提示重新输入')
  430. } else if (!this.token) {
  431. this.$message.error('请先获取验证码')
  432. } else if (!this.item.code) {
  433. this.$message.error('验证码不能为空')
  434. } else if (!this.codeChecked) {
  435. this.$message.error('验证码输入有误,请按提示重新输入')
  436. } else if (!this.checked) {
  437. this.$message.error('您对阅读条款未做勾选')
  438. }
  439. }
  440. },
  441. // 获取验证码
  442. // async getCode () {
  443. // let { data } = await this.$http.get(`/sso/personal/register/checkCode`, {params: {mobile: this.item.mobile}})
  444. // this.token = data.token
  445. // },
  446. getCheckCode () {
  447. this.isShowLoading = true
  448. // this.getCode()
  449. this.$http.get(`/sso/personal/register/checkCode`, {params: {mobile: this.item.mobile}})
  450. .then(response => {
  451. this.isShowLoading = false
  452. if (response.data) {
  453. this.token = response.data.token
  454. if (this.token !== '') {
  455. this.$message({
  456. message: '验证码已经发送到您的手机,请注意查收',
  457. type: 'success'
  458. })
  459. this.sendPersonalCode = false
  460. this.personal_time = 60
  461. var personalTime = setInterval(() => {
  462. this.personal_time--
  463. if (this.personal_time <= 0) {
  464. this.sendPersonalCode = true
  465. clearInterval(personalTime)
  466. }
  467. }, 1000)
  468. }
  469. } else {
  470. return Promise.reject(response.data)
  471. }
  472. }).catch(err => {
  473. this.isShowLoading = false
  474. this.$message.error(err.errMsg)
  475. })
  476. }
  477. }
  478. }
  479. </script>
  480. <style lang="scss" scoped>
  481. .register {
  482. margin: 0 auto;
  483. width: 100%;
  484. background: #eee;
  485. .container{
  486. padding-top: 50px;
  487. margin: 0 auto;
  488. width: 980px;
  489. text-align: center;
  490. .content{
  491. padding: 0 50px;
  492. margin: 50px auto 0;
  493. width: 100%;
  494. text-align: center;
  495. background: #fff;
  496. .content-top{
  497. position: relative;
  498. height: 80px;
  499. line-height: 80px;
  500. border-bottom: 1px solid #dcdcdc;
  501. h3{
  502. font-family: 'SimHei';
  503. font-size: 24px;
  504. color: #000;
  505. }
  506. a.go{
  507. position: absolute;
  508. top: 0;
  509. right: 0;
  510. font-size: 14px;
  511. i{
  512. margin-right: 3px;
  513. }
  514. }
  515. }
  516. form {
  517. padding-bottom: 44px;
  518. margin-top: 35px;
  519. input{
  520. padding: 0 0 0 18px;
  521. width: 360px;
  522. height: 44px;
  523. line-height: 44px;
  524. font-size: 14px;
  525. color: #000;
  526. border-radius: 0;
  527. }
  528. span.help{
  529. position: absolute;
  530. right: -230px;
  531. top:0;
  532. font-size: 12px;
  533. color: #f00;
  534. }
  535. i.fa{
  536. position: absolute;
  537. top: 10px;
  538. right: 18px;
  539. font-size: 24px;
  540. color: #a0a0a0;
  541. cursor: pointer;
  542. }
  543. .pwd {
  544. margin: 6px 0 -15px 0;
  545. text-align: left;
  546. font-size: 13px;
  547. em{
  548. display: inline-block;
  549. margin: 0 8px 2px 0;
  550. width: 24px;
  551. height: 6px;
  552. &:first-child{
  553. margin-left: 10px;
  554. }
  555. }
  556. span{
  557. margin-left: 10px;
  558. font-size: 13px;
  559. }
  560. }
  561. .pwd.sm{
  562. color: #8c8c8c;
  563. em {
  564. background: #bfbfbf;
  565. &:first-child{
  566. background: #ff4e00;
  567. }
  568. }
  569. span{
  570. color: #ff4e00;
  571. }
  572. }
  573. .pwd.md{
  574. color: #8c8c8c;
  575. em {
  576. background: #22ac38;
  577. &:nth-child(3){
  578. background: #bfbfbf;
  579. }
  580. }
  581. span{
  582. color: #22ac38;
  583. }
  584. }
  585. .pwd.lar{
  586. color: #8c8c8c;
  587. em {
  588. background: #00a0e9;
  589. }
  590. span{
  591. color: #00a0e9;
  592. }
  593. }
  594. .pwd.low{
  595. color: #8c8c8c;
  596. em{
  597. background: #bfbfbf;
  598. }
  599. }
  600. span.tip{
  601. position: absolute;
  602. top: 3px;
  603. right: -190px;
  604. font-size: 13px;
  605. color: #8c8c8c;
  606. }
  607. span.tip.tip-mobile{
  608. top: 3px;
  609. right: -118px;
  610. color: #ff4949;
  611. font-size: 12px;
  612. }
  613. span.codeError-tip{
  614. position: absolute;
  615. top: 3px;
  616. left: 378px;
  617. width: 200px;
  618. text-align: left;
  619. color: #ff4949;
  620. font-size: 12px;
  621. }
  622. span.tip.passwordError{
  623. position: absolute;
  624. top: 3px;
  625. left: 380px;
  626. width: 200px;
  627. text-align: left;
  628. color: #ff4949;
  629. font-size: 12px;
  630. }
  631. input.msg{
  632. float: left;
  633. width: 210px;
  634. }
  635. button.msg{
  636. float: right;
  637. width: 130px;
  638. height: 44px;
  639. font-size: 14px;
  640. color: #5a5a5a;
  641. background: #f4f4f4;
  642. border: 1px solid #dcdcdc;
  643. cursor: pointer;
  644. &:disabled{
  645. cursor: not-allowed ;
  646. opacity: .7;
  647. }
  648. }
  649. span.msg.send{
  650. float: right;
  651. width: 130px;
  652. height: 44px;
  653. line-height: 44px;
  654. font-size: 14px;
  655. background: #d2d2d2;
  656. color: #fff;
  657. border: 1px solid #dcdcdc;
  658. }
  659. input[type='checkbox']{
  660. margin: 0 14px 0 55px;
  661. float: left;
  662. width: 16px;
  663. height: 16px;
  664. }
  665. span.agree{
  666. float: left;
  667. margin: 1px 0 0 10px;
  668. font-size: 14px;
  669. color: #8b8b8b;
  670. a{
  671. color: #0076ad;
  672. }
  673. }
  674. .form-group.agree{
  675. margin: 20px auto 0 !important;
  676. }
  677. .submitBtn {
  678. display: inline-block;
  679. margin-top: 34px;
  680. width: 360px;
  681. height: 44px;
  682. line-height: 44px;
  683. font-size: 16px;
  684. color: #fff;
  685. background: #0076AD;
  686. border-radius: 3px;
  687. border: none;
  688. &:disabled{
  689. cursor: not-allowed ;
  690. opacity: .7;
  691. }
  692. }
  693. }
  694. }
  695. .login{
  696. margin-top: 20px;
  697. font-size: 14px;
  698. color: #8c8c8c;
  699. a{
  700. font-size: 14px;
  701. color: #0076ad;
  702. }
  703. }
  704. }
  705. }
  706. </style>