黑卡APP测试loading

2020-07-22 18:47:44 阅读:2 编辑
<template>
    <div style="margin-top: 100px;">
        <w-loading :show="w_loading_show"  :loading-text="w_loading_tile"></w-loading>
        <text>Hello</text>
    </div>
</template>
<style scoped>
    .text {
        font-size: 50px;
    }
</style>
<script>
    import html from "./../../../common/components/html"
    import WLoading from "./../../../common/components/loading"
    import wx from './../../../common/wx'
    import console from './../../../common/console'

    export default {
        components: {
            "w-html": html,
            "w-loading": WLoading,
        },
        data: function () {
            return {

            };
        },
        mixins: [require('./../../../common/publish').publish],
        methods: {

        },
        mounted: function () {
            wx.showLoading({
                title: '',
            })
            setTimeout(function () {
                wx.hideLoading()
            }, 5000);
        },
        created: function () {
        }
    }
</script>