| | |
| | | > |
| | | <div> |
| | | <div class="qrcodeBox"> |
| | | <!-- <wxlogin |
| | | <wxlogin |
| | | :redirect_uri="wxLogin.redirectURL" |
| | | style="width: 300px; height: 400px; margin: -40px auto 0; overflow: hidden" |
| | | :appid="wxLogin.appid" |
| | | :scope="wxLogin.scope" |
| | | state="WeChatScanningCodeBind" |
| | | > |
| | | </wxlogin> --> |
| | | </wxlogin> |
| | | </div> |
| | | <p class="tips">使用微信扫一扫扫描二维码进行绑定</p> |
| | | </div> |
| | |
| | | <script setup lang="ts"> |
| | | import { reactive, ref, inject, onMounted, watch } from 'vue' |
| | | import type { FormInstance, FormRules } from 'element-plus' |
| | | // import verify from '@/components/sliderImg/component/verify.vue' |
| | | // import '@/components/sliderImg/sliderImg.js' |
| | | // import '@/components/sliderImg/sliderImg.css' |
| | | import { ElMessage } from 'element-plus' |
| | | import tool from '@/assets/js/toolClass.js' |
| | | import { useUserStore } from '@/store' |
| | | // import wxlogin from 'vue-wxlogin' |
| | | import teacherCertification from './teacherCertification.vue' |
| | | import login from '@/layout/components/login.vue' |
| | | const userStore = useUserStore() |
| | | import { useRoute } from 'vue-router' |
| | | import moment from 'moment' |
| | | const route = useRoute() |
| | | const MG: any = inject('MG') |
| | | const config: any = inject('config') |
| | | |
| | |
| | | } |
| | | //微信认证 |
| | | let wxLogin = reactive({ |
| | | appid: 'wx5cfe8b007a3c6f8c', |
| | | appid: 'wx2b9d4a6308fd03d6', |
| | | scope: 'snsapi_login', |
| | | redirectURL: encodeURIComponent(config.requestCtx + '/home/#/personalCenter'), |
| | | redirectURL: encodeURIComponent(config.requestCtx + '/#/personalCenter'), |
| | | }) |
| | | //获取微信认证状态 |
| | | const getWechatAuthenticationState = () => { |
| | | MG.identity.checkBuildingWeChat({}).then((res: any) => { |
| | | if (res) { |
| | |
| | | |
| | | .change-info { |
| | | color: #019e58; |
| | | font-size: 14px; |
| | | } |
| | | |
| | | .record { |