123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566 |
- <template>
- <view class="agreement">
- <view class="con" v-html="data"></view>
- </view>
- </template>
- <script>
- export default {
- data() {
- return {
- data: '',
- type: 0
- }
- },
- onLoad(option) {
- this.type = option.type
- if (option.type == 1) {
- this.geixieyi()
- } else {
- this.configInfo()
- }
- },
- methods: {
- geixieyi() {
-
-
-
-
-
-
-
-
-
- },
- configInfo() {
- this.$http.getPrivacy().then(res => {
- if (res.data.code == 200) {
- console.log(res)
- this.data = res.data.result.privacy
-
-
- }
- })
- },
- }
- }
- </script>
- <style lang="scss">
- page {
- height: 100%;
- }
- .agreement {
- height: 100%;
- .con {
- width: 680rpx;
- margin: 24rpx auto;
- padding: 32rpx;
- background-color: #fff;
- border-radius: 24rpx;
- }
- }
- </style>
|