<template>
    <div>
        <van-nav-bar
        title="微信注册绑定"
        left-text=""
        left-arrow
        @click-left="onClickLeft"
      />
      <div class="p-10">
        <img class="w-20" src="../../assets/images/logo.png" alt="">
        <p class="text-xl text-current my-3">欢迎来到呼和浩特南马路小学教育集团智慧校园平台</p>
        <p class="text-sm text-gray-500 mt-4">赶快注册加入吧</p>
      </div>
      <div class="w-80vw h-10 my-20 mx-auto ">
        <button @click="register" class="w-full h-full rounded-3xl relative"><img class="w-7 absolute left-8vw" src="../../assets/images/icon.png" alt="">微信一键注册登录</button>
      </div>
    </div>
</template>
<script setup>
const onClickLeft = () => history.back();
function register() {
  window.open(window.GLOBAL_CONFIG.uc+'/wxoauth.html?go=myxjyszptx_reg&state=parent','_self')
}
</script>
<style lang="scss" scoped>
  button{
    background: linear-gradient(90deg,#6eaffa, #003eee);
    color: #fff;
  }
</style>