<style>
  .Style_main_Top {
    height: 460px;
    overflow: hidden;
  }

  .Style_main_Top .detOne_top {
    display: inline-block;
    width: calc(100% + 20px);
    height: 100%;
    margin-left: -10px;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    z-index: 0;
    filter: blur(5px);
  }

  .Style_main_Top .detOneModel {
    position: absolute;
    left: 0;
    top: 0;
    display: inline-block;
    z-index: 2;
    width: 50%;
    height: 450px;
    float: left;
    text-align: center;
  }

  .detOneModel label {
    position: relative;
    display: inline-block;
    width: 400px;
    height: 100%;
    background-color: rgba(255, 255, 255, .55);
    padding: 60px 40px 40px;
    text-align: left;
  }

  .detOneModel>* {
    display: inline-block;
    letter-spacing: 2px;
  }

  .Style_main_Top .main-title {
    font-size: 55px;
    font-weight: bold;
    color: #000;
    /* -webkit-writing-mode: vertical-lr;
    writing-mode: vertical-lr; */
    height: 100%;
    width:82px;
    display:inline-block;
    word-wrap: break-word;
    line-height: 55px;
  }

  .Style_main_Top .sub-title {
    font-size: 24px;
    font-weight: lighter;
    /* padding-top: 74px; */
    /* -webkit-writing-mode: vertical-lr;
    writing-mode: vertical-lr; */
    height: 100%;
    display: inline-block;
    width:36px;
    word-wrap: break-word;
    position: absolute;
    top:85px;
  }

  @media only screen and (max-width: 768px) {
    .Style_main_Top .detOneModel {
      width: 100%;
      height: 280px;
      top:80px;
    }
    .Style_main_Top .main-title{
      font-size:30px;
      width:36px;
      line-height: 30px;
      position:absolute;
      top:40px;
    }
    .Style_main_Top .sub-title{
      font-size:15px;
      width:22px;
      position: absolute;
      top: 65px;
      left: 80px;
    }
    .detOneModel label {
      width: 100%;
      padding-top: 50px;
    }
  }

</style>
<template>
  <div class="Style_main_Top">
    <div class="detOne_top" v-if="imgCover.length>0"
      :style="{backgroundImage:'url('+imgCover[0].Url+')'}">
    </div>
    <div class="detOneModel">
      <label>
        <span class="main-title">{{dataList.countryName}}</span>
        <span class="sub-title">{{dataList.placeName}}</span>
      </label>
    </div>
  </div>
</template>
<script>
  import { reactive, toRefs, defineComponent  } from 'vue';
  import { useI18n } from 'vue-i18n'
  export default defineComponent({
    components: {  },
    props: ['dataList'],
    setup(props) {
      const { t } = useI18n()
      const data= reactive({
        imgCover:[],
        dataList: props.dataList
      })
      const methods = {
        
      }
      data.imgCover = JSON.parse(data.dataList.imgCover);
      return {
        ...toRefs(data),
        ...methods,
      }
    }
  })

</script>
