chat.vue 917 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. <template>
  2. <view>
  3. <view @tap="closeFrame">
  4. <cu-custom bgColor="bg-gradual-sisBlack" :isBack="true">
  5. <block slot="backText">
  6. <view style="height: 80rpx;line-height: 80rpx;color: silver;">返回</view>
  7. </block>
  8. <block slot="content">
  9. <view style="color: silver;">{{sendname}}</view>
  10. </block>
  11. </cu-custom>
  12. </view>
  13. </view>
  14. </template>
  15. <script>
  16. var _self;
  17. export default {
  18. data() {
  19. return {
  20. name:'',
  21. send:'',
  22. receive:'',
  23. sendname:'',
  24. receivename:'',
  25. }
  26. },
  27. onLoad(option){
  28. _self = this;
  29. this.send = option.send;
  30. this.receive = option.receive;
  31. this.receivename = option.receivename;
  32. this.sendname = option.sendname;
  33. },
  34. methods: {
  35. closeFrame: function() {
  36. this.count = this.count + 1;
  37. if (this.isFrameShow) {
  38. this.isFrameShow = false;
  39. this.sanJiao = 'sanJiaoDown';
  40. }
  41. },
  42. }
  43. }
  44. </script>
  45. <style>
  46. </style>