send_chat.vue 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  1. <template>
  2. <view class="text-color-12">
  3. <view class="p-30">
  4. <textarea class="sys-from-background-color r-20 textarea p-20" name="" id="" cols="30" rows="10"
  5. placeholder="留言"></textarea>
  6. <view class="size-26 m-t20 sys-weight-600">上传图片</view>
  7. <view class="image-content">
  8. <view class="image-box" v-for="(item,index) in 1" :key="index">
  9. <image class="image-item wh-110 m-t20 r-10 m-r20" src="/static/img/logo.png" mode="aspectFill">
  10. </image>
  11. <image class="delete-iocn wh-25" src="/static/img/information/hint-subtract.png" mode=""></image>
  12. </view>
  13. <view class="add-image column-c justify-center m-t20">
  14. <image class="wh-45" src="/static/img/task-details/Mask oup.png" mode=""></image>
  15. <text class="size-24 text-color-666">视频/图片</text>
  16. </view>
  17. </view>
  18. <view class="size-26 m-tb20 sys-weight-600">上传附件</view>
  19. <view class="">
  20. <view class="sys-from-background-color row-justify-sb center p-20 m-b16 r-20" v-for="(item,index) in 1"
  21. :key="index">
  22. <view class="row-c">
  23. <image class="wh-60 m-r20" src="/static/img/task-details/icon-word.png" mode="aspectFill">
  24. </image>
  25. <text class="size-24 text-color-666">资金证明资料</text>
  26. </view>
  27. <image class="delete-iocn wh-25" src="/static/img/information/hint-subtract.png" mode=""></image>
  28. </view>
  29. <view class="sys-from-background-color row-c p-20 r-20">
  30. <image class="wh-80 m-r20" src="/static/img/task-details/add-file.png" mode="aspectFill">
  31. </image>
  32. <view class="column">
  33. <text class="select-file size-24">选择文件</text>
  34. <text class="size-24 text-color-666">支持上传文件:pdf、word、excel、ppt</text>
  35. </view>
  36. </view>
  37. </view>
  38. </view>
  39. <EnButton v-if="is_button"></EnButton>
  40. </view>
  41. </template>
  42. <script>
  43. export default {
  44. props: {
  45. is_button: {
  46. type: Boolean,
  47. default: false
  48. }
  49. },
  50. data() {
  51. return {}
  52. },
  53. methods: {}
  54. }
  55. </script>
  56. <style lang="scss" scoped>
  57. .textarea {
  58. width: calc(100% - 40rpx);
  59. max-height: 100rpx;
  60. }
  61. .image-content {
  62. display: flex;
  63. flex-wrap: wrap;
  64. .image-box {
  65. position: relative;
  66. .image-item {
  67. width: 130rpx;
  68. height: 130rpx;
  69. border-radius: 10rpx;
  70. }
  71. .delete-iocn {
  72. position: absolute;
  73. right: 12rpx;
  74. top: 12rpx;
  75. }
  76. }
  77. .add-image {
  78. width: 128rpx;
  79. height: 128rpx;
  80. border-radius: 10rpx;
  81. background: #F7F9FE;
  82. border: 1rpx dashed #999999;
  83. }
  84. }
  85. .select-file {
  86. width: 132rpx;
  87. height: 44rpx;
  88. background: #FFFFFF;
  89. border-radius: 6rpx;
  90. border: 1rpx solid #DDDDDD;
  91. line-height: 44rpx;
  92. text-align: center;
  93. display: inline-block;
  94. margin-bottom: 10rpx;
  95. }
  96. </style>