修改心身量表选择城市的展现形式

This commit is contained in:
liuyuan
2025-02-05 13:26:20 +08:00
parent 1cbc7f96cd
commit 7689e3c606
3 changed files with 5 additions and 3 deletions

View File

@@ -248,7 +248,7 @@ export default {
const countryNames = this.countries.map(item => item.title);
this.multiArray[0] = countryNames;
//默认选择中国,并加载其省份
if (this.countries[0].cities&&this.value[0]==0) { //如果默认显示的是第一个-中国,则显示城市列
if (this.countries[0].cities) { //如果默认显示的是第一个-中国,则显示城市列
this.multiArray[1] = Object.keys(this.countries[0].cities).map(key => this.countries[0].cities[key]);
} else {
this.multiArray[1] = [];
@@ -489,7 +489,7 @@ export default {
padding: 0 20rpx;
}
.curseSet{margin-right: 12rpx; font-size: 28rpx; display: flex; align-items: center;}
.curseSet{margin-right: 18rpx; font-size: 28rpx; display: flex; align-items: center;}
.fixed {
position: fixed;
z-index: 1; width: 100%; background-color: #fff;