agreement.vue 742 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. <template>
  2. <view class="">
  3. <view class="header_top">
  4. <!-- Privacy Agreement -->
  5. {{ $t('login.lab20') }}
  6. </view>
  7. <web-view :src="title"></web-view>
  8. </view>
  9. </template>
  10. <script>
  11. export default {
  12. data() {
  13. return {
  14. title: ''
  15. }
  16. },
  17. computed: {
  18. system() {
  19. return this.$store.state.system
  20. }
  21. },
  22. onLoad(option) {
  23. if (option.type == 1) {
  24. this.title = this.system.user_agreement
  25. } else if (option.type == 3) {
  26. this.title = this.system.privacy_policy
  27. } else {
  28. this.title = this.system.privacy_policy
  29. }
  30. }
  31. }
  32. </script>
  33. <style>
  34. .header_top {
  35. position: absolute;
  36. z-index: 1000;
  37. top: -35px;
  38. left: 32%;
  39. font-weight: bold;
  40. }
  41. </style>