You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

94 lines
2.0 KiB

7 months ago
3 months ago
7 months ago
7 months ago
7 months ago
7 months ago
3 months ago
7 months ago
  1. <template>
  2. <view class="info_row">
  3. <view class="avatar">
  4. <!-- <image src="@/static/images/coach/avatar.png" mode=""></image> -->
  5. <image :src="vuex_userInfo.photoPath" mode="" v-if="vuex_userInfo.photoPath"></image>
  6. </view>
  7. <view class="info" @click="$goPage('/pages/userCenter/personaInfo/personaInfo')">
  8. <view class="name_row">
  9. <view class="name oneRowText">{{ vuex_userInfo.name}}</view>
  10. <view class="icon">
  11. <image src="@/static/images/coach/ic_gengduo.png" mode=""></image>
  12. </view>
  13. </view>
  14. <view class="school_row">
  15. <view class="icon">
  16. <image src="@/static/images/index/ic_jiaxiao_cli.png" mode=""></image>
  17. </view>
  18. <view class="schoolName oneRowText">{{ vuex_userInfo.schoolName}}</view>
  19. <!-- <view class="tag" v-if="identity=='校长'">驾校校长</view>
  20. <view class="tag" v-else>合作教练</view> -->
  21. </view>
  22. <view class="tag" >{{identity}}</view>
  23. </view>
  24. </view>
  25. </template>
  26. <script>
  27. </script>
  28. <style lang="scss" scoped>
  29. .info_row {
  30. display: flex;
  31. align-items: center;
  32. .avatar {
  33. width: 144rpx;
  34. height: 144rpx;
  35. border-radius: 50%;
  36. overflow: hidden;
  37. background: url("../../static/images/coach/avatar.png") no-repeat;
  38. background-size: 100% 100%;
  39. }
  40. .info {
  41. padding-left: 20rpx;
  42. .name_row {
  43. display: flex;
  44. align-items: center;
  45. padding: 6rpx 20rpx 0rpx 0;
  46. .name {
  47. font-size: 48rpx;
  48. font-weight: 500;
  49. width: 300rpx;
  50. }
  51. .icon {
  52. width: 40rpx;
  53. height: 40rpx;
  54. margin-left: 20rpx;
  55. }
  56. }
  57. .school_row {
  58. display: flex;
  59. align-items: center;
  60. padding: 16rpx 0;
  61. .icon {
  62. width: 28rpx;
  63. height: 28rpx;
  64. }
  65. .schoolName {
  66. font-size: 28rpx;
  67. padding: 0rpx 20rpx;
  68. width: 0;
  69. flex: 1;
  70. }
  71. }
  72. .tag {
  73. height: 44rpx;
  74. padding: 0 20rpx;
  75. background: rgba(25, 137, 250, 0.1);
  76. border-radius: 22rpx;
  77. font-size: 24rpx;
  78. line-height: 44rpx;
  79. text-align: center;
  80. color: $themC;
  81. white-space: nowrap;
  82. width: fit-content;
  83. }
  84. }
  85. }
  86. </style>