return.vue 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159
  1. <template>
  2. <zj-page-layout
  3. :hasFooter="true"
  4. :isScroll="true"
  5. :refresherTriggered="refresherTriggered"
  6. @refresherrefresh="refresherrefresh">
  7. <view class="goods-container">
  8. <view class="title">商品信息</view>
  9. <view class="goods">
  10. <image src="@/static/user/other_book.png"></image>
  11. <view class="main">
  12. <view class="name">商品名称</view>
  13. <view class="des">商品描述</view>
  14. <view class="price"><text>¥18.00</text>x2</view>
  15. </view>
  16. </view>
  17. <view class="total">订单总金额<text>¥1200.00</text></view>
  18. </view>
  19. <view class="form-container">
  20. <view class="title">退货信息填写</view>
  21. <view class="radio">
  22. <view class="label">选择类型</view>
  23. <u-radio-group
  24. v-model="type"
  25. placement="row">
  26. <u-radio label="仅退款" activeColor="#01C30B" :name="1"></u-radio>
  27. </u-radio-group>
  28. </view>
  29. <view class="content">
  30. <view class="label">退货原因</view>
  31. <u--textarea v-model="content" placeholder="请输入内容" ></u--textarea>
  32. </view>
  33. </view>
  34. <view class="form-container">
  35. <view class="title">处理结果</view>
  36. <view class="row">
  37. <view class="label">处理状态</view>
  38. <view class="value">已处理</view>
  39. </view>
  40. <view class="row">
  41. <view class="label">处理结果</view>
  42. <view class="value">同意退款</view>
  43. </view>
  44. <view class="row">
  45. <view class="label">退款金额</view>
  46. <view class="value">¥1200.00</view>
  47. </view>
  48. <view class="row">
  49. <view class="label">备注信息</view>
  50. <view class="value">备注信息备注信息备注信息备注信息备注信息备注信息备注信息备注信息备注信息</view>
  51. </view>
  52. </view>
  53. <template slot="footer">
  54. <view class="bottom-container">
  55. <u-button text="提交申请" type="primary" shape="circle"></u-button>
  56. </view>
  57. </template>
  58. </zj-page-layout>
  59. </template>
  60. <script>
  61. export default {
  62. data() {
  63. return {
  64. type: 1,
  65. content: ''
  66. }
  67. }
  68. }
  69. </script>
  70. <style lang="scss" scoped>
  71. .goods-container {
  72. background: #ffffff;
  73. margin-top: 30rpx;
  74. padding: 30rpx 30rpx 0;
  75. .title {
  76. font-weight: 500;
  77. }
  78. .goods {
  79. display: flex;
  80. padding: 30rpx 0;
  81. image {
  82. width: 120rpx;
  83. height: 120rpx;
  84. }
  85. .main {
  86. flex: 1;
  87. margin-left: 20rpx;
  88. .name {
  89. font-size: 32rpx;
  90. }
  91. .des {
  92. margin-top: 12rpx;
  93. font-size: 28rpx;
  94. color: $reg-font;
  95. }
  96. .price {
  97. margin-top: 12rpx;
  98. text {
  99. color: $assist-color;
  100. font-weight: 500;
  101. font-size: 32rpx;
  102. margin-right: 12rpx;
  103. }
  104. }
  105. }
  106. }
  107. .total {
  108. border-top: 1px solid #eaeaea;
  109. height: 80rpx;
  110. display: flex;
  111. align-items: center;
  112. justify-content: end;
  113. font-size: 28rpx;
  114. text {
  115. margin-left: 12rpx;
  116. color: $assist-color;
  117. }
  118. }
  119. }
  120. .form-container {
  121. background: #ffffff;
  122. margin-top: 30rpx;
  123. padding: 30rpx;
  124. .title {
  125. font-weight: 500;
  126. }
  127. .label {
  128. color: $sec-font;
  129. flex-shrink: 0;
  130. margin-right: 30rpx;
  131. }
  132. .radio {
  133. display: flex;
  134. align-items: center;
  135. margin-top: 30rpx;
  136. }
  137. .content {
  138. display: flex;
  139. margin-top: 30rpx;
  140. }
  141. .row {
  142. display: flex;
  143. margin-top: 30rpx;
  144. }
  145. }
  146. .bottom-container {
  147. padding: 20rpx 30rpx;
  148. }
  149. </style>