|
@@ -0,0 +1,219 @@
|
|
|
+<template>
|
|
|
+ <div id="context">
|
|
|
+ <el-col :span="24" class="one">
|
|
|
+ <el-col :span="7" class="oneLeft">
|
|
|
+ <el-image :src="zhuanjiainfo.imgpath" style="height:210px"> </el-image>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="17" class="oneRight">
|
|
|
+ <p class="textOver">姓名 {{ zhuanjiainfo.name }}</p>
|
|
|
+ <p>
|
|
|
+ <span>民族:{{ zhuanjiainfo.gender || '暂无' }}</span>
|
|
|
+ <span>出生年月:{{ zhuanjiainfo.birth || '暂无' }}/{{ zhuanjiainfo.priceunit || '暂无' }}</span>
|
|
|
+ </p>
|
|
|
+ <p>
|
|
|
+ <span> 毕业院校:{{ zhuanjiainfo.school }} </span>
|
|
|
+ <span>所学专业:{{ zhuanjiainfo.major_studied }}</span>
|
|
|
+ </p>
|
|
|
+ <p>
|
|
|
+ <span>学历:{{ zhuanjiainfo.eduback || '暂无' }}</span>
|
|
|
+ <span>学位:{{ zhuanjiainfo.degree || '暂无' }}</span>
|
|
|
+ </p>
|
|
|
+ <p>
|
|
|
+ <span>办公电话:{{ zhuanjiainfo.tel || '暂无' }}</span>
|
|
|
+ <span>邮箱:{{ zhuanjiainfo.email || '暂无' }}</span>
|
|
|
+ </p>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="24" class="oneRight">
|
|
|
+ <div>
|
|
|
+ <p>
|
|
|
+ <span>职务:{{ zhuanjiainfo.position || '暂无' }}</span
|
|
|
+ ><span>从事专业:{{ zhuanjiainfo.email || '暂无' }}</span>
|
|
|
+ <span>住址:{{ zhuanjiainfo.email || '暂无' }}</span>
|
|
|
+ <span>可供咨询领域:{{ zhuanjiainfo.email || '暂无' }}</span>
|
|
|
+ </p>
|
|
|
+ </div>
|
|
|
+ <div></div>
|
|
|
+ <div></div>
|
|
|
+ <div></div>
|
|
|
+ <div>
|
|
|
+ <p>工作简介:</p>
|
|
|
+ <p class="job_profile" v-if="job_profile != ''">{{ zhuanjiainfo.job_profile || '暂无' }}</p>
|
|
|
+ <p class="job_profile1" v-else>{{ zhuanjiainfo.job_profile || '暂无' }}</p>
|
|
|
+ <el-button size="mini" v-if="zhuanjiainfo.job_profile != null">
|
|
|
+ <span v-if="job_profile != ''" @click="job_profileMore()">更多</span>
|
|
|
+ <span v-else @click="job_profileMore1()">收起</span>
|
|
|
+ </el-button>
|
|
|
+ </div>
|
|
|
+ </el-col>
|
|
|
+ </el-col>
|
|
|
+ </div>
|
|
|
+</template>
|
|
|
+
|
|
|
+<script>
|
|
|
+export default {
|
|
|
+ name: 'context',
|
|
|
+ props: {
|
|
|
+ zhuanjiainfo: null,
|
|
|
+ },
|
|
|
+ components: {},
|
|
|
+ data: () => ({
|
|
|
+ scope: '123',
|
|
|
+ job_profile: '123',
|
|
|
+ }),
|
|
|
+ created() {},
|
|
|
+ computed: {},
|
|
|
+ methods: {
|
|
|
+ scopeMore() {
|
|
|
+ this.scope = '';
|
|
|
+ },
|
|
|
+ // 收起
|
|
|
+ scopeMore1() {
|
|
|
+ this.scope = '123';
|
|
|
+ },
|
|
|
+ // 更多
|
|
|
+ job_profileMore() {
|
|
|
+ this.introduction = '';
|
|
|
+ },
|
|
|
+ // 收起
|
|
|
+ job_profileMore1() {
|
|
|
+ this.introduction = '123';
|
|
|
+ },
|
|
|
+ },
|
|
|
+};
|
|
|
+</script>
|
|
|
+
|
|
|
+<style lang="less" scoped>
|
|
|
+p {
|
|
|
+ padding: 0;
|
|
|
+ margin: 0;
|
|
|
+}
|
|
|
+.textOver {
|
|
|
+ overflow: hidden;
|
|
|
+ text-overflow: ellipsis;
|
|
|
+ white-space: nowrap;
|
|
|
+}
|
|
|
+// .textOver{}
|
|
|
+// overflow: hidden;
|
|
|
+// text-overflow: ellipsis;
|
|
|
+// -webkit-line-clamp: 3;
|
|
|
+// word-break: break-all;
|
|
|
+// display: -webkit-box;
|
|
|
+// -webkit-box-orient: vertical;
|
|
|
+// }
|
|
|
+.style {
|
|
|
+ height: 100vh;
|
|
|
+}
|
|
|
+.style .info {
|
|
|
+ position: relative;
|
|
|
+ top: -450px;
|
|
|
+}
|
|
|
+.style .top {
|
|
|
+ position: relative;
|
|
|
+ top: 0;
|
|
|
+ width: 100%;
|
|
|
+ text-align: center;
|
|
|
+ z-index: 999;
|
|
|
+ height: 230px;
|
|
|
+ margin: 0 0 20px 0;
|
|
|
+}
|
|
|
+.style .top p:first-child {
|
|
|
+ font-size: 50px;
|
|
|
+ color: #fff;
|
|
|
+}
|
|
|
+.style .top p:last-child {
|
|
|
+ font-size: 30px;
|
|
|
+ color: #fff;
|
|
|
+ position: absolute;
|
|
|
+ width: 100%;
|
|
|
+ top: 170px;
|
|
|
+}
|
|
|
+
|
|
|
+.one {
|
|
|
+ min-height: 550px;
|
|
|
+ padding: 20px;
|
|
|
+ .oneLeft {
|
|
|
+ height: 210px;
|
|
|
+ overflow: hidden;
|
|
|
+
|
|
|
+ img {
|
|
|
+ height: 100px;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .oneRight {
|
|
|
+ padding: 0 15px;
|
|
|
+ p {
|
|
|
+ font-size: 16px;
|
|
|
+ padding: 0 0 20px 0;
|
|
|
+ span {
|
|
|
+ display: inline-block;
|
|
|
+ width: 50%;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ p:first-child {
|
|
|
+ font-size: 20px;
|
|
|
+ font-weight: bold;
|
|
|
+ padding: 20px 0;
|
|
|
+ }
|
|
|
+ p:nth-child(2) span:last-child {
|
|
|
+ color: red;
|
|
|
+ font-weight: bold;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .oneDown {
|
|
|
+ border-top: 1px dashed #ccc;
|
|
|
+ margin: 30px 0 0 0;
|
|
|
+ padding: 30px 0 0 0;
|
|
|
+ div {
|
|
|
+ padding: 0 0 15px 0;
|
|
|
+ p {
|
|
|
+ font-size: 18px;
|
|
|
+ }
|
|
|
+ p:first-child {
|
|
|
+ color: #333;
|
|
|
+ font-weight: bold;
|
|
|
+ padding: 0 0 10px 0;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ div:nth-child(2) p span:last-child {
|
|
|
+ color: #409eff;
|
|
|
+ padding: 0 10px;
|
|
|
+ }
|
|
|
+ div:nth-child(2) p span:last-child:hover {
|
|
|
+ cursor: pointer;
|
|
|
+ }
|
|
|
+ div:nth-child(3) .moreScope {
|
|
|
+ overflow: hidden;
|
|
|
+ text-overflow: ellipsis;
|
|
|
+ -webkit-line-clamp: 6;
|
|
|
+ word-break: break-all;
|
|
|
+ display: -webkit-box;
|
|
|
+ -webkit-box-orient: vertical;
|
|
|
+ }
|
|
|
+ div:nth-child(3) .moreScope1 {
|
|
|
+ overflow: none;
|
|
|
+ }
|
|
|
+ div:nth-child(3) .el-button {
|
|
|
+ float: right;
|
|
|
+ }
|
|
|
+ div:nth-child(5) .job_profileMore {
|
|
|
+ overflow: hidden;
|
|
|
+ text-overflow: ellipsis;
|
|
|
+ -webkit-line-clamp: 6;
|
|
|
+ word-break: break-all;
|
|
|
+ display: -webkit-box;
|
|
|
+ -webkit-box-orient: vertical;
|
|
|
+ }
|
|
|
+ div:nth-child(5) .job_profileMore1 {
|
|
|
+ overflow: none;
|
|
|
+ }
|
|
|
+ div:last-child .el-button {
|
|
|
+ float: right;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .mainDown {
|
|
|
+ height: 50px;
|
|
|
+ line-height: 50px;
|
|
|
+ text-align: center;
|
|
|
+ }
|
|
|
+}
|
|
|
+</style>
|