fix(ticket): 性别问题修复, 购票提交按钮居中问题处理

This commit is contained in:
woody 2025-05-28 16:22:21 +08:00
parent 72fcef675d
commit 2cb764e18a
2 changed files with 8 additions and 8 deletions

View File

@ -245,7 +245,7 @@ export default {
name: '',
phone: '',
idCard: '',
sexIndex: 1,
sexIndex: 0,
sex: 1,
clothSize: '',
cohabitant: '',
@ -295,8 +295,8 @@ export default {
name: '',
phone: '',
idCard: '',
sexIndex: -1,
sex: '',
sexIndex: 0,
sex: 1,
clothSize: '',
cohabitant: '',
emergencyPhone: '',
@ -656,12 +656,12 @@ export default {
.submit-btn {
width: 100%;
height: 48px;
height: 96r px;
background: #005bac;
color: #fff;
border: none;
border-radius: 24px;
font-size: 16px;
border-radius: 48rpx;
font-size: 32rpx;
font-weight: 600;
&.disabled {

View File

@ -245,7 +245,7 @@
<text class="form-label">性别</text>
<u-radio-group v-model="editForm.sex" direction="row">
<u-radio :name="1" label="男"></u-radio>
<u-radio :name="0" label="女"></u-radio>
<u-radio :name="2" label="女"></u-radio>
</u-radio-group>
</view>
<view class="form-item">
@ -586,7 +586,7 @@ export default {
}
//
this.editForm.sexVal = this.editForm.sex === '1' ? '男' : '女'
this.editForm.sexVal = this.editForm.sex === 1 ? '男' : '女'
try {
uni.showLoading({ title: '更新中...' })