This commit is contained in:
zmj 2024-05-09 09:25:21 +08:00
parent c58d2e4629
commit 304389778b
2 changed files with 12 additions and 11 deletions

View File

@ -1729,7 +1729,7 @@
background-color: white; background-color: white;
width: 750rpx !important; width: 750rpx !important;
padding: 0 112rpx 50rpx 112rpx; padding: 0 112rpx 50rpx 112rpx;
margin-top: 50rpx; margin-top: 30rpx 0 30rpx 0;
.login-type-btn { .login-type-btn {
padding: 12rpx 30rpx; padding: 12rpx 30rpx;

View File

@ -246,14 +246,14 @@
* *
*/ */
uploadpic: async function() { uploadpic: async function() {
// #ifdef APP-PLUS // #ifdef APP-PLUS
let result = await this.$store.dispatch("permission/requestPermissions", let result = await this.$store.dispatch("permission/requestPermissions",
'CAMERA') 'CAMERA')
if (result !== 1) return; if (result !== 1) return;
result = await this.$store.dispatch("permission/requestPermissions", result = await this.$store.dispatch("permission/requestPermissions",
'READ_EXTERNAL_STORAGE') 'READ_EXTERNAL_STORAGE')
if (result !== 1) return; if (result !== 1) return;
// #endif // #endif
let that = this; let that = this;
if (that.open_update_info == 0) { if (that.open_update_info == 0) {
return; return;
@ -354,7 +354,7 @@
title: '提示', title: '提示',
content: '确认退出登录?', content: '确认退出登录?',
success: function(res) { success: function(res) {
uni.setStorageSync('tabbar_sale_type', 1); uni.setStorageSync('tabbar_sale_type', 1);
if (res.confirm) { if (res.confirm) {
getLogout() getLogout()
.then(res => { .then(res => {
@ -677,10 +677,11 @@
width: 690rpx; width: 690rpx;
height: 90rpx; height: 90rpx;
border-radius: 45rpx; border-radius: 45rpx;
margin: 80rpx auto 0 auto; margin: 80rpx auto 40rpx auto;
color: var(--view-theme); color: var(--view-theme);
background-color: #ffffff; background-color: #ffffff;
border: 1px solid var(--view-theme); border: 1px solid var(--view-theme);
} }
.avatar-box { .avatar-box {