Commit 692d2d4c authored by Mac's avatar Mac

1

parent ff511e3e
...@@ -461,7 +461,7 @@ ...@@ -461,7 +461,7 @@
</span> </span>
</el-dialog> </el-dialog>
<el-dialog title="查看详情" :visible.sync="detailShow" width="600px"> <el-dialog title="查看详情" :visible.sync="detailShow" width="800px">
<detail :data="detailData" /> <detail :data="detailData" />
<span slot="footer" class="dialog-footer"> <span slot="footer" class="dialog-footer">
<el-button size="small" @click="detailShow = false">关 闭</el-button> <el-button size="small" @click="detailShow = false">关 闭</el-button>
...@@ -502,22 +502,22 @@ ...@@ -502,22 +502,22 @@
StartTime: "", StartTime: "",
EndTime: "", EndTime: "",
Age:0, Age:0,
EndAge:100, EndAge:0,
Height:0, Height:0,
EndHeight:230, EndHeight:0,
Weight:0, Weight:0,
EndWeight:200, EndWeight:0,
YearMoney:0, YearMoney:0,
EndYearMoney:500, EndYearMoney:0,
CarInfo:0, CarInfo:0,
HouseInfo:0, HouseInfo:0,
EducationType:0, EducationType:0,
Marriage:0, Marriage:0,
}, },
ages:[0,100],//年龄 ages:[0,0],//年龄
Heights:[0,230],//身高 Heights:[0,0],//身高
Weights:[0,200],//体重 Weights:[0,0],//体重
YearMoeys:[0,500],//年收入 YearMoeys:[0,0],//年收入
total: 0, total: 0,
platList: [], platList: [],
memberGradeList: [], memberGradeList: [],
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
<el-form label-width="150px"> <el-form label-width="150px">
<div v-for="(item, index) in detailList" :key="index"> <div v-for="(item, index) in detailList" :key="index">
<el-form-item :label="item.prop" v-if="item.type == 1"> <el-form-item :label="item.prop" v-if="item.type == 1">
{{data[item.field] }} {{data[item.field]!=''?data[item.field]:'无' }}
</el-form-item> </el-form-item>
<el-form-item :label="item.prop" v-if="item.type == 4"> <el-form-item :label="item.prop" v-if="item.type == 4">
{{data[item.field] }}kg {{data[item.field] }}kg
...@@ -19,6 +19,7 @@ ...@@ -19,6 +19,7 @@
</el-form-item> </el-form-item>
<el-form-item :label="item.prop" v-if="item.type == 2"> <el-form-item :label="item.prop" v-if="item.type == 2">
<el-image <el-image
style="width: 200px; height: auto" style="width: 200px; height: auto"
...@@ -49,34 +50,38 @@ export default { ...@@ -49,34 +50,38 @@ export default {
return { return {
detailList: [ detailList: [
//type:1.字符串,2.图片,3.数组 //type:1.字符串,2.图片,3.数组
{ prop: "姓名:", field: "RealName", type: 1 }, { prop: "昵称:", field: "RealName", type: 1 },
{ prop: "性别:", field: "SexStr", type: 1 }, { prop: "性别:", field: "SexStr", type: 1 },
{ prop: "出生日期:", field: "Birthday", type: 1 },
{ prop: "体重:", field: "Weight", type: 4 }, { prop: "体重:", field: "Weight", type: 4 },
{ prop: "身高:", field: "Height", type: 5 }, { prop: "身高:", field: "Height", type: 5 },
{ prop: "出生日期:", field: "Birthday", type: 1 },
{ prop: "星座:", field: "ConoldBaseInfostellation", type: 1 }, { prop: "星座:", field: "ConoldBaseInfostellation", type: 1 },
{ prop: "学历:", field: "EducationTypeStr", type: 1 }, { prop: "学历:", field: "EducationTypeStr", type: 1 },
{ prop: "房产:", field: "HouseInfoStr", type: 1 }, { prop: "房产:", field: "HouseInfoStr", type: 1 },
{ prop: "车产:", field: "CarInfoStr", type: 1 }, { prop: "车产:", field: "CarInfoStr", type: 1 },
{ prop: "年收入:", field: "YearMoney", type: 7 },
{ prop: "毕业学校:", field: "SchoolInfo", type: 1 },
{ prop: "工资单位:", field: "WorkUnit", type: 1 }, { prop: "工资单位:", field: "WorkUnit", type: 1 },
{ prop: "职位:", field: "Job", type: 1 },
{ prop: "籍贯:", field: "NativePlace", type: 6 },
{ prop: "自我介绍:", field: "About", type: 1 },
{ prop: "家庭背景:", field: "FamilyInfo", type: 1 }, { prop: "家庭背景:", field: "FamilyInfo", type: 1 },
{ prop: "业余爱好:", field: "Hobby", type: 1 }, { prop: "业余爱好:", field: "Hobby", type: 1 },
{ prop: "喜欢的食物:", field: "LikeFood", type: 1 }, { prop: "喜欢的食物:", field: "LikeFood", type: 1 },
{ prop: "籍贯:", field: "NativePlace", type: 6 }, // { prop: "资产:", field: "HouseInfo", type: 1 },
{ prop: "资产:", field: "HouseInfo", type: 1 }, { prop: "活动区域:", field: "ActivityRegion", type: 1 },
{ prop: "学校:", field: "SchoolInfo", type: 1 },
{ prop: "年收入:", field: "YearMoney", type: 7 },
{ prop: "工作:", field: "Job", type: 1 },
{ prop: "喜欢的书:", field: "LikeBook", type: 1 }, { prop: "喜欢的书:", field: "LikeBook", type: 1 },
{ prop: "喜欢的电影和电视剧:", field: "LikeTV", type: 1 }, { prop: "喜欢的电影和电视剧:", field: "LikeTV", type: 1 },
{ prop: "喜欢的情歌:", field: "LikeSong", type: 1 }, { prop: "喜欢的情歌:", field: "LikeSong", type: 1 },
{ prop: "欣赏哪对名人的爱情,原因是什么", field: "IdealLove", type: 1 }, { prop: "欣赏哪对名人的爱情,原因是什么", field: "IdealLove", type: 1 },
{ prop: "情话:", field: "LoveTalk", type: 1 }, { prop: "情话:", field: "LoveTalk", type: 1 },
{ prop: "关于他:", field: "About", type: 1 }, { prop: "单身原因:", field: "SingleReason", type: 1 },
{ prop: "单身原因", field: "SingleReason", type: 1 }, { prop: "希望您是:", field: "HopeYou", type: 1 },
{ prop: "希望您是", field: "HopeYou", type: 1 }, { prop: "约会时间:", field: "Appointment", type: 1 },
{ prop: "约会时间", field: "Appointment", type: 1 }, { prop: "身份证正面:", field: "IDCard", type: 2 },
{ prop: "约会地点", field: "AppointmentAddress", type: 1 }, { prop: "身份证反面:", field: "IDCardBack", type: 2 },
{ prop: "照片墙:", field: "AlbumList", type: 3 }, { prop: "照片墙:", field: "AlbumList", type: 3 },
], ],
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment