|
@@ -7,7 +7,8 @@
|
|
|
<enCheckbox v-model="type" label="爱好" :checkboxData="checkboxData"></enCheckbox>
|
|
<enCheckbox v-model="type" label="爱好" :checkboxData="checkboxData"></enCheckbox>
|
|
|
<enRadio v-model="sex" label="性别" :radioData="radioData"></enRadio>
|
|
<enRadio v-model="sex" label="性别" :radioData="radioData"></enRadio>
|
|
|
<enSwitch v-model="status" label="状态" ></enSwitch>
|
|
<enSwitch v-model="status" label="状态" ></enSwitch>
|
|
|
- </view>
|
|
|
|
|
|
|
+ <enTextarea v-model="content" label="个人简介"></enTextarea>
|
|
|
|
|
+ </view>
|
|
|
|
|
|
|
|
</template>
|
|
</template>
|
|
|
<script>
|
|
<script>
|
|
@@ -17,8 +18,10 @@
|
|
|
import enCheckbox from "components/en-checkbox/en-checkbox"
|
|
import enCheckbox from "components/en-checkbox/en-checkbox"
|
|
|
import enRadio from "components/en-radio/en-radio"
|
|
import enRadio from "components/en-radio/en-radio"
|
|
|
import enSwitch from "components/en-switch/en-switch"
|
|
import enSwitch from "components/en-switch/en-switch"
|
|
|
|
|
+ import enTextarea from "components/en-textarea/en-textarea"
|
|
|
export default {
|
|
export default {
|
|
|
components: {
|
|
components: {
|
|
|
|
|
+ enTextarea,
|
|
|
enSwitch,
|
|
enSwitch,
|
|
|
enRadio,
|
|
enRadio,
|
|
|
enCheckbox,
|
|
enCheckbox,
|
|
@@ -29,6 +32,7 @@
|
|
|
return {
|
|
return {
|
|
|
phone:'13900139001',
|
|
phone:'13900139001',
|
|
|
text:'来自火星的你',
|
|
text:'来自火星的你',
|
|
|
|
|
+ content:'你会火星语吗?你会火星语吗?你会火星语吗?你会火星语吗?你会火星语吗?你会火星语吗?你会火星语吗?你会火星语吗?你会火星语吗?你会火星语吗?你会火星语吗?你会火星语吗?你会火星语吗?你会火星语吗?你会火星语吗?你会火星语吗?你会火星语吗?你会火星语吗?你会火星语吗?你会火星语吗?你会火星语吗?你会火星语吗?',
|
|
|
type:['1'],
|
|
type:['1'],
|
|
|
sex:'1',
|
|
sex:'1',
|
|
|
status:1,
|
|
status:1,
|
|
@@ -38,6 +42,9 @@
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
watch:{
|
|
watch:{
|
|
|
|
|
+ 'content':function (){
|
|
|
|
|
+ console.log('new--------content',this.content)
|
|
|
|
|
+ },
|
|
|
'type':function (){
|
|
'type':function (){
|
|
|
console.log('new--------type',this.type)
|
|
console.log('new--------type',this.type)
|
|
|
},
|
|
},
|