logError.vue 1008 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. <template>
  2. <view class="logError-v u-flex-col">
  3. <view class="error-prompt">
  4. <view class="error-prompt-title u-p-l-20 u-p-r-20">
  5. 错误提示:
  6. </view>
  7. <view class="u-p-20 error-content">
  8. {{errorTip}}
  9. </view>
  10. </view>
  11. <view class="error-prompt">
  12. <view class="error-prompt-title u-p-l-20 u-p-r-20">
  13. 错误内容:
  14. </view>
  15. <view class="u-p-20 error-content">
  16. {{errorData}}
  17. </view>
  18. </view>
  19. </view>
  20. </template>
  21. <script>
  22. export default {
  23. data() {
  24. return {
  25. config: {},
  26. errorData: [],
  27. errorTip: {}
  28. }
  29. },
  30. onLoad(e) {
  31. this.config = JSON.parse(this.jnpf.base64.decode(e.data))
  32. this.errorData = JSON.parse(this.config.errorData)
  33. this.errorTip = JSON.parse(this.config.errorTip)
  34. }
  35. }
  36. </script>
  37. <style lang="scss">
  38. .logError-v {
  39. .error-prompt {
  40. .error-prompt-title {
  41. width: 100%;
  42. height: 80rpx;
  43. background-color: #edeff6;
  44. line-height: 80rpx;
  45. }
  46. .error-content {
  47. line-height: 50rpx;
  48. }
  49. }
  50. }
  51. </style>