<script>
import {checkUpdateVersion} from "./utils/version";

export default {
  onPageNotFound(){
    mpvue.reLaunch({
      url:'/pages/index/main'
    })
  },
  //外发
  onShow(options){
  },
  onHide(){
  },
  created() {
    // 版本自动更新代码
    checkUpdateVersion();
  },
  log() {
    console.log(`log at:${Date.now()}`)
  }
}
</script>

<style>
@import "../static/colorui/main.wxss";
@import "../static/colorui/icon.wxss";
.not_show{
  visibility: hidden;
}

.full_img {
  width: 100%;
}

.main_banner {
  height: 241px;
}


.title_color {
  color: #4C4C4C;
}

.cu-btn-primary {
  background-image: url("https://img.shuimuai.com/web/Rectangle.png");
  background-position: center;
  background-size: 100% 100%;
  width: 100%;
}

.under_line {
  text-decoration: underline;
}

.text-primary {
  color: #6858C4;
}

.bg-primary {
  background-color: #6858C4;
}

/* this rule will be remove */
* {
  transition: width 2s;
  -moz-transition: width 2s;
  -webkit-transition: width 2s;
  -o-transition: width 2s;
  margin: 0;
  padding: 0;
  font-family: MicrosoftYaHei-Bold,serif;
}
</style>
