diff --git a/src/assets/styles/index.scss b/src/assets/styles/index.scss index af5d1d4..5b05387 100644 --- a/src/assets/styles/index.scss +++ b/src/assets/styles/index.scss @@ -73,6 +73,9 @@ div:focus { .ml-20 { margin-left: 20px; } +.ml-10 { + margin-left: 10px; +} .block { display: block; } @@ -107,6 +110,10 @@ div:focus { width: 80% !important; margin: 0 auto; } +.width90 { + width: 80% !important; + margin: 0 auto; +} .text-overflow { overflow: hidden; text-overflow: ellipsis; diff --git a/src/components/generator/config.js b/src/components/generator/config.js index d27f206..6c49857 100644 --- a/src/components/generator/config.js +++ b/src/components/generator/config.js @@ -775,5 +775,43 @@ export const personalInfoComponents = [ 'show-word-limit': true, readonly: false, disabled: false + }, + { + typeId: 'PROVINCE_CITY', + __config__: { + label: '省市联动', + labelWidth: null, + showLabel: true, + changeTag: false, + tag: 'province-city', + tagIcon: 'input', + defaultValue: undefined, + required: true, + layout: 'colFormItem', + span: 24, + showRegList: false, + document: 'https://element.eleme.cn/#/zh-CN/component/input' + }, + placeholder: '请选择省市县', + style: {width: '100%'} + }, + { + typeId: 'INPUT_MAP', + __config__: { + label: '地理位置', + labelWidth: null, + showLabel: true, + changeTag: false, + tag: 'input-map', + tagIcon: 'input', + defaultValue: undefined, + required: true, + layout: 'colFormItem', + span: 24, + showRegList: false, + document: 'https://element.eleme.cn/#/zh-CN/component/input' + }, + placeholder: '请选择位置', + style: {width: '100%'} } ] diff --git a/src/views/account/member.vue b/src/views/account/member.vue index f50c733..bd2d868 100644 --- a/src/views/account/member.vue +++ b/src/views/account/member.vue @@ -1,46 +1,5 @@