afterSalesDetail.vue 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151
  1. <template>
  2. <view class="page">
  3. <view class="top">
  4. <view class="top-title">
  5. 请处理退款申请
  6. </view>
  7. <view class="top-detail">
  8. 如果您同意,请点击“同意退款”
  9. </view>
  10. </view>
  11. <!-- 地址信息 -->
  12. <view class="address">
  13. <view class="name-phone">
  14. <view style="margin-right:20rpx;font-size: 32rpx;">陈曦</view>
  15. <text class="phone">17800000000</text>
  16. </view>
  17. <view class="address-detail">
  18. 江苏省淮安市清江浦区北京南路99号(青浦大桥南侧200
  19. 米)淮安恒大名都3号楼一单元1602
  20. </view>
  21. </view>
  22. <CommodityDetail />
  23. <ApplicationInformation />
  24. <RefusePopup :show="show" @close="close" />
  25. <AgreePopup :agreeShow="agreeShow" @close="close" />
  26. <view class="footer">
  27. <button class="btn-1" @click="refuseApplication">拒绝申请</button><button @click="agreeShow = true" class="btn-2">同意退款</button>
  28. </view>
  29. </view>
  30. </template>
  31. <script>
  32. import CommodityDetail from './component/commodityDetail.vue';
  33. import ApplicationInformation from './component/applicationInformation.vue';
  34. import RefusePopup from './component/refusePopup.vue';
  35. import AgreePopup from './component/agreePopup.vue';
  36. export default {
  37. components: {
  38. CommodityDetail,
  39. ApplicationInformation,
  40. RefusePopup,
  41. AgreePopup
  42. },
  43. data() {
  44. return {
  45. show:false,
  46. agreeShow:false
  47. };
  48. },
  49. methods:{
  50. refuseApplication(){
  51. this.show = true
  52. },
  53. close(value){
  54. console.log(value)
  55. this.show = false
  56. this.agreeShow = false
  57. }
  58. }
  59. }
  60. </script>
  61. <style lang="scss" scoped>
  62. .page {
  63. padding: 20rpx 24rpx;
  64. position: relative;
  65. .top {
  66. background-color: #fff;
  67. border-radius: 16rpx;
  68. padding: 28rpx 20rpx;
  69. .top-title {
  70. font-size: 36rpx;
  71. color: #333;
  72. font-weight: 600;
  73. }
  74. .top-detail {
  75. font-size: 26rpx;
  76. color: #A3A3A3;
  77. margin-top: 10rpx;
  78. }
  79. }
  80. .address {
  81. background-color: #fff;
  82. border-radius: 16rpx;
  83. padding: 34rpx 24rpx 28rpx;
  84. margin-top: 24rpx;
  85. .name-phone {
  86. display: flex;
  87. align-items: center;
  88. align-items: flex-end;
  89. .phone {
  90. font-size: 26rpx;
  91. color: #666;
  92. }
  93. }
  94. .address-detail {
  95. margin-top: 20rpx;
  96. font-size: 24rpx;
  97. color: #444;
  98. }
  99. }
  100. .footer {
  101. position: fixed;
  102. bottom: 0;
  103. left: 0;
  104. width: 100%;
  105. background-color: #fff;
  106. height: 146rpx;
  107. display: flex;
  108. justify-content: flex-end;
  109. padding: 20rpx 20rpx 0 0;
  110. .btn-1 {
  111. height: 76rpx;
  112. padding: 0;
  113. margin: 0;
  114. font-size: 28rpx;
  115. color: #f83224;
  116. min-width: 188rpx;
  117. background-color: #fff;
  118. border-radius: 38rpx;
  119. border: 2rpx solid #f83224;
  120. margin-right: 20rpx;
  121. }
  122. .btn-2 {
  123. height: 76rpx;
  124. padding: 0;
  125. margin: 0;
  126. font-size: 28rpx;
  127. color: #fff;
  128. min-width: 188rpx;
  129. background-color: #f83224;
  130. border-radius: 38rpx;
  131. margin-right: 20rpx;
  132. }
  133. }
  134. }
  135. </style>