integral.vue 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118
  1. <template>
  2. <view class="box">
  3. <view class="topBox">
  4. <view class="topCont">
  5. <view class="jfgz">
  6. <view class="jfgzTxt">积分规则</view>
  7. <img src="../../static/timg/jthei.png" alt="" class="jfjt">
  8. </view>
  9. <view class="kyjf">
  10. <view class="kyjfTitle">可用积分</view>
  11. <view class="kyjfCont">
  12. <view class="kyjfNum">79999</view>
  13. <view class="kyjfDq">333积分即将过期</view>
  14. </view>
  15. </view>
  16. </view>
  17. <view class="topBottom">
  18. </view>
  19. </view>
  20. </view>
  21. </template>
  22. <script>
  23. export default {
  24. data() {
  25. return {
  26. }
  27. },
  28. methods: {
  29. }
  30. }
  31. </script>
  32. <style scoped>
  33. .box{
  34. background: #F4F5F7;
  35. min-height: 100vh;
  36. }
  37. .jfjt{
  38. width: 24rpx;height: 24rpx;margin-top: 12rpx;
  39. }
  40. .jfgz{
  41. display: flex;
  42. width: 150rpx;
  43. height: 48rpx;
  44. background: #FFF9F1 linear-gradient(90deg, #FCF0D9 0%, #FFFBF3 49%, #FFE5D3 100%);
  45. border-radius: 0px 2rpx 0px 26rpx;
  46. font-size: 24rpx;
  47. line-height: 48rpx;
  48. color: #573400;
  49. position: absolute;
  50. top: 0;
  51. right: 0;
  52. }
  53. .jfgzTxt{
  54. padding-left: 18rpx;
  55. }
  56. .topBox{
  57. width: 100%;
  58. height: 410rpx;
  59. background:#38394E;
  60. padding-top: 30rpx;
  61. position: relative;
  62. }
  63. .topCont{
  64. width: 702rpx;
  65. height: 200rpx;
  66. background: url('http://dmsphoto.66km.com.cn/thFiles/DCCDB197-4F64-4711-89C0-E5034B2F1788.png') no-repeat;
  67. background-size: 100% 100%;
  68. margin-left: 24rpx;
  69. position: relative;
  70. border-radius: 20rpx;
  71. overflow: hidden;
  72. }
  73. .topBottom{
  74. width: 750rpx;
  75. height: 180rpx;
  76. background: #FFFFFF;
  77. border-radius: 26rpx 26rpx 0px 0px;
  78. position: absolute;
  79. left: 0;
  80. bottom: 0;
  81. }
  82. .kyjf{
  83. padding-top: 46rpx;
  84. padding-left: 40rpx;
  85. }
  86. .kyjfTitle{
  87. color: #523509;font-size: 28rpx;
  88. }
  89. .kyjfNum{
  90. font-size: 60rpx;
  91. font-family: PingFangSC-Medium, PingFang SC;
  92. font-weight: 500;
  93. color: #523509;
  94. line-height: 84rpx;
  95. }
  96. .kyjfDq{
  97. width: 224rpx;
  98. height: 44rpx;
  99. background: linear-gradient(135deg, #FFC81B 0%, #FFA800 100%);
  100. border-radius: 22rpx 22rpx 22rpx 0px;
  101. text-align: center;
  102. color: #573400;
  103. line-height: 44rpx;
  104. font-size: 24rpx;
  105. margin-left:10rpx ;
  106. margin-top: 22rpx;
  107. }
  108. .kyjfCont{
  109. display: flex;
  110. }
  111. </style>