product.wxss 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. .product-wrapper{
  2. background: #fff;
  3. width: 100%;
  4. height: 100%;
  5. padding-top: 44rpx;
  6. }
  7. .product-box{
  8. width: 680rpx;
  9. height: 658rpx;
  10. background-image: url('http://reader-wx.ai160.com/images/reader/pay/product-bg.png');
  11. background-size: 100% 100%;
  12. margin: 0 auto;
  13. position: relative;
  14. padding-top: 15rpx;
  15. box-sizing: border-box;
  16. }
  17. .product-box .title{
  18. width: 100%;
  19. height: 125rpx;
  20. display: flex;
  21. align-items: center;
  22. justify-content: space-between;
  23. margin-top: 35rpx;
  24. padding: 50rpx;
  25. box-sizing: border-box;
  26. padding-right: 66rpx;
  27. }
  28. .product-box .title .name{
  29. color: #fff;
  30. font-weight: 500;
  31. font-size: 42rpx;
  32. /* margin-left: 35rpx; */
  33. /* margin-right: 50rpx; */
  34. }
  35. .product-box .title .price{
  36. font-size: 84rpx;
  37. font-weight: 600;
  38. color: #fff;
  39. }
  40. .product-box .title .price-tag{
  41. font-size: 48rpx;
  42. font-weight: 600;
  43. color: #fff;
  44. display: flex;
  45. align-items: center;
  46. }
  47. .product-box .origin{
  48. font-size: 33rpx;
  49. font-weight: 500;
  50. color: rgba(255,255,255,.7);
  51. position: absolute;
  52. top: 167rpx;
  53. left: 430rpx;
  54. text-decoration: line-through;
  55. }
  56. .product-box .btn{
  57. width: 480rpx;
  58. height: 80rpx;
  59. border-radius: 41rpx;
  60. background: #ff9c00;
  61. text-align: center;
  62. line-height: 80rpx;
  63. color: #fff;
  64. font-size: 40rpx;
  65. font-weight: 500;
  66. position: absolute;
  67. left: 0;
  68. right: 0;
  69. margin: 0 auto;
  70. bottom: 54rpx;
  71. }