drawerdetail.vue 4.0 KB

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