privacy.vue 476 B

1234567891011121314151617181920212223242526272829303132333435
  1. <template>
  2. <view class="container">
  3. <view class="content" v-html="agreementContent"></view>
  4. </view>
  5. </template>
  6. <script>
  7. import {
  8. getPrivacy
  9. } from '@/api/order.js'
  10. export default {
  11. data() {
  12. return {
  13. agreementContent: '',
  14. }
  15. },
  16. onLoad(option) {
  17. getPrivacy({
  18. code: option.code
  19. }).then(res => {
  20. if (res.code == 200) {
  21. that.agreementContent = res.data.protocolContent
  22. }
  23. })
  24. },
  25. methods: {
  26. }
  27. }
  28. </script>
  29. <style>
  30. </style>