explain.vue 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. <template>
  2. <view class="cu-modal bottom-modal" :class="{ show: visible }">
  3. <view class="mask" @click="close"></view>
  4. <view class="wrapper cu-dialog">
  5. <view class="paddingY25 flex-align-center relative">
  6. <image :src="resource.icon_x" class="x" @click="close" />
  7. </view>
  8. <view class="paddingX14 font4 color-2">
  9. <view class="paddingT6">1.源石专属于宝箱,可以在购买宝箱商品时抵扣商品金额</view>
  10. <view class="paddingT6">2.源石获得:源石可通过参与活动获得</view>
  11. <view class="paddingT6">
  12. 3.使用限制:
  13. <view class="marginL15">
  14. <view>
  15. 1)
  16. 如您在使用现金购买宝箱商品,则100源石可抵扣1元人民币。每次购买商品时可抵扣的源石数量,请按照实际支付时页面展示的抵用数量为准
  17. </view>
  18. <view>
  19. 2)
  20. 若您是宝箱新用户(从未购买过宝箱商品)首单支付宝箱商品时,源石至多抵扣订单金额的100%
  21. </view>
  22. </view>
  23. </view>
  24. <view class="paddingT6">4.源石的有效期:源石的有效期为无限期</view>
  25. <view class="paddingT6">
  26. 5.源石一经抵扣立即作废。如您在购买宝箱商品时使用源石抵扣商品金额的,若宝箱商品发生退款,源石不予返还
  27. </view>
  28. <view class="paddingT6">6.源石不能兑现,不可转让</view>
  29. </view>
  30. </view>
  31. </view>
  32. </template>
  33. <script>
  34. import resource from '@/utils/resource'
  35. export default {
  36. data() {
  37. return {
  38. resource,
  39. visible: false
  40. }
  41. },
  42. computed: {
  43. wrapperWidth() {
  44. return this.$store.state.systemInfo.screenHeight - 100
  45. }
  46. },
  47. methods: {
  48. show() {
  49. this.visible = true
  50. },
  51. close() {
  52. this.visible = false
  53. }
  54. }
  55. }
  56. </script>
  57. <style lang="scss" scoped>
  58. .mask {
  59. position: absolute;
  60. left: 0;
  61. right: 0;
  62. top: 0;
  63. bottom: 0;
  64. }
  65. .wrapper {
  66. border-radius: 15px 15px 2px 2px;
  67. padding-bottom: 50rpx;
  68. background: #fff;
  69. .title {
  70. width: 172rpx;
  71. height: 28rpx;
  72. }
  73. .x {
  74. position: absolute;
  75. right: 28rpx;
  76. top: 50%;
  77. margin-top: -16rpx;
  78. width: 32rpx;
  79. height: 32rpx;
  80. }
  81. }
  82. </style>