wish_rule.vue 2.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. <template>
  2. <view class="cu-modal" :class="{ show: visible }">
  3. <view class="mask" @click="close"></view>
  4. <view class="cu-dialog" style="background-color: transparent; width: 100%">
  5. <view
  6. class="relative wrapper"
  7. :style="{ backgroundImage: 'url(' + ossurl.welfare.blessingsRuleBg + ')' }"
  8. >
  9. <view class="content">
  10. <!-- <view class="font6 color-1 paddingB15 text-center">祈福规则</view> -->
  11. <view class=" paddingT5">
  12. 1、用户可以将仓库内商品按照对应数量门槛合成为祈福池中的祈福商品,合成后,用于合成的商品将被替换为祈福商品发放到仓库中,可前往仓库提货或出售;
  13. </view>
  14. <view class=" paddingT5">
  15. 2、选择消耗的商品后,会累计合成进度条,当进度条达到100%时即可合成;
  16. </view>
  17. <view class=" paddingT5">
  18. 3、当所选商品累计进度超过100%时同样可以合成,超出部分默认消耗且无法退换,请合理选择需要消耗的商品;
  19. </view>
  20. <view class=" paddingT5">
  21. 4、祈福池中的商品均有数量限制,售完即止,不定时更新;
  22. </view>
  23. <view class=" paddingT5">5、本活动最终解释权归本平台所有。</view>
  24. </view>
  25. </view>
  26. <view class="paddingT30 flex-align-center">
  27. <view class="close cuIcon-close" @click="close"></view>
  28. </view>
  29. </view>
  30. </view>
  31. </template>
  32. <script>
  33. import ossurl from '@/utils/ossurl'
  34. export default {
  35. data() {
  36. return {
  37. ossurl,
  38. visible: false
  39. }
  40. },
  41. methods: {
  42. show() {
  43. this.visible = true
  44. },
  45. close() {
  46. this.visible = false
  47. }
  48. }
  49. }
  50. </script>
  51. <style lang="scss" scoped>
  52. .mask {
  53. position: absolute;
  54. left: 0;
  55. right: 0;
  56. top: 0;
  57. bottom: 0;
  58. }
  59. .wrapper {
  60. z-index: 1001;
  61. margin: 0 60rpx;
  62. background-size: 100% 100%;
  63. padding: 30rpx;
  64. border-radius: 30rpx;
  65. padding-top: 210rpx;
  66. height: 864rpx;
  67. width: 634rpx;
  68. font-size: 24rpx;
  69. .content {
  70. position: relative;
  71. border-radius: 10px;
  72. padding: 30rpx;
  73. color: #6d5d28;
  74. }
  75. }
  76. .close {
  77. width: 64rpx;
  78. height: 64rpx;
  79. background: #d8d8d8;
  80. font-size: 32rpx;
  81. text-align: center;
  82. line-height: 64rpx;
  83. color: #444;
  84. border-radius: 50%;
  85. }
  86. </style>