MrShi
2025-03-27 17ecbaae8d036bb1f59b1d74b153fa9dfe542f3f
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
<template>
  <view class="box">
    <!-- <view v-html="info"></view> -->
        <!-- <mp-html :content="info" /> -->
        <u-parse :content="info"></u-parse>
  </view>
</template>
<script>
import { getSystemDictData } from '@/api'
export default {
  data() {
    return {
      info: "",
    }
  },
  onLoad() {
    this.initData()
  },
  methods: {
    initData() {
      getSystemDictData({
        dictCode: 'TSM_PARAM',
        label: 'CENTER_LINK_TYPE'
      }).then(res => {
        if (res.code === 200) {
          this.info = res.data.code
                    uni.setNavigationBarTitle({
                        title: res.data.remark
                    })
        }
      })
    }
  }
}
</script>
<style lang="scss" scoped>
.box {
    padding: 0 30rpx;
}
</style>