zhaojs
2023-06-19 c45dd38dd17ce2edf06e7aa8a95df005678c495a
no message
已修改2个文件
26 ■■■■■ 文件已修改
uniapp/.hbuilderx/launch.json 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
uniapp/pages/rankinglist/fengqiang.vue 24 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
uniapp/.hbuilderx/launch.json
@@ -14,7 +14,7 @@
            },
            "h5" : 
            {
                "launchtype" : "local"
                "launchtype" : "remote"
            },
            "mp-weixin" : 
            {
uniapp/pages/rankinglist/fengqiang.vue
@@ -1,15 +1,23 @@
<template>
    <view>
    <view v-if="isshowtype">
        <matherPage></matherPage>
    </view>
    <view v-else>
        <web-view :webview-styles="webviewStyles" :src="webviewUrl" @message='received'></web-view>
    </view>
</template>
<script>
        import matherPage from '@/components/sh_page/matherPage.vue';
    var wv
    export default {
        components:{
            matherPage
        },
        data() {
            return {
                webviewUrl: '',
                isshowtype:false,
                webviewStyles: {
                    progress: {
                        color: '#EE1B14'
@@ -17,6 +25,20 @@
                },
            }
        },
        onShow()
        {
            // #ifdef APP-PLUS
            var showtar = getApp().globalData.ifwt == 1 ? false : true;
            var platform = plus.os.name;
            //showtar&&platform=='iOS'
            if(showtar&&platform=='iOS')
            {//跳转new
                this.isshowtype=true;
                return;
            }
            // #endif
        },
        onLoad(options) {
            if(!this.hasLogin){
                uni.reLaunch({