my_integral.vue 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. <template>
  2. <view class="content">
  3. <view class="my bg-linear-gradient">
  4. <view class="number">39902</view>
  5. <view class="number_bottom">用户获得的积分可以用来购买商品噢</view>
  6. </view>
  7. <view class="text01">
  8. 如何获取积分
  9. </view>
  10. <view class="text02">
  11. <view> 每天一次分享获得20积分</view>
  12. <view> 每天登陆小程序获得10积分</view>
  13. <view> 购买商品可以获得等同商品金额(剔除小数取整)的积分</view>
  14. </view>
  15. <view class="text01">
  16. 积分的使用
  17. </view>
  18. <view class="text02">
  19. <view> 用户可以通过积分来抵扣商品金额,但不能兑现;</view>
  20. <view> 积分仅能抵扣商品的售价,不能抵扣可能产生的运费;</view>
  21. <view> 不同商品可使用的积分存在上限,以支付页面提示为准;</view>
  22. <view> 每100积分可以抵扣1元的商品金额;</view>
  23. <view> 积分的使用为每100积分一个单位,少于100积分则不能使用。</view>
  24. </view>
  25. </view>
  26. </template>
  27. <script>
  28. export default {
  29. data() {
  30. return {
  31. };
  32. }
  33. }
  34. </script>
  35. <style lang="scss">
  36. .content{
  37. background:rgba(255,255,255,1);
  38. display: flex;
  39. flex-direction: column;
  40. align-items: center;
  41. .my{
  42. width:705upx;
  43. height:234upx;
  44. box-shadow:0upx -2upx 47upx 4upx rgba(1,0,32,0.1);
  45. border-radius:30upx;
  46. display: flex;
  47. flex-direction: column;
  48. align-items: center;
  49. justify-content: center;
  50. margin-top: 40upx;
  51. .number{
  52. height:100upx;
  53. font-size:108upx;
  54. font-family:PingFang SC;
  55. font-weight:bold;
  56. color:rgba(249,249,251,1);
  57. }
  58. .number_bottom{
  59. height:23upx;
  60. font-size:24upx;
  61. font-family:PingFang SC;
  62. font-weight:400;
  63. color:rgba(248,248,249,1);
  64. margin:40upx 0;
  65. }
  66. }
  67. .text01{
  68. height:34upx;
  69. font-size:36upx;
  70. font-family:PingFang SC;
  71. font-weight:bold;
  72. color:$dt-color-primary;
  73. margin-top: 87upx;
  74. margin-bottom: 30upx;
  75. }
  76. .text02{
  77. height:122upx;
  78. font-size:24upx;
  79. font-family:PingFang SC;
  80. font-weight:400;
  81. color:rgba(51,51,51,1);
  82. line-height:49upx;
  83. text-align: center;
  84. }
  85. }
  86. </style>