forked from angelo/web-retail-h5
fix(ticket): 性别问题修复, 购票提交按钮居中问题处理
This commit is contained in:
parent
72fcef675d
commit
2cb764e18a
|
@ -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 {
|
||||||
|
|
|
@ -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: '更新中...' })
|
||||||
|
|
Loading…
Reference in New Issue