学员端小程序
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.

71 lines
1.2 KiB

1 year ago
  1. <template>
  2. <view class="coachInfo">
  3. <view class="card">
  4. <view class="avatar">
  5. <image src="@/static/images/logo.png" mode=""></image>
  6. </view>
  7. <view class="rightTxt">
  8. <view class="name_row">
  9. <view class="name">张三三</view>
  10. <view class="tag">未绑定</view>
  11. </view>
  12. <moreRight text="预约其它教练课程"/>
  13. </view>
  14. </view>
  15. </view>
  16. </template>
  17. <script>
  18. </script>
  19. <style lang="scss" scoped>
  20. .coachInfo {
  21. .card {
  22. width: 100%;
  23. height: 180rpx;
  24. display: flex;
  25. align-items: center;
  26. padding: 0 36rpx;
  27. .avatar {
  28. width: 100rpx;
  29. height: 98rpx;
  30. border-radius: 50%;
  31. overflow: hidden;
  32. }
  33. .rightTxt {
  34. flex: 1;
  35. padding: 0 0 0 34rpx;
  36. .name_row {
  37. display: flex;
  38. align-items: center;
  39. margin-bottom: 16rpx;
  40. .name {
  41. font-size: 32rpx;
  42. color: #333;
  43. font-weight: 550;
  44. }
  45. .tag {
  46. width: 98rpx;
  47. height: 40rpx;
  48. background: #F2F2F2;
  49. border-radius: 4rpx;
  50. text-align: center;
  51. line-height: 40rpx;
  52. text-align: center;
  53. margin-left: 24rpx;
  54. color: #959595;
  55. &.active {
  56. color: $themC;
  57. background: #E8F3FE;
  58. }
  59. }
  60. }
  61. moreright {
  62. }
  63. }
  64. }
  65. }
  66. </style>