materials.wxss 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. #materials {
  2. min-height: 100%;
  3. -webkit-box-sizing: border-box;
  4. box-sizing: border-box;
  5. padding: 20rpx 0;
  6. }
  7. #materials .material-wrapper {
  8. display: -webkit-box;
  9. display: -ms-flexbox;
  10. display: flex;
  11. -webkit-box-pack: justify;
  12. -ms-flex-pack: justify;
  13. justify-content: space-between;
  14. -webkit-box-align: center;
  15. -ms-flex-align: center;
  16. align-items: center;
  17. width: 100%;
  18. min-height: 80rpx;
  19. border-top: 2rpx solid #f3f3f3;
  20. -webkit-box-sizing: border-box;
  21. box-sizing: border-box;
  22. padding-left: 26rpx;
  23. padding-right: 26rpx;
  24. }
  25. #materials .first {
  26. border: 0 solid #ddd;
  27. }
  28. #materials .name {
  29. -webkit-box-flex: 1;
  30. -ms-flex: 1 1 auto;
  31. flex: 1 1 auto;
  32. font-size: 30rpx;
  33. }
  34. #materials .btns {
  35. display: -webkit-box;
  36. display: -ms-flexbox;
  37. display: flex;
  38. height: 100%;
  39. -webkit-box-align: center;
  40. -ms-flex-align: center;
  41. align-items: center;
  42. -webkit-box-flex: 0;
  43. -ms-flex: 0 0 150rpx;
  44. flex: 0 0 150rpx;
  45. }
  46. #materials .btn {
  47. background-position: center;
  48. background-repeat: no-repeat;
  49. }
  50. #materials .btn.view{
  51. width: 70rpx;
  52. height: 80rpx;
  53. margin-left: 15rpx;
  54. margin-right: 20rpx;
  55. background-image: url(https://efunimgs.ai160.com/resource/wechat/live/eye.png);
  56. background-size: 50rpx 25rpx;
  57. }
  58. #materials .btn.collect{
  59. width: 70rpx;
  60. height: 80rpx;
  61. background-image: url(https://efunimgs.ai160.com/resource/wechat/live/collect.png);
  62. background-size: 45rpx 45rpx;
  63. }
  64. #materials .btn.collected{
  65. width: 70rpx;
  66. height: 80rpx;
  67. background-image: url(https://efunimgs.ai160.com/resource/wechat/live/collected.png);
  68. background-size: 45rpx 45rpx;
  69. }