cm-return-instructions.vue 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. <template>
  2. <view class="goods-return-instructions">
  3. <view class="section" @click="onShowDetail">
  4. <view class="label">特殊商品退货须知</view>
  5. <view class="iconfont icon-chakangengduo more"></view>
  6. </view>
  7. <tui-bottom-popup backgroundColor="#fff" :height="400" :show="popupShow">
  8. <view class="popup-content">
  9. <view class="close iconfont icon-iconfontguanbi" @click="close"></view>
  10. <view class="title">特殊商品退货须知</view>
  11. <scroll-view :scroll-y="true" class="content">
  12. <view>
  13. 为保障会员权益,特殊类商品(包括耗材/配件/私密商品等),除外观跟质量问题之外,其他原因均不支持退货!
  14. </view>
  15. </scroll-view>
  16. </view>
  17. </tui-bottom-popup>
  18. </view>
  19. </template>
  20. <script>
  21. export default {
  22. data(){
  23. return {
  24. popupShow: false
  25. }
  26. },
  27. methods: {
  28. onShowDetail() {
  29. this.popupShow = true
  30. },
  31. close() {
  32. this.popupShow = false
  33. }
  34. }
  35. }
  36. </script>
  37. <style lang="scss" scoped>
  38. .goods-return-instructions {
  39. background-color: #fff;
  40. .section {
  41. display: flex;
  42. justify-content: space-between;
  43. align-items: center;
  44. font-size: 28rpx;
  45. line-height: 90rpx;
  46. color: #666666;
  47. .iconfont {
  48. font-size: 28rpx;
  49. color: #666;
  50. }
  51. }
  52. }
  53. .popup-content {
  54. position: relative;
  55. padding: 50rpx;
  56. background-color: #fff;
  57. border-radius: 16rpx 16rpx 0 0;
  58. .close {
  59. position: absolute;
  60. right: 24rpx;
  61. top: 24rpx;
  62. color: #999;
  63. font-size: 32rpx;
  64. }
  65. .title {
  66. text-align: center;
  67. font-size: 34rpx;
  68. color: #333;
  69. font-weight: bold;
  70. }
  71. .content {
  72. line-height: 42rpx;
  73. font-size: 26rpx;
  74. margin-top: 50rpx;
  75. max-height: 200rpx;
  76. color: #333333;
  77. }
  78. }
  79. </style>