chat.vue 739 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  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;">{{name}}</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. }
  22. },
  23. onLoad(option){
  24. _self = this;
  25. this.name = option.name;
  26. },
  27. methods: {
  28. closeFrame: function() {
  29. this.count = this.count + 1;
  30. if (this.isFrameShow) {
  31. this.isFrameShow = false;
  32. this.sanJiao = 'sanJiaoDown';
  33. }
  34. },
  35. }
  36. }
  37. </script>
  38. <style>
  39. </style>