feat:app改造

This commit is contained in:
2026-08-17 09:27:07 +08:00
parent aa20d121f7
commit 97d3e1cd36
11 changed files with 1923 additions and 271 deletions
+10 -9
View File
@@ -56,7 +56,7 @@
<!-- #ifdef APP-PLUS -->
<view class="other_login">其他登录方式</view>
<view class="login_other_icon">
<view class="login_other_item" @click="wechatOneLogin">
<view class="login_other_item" @click="wechatOneLogin(2)">
<up-image src="/pages/login_package/static/login/WXICON.png" width="44" height="44"
bgColor="#f1f6ff00"></up-image>
微信登录
@@ -67,22 +67,22 @@
bgColor="#f1f6ff00"></up-image>
支付宝登录
</view>
<!-- <view v-if="isIOS" class="login_other_item" @click="appleOneLogin">
<view v-if="isIOS" class="login_other_item" @click="appleOneLogin">
<up-icon name="apple-fill" size="44" color="#000000"></up-icon>
Apple登录
</view> -->
</view>
</view>
<!-- #endif -->
<!-- #ifdef MP-WEIXIN -->
<view class="other_login">其他登录方式</view>
<!-- <view class="login_other_icon">
<view class="login_other_item" @click="wechatOneLogin">
<view class="login_other_icon">
<view class="login_other_item" @click="wechatOneLogin(1)">
<up-image src="/pages/login_package/static/login/WXICON.png" width="44" height="44"
bgColor="#f1f6ff00"></up-image>
微信登录
微信登录11
</view>
</view> -->
</view>
<view class="login_other_icon">
<view class="login_other_item_you" @click="jumpHome">
游客模式
@@ -342,7 +342,7 @@ export default {
},
// 微信登录
async wechatOneLogin() {
async wechatOneLogin(type) {
const then = this;
this.loading = true;
@@ -356,7 +356,7 @@ export default {
success: (res) => {
if (res.confirm) {
this.isPolicy = true;
this.wechatOneLogin();
this.wechatOneLogin(type);
} else {
this.loading = false;
}
@@ -381,6 +381,7 @@ export default {
const params = {
isValid: false,
token: loginRes.code,
type
// 可以根据需要添加其他参数
};
console.log("微信登录接口返回-1:", params);