index.vue 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. <template>
  2. <view class="check-panel flex-direction">
  3. <image :src="logo" class="buyer-logo"></image>
  4. <view class="title center">{{buyer}}</view>
  5. <u-input class="amount" :custom-style="inputStyle" focus placeholder="0" input-align="center " v-model="orderAmount" :type="digit" :clearable="false" />
  6. <button @click="$jump('/pages/checkstand/order-res')">去支付</button>
  7. <view class="bottom-line center">联兑通提供技术支持</view>
  8. </view>
  9. </template>
  10. <script>
  11. export default {
  12. onLoad(option) {
  13. },
  14. data() {
  15. return {
  16. logo: "/static/bank/zhaoshang.png",
  17. buyer: "中国招商银行",
  18. orderAmount: 0,
  19. inputStyle: {
  20. 'margin-top': '100rpx',
  21. 'font-size': '80rpx',
  22. 'height': '120rpx',
  23. 'font-weight': '500',
  24. 'color': '#000000'
  25. }
  26. }
  27. },
  28. methods: {
  29. }
  30. }
  31. </script>
  32. <style lang="scss" scoped>
  33. .check-panel{
  34. background-color: #FFFFFF;
  35. border-radius: 25rpx;
  36. width: 90%;
  37. min-height: 900rpx;
  38. margin: 20rpx 5%;
  39. .buyer-logo{
  40. width: 100rpx;
  41. height: 100rpx;
  42. margin-top: 70rpx;
  43. margin-left: calc(50% - 50rpx);
  44. }
  45. .title{
  46. height: 70rpx;
  47. letter-spacing: 3rpx;
  48. color: #5D5D5D;
  49. }
  50. .amount::before{
  51. position: relative;
  52. left: 100rpx;
  53. color: #bec2c2;
  54. letter-spacing: 2rpx;
  55. content: '金额 (¥)';
  56. }
  57. button{
  58. width: 90%;
  59. margin-top: 100rpx;
  60. color: white;
  61. background-color: #E1961A;
  62. letter-spacing: 5rpx;
  63. }
  64. }
  65. .bottom-line{
  66. position: absolute;
  67. bottom: 50rpx;
  68. left: 0;
  69. width: 100%;
  70. color: #dddddd;
  71. }
  72. </style>