couponRules.vue 500 B

1234567891011121314151617181920212223242526272829303132333435
  1. <template>
  2. <view class="content ql-editor">
  3. <u-parse :html="details.content"></u-parse>
  4. </view>
  5. </template>
  6. <script>
  7. export default {
  8. data() {
  9. return {
  10. details: {}
  11. };
  12. },
  13. onLoad(options) {
  14. this.getExplain();
  15. },
  16. methods: {
  17. getExplain() {
  18. this.$u.api
  19. .getSysterms({
  20. termsType: 5
  21. })
  22. .then((res) => {
  23. this.details = res.data
  24. });
  25. }
  26. }
  27. };
  28. </script>
  29. <style lang="scss" scoped>
  30. .content {
  31. padding: 30rpx;
  32. }
  33. </style>