accountChangePanel.vue 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125
  1. <template>
  2. <div class="account-change-panel-container">
  3. <div class="account-change-title">选择您的角色</div>
  4. <div class="account-change-main">
  5. <div class="account-change-item">
  6. <div class="account-change-img">
  7. <img src="https://iph.href.lu/100x100?fg=666666&bg=cccccc" />
  8. </div>
  9. <div class="account-change-tips">
  10. 我是需求方
  11. </div>
  12. <div class="account-change-cur"></div>
  13. </div>
  14. <div class="account-change-item">
  15. <div class="account-change-img">
  16. <img src="https://iph.href.lu/100x100?fg=666666&bg=cccccc" />
  17. </div>
  18. <div class="account-change-tips">
  19. 我是开发者
  20. </div>
  21. <div class="account-change-cur"></div>
  22. </div>
  23. </div>
  24. <div @click="submit" class="account-change-submit">确认3选择</div>
  25. </div>
  26. </template>
  27. <script>
  28. export default {
  29. data(){
  30. return {
  31. accountType:"",
  32. }
  33. },
  34. computed:{
  35. myInfo() {
  36. return this.$store.state.userinfo;
  37. },
  38. },
  39. mounted() {
  40. },
  41. methods: {
  42. submit(){
  43. alert(234)
  44. let userinfo = this.$store.state.userinfo
  45. console.log(userinfo)
  46. }
  47. },
  48. }
  49. </script>
  50. <style lang="scss">
  51. .account-change-panel-container{
  52. width: 880px;
  53. height: 600px;
  54. background: #FFFFFF;
  55. border-radius: 8px;
  56. }
  57. .account-change-title{
  58. margin-top: 40px;
  59. margin-bottom: 50px;
  60. text-align: center;
  61. font-size: 28px;
  62. font-family: PingFangSC-Medium, PingFang SC;
  63. font-weight: 500;
  64. color: #0B121A;
  65. line-height: 40px
  66. }
  67. .account-change-main{
  68. margin-left:58px;
  69. margin-right: 58px;
  70. overflow: hidden;
  71. display: flex;
  72. justify-content:space-between;
  73. }
  74. .account-change-item{
  75. width: 360px;
  76. height: 300px;
  77. background: #FFFFFF;
  78. border-radius: 16px;
  79. border: 2px dotted #CED3D9;
  80. }
  81. .account-change-img{
  82. margin:60px auto 0;
  83. width:90px;
  84. height:90px;
  85. border-radius:100%;
  86. overflow: hidden;
  87. img{
  88. width:90px;
  89. height:90px;
  90. border-radius:100%;
  91. }
  92. }
  93. .account-change-tips{
  94. margin-top: 24px;
  95. font-size: 24px;
  96. font-family: PingFangSC-Medium, PingFang SC;
  97. font-weight: 500;
  98. color: #0B121A;
  99. line-height: 33px
  100. text-align: center
  101. }
  102. .account-change-submit{
  103. margin:58px auto 0 ;
  104. width: 140px;
  105. height: 48px;
  106. border-radius: 24px;
  107. border: 1px solid #4A5D74;
  108. line-height: 48px;
  109. text-align: center;
  110. font-size: 18px;
  111. font-weight: 500;
  112. color: #4B5D73
  113. }
  114. </style>