AppBottom.vue 6.54 KB
<template>
  <div class="footAll">
    <div class="box" style="max-width: 90%">
      <el-row v-if="language==0" align="middle">
        <el-col :lg="10" :md="10" :xs="10">
          <ul>
            <li>邮编:214000</li>
            <li>微信: 15606190026</li>
            <li>QQ: 497118883</li>
            <li>江苏省 无锡市太湖新城和风路与清舒交叉口东北100米</li>
          </ul>
        </el-col>
        <el-col :lg="10" :md="10" :xs="10">
          <ul class="text-right">
            <li>客服及报障电话:15606190026</li>
            <li>客服及报障邮箱: info@wdsfwuxicenter.com</li>
          </ul>
        </el-col>
        <el-col :lg="4" :md="4" :xs="4">
          <div>
            <img class="mauto" src="/img/wb2.jpg">
            <p class="text-center mt10">微博关注</p>
          </div>
        </el-col>
        <el-col :span="24" style="border-top:  1px solid #d0d0d0">
          <div class="text-center copyright pd10">版权所有@无锡和畅赛事运营有限公司
            &nbsp;&nbsp
            <a href="https://beian.miit.gov.cn/" target="_blank">ICP备案号:苏ICP备2023054420号-2</a></div>
        </el-col>
      </el-row>
      
      <el-row v-if="language===1" align="middle">
        <el-col :span="14">
          <ul>
            <li>Postal code:214000</li>
            <li>Address:100 meters northeast of the intersection of Hefeng Road and Qingshu, the Taihu Lake New Town,
              Wuxi, Jiangsu
            </li>
          </ul>
        </el-col>
        <el-col :span="6">
          <ul class="text-right">
            <li>Telephone:086-15606190026</li>
            <li>E-mail:info@wdsfwuxicenter.com</li>
          </ul>
        </el-col>
        <el-col :span="4">
          <div>
            <img class="mauto" src="/img/wb2.jpg">
            <p class="text-center mt10">Weibo</p>
          </div>
        </el-col>
        <el-col :span="24" style="border-top:  1px solid #d0d0d0">
          <div class="text-center copyright pd10">Copyright@Wuxi Hechang Sports Operations Co., Ltd
            <a href="https://beian.miit.gov.cn/" target="_blank">ICP:苏ICP备2023054420号-2</a></div>
        </el-col>
      </el-row>
    </div>
  </div>
  <div class="fixed-right forPc">
    <div v-if="language===0" class="mlb">
      <div
        onclick="window.open('https://ykf-weixin01.7moor.com/wapchat.html?accessId=6c500b60-02c6-11ef-9a4d-85cd5dacc5bf&fromUrl=&urlTitle=&language=ZHCN','_blank','height=700px,width=700px,top=50,left=0,toolbar=no,menubar=no,scrollbars=no, resizable=no,location=no, status=no')"
        title="客服"
      >
        <img class="kf" src="@/assets/logo/btn01.png">
        <div class="text-center mt10 gradient-text">在线客服</div>
      </div>
      <div @click="goHelpZH">
        <!--        <a target="_blank" href="https://wdsfwuxicenter.com/stage-api/fs/file/操作指引.zip">-->
        <a>
          <img class="kf" src="@/assets/logo/btn02.png">
          <div class="text-center mt10 gradient-text">指南下载</div>
        </a>
      </div>
    </div>
    <div v-else class="mlb">
      <div
        onclick="window.open('https://ykf-weixin01.7moor.com/wapchat.html?accessId=707daf80-02c6-11ef-9a4d-85cd5dacc5bf&fromUrl=&urlTitle=&language=EN','_blank','height=700px,width=700px,top=100,left=150,toolbar=no,menubar=no,scrollbars=no, resizable=no,location=no, status=no')"
        title="Live Chat"
      >
        <img class="kf" src="@/assets/logo/btn01.png">
        <div class="text-center gradient-text">LIVE CHAT</div>
      </div>
      <div @click="goHelp">
        <img class="kf" src="@/assets/logo/btn02.png">
        <div class="text-center gradient-text uppercase">Video Guide</div>
      </div>
    </div>
    
    <a v-show="false" ref="aRef" :href="fillImgUrl(file[0]?.url)" target="_blank"/>
  </div>
</template>

<script setup>
import {useStorage} from '@vueuse/core/index'
import {useRouter} from 'vue-router'
import {ElMessage} from 'element-plus'
import {getCurrentInstance, ref} from '@vue/runtime-core'

import {getMatchById, getppInfo, getZNList} from '@/apiPc/match'
import {fillImgUrl} from '/@/utils/ruoyi'

const {proxy} = getCurrentInstance()
const router = useRouter()
const language = useStorage('language', 0)
const goHelp = () => {
  router.push({
    path: `/news/list/20000100`,
    query: {
      kindName: language.value === 0 ? '操作指引' : 'Video Guide'
    }
  })
}


const file = ref({})
const goHelpZH = async () => {
  // ElMessage.success('已下载文件')
  // router.push({
  //   name: 'guide',
  //   query: {
  //     index: 8
  //   }
  // })
  const res = await getZNList({sortId: 30000009, language: 1})
  if (res.rows.length > 0) {
    file.value = JSON.parse(res.rows[0].picUrl)
    proxy.$refs['aRef'].click()
  }
}
</script>

<style lang="scss" scoped>
.kf {
  width: 45px;
  margin: auto;
  height: auto;
  //animation: pop 2s infinite;
}

.fixed-right {
  position: fixed;
  right: 0;
  top: 65%;
  z-index: 9;
  
  .mlb {
    background: #fff;
    border-radius: 10px 0 0 10px;
    box-shadow: 0 2px 8px #aaa;
    padding: 10px 8px;
    text-align: center;
    cursor: pointer;
    
    div:first-child {
      border-bottom: 0.5px solid #eee;
      padding: 0 0 10px;
      margin-bottom: 10px
    }
    
    div:hover {
      .gradient-text {
        font-weight: bold;
      }
    }
  }
}

.copyright {
  font-size: 14px;
  opacity: 0.88;
  color: #4C5359;
}

.footAll {
  background: #E0E3E5;;
  padding: 36px 0 5px;
  
  p {
    font-size: 14px;
    opacity: 0.88;
    color: #4C5359;
  }
  
  ul {
    list-style: none;
    
    li {
      line-height: 30px;
      font-size: 14px;
      opacity: 0.88;
      color: #4C5359;
      
      a {
        margin-left: 15px;
        
        &:hover {
          text-decoration: underline;
        }
      }
    }
  }
  
  img {
    height: 80px;
  }
}

.gradient-text {
  font-family: FZJunHeiS-B-GB;
  font-weight: 600;
  font-size: 17px;
  background: linear-gradient(0deg, #8226FC 0%, #483BEB 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

@media (max-width: 500px) {
  .forWei {
    display: none;
  }
  .footAll {
    padding: 10px 0;
    
    ul {
      li {
        font-size: 10px;
        line-height: 1.4;
      }
    }
    
    img {
      height: 60px;
    }
    
    p {
      font-size: 10px;
      line-height: 1.4;
    }
    
    .copyright {
      font-size: 10px;
      line-height: 1.4;
    }
  }
}

.ffoot {
  display: inline-flex;
  
  img {
    width: 20px;
    height: 20px;
    display: inline-block;
    position: relative;
    top: 4px;
    margin-right: 4px;
  }
}
</style>