ServiceGuarantee.vue 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128
  1. <template>
  2. <u-popup v-model="showPopup" @close="closePopup" @open="openPopup" mode="center" border-radius="20">
  3. <view class="popup-content">
  4. <view class="popup-title">服务保障</view>
  5. <view class="guarantee-list">
  6. <!-- 免费退回 -->
  7. <view class="guarantee-item">
  8. <view class="item-header">
  9. <image src="/static/img/1-1.png" mode="widthFix" class="item-icon"></image>
  10. <text class="item-title">免费退回</text>
  11. </view>
  12. <view class="item-desc">本单不合格书籍可免费退回,您可在订单审核完成后,提交申请退回。</view>
  13. </view>
  14. <!-- 24小时验 -->
  15. <view class="guarantee-item">
  16. <view class="item-header">
  17. <image src="/static/img/1-2.png" mode="widthFix" class="item-icon"></image>
  18. <text class="item-title">24小时验</text>
  19. </view>
  20. <view class="item-desc">本单获得24小时验资格,订单将在"到仓签收"后24小时内验货完毕,未完成验货将获得3元补贴到余额,可随验货书款一起提现。</view>
  21. </view>
  22. <!-- 极速打款 -->
  23. <view class="guarantee-item">
  24. <view class="item-header">
  25. <image src="/static/img/1-3.png" mode="widthFix" class="item-icon"></image>
  26. <text class="item-title">极速打款</text>
  27. </view>
  28. <view class="item-desc">余额提现后,将在24小时内到账。</view>
  29. </view>
  30. <!-- 卖亏必赔 -->
  31. <view class="guarantee-item">
  32. <view class="item-header">
  33. <image src="/static/img/1-4.png" mode="widthFix" class="item-icon"></image>
  34. <text class="item-title">卖亏必赔</text>
  35. </view>
  36. <view class="item-desc">订单完成后15天内,若发现订单内所售书籍发生涨价,可以申请补差。</view>
  37. </view>
  38. </view>
  39. <button class="confirm-btn" @click="closePopup">确定</button>
  40. </view>
  41. </u-popup>
  42. </template>
  43. <script>
  44. export default {
  45. data() {
  46. return {
  47. showPopup: false
  48. };
  49. },
  50. methods: {
  51. openPopup() {
  52. this.showPopup = true;
  53. },
  54. closePopup() {
  55. this.showPopup = false;
  56. }
  57. }
  58. };
  59. </script>
  60. <style lang="scss">
  61. .popup-content {
  62. background: #FFFFFF;
  63. padding: 30rpx;
  64. width: 600rpx;
  65. border-radius: 20rpx;
  66. padding-left: 46rpx;
  67. .popup-title {
  68. font-size: 34rpx;
  69. color: #333333;
  70. font-weight: 600;
  71. text-align: center;
  72. margin-bottom: 30rpx;
  73. }
  74. .guarantee-list {
  75. .guarantee-item {
  76. margin-bottom: 30rpx;
  77. .item-header {
  78. display: flex;
  79. align-items: center;
  80. margin-bottom: 10rpx;
  81. .item-icon {
  82. width: 28rpx;
  83. height: 28rpx;
  84. }
  85. .item-title {
  86. font-size: 30rpx;
  87. color: #333333;
  88. font-weight: 600;
  89. margin-left: 10rpx;
  90. }
  91. }
  92. .item-desc {
  93. font-size: 26rpx;
  94. color: #333333;
  95. font-weight: 400;
  96. line-height: 1.5;
  97. }
  98. }
  99. }
  100. .confirm-btn {
  101. width: 280rpx;
  102. height: 80rpx;
  103. line-height: 80rpx;
  104. background-color: #4CD964;
  105. color: #FFFFFF;
  106. font-size: 32rpx;
  107. border-radius: 10rpx;
  108. border: none;
  109. margin-top: 20rpx;
  110. margin-left: 50%;
  111. transform: translateX(-50%);
  112. }
  113. }
  114. </style>