home.vue 857 Bytes
<template>
  <div class="main">
    <el-row class="w100">
      <el-col :span="type=='是'?8:12">
        <left-page/>
      </el-col>
      <el-col v-if="type=='是'" :span="8">
        <center-page/>
      </el-col>
      <el-col :span="type=='是'?8:12">
        <right-page/>
      </el-col>
    </el-row>
  </div>

</template>

<script setup>
import LeftPage from "@/viewsPc/vip/leftPage"
import CenterPage from "@/viewsPc/vip/centerPage"
import RightPage from "@/viewsPc/vip/rightPage"
import {getYS000} from '@/api/server.js'
import {ref} from 'vue'

const type = ref('是')
// url.value = window.location.host + '/pc.html#/match/list/'
handelGetYS000()
console.log(window.location.host)


async function handelGetYS000() {
  const res = await getYS000()
  // type.value = res.data?.IFBASE || '否'
}


</script>

<style lang="scss" scoped>
</style>