<template>
  <div id="cultrue">文化</div>
</template>
<script>
export default {
  data() {
    return {};
  },
  mounted() {
    let cc = window.document.getElementById("app");
    // 清除其他多余的classname
    if (cc.className.indexOf("wh_bg") > -1) {
      cc.className = "btgym";
    } else {
      cc.classList.add("wh_bg");
    }
    console.log(cc.classList)
  },
  methods: {},
};
</script>
<style>
.wh_bg {
  clear: both;
  background-image: url("../../assets/wh/whbg.jpg") !important;
}
</style>