workDetail.wxss 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. /* teacher/pages/workDetail/workDetail.wxss */
  2. .work-detail {
  3. height: calc(100vh - 50px);
  4. display: flex;
  5. flex-direction: column;
  6. align-items: center;
  7. justify-content: flex-start;
  8. padding: 20rpx;
  9. }
  10. .work-header {
  11. display: flex;
  12. width: 100%;
  13. justify-content: flex-start;
  14. flex-direction: column;
  15. padding-left: 120rpx;
  16. margin-bottom: 5px;
  17. }
  18. .work-header text {
  19. font-size: 14px;
  20. margin-bottom: 5px;
  21. color: #999;
  22. letter-spacing: 1px;
  23. display: inline-block;
  24. width: 80%;
  25. }
  26. .work-header text:nth-child(1) {
  27. font-size: 16px;
  28. color: #333;
  29. }
  30. canvas {
  31. width: 100%;
  32. height: 100%;
  33. }
  34. .work-body {
  35. width: 600rpx;
  36. height: 850rpx;
  37. margin: 20rpx 30rpx;
  38. }
  39. .work-body {
  40. box-shadow: 0 2px 4px rgba(0, 0, 0, 0.12), 0 0 6px rgba(0, 0, 0, 0.04);
  41. }
  42. .work-body van-image {
  43. width: 100rpx;
  44. height: 100rpx;
  45. }
  46. .over {
  47. width: 100%;
  48. height: 100%;
  49. display: flex;
  50. flex-direction: column;
  51. justify-content: center;
  52. align-items: center;
  53. }
  54. .over canvas {
  55. background: #fafafa;
  56. margin-bottom: 20rpx;
  57. }
  58. .over van-button {
  59. width: 40%;
  60. }
  61. .over van-button button {
  62. width: 100%;
  63. }
  64. .over .btn-attr {
  65. width: 80%;
  66. display: flex;
  67. justify-content: space-between;
  68. align-items: center;
  69. }