record.vue 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138
  1. <template>
  2. <view class="text-color-12">
  3. <view class="sys-background-fff m-20 p-20 r-20" v-for="(item,index) in 2" :key="index">
  4. <view class="record-box row-justify-sb">
  5. <view class="row-c">
  6. <image class="wh-80" src="/static/img/index/index-avatar.png" mode="aspectFill"></image>
  7. <view class="column m-l16">
  8. <text class="size-26 sys-weight-600">章三</text>
  9. <text class="size-24 text-color-999">总经理</text>
  10. </view>
  11. </view>
  12. <view class="reply-box size-24">
  13. <view class="reply-top size-24"></view>
  14. <view class="reply-buttom size-24" @click="onSendChat">回复</view>
  15. </view>
  16. </view>
  17. <view class="row m-t20 ">
  18. <view class="empty-box"></view>
  19. <view class="m-l16 size-26 flex">
  20. <!-- 自己发送 -->
  21. <text> 同意,利息2分。借款1个月,跟投两万。</text>
  22. <view class="image-box">
  23. <image class="reply-img wh-60 m-t20 r-10 m-r20" src="/static/img/logo.png" mode="aspectFill"
  24. v-for="(item,index) in 5" :key="index"></image>
  25. </view>
  26. <!-- 文件类型 -->
  27. <view class="sys-from-background-color p-20 r-20 m-t20">
  28. <view class="file-item row-c m-b20" v-for="(item,index) in 3" :key="index">
  29. <image class="wh-45 m-r20" src="/static/img/task-details/icon-pdf.png" mode="aspectFill">
  30. </image>
  31. <text class="size-24 color-111827">资金证明资料.PDF</text>
  32. </view>
  33. </view>
  34. <!-- 1对1回复 -->
  35. <view class="sys-from-background-color p-20 m-t20 r-20">
  36. <view class="">
  37. <text class="color-00A775">Administrator</text><text
  38. class="m-lr10 text-color-666">回复</text><text class="color-00A775">隋成哲:</text>
  39. <view class="">
  40. <view class="m-t16">可以</view>
  41. <view class="image-box">
  42. <image class="reply-img wh-60 m-t20 r-10 m-r20" src="/static/img/logo.png"
  43. mode="aspectFill" v-for="(item,index) in 5" :key="index"></image>
  44. </view>
  45. </view>
  46. </view>
  47. </view>
  48. </view>
  49. </view>
  50. </view>
  51. <uni-popup background-color="#fff" ref="popup" type="bottom" borderRadius="10px 10px 0 0"
  52. @touchmove.stop.prevent="moveHandle">
  53. <view class="page-env-160">
  54. <view class="row-justify-sb center p-lr30 p-t30">
  55. <view class="wh-25"></view>
  56. <text class="size-30 sys-weight-600">任务反馈</text>
  57. <image class="wh-25" src="/static/img/task-details/close.png" mode="" @click="onClose"></image>
  58. </view>
  59. <SendChat is_button></SendChat>
  60. </view>
  61. </uni-popup>
  62. </view>
  63. </template>
  64. <script>
  65. import SendChat from "./send_chat.vue"
  66. export default {
  67. components: {
  68. SendChat
  69. },
  70. props: {
  71. },
  72. data() {
  73. return {}
  74. },
  75. methods: {
  76. moveHandle() {
  77. return false
  78. },
  79. onSendChat() {
  80. this.$refs.popup.open('bottom')
  81. },
  82. onClose() {
  83. this.$refs.popup.close('bottom')
  84. }
  85. }
  86. }
  87. </script>
  88. <style lang="scss" scoped>
  89. .record-box {
  90. .reply-box {
  91. position: relative;
  92. }
  93. .reply-top {
  94. width: 98rpx;
  95. height: 45rpx;
  96. background: #0FB160;
  97. border-radius: 6rpx;
  98. opacity: 0.1;
  99. }
  100. .reply-buttom {
  101. width: 98rpx;
  102. height: 45rpx;
  103. line-height: 45rpx;
  104. text-align: center;
  105. position: absolute;
  106. top: 0;
  107. color: #0FB160;
  108. }
  109. }
  110. .empty-box {
  111. width: 80rpx;
  112. }
  113. .image-box {
  114. display: flex;
  115. flex-wrap: wrap;
  116. .reply-img {
  117. width: 130rpx;
  118. height: 130rpx;
  119. display: block;
  120. }
  121. }
  122. .file-item:last-child {
  123. margin-bottom: 0;
  124. }
  125. </style>