<template>
    <app-view class="app-html">
        <template #header>
            <app-navbar title="隐私政策" />
        </template>
        <Tabs class="mine-generalize__tabs" v-model:active="active" @click-tab="onClickTab" sticky>
            <Tab title="隐私政策" />
            <Tab title="物流隐私条款" />
        </Tabs>
        <app-html v-if="active === 0" url="./html/yszc.htm" />
        <app-html v-if="active === 1" url="./html/wlystk.htm" />
    </app-view>
</template>

<script lang="ts" setup>

import AppHtml from '@mobile/components/base/html-panel/index.vue'
import { Tab, Tabs } from 'vant'
import { ref } from 'vue'

/// tab激活项
const active = ref(0);
const onClickTab = (e: any ) => {
    active.value = e.name
};

</script>