upsell-rules.vue 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134
  1. <template>
  2. <custom-popup v-model="showPopup" mode="center" border-radius="24" width="650rpx" :bg-color="'transparent'">
  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年4月05日至2025年5月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. <!-- 关闭按钮 -->
  38. <view class="close-button" @click="closePopup">
  39. <image src="/static/img/activity/close2.png" mode="widthFix"></image>
  40. </view>
  41. </view>
  42. </custom-popup>
  43. </template>
  44. <script>
  45. import customPopup from "../../../components/custom-popup.vue";
  46. export default {
  47. components: {
  48. customPopup,
  49. },
  50. data() {
  51. return {
  52. showPopup: false,
  53. };
  54. },
  55. methods: {
  56. open() {
  57. this.showPopup = true;
  58. },
  59. closePopup() {
  60. this.showPopup = false;
  61. },
  62. },
  63. };
  64. </script>
  65. <style lang="scss" scoped>
  66. .rules-container {
  67. padding: 30rpx;
  68. border-radius: 24rpx;
  69. position: relative;
  70. background: url("https://shuhi.oss-cn-qingdao.aliyuncs.com/mini/bg.png")
  71. no-repeat center center;
  72. background-size: 100% 100%;
  73. }
  74. .title-section {
  75. display: flex;
  76. align-items: center;
  77. justify-content: center;
  78. margin-bottom: 30rpx;
  79. .title-line {
  80. width: 120rpx;
  81. height: 2rpx;
  82. background-color: #09bb07;
  83. }
  84. .title {
  85. font-size: 38rpx;
  86. font-weight: bold;
  87. color: #09bb07;
  88. margin: 0 20rpx;
  89. }
  90. }
  91. .rules-content {
  92. padding: 20rpx;
  93. background-color: #ffffff;
  94. border-radius: 16rpx;
  95. .rule-item {
  96. font-size: 26rpx;
  97. color: #333;
  98. line-height: 40rpx;
  99. margin-bottom: 6rpx;
  100. }
  101. }
  102. .return-button {
  103. height: 90rpx;
  104. background-color: #09bb07 !important;
  105. border-color: #09bb07 !important;
  106. font-size: 32rpx;
  107. border-radius: 100rpx;
  108. margin-top: 10rpx;
  109. }
  110. .close-button {
  111. position: absolute;
  112. bottom: -120rpx;
  113. left: 50%;
  114. transform: translateX(-50%);
  115. image {
  116. width: 70rpx;
  117. height: 70rpx;
  118. }
  119. }
  120. </style>