修改心身量表选择城市的展现形式
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user