popup.vue 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131
  1. <template>
  2. <view>
  3. <!-- 弹窗 -->
  4. <view class="bgbox" @click="getClose" v-if="type"></view>
  5. <!-- 业务进度 -->
  6. <view class="speedbox" v-if="type=='ywjd'">
  7. <view class="tit">业务进度</view>
  8. <view class="lists" v-for="(ite,idx) in stepList" :key='idx'>
  9. <view class="listl">
  10. <image :src="stepa" class="imga" v-if="Number(stepval)>Number(ite.val)"></image>
  11. <image :src="stepb" v-else-if="stepval==ite.val"></image>
  12. <image :src="stepc" v-else></image>
  13. </view>
  14. <view class="listr">
  15. <view class="ltit" :class="stepval==ite.val?'act':''">{{ite.tit}}</view>
  16. <view class="ltxt">{{ite.time}}</view>
  17. </view>
  18. </view>
  19. </view>
  20. <!-- 业务审核 -->
  21. <view class="fixbox" v-if="type=='sh'">
  22. <view class="cloimg" @click="getClose">
  23. <image :src="closeimg"></image>
  24. </view>
  25. <view class="ttit">业务审核</view>
  26. <view class="mb16">
  27. <view class="ttxt mb18">是否同意进入初审</view>
  28. <uni-data-checkbox :selectedColor="actcolor" v-model="isty" :localdata="tyList" />
  29. </view>
  30. <view class="mb16">
  31. <view class="ttxt mb18">审核意见</view>
  32. <textarea class="textar" style="height: 156rpx;" placeholder="若不同意进入初审,请填写理由…"></textarea>
  33. </view>
  34. <view class="mb16">
  35. <view class="ttxt mb18">分配B角</view>
  36. <uni-data-select v-model="mycdtxt" placeholder="请选择A角" :localdata="mycdlist" ></uni-data-select>
  37. </view>
  38. <view class="mb16">
  39. <view class="ttxt mb18">分配A角</view>
  40. <uni-data-select v-model="mycdtxt" placeholder="请选择B角" :localdata="mycdlist" ></uni-data-select>
  41. </view>
  42. <view class="btns">确认并生成担保意向函</view>
  43. </view>
  44. </view>
  45. </template>
  46. <script>
  47. export default{
  48. props:{
  49. type: {
  50. type: Number,
  51. default () {
  52. return 0
  53. }
  54. },
  55. stepList:{
  56. type: Array,
  57. default () {
  58. return []
  59. }
  60. },
  61. stepval:{
  62. type: [Number,String],
  63. default () {
  64. return 0
  65. }
  66. }
  67. },
  68. data(){
  69. return{
  70. stepa:require('@/work/static/images/busin/stepa.png'),
  71. stepb:require('@/work/static/images/busin/stepb.png'),
  72. stepc:require('@/work/static/images/busin/stepc.png'),
  73. closeimg:require('@/work/static/images/close.png'),
  74. actcolor:'#00A9F0',
  75. tyList:[{text: '同意',value: '0'},{text: '不同意',value: '1'}],
  76. mycdlist:[{text: 'a',value: '0'},{text: 'b',value: '1'}],
  77. isty:'0',
  78. mycdtxt:'',
  79. }
  80. },
  81. methods:{
  82. getClose(){
  83. this.$emit('getClose')
  84. }
  85. }
  86. }
  87. </script>
  88. <style lang="scss" scoped>
  89. .speedbox{background: #FFFFFF;box-shadow: 0px 0px 14rpx 0px rgba(184,184,184,0.76);border-radius: 20rpx;padding: 44rpx 40rpx 0;
  90. position: fixed;z-index: 10;left: 220rpx;top: 50%;transform: translateY(-50%);max-height: calc(100vh - 400rpx);overflow: auto;
  91. .tit{font-weight: bold;font-size: 30rpx;color: #222327;margin-bottom: 36rpx;}
  92. .lists{display: flex;align-items: flex-start;position: relative;padding-bottom: 52rpx;
  93. &::after{content: '';width: 2rpx;position: absolute;left: 15rpx;top: 56rpx;bottom: 56rpx;height: 60rpx;background: #E6E6E6;}
  94. &:last-child{
  95. &::after{display: none;}
  96. // .ltit{color: #01A9F0 !important;}
  97. }
  98. .listl{width: 32rpx;height: 32rpx;margin-right: 22rpx;display: flex;align-items: center;justify-content: center;
  99. image{width: 32rpx;height: 32rpx;
  100. &.imga{width: 30rpx;height: 30rpx;}
  101. }
  102. }
  103. .listr{
  104. .ltit{font-weight: 500;font-size: 26rpx;color: #222327;margin-bottom: 22rpx;
  105. &.act{color: #01A9F0;}
  106. }
  107. .ltxt{font-weight: 500;font-size: 24rpx;color: #AAAAAA;}
  108. }
  109. }
  110. }
  111. .fixbox /deep/ .uni-select{border: none;background-color: #EEEEEE;height: 88rpx;}
  112. .fixbox /deep/ .uni-select__input-placeholder{font-size: 30rpx;color: #AAAAAA;}
  113. .fixbox /deep/ .uni-textarea-placeholder{font-size: 26rpx;color: #AAAAAA;}
  114. .textar{width: 100%;border-radius: 10rpx;padding: 26rpx 30rpx;font-size: 26rpx;color: #222327;height: 400rpx;background: #EEEEEE;
  115. &.texthe{height: 190rpx;}
  116. }
  117. .fixbox{position: fixed;left: 56rpx;right: 56rpx;background: #FFFFFF;max-height: calc(100vh - 400rpx);overflow: auto;
  118. border-radius: 20rpx;z-index: 10;top: 50%;transform: translateY(-50%);padding: 40rpx 48rpx 52rpx;
  119. .cloimg{display: flex;align-items: center;justify-content: center;position: absolute;width: 40rpx;height: 40rpx;
  120. top: 40rpx;left: 40rpx;
  121. image{width: 22rpx;height: 22rpx;}
  122. }
  123. .ttit{font-weight: bold;text-align: center;font-size: 30rpx;color: #222327;margin-bottom:50rpx;}
  124. .ttxt{font-weight: bold;font-size: 30rpx;color: #222327;}
  125. .btns{margin-top: 70rpx;
  126. width: 100%;background: #00A9F0;border-radius:10rpx;height: 88rpx;display: flex;align-items: center;justify-content: center;font-weight: 500;font-size: 30rpx;color: #FFFFFF;}
  127. }
  128. </style>