fix(ticket): 性别问题修复, 购票提交按钮居中问题处理
This commit is contained in:
parent
0a96a18a93
commit
07bd97e77f
|
@ -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 {
|
||||
|
|
|
@ -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: '更新中...' })
|
||||
|
|
Loading…
Reference in New Issue