agreement.vue 396 B

123456789101112131415161718192021222324252627
  1. <template>
  2. <view class="main">
  3. <!-- <rich-text :nodes="nodeEl"></rich-text> -->
  4. <u-parse :html="nodeEl"></u-parse>
  5. </view>
  6. </template>
  7. <script>
  8. export default {
  9. data() {
  10. return {
  11. nodeEl:''
  12. }
  13. },
  14. onLoad(op) {
  15. this.nodeEl = decodeURIComponent(op.data)
  16. }
  17. }
  18. </script>
  19. <style scoped>
  20. .main {
  21. min-height: 100vh;
  22. margin-left: 10rpx;
  23. margin-right: 10rpx;
  24. }
  25. </style>