江西小程序管理端
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.

88 lines
1.7 KiB

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