m-audio.vue 639 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. <template>
  2. <view class="quote-box">
  3. <text class="quote-name">
  4. {{ value.senderData.name }}:
  5. <text>[语音]{{ Math.ceil(value.payload.duration) || 1 }}''</text>
  6. </text>
  7. </view>
  8. </template>
  9. <script>
  10. export default {
  11. props: {
  12. isMy: {
  13. type: [Boolean, Number],
  14. default: false
  15. },
  16. value: {
  17. type: Object,
  18. default: {}
  19. }
  20. },
  21. data() {
  22. return {};
  23. },
  24. computed: {},
  25. methods: {}
  26. };
  27. </script>
  28. <style scoped lang="scss">
  29. .quote-box {
  30. box-sizing: border-box;
  31. padding: 12rpx 16rpx;
  32. border-radius: 10rpx;
  33. margin-top: 6rpx;
  34. background-color: #e1e1e1;
  35. color: #6b6b6b;
  36. }
  37. .quote-name {
  38. }
  39. .quote-content {
  40. }
  41. </style>