protocol.vue 514 B

12345678910111213141516171819202122232425262728293031323334
  1. <template>
  2. <view class="protocol">
  3. <u-parse :content="data" />
  4. </view>
  5. </template>
  6. <script>
  7. export default {
  8. data() {
  9. return {
  10. data: ''
  11. }
  12. },
  13. computed: {},
  14. methods: {
  15. getSetting() {
  16. this.$api.setting.config().then(res => {
  17. this.data = res.data.protocol
  18. })
  19. }
  20. },
  21. onLoad() {
  22. this.getSetting()
  23. }
  24. }
  25. </script>
  26. <style lang="scss" scoped>
  27. .protocol{
  28. color: $info-color;
  29. font-size: 32rpx;
  30. padding: 30rpx 30rpx 80rpx;
  31. }
  32. </style>