This commit is contained in:
wpf 2024-03-05 18:01:12 +08:00
parent 9e0696c235
commit d05baf313c
2 changed files with 15 additions and 5 deletions

View File

@ -132,7 +132,12 @@
"name" : "amapIvoVHpJR"
}
},
"oauth" : {},
"oauth" : {
"weixin" : {
"appid" : "wx9d68c92b550ddd1e",
"UniversalLinks" : "https://shop.lihaink.cn/"
}
},
"ad" : {},
"push" : {},
"speech" : {}

View File

@ -1,5 +1,6 @@
<template>
<div :style="viewColor">
<div class="register absolute" v-if="!auth_token">
<div class="login">
<div class="shading" >
@ -7,7 +8,12 @@
<image src="@/static/images/logo1.png" />
</div>
</div>
<div class="whiteBg" v-if="formItem === 1">
<div class="whiteBg" v-if="formItem == 0">
<div class="logon" style="display: flex;align-items: center;justify-content: center;" @click="wxLogin">
<u-icon name="weixin-fill" color="#fff" size="30"></u-icon> 微信一键登录
</div>
</div>
<div class="whiteBg" v-else-if="formItem === 1">
<div class="title acea-row row-center-wrapper">
<div class="item" :class="current === index ? 'on' : ''" v-for="(item, index) in navList"
@click="navTap(index)" :key="index">
@ -142,8 +148,6 @@
</checkbox-group>
</div>
</div>
<!-- <button @click="wxLogin">微信登录</button> -->
</div>
<div class="bottom"></div>
<view class="settlementAgreement" v-if="showAgreement">
@ -196,6 +200,7 @@
<Verify @success="success" :captchaType="'blockPuzzle'" :imgSize="{ width: '330px', height: '155px' }"
ref="verify"></Verify>
</div>
</template>
<script>
@ -275,7 +280,7 @@ import { Toast } from "../../../libs/uniApi";
account: "",
password: "",
captcha: "",
formItem: 1,
formItem: 0,
type: "login",
keyCode: "",
codeUrl: "",