acptdetail.vue 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228
  1. <template>
  2. <view class="content">
  3. <view class="acountbox">
  4. <view class="inacount">
  5. <text class="acoutitle">承兑人名称</text>
  6. <input type="text" v-model="form.name" class="checkword" placeholder="请输入承兑人名称"
  7. placeholder-style="font-size:30rpx;color:#68625B" />
  8. </view>
  9. <view class="inacount">
  10. <text class="acoutitle">账号</text>
  11. <input type="text" v-model="form.bankAccount" class="checkword" placeholder="请输入账号"
  12. placeholder-style="font-size:30rpx;color:#68625B" />
  13. </view>
  14. <view class="inacount">
  15. <text class="acoutitle">服务费率 </text>
  16. <input type="text" v-model="form.serviceRate" class="checkword" placeholder="请输入服务费率"
  17. placeholder-style="font-size:30rpx;color:#68625B" />
  18. </view>
  19. <view class="inacount">
  20. <text class="acoutitle">利率</text>
  21. <input type="text" v-model="form.interest" class="checkword" placeholder="请输入利率"
  22. placeholder-style="font-size:30rpx;color:#68625B" />
  23. </view>
  24. <view class="inacount">
  25. <text class="acoutitle">开户行名称</text>
  26. <input type="text" v-model="form.bankName" class="checkword" placeholder="请输入开户行名称"
  27. placeholder-style="font-size:30rpx;color:#68625B" />
  28. </view>
  29. </view>
  30. <view class="logininbtn">
  31. <text>确认修改</text>
  32. </view>
  33. </view>
  34. </template>
  35. <script>
  36. export default {
  37. data() {
  38. return {
  39. id:'',
  40. form: {
  41. name: '',
  42. bankAccount:'',
  43. serviceRate:'',
  44. interest:'',
  45. bankName:''
  46. },
  47. }
  48. },
  49. onLoad(o) {
  50. if(o.id){
  51. this.id=o.id
  52. }
  53. this.init()
  54. },
  55. methods: {
  56. init(){
  57. uni.showLoading()
  58. uni.$u.http.get(`/api/Acceptor/${this.id}`,{
  59. custom: {
  60. auth: true
  61. }
  62. }).then((res) => {
  63. uni.hideLoading()
  64. this.form=res
  65. }).catch((err) => {
  66. uni.hideLoading()
  67. console.log(err)
  68. })
  69. }
  70. }
  71. }
  72. </script>
  73. <style lang="scss" scoped>
  74. /* uni.scss */
  75. @import 'uview-ui/theme.scss';
  76. .content {
  77. display: flex;
  78. flex-direction: column;
  79. align-items: center;
  80. justify-content: center;
  81. }
  82. .loginbg {
  83. background-image: url("https://t39.9026.com/web/uploads/thumbs/mall10000/20220629/e01b927c95ee1f05364f5e456f281388.png");
  84. height: 559rpx;
  85. width: 750rpx;
  86. background-size: 100% 100%;
  87. // display: flex;
  88. // align-items: center;
  89. // justify-content: center;
  90. }
  91. .logo {
  92. margin: 0 auto;
  93. height: 200rpx;
  94. width: 200rpx;
  95. margin-left: auto;
  96. margin-right: auto;
  97. margin-bottom: 50rpx;
  98. }
  99. .text-area {
  100. display: flex;
  101. justify-content: center;
  102. }
  103. .title {
  104. font-size: 36rpx;
  105. color: #8f8f94;
  106. }
  107. .logobox {
  108. margin: 0 auto;
  109. margin-top: 212rpx;
  110. width: 269rpx;
  111. height: 191rpx;
  112. // background-color: #F1F1F1;
  113. image {
  114. width: 100%;
  115. height: 100%;
  116. }
  117. }
  118. .checkbox {}
  119. .business {
  120. width: 305rpx;
  121. height: 90rpx;
  122. display: flex;
  123. align-items: center;
  124. justify-content: center;
  125. text-align: center;
  126. // background-color: #D8AB5A;
  127. border-raotherdius: 20rpx;
  128. color: #FFFFFF;
  129. margin-top: 57rpx;
  130. }
  131. .bnesper {
  132. background-size: 100%;
  133. background-image: url("@/static/img/loginbtn4.png");
  134. padding-top: 10rpx;
  135. color: #FFF1D8;
  136. line-height: 90rpx;
  137. }
  138. .applyper {
  139. background-image: url("@/static/img/loginbt1.png");
  140. background-size: 100%;
  141. padding-top: 10rpx;
  142. color: #FFF1D8;
  143. }
  144. .actapp {
  145. background-image: url("@/static/img/loginbtn3.png");
  146. background-size: 100%;
  147. color: #D05C39;
  148. }
  149. .actbnes {
  150. background-image: url("@/static/img/loginbt2.png");
  151. background-size: 100%;
  152. color: #D05C39;
  153. }
  154. .acountbox {
  155. .inacount {
  156. display: flex;
  157. padding: 35rpx 20rpx;
  158. box-sizing: border-box;
  159. width: 690rpx;
  160. margin-top: 40rpx;
  161. background-color: #F6F6F6;
  162. border-radius: 20rpx;
  163. font-size: 30rpx;
  164. color: #1F242A;
  165. input {
  166. width: 360rpx;
  167. }
  168. }
  169. .acoutitle {
  170. font-weight: 600;
  171. }
  172. .checkword {
  173. padding-left: 20rpx;
  174. color: #1F242A;
  175. font-size: 30rpx;
  176. }
  177. }
  178. .otherbt {
  179. width: 606rpx;
  180. display: flex;
  181. justify-content: space-between;
  182. font-size: 24rpx;
  183. padding-top: 30rpx;
  184. }
  185. .regbt {
  186. color: $uni-all-theme;
  187. }
  188. .logininbtn {
  189. margin-top: 80rpx;
  190. width:690rpx;
  191. border-radius: 43rpx;
  192. background: linear-gradient(to right, #FFE1AD,#D8AB5A);
  193. height: 100rpx;
  194. text-align: center;
  195. color: #fff;
  196. line-height: 100rpx;
  197. }
  198. </style>