zhaojs
2023-06-14 47171769ba8a7e953c870ac6b5bf24efb6a5e440
uniapp/pages/rankinglist/xianbao.vue
@@ -1,15 +1,23 @@
<template>
   <view>
   <view v-if="isshowtype">
      <findPage></findPage>
   </view>
   <view v-else>
      <web-view :webview-styles="webviewStyles" :src="webviewUrl" @message='received'></web-view>
   </view>
</template>
<script>
   import findPage from '@/components/sh_page/findPage.vue';
   //var wv
   export default {
      components:{
         findPage
      },
      data() {
         return {
            webviewUrl: '',
            isshowtype:false,
            webviewStyles: {
               progress: {
                  color: '#EE1B14'
@@ -17,6 +25,21 @@
            },
         }
      },
      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({