123456789101112131415161718192021222324252627282930313233 |
- <template>
- <view>
- <view v-html="content" class="content"></view>
- </view>
- </template>
- <script>
- export default {
- data() {
- return {
- content:null
- }
- },
- mounted() {
- this.getAgreement()
- },
- methods: {
- getAgreement(){
- this.$http.getAgreement().then(res=>{
- this.content=res.data
- })
- }
- }
- }
- </script>
- <style lang="scss" scoped>
- .content{
- padding: 50rpx;
- line-height: 50rpx;
- letter-spacing: 1px;
- }
- </style>
|