铝交易,微信公众号
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

204 lines
4.2 KiB

4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
  1. <template>
  2. <view class="confirmOrder">
  3. <navbar :title="$t('pageTitle.confirmOrder')" leftClick @leftClick="$utils.navigateBack"/>
  4. <view class="frame">
  5. <view class="title">
  6. {{ $t('other.payDeposit') }}
  7. </view>
  8. <!--填写信息-->
  9. <view class="form">
  10. <!--开户名称-->
  11. <view class="item">
  12. <view> {{ $t('components.accountName') }}</view>
  13. <view>
  14. <input v-model="form.a" :placeholder="$t('components.enterAccountName')" clearable></input>
  15. </view>
  16. </view>
  17. <!--开户行-->
  18. <view class="item">
  19. <view> {{ $t('components.bankName') }}</view>
  20. <view>
  21. <input v-model="form.b" :placeholder="$t('components.enterOpeningBank')" clearable></input>
  22. </view>
  23. </view>
  24. <!--银行账号-->
  25. <view class="item">
  26. <view> {{ $t('components.bankAccount') }}</view>
  27. <view>
  28. <input v-model="form.c" :placeholder="$t('components.enterBankAccount')" clearable></input>
  29. </view>
  30. </view>
  31. <view class="tip">
  32. {{ $t('components.paymentNotice') }}
  33. </view>
  34. </view>
  35. <!--和联系我们-->
  36. <view class="btns">
  37. <span @click="confirmOrder" class="qrdd">
  38. {{ $t('components.confirmOrder') }}
  39. </span>
  40. <span @click="closeOrder" class="qxdd">
  41. {{ $t('components.cancelOrder') }}
  42. </span>
  43. </view>
  44. </view>
  45. </view>
  46. </template>
  47. <script>
  48. export default {
  49. name: "confirmOrder",
  50. onLoad(options) {
  51. if (options.params) {
  52. const fatherData = JSON.parse(decodeURIComponent(options.params));
  53. console.log(fatherData, "fatherData==========")
  54. this.fatherData = fatherData;
  55. }
  56. },
  57. data() {
  58. return {
  59. fatherData: {},
  60. form: {
  61. a: "",
  62. b: "",
  63. c: "",
  64. },
  65. }
  66. },
  67. methods: {
  68. //确认下单
  69. confirmOrder() {
  70. },
  71. //取消订单
  72. closeOrder() {
  73. },
  74. },
  75. }
  76. </script>
  77. <style scoped lang="scss">
  78. .confirmOrder {
  79. background-color: #FFF;
  80. height: 100vh;
  81. .frame {
  82. .title {
  83. display: flex;
  84. justify-content: center;
  85. align-items: center;
  86. font-size: 36rpx;
  87. color: #000;
  88. padding: 30rpx;
  89. }
  90. .form {
  91. margin: 20rpx;
  92. border: 1px solid #efefef;
  93. border-radius: 20rpx;
  94. overflow: hidden;
  95. .item {
  96. display: flex;
  97. align-items: center;
  98. background-color: #FFF;
  99. height: 100rpx;
  100. padding: 10rpx 0 0 20rpx;
  101. border-bottom: 1px solid #efefef;
  102. > view:nth-of-type(1) {
  103. width: 30%;
  104. // font-weight: 700;
  105. }
  106. > view:nth-of-type(2) {
  107. width: 70%;
  108. border-radius: 10rpx;
  109. overflow: hidden;
  110. input {
  111. background-color: #FFF;
  112. font-size: 28rpx;
  113. padding: 16rpx 8rpx 16rpx 15rpx;
  114. }
  115. }
  116. }
  117. .tip {
  118. display: flex;
  119. justify-content: center;
  120. align-items: center;
  121. font-size: 28rpx;
  122. color: #f95e7d;
  123. background-color: #f5f5f5;
  124. height: 40rpx;
  125. //margin-top: 20rpx;
  126. padding: 10rpx;
  127. }
  128. }
  129. .btns {
  130. width: 100%;
  131. display: flex;
  132. flex-direction: column;
  133. align-items: center;
  134. justify-content: center;
  135. gap: 20rpx;
  136. position: fixed;
  137. bottom: 80rpx;
  138. left: 0;
  139. right: 0;
  140. .qrdd {
  141. display: flex;
  142. align-items: center;
  143. justify-content: center;
  144. width: 500rpx;
  145. height: 70rpx;
  146. border-radius: 40rpx;
  147. color: #FFF;
  148. font-size: 28rpx;
  149. margin: 20rpx 10rpx 0 0;
  150. background: $uni-color;
  151. //margin-top: 20rpx;
  152. border-radius: 40rpx;
  153. }
  154. .qxdd {
  155. display: flex;
  156. align-items: center;
  157. justify-content: center;
  158. width: 500rpx;
  159. height: 70rpx;
  160. border-radius: 40rpx;
  161. color: #000000;
  162. font-size: 28rpx;
  163. margin: 20rpx 10rpx 0 0;
  164. background: #f1f1f1;
  165. //margin-top: 20rpx;
  166. border-radius: 40rpx;
  167. }
  168. }
  169. }
  170. }
  171. </style>