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

This commit is contained in:
woody 2025-05-28 16:22:21 +08:00
parent 0a96a18a93
commit 07bd97e77f
2 changed files with 8 additions and 8 deletions

View File

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

View File

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