diff --git a/pages/market/clue/add_clues.vue b/pages/market/clue/add_clues.vue
index 7389eb8..925563e 100644
--- a/pages/market/clue/add_clues.vue
+++ b/pages/market/clue/add_clues.vue
@@ -29,6 +29,28 @@
+
+
+
+
+
+
+
+ 男
+
+
+
+
+
+ 女
+
+
+
+
+
+
+
@@ -261,6 +283,7 @@ export default {
//表单
formData: {
+ sex:'1',//性别|0=保密,1=男,2=女
student_name: '',//学员姓名*
student_phone: '',//学员手机号*
age: '',//年龄*
@@ -570,7 +593,7 @@ export default {
//提交
async submit() {
- console.log(this.formData)
+ console.log('提交',this.formData)
let data = {...this.formData}
//表单验证
let validatorForm = await this.validatorForm(data)
@@ -727,7 +750,12 @@ export default {
} else {
this.switchChange_type = 2
}
- }
+ },
+
+ //性别选择器
+ changeSex(e){
+ this.formData.sex = e.detail.value
+ },
}
}