123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960 |
- <template>
- <view class="home1">
- <!-- 导航栏 -->
- <navBar title="隐私协议" color="#000" />
- <view class="home-content" v-html="content"></view>
- </view>
- </template>
- <script>
- import navBar from "@/components/nav-bar/index.vue";
- export default {
- data() {
- return {
- content: "",
- };
- },
- components: {
- navBar,
- },
- onLoad() {
- this.getGuize();
- },
- methods: {
- getGuize() {
- this.$Request.getT("/app/common/type/176").then((res) => {
- if (res.code === 0) {
- this.content = res.data.value;
- }
- });
- },
- },
- };
- </script>
- <style scoped lang="scss">
- page {
- background: #ffffff;
- }
- .home1 {
- position: absolute;
- left: 0;
- bottom: 0;
- right: 0;
- top: 0;
- overflow: hidden;
- display: flex;
- flex-direction: column;
- font-size: 28rpx;
- line-height: 52rpx;
- .home-content {
- flex: 1;
- overflow: hidden;
- overflow-y: auto;
- padding: 32rpx;
- box-sizing: border-box;
- }
- }
- </style>
|