upsell-rules.vue 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  1. <template>
  2. <u-popup v-model="showPopup" mode="center" border-radius="24" width="650rpx">
  3. <view class="rules-container">
  4. <!-- 标题 -->
  5. <view class="title-section">
  6. <view class="title-line"></view>
  7. <view class="title">活动规则</view>
  8. <view class="title-line"></view>
  9. </view>
  10. <!-- 规则内容 -->
  11. <view class="rules-content">
  12. <view class="rule-item"
  13. >1.活动时间:2025年3月25日至2025年4月30日。</view
  14. >
  15. <view class="rule-item"
  16. >2.活动期间,用户扫描到活动书籍后有幸运机会成为助力"发起者",成功邀请1位好友进行助力,发起者参与活动的回收书籍,将根据书籍实际审核书款额外获得金额的助力收益。</view
  17. >
  18. <view class="rule-item"
  19. >3.活动期间,每位用户24小时内有一次机会成为助力者。</view
  20. >
  21. <view class="rule-item">4.回收助力收益发放时间:</view>
  22. <view class="rule-item"
  23. >活动时间内,回收订单提交时,如果助力任务已完成则随订单审核完成结算收益,金额转入用户书嗨余额。</view
  24. >
  25. <view class="rule-item"
  26. >活动时间内,回收订单提交时,如果助力任务未完成,则任务失败,不结算收益。</view
  27. >
  28. <view class="rule-item">活动结束前助力任务未完成,没有收益。</view>
  29. <view class="rule-item"
  30. >5.卖书的书款和助力收益将一起到账,可以在"我的-订单"中查看明细。</view
  31. >
  32. </view>
  33. <!-- 底部按钮 -->
  34. <u-button class="return-button" type="primary" @click="closePopup"
  35. >返回活动</u-button
  36. >
  37. </view>
  38. </u-popup>
  39. </template>
  40. <script>
  41. export default {
  42. data() {
  43. return {
  44. showPopup: false,
  45. };
  46. },
  47. methods: {
  48. open() {
  49. this.showPopup = true;
  50. },
  51. closePopup() {
  52. this.showPopup = false;
  53. },
  54. },
  55. };
  56. </script>
  57. <style lang="scss" scoped>
  58. .rules-container {
  59. background-color: #f1fef1;
  60. padding: 30rpx;
  61. border-radius: 24rpx;
  62. position: relative;
  63. }
  64. .title-section {
  65. display: flex;
  66. align-items: center;
  67. justify-content: center;
  68. margin-bottom: 30rpx;
  69. .title-line {
  70. width: 120rpx;
  71. height: 2rpx;
  72. background-color: #09bb07;
  73. }
  74. .title {
  75. font-size: 38rpx;
  76. font-weight: bold;
  77. color: #09bb07;
  78. margin: 0 20rpx;
  79. }
  80. }
  81. .rules-content {
  82. padding: 30rpx;
  83. background-color: #ffffff;
  84. border-radius: 16rpx;
  85. margin-bottom: 30rpx;
  86. .rule-item {
  87. font-size: 28rpx;
  88. color: #333;
  89. line-height: 40rpx;
  90. margin-bottom: 10rpx;
  91. }
  92. }
  93. .return-button {
  94. height: 90rpx;
  95. background-color: #09bb07 !important;
  96. border-color: #09bb07 !important;
  97. font-size: 32rpx;
  98. border-radius: 100rpx;
  99. margin-top: 10rpx;
  100. }
  101. </style>