limit.vue 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114
  1. <template>
  2. <view class="limbox">
  3. <!-- 申请额度 -->
  4. <view class="tit">申请额度</view>
  5. <view class="txt">请如实填写您所需申请的额度</view>
  6. <view class="flexc limlist">
  7. <view class="limimg"><image :src="limita" class="imga"></image></view>
  8. <input placeholder="请输入申请额度" placeholder-class="coa" class="ltit flex1"/>
  9. <view class="ltit flex0 ml8">万元</view>
  10. </view>
  11. <!-- 申贷银行 -->
  12. <view class="tit">申贷银行</view>
  13. <view class="txt">请根据您的实际情况选择申请银行</view>
  14. <picker range-key='label' :value="yhidx" :range="yhlist" @change='bindDateChangea'>
  15. <view class="flexc limlist">
  16. <view class="limimg"><image :src="limitb" class="imgb"></image></view>
  17. <view class="ltit flex1" :class="sdyh?'':'coa'">{{sdyh||'请选择申贷银行'}}</view>
  18. <image :src="hrimg" class="rimg"></image>
  19. </view>
  20. </picker>
  21. <!-- 使用期限 -->
  22. <view class="tit">使用期限</view>
  23. <view class="txt">自XXX当日起开始计算</view>
  24. <view class="flexc limlist">
  25. <picker range-key='label' :value="yhidx" :range="yhlist" @change='bindDateChangea'>
  26. <view class="limimg"><image :src="limitc" class="imgc"></image></view>
  27. </picker>
  28. <input @click.top="" placeholder="请选择或输入期限" placeholder-class="coa" class="ltit flex1"/>
  29. <picker range-key='label' :value="yhidx" :range="yhlist" @change='bindDateChangea'>
  30. <view class="flexc">
  31. <image :src="hrimg" class="rimg"></image>
  32. <view class="ltit flex0 ml33">个月</view>
  33. </view>
  34. </picker>
  35. </view>
  36. <!-- 资金用途 -->
  37. <view class="tit">资金用途</view>
  38. <view class="txt">请如实填写您需借款的资金用途</view>
  39. <view class="flexc limlist">
  40. <picker range-key='label' :value="yhidx" :range="yhlist" @change='bindDateChangea'>
  41. <view class="limimg"><image :src="limitd" class="imgd"></image></view>
  42. </picker>
  43. <input @click.top="" placeholder="请选择或输入资金用途" placeholder-class="coa" class="ltit flex1"/>
  44. <picker range-key='label' :value="yhidx" :range="yhlist" @change='bindDateChangea'>
  45. <image :src="hrimg" class="rimg"></image>
  46. </picker>
  47. </view>
  48. <!-- 资金用途 -->
  49. <view class="tit">还款来源</view>
  50. <view class="txt">请如实填写您的还款来源</view>
  51. <view class="flexc limlist">
  52. <picker range-key='label' :value="yhidx" :range="yhlist" @change='bindDateChangea'>
  53. <view class="limimg"><image :src="limite" class="imge"></image></view>
  54. </picker>
  55. <input @click.top="" placeholder="请选择或输入还款来源" placeholder-class="coa" class="ltit flex1"/>
  56. <picker range-key='label' :value="yhidx" :range="yhlist" @change='bindDateChangea'>
  57. <image :src="hrimg" class="rimg"></image>
  58. </picker>
  59. </view>
  60. <view class="rzbtn mt38" @click="getNextFn">下一步</view>
  61. </view>
  62. </template>
  63. <script>
  64. import { checkPermi, checkRole } from "@/utils/permission"; // 权限判断函数
  65. export default{
  66. components:{},
  67. data(){
  68. return{
  69. limita: require('@/work/static/images/busin/limita.png'),
  70. limitb: require('@/work/static/images/busin/limitb.png'),
  71. limitc: require('@/work/static/images/busin/limitc.png'),
  72. limitd: require('@/work/static/images/busin/limitd.png'),
  73. limite: require('@/work/static/images/busin/limite.png'),
  74. hrimg:require('@/work/static/images/hrimg.png'),
  75. yhidx:1,
  76. yhlist:[{label:"中国银行",value:0},{label:"招商银行",value:1},{label:"农业银行",value:2}],
  77. sdyh:""
  78. }
  79. },
  80. methods:{
  81. checkPermi, checkRole,
  82. getNextFn(){
  83. this.$tab.navigateTo("/work/pages/business/add")
  84. },
  85. bindDateChangea(e){
  86. var val=e.detail.value;
  87. this.sdyh=this.yhlist[val].label;
  88. this.sdyhid=this.yhlist[val].value;
  89. },
  90. }
  91. }
  92. </script>
  93. <style>
  94. page{background:#ffffff;}
  95. </style>
  96. <style lang="scss" scoped>
  97. .limbox{padding: 24rpx 36rpx 54rpx;
  98. .tit{font-size: 40rpx;font-weight: bold;color: #222327;padding-top: 40rpx;margin-bottom: 18rpx;}
  99. .txt{font-weight: 500;font-size: 26rpx;color: #666666;margin-bottom: 28rpx;}
  100. .limlist{padding: 36rpx 0;
  101. border-bottom: 2rpx solid #E6E6E6;display: flex;align-items: center;
  102. .limimg{width: 40rpx;height: 40rpx;display: flex;align-items: center;justify-content: center;flex: 0 0 auto;margin-right: 38rpx;
  103. .imga{width: 30rpx;height: 40rpx;}
  104. .imgb{width: 38rpx;height: 38rpx;}
  105. .imgc{width: 40rpx;height: 40rpx;}
  106. .imgd{width: 36rpx;height: 40rpx;}
  107. .imge{width: 36rpx;height: 36rpx;}
  108. }
  109. .ltit{font-weight: 500;font-size: 40rpx;color: #222327;}
  110. .rimg{width: 16rpx;height: 30rpx;margin-left: 16rpx;flex: 0 0 auto;}
  111. }
  112. }
  113. </style>