userCenterAuthentication.vue 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. <template>
  2. <div style="width: 100%;background: #fff;min-height: 700px;" >
  3. <div v-if="ifgoAithentication==1">
  4. <div style="height: 80px;line-height: 80px;margin-top: 20px;margin: 0 20px; color: #666;font-size: 15px; border-bottom: 1px solid #bcbcbc;">
  5. {{$t('common.chooseAccountType')}}
  6. <!-- <span style="float: right;margin-top: 27px;"> <i class="el-icon-edit"></i> 修改</span> -->
  7. </div>
  8. <div class="authenticationBox1 cursor" @click="goAithentication(2)">
  9. <img src="@/assets/img/userCenter/u53042.png" alt="" style="float: left; margin-left: 10px; margin-top: 20px;">
  10. <div style=" margin-left: 100px; margin-top: 20px;width: 70%;">
  11. <div style="color: #666;">{{$t('common.personal')}}</div>
  12. <div style="color: #666;font-size: 14px;margin-top: 10px;">
  13. {{$t('common.personalRemark')}}
  14. </div>
  15. </div>
  16. </div>
  17. <div class="authenticationBox2 cursor" @click="goAithentication(3)">
  18. <img src="@/assets/img/userCenter/u52392.png" alt="" style="float: left; margin-left: 10px; margin-top: 20px;">
  19. <div style=" margin-left: 100px; margin-top: 20px;width: 70%;">
  20. <div style="color: #666;">{{$t('common.RealEnterprise')}}</div>
  21. <div style="color: #666;font-size: 14px;margin-top: 10px;">
  22. {{$t('common.enterpriseRemark')}}
  23. </div>
  24. </div>
  25. </div>
  26. </div>
  27. <userCenterAuthenticationPersonal v-if="ifgoAithentication==2" @aithentication="aithentication"></userCenterAuthenticationPersonal>
  28. <userCenterAuthenticationEnterprise v-if="ifgoAithentication==3" @aithentication="aithentication"></userCenterAuthenticationEnterprise>
  29. </div>
  30. </template>
  31. <script>
  32. import userCenterAuthenticationPersonal from "./userCenterAuthenticationPersonal";
  33. import userCenterAuthenticationEnterprise from "./userCenterAuthenticationEnterprise";
  34. export default {
  35. name: 'userCenterUnitInformation',
  36. components:{userCenterAuthenticationPersonal,userCenterAuthenticationEnterprise},
  37. data () {
  38. return {
  39. informationsClass:'1',
  40. ifgoAithentication:'1',
  41. dialogVisible: false,
  42. ifDiaslog:'',
  43. title:'',
  44. form: {
  45. name: '1233@163.com',
  46. region: '普通用户',
  47. date1: '2018-05-19',
  48. date3: '2018-05-19',
  49. date2: '2020-05-25 11:20:23',
  50. delivery: false,
  51. type: [],
  52. resource: '',
  53. desc: ''
  54. },
  55. }
  56. },
  57. methods:{
  58. goAithentication(num){
  59. this.ifgoAithentication=num
  60. },
  61. aithentication(data){
  62. this.ifgoAithentication=data
  63. }
  64. }
  65. }
  66. </script>
  67. <style scoped>
  68. .el-button {
  69. width: 200px;
  70. height: 45px;
  71. }
  72. .authenticationBox1 {
  73. margin-left: 35px;
  74. margin-right: 150px;
  75. height: 100px;
  76. border: 1px solid rgba(153, 153, 153, 1);
  77. border-radius: 10px;
  78. margin-top: 50px;
  79. position: relative;
  80. }
  81. .authenticationBox2 {
  82. margin: 50px 150px 0 35px;
  83. height: 100px;
  84. border: 1px solid rgba(153, 153, 153, 1);
  85. border-radius: 10px;
  86. position: relative;
  87. }
  88. .authenticationBox1:hover,
  89. .authenticationBox2:hover {
  90. border: 1px solid #ff8400;
  91. }
  92. </style>