12345678910111213141516171819202122232425262728293031323334 |
- <template>
- <div class="about-text-align" v-html="aboutText">
- </div>
- </template>
- <script>
- import axios from 'axios'
- export default{
- data () {
- return {
- aboutText: {}
- }
- },
- created () {
- this.getUserCoupon()
- },
- methods: {
- getUserCoupon () {
- axios.get('api/common/staticSource&key=about_us').then(res => {
- console.log(res)
- this.aboutText = res.data.data.content
- console.log(this.aboutText)
- })
- }
- }
- }
- </script>
- <style scoped lang="less">
- .about-text-align {
- text-align: left;
- font-size: .8rem;
- }
- </style>
|