修复bug

This commit is contained in:
zhouyanli
2026-08-17 18:02:46 +08:00
parent a4c7318ff6
commit 1710cba509
6 changed files with 69 additions and 69 deletions

View File

@@ -1,15 +1,5 @@
<template>
<view class="contentStyle">
<view class="status-bar"></view>
<uni-nav-bar
title="更改手机号码"
left-icon="left"
@click-left="goBack"
background-color="transparent"
:border="false"
>
</uni-nav-bar>
<scroll-view class="page" scroll-y>
<!-- 表单区域 -->
<view class="form-container">
@@ -59,7 +49,6 @@ import { ref, onUnmounted } from 'vue'
import { getAuthSendSmsCode, getUserChangePhone } from '../api/apiSub.js'
// 响应式数据
const statusBarHeight = ref(20)
const phone = ref('')
const code = ref('')
const countdown = ref(0)
@@ -147,6 +136,7 @@ onUnmounted(() => {
<style lang="scss">
page {
background: #f9f9f9;
height: 100%;
}
</style>
@@ -154,7 +144,7 @@ page {
.contentStyle {
display: flex;
flex-direction: column;
height: 100vh;
height: 100%;
background-color: #f9f9f9;
}
@@ -208,10 +198,6 @@ page {
}
.code-btn {
position: absolute;
right: 10rpx;
top: 13%;
transform: translateY(-50%);
width: 200rpx;
height: 66rpx;
line-height: 66rpx;
@@ -221,6 +207,7 @@ page {
font-size: 28rpx;
padding: 0;
margin: 0;
flex-shrink: 0;
}
.code-btn[disabled] {
@@ -252,9 +239,4 @@ page {
border: none;
margin-top: 20rpx;
}
.status-bar {
width: 100vw;
height: 46px;
}
</style>

View File

@@ -1,10 +1,5 @@
<template>
<view class="contentStyle" style="">
<view class="status-bar"></view>
<uni-nav-bar title="修改密码" left-icon="left" @clickLeft="goBack" backgroundColor="transparent" :border="false">
</uni-nav-bar>
<scroll-view class="page" scroll-y>
<!-- 表单区域 -->
@@ -38,8 +33,7 @@
import { ref } from 'vue'
import { authChangePassword } from '../api/apiSub.js'
const statusBarHeight = ref(20);
const oldPwd = ref('');
const newPwd = ref('');
const confirmPwd = ref('')
@@ -87,6 +81,7 @@ import { authChangePassword } from '../api/apiSub.js'
<style lang="scss">
page {
background: #f9f9f9;
height: 100%;
}
</style>
@@ -94,7 +89,7 @@ import { authChangePassword } from '../api/apiSub.js'
.contentStyle {
display: flex;
flex-direction: column;
height: 100vh;
height: 100%;
/* 关键:占满屏幕高度 */
background-color: #f9f9f9;
}
@@ -193,9 +188,4 @@ import { authChangePassword } from '../api/apiSub.js'
color: #fff;
font-size: 28rpx;
}
.status-bar {
width: 100vw;
height: 46px;
}
</style>

View File

@@ -1,9 +1,5 @@
<template>
<view class="contentStyle">
<view class="status-bar"></view>
<uni-nav-bar title="注销账号" left-icon="left" @clickLeft="goBack" backgroundColor="transparent" :border="false">
</uni-nav-bar>
<scroll-view class="page" scroll-y>
<!-- 提示信息 -->
<view class="warning-box">
@@ -111,6 +107,7 @@ onUnload(() => {
<style lang="scss">
page {
background: #f9f9f9;
height: 100%;
}
</style>
@@ -118,7 +115,7 @@ page {
.contentStyle {
display: flex;
flex-direction: column;
height: 100vh;
height: 100%;
background-color: #f9f9f9;
}
@@ -199,8 +196,4 @@ page {
background-color: #ccc;
color: #999;
}
.status-bar {
width: 100vw;
height: 46px;
}
</style>