|
@@ -2,10 +2,22 @@
|
|
|
<div class="collect-info">
|
|
|
<div class="user-data-dialog" v-if="showForm">
|
|
|
<div class="mask"></div>
|
|
|
- <div class="dialog-container">
|
|
|
+ <div class="dialog-container" :class="{ 'use-bg': useImgBg.use }">
|
|
|
+ <div class="dialog-header--use-bg" v-if="useImgBg.use">
|
|
|
+ <img
|
|
|
+ class="dialog-header-img--bg"
|
|
|
+ :src="useImgBg.bg"
|
|
|
+ :alt="dialogTitleTop"
|
|
|
+ />
|
|
|
+ <img
|
|
|
+ class="dialog-header-img--title"
|
|
|
+ :src="useImgBg.title"
|
|
|
+ :alt="dialogTitleTop"
|
|
|
+ />
|
|
|
+ </div>
|
|
|
<div
|
|
|
class="dialog-header fs18"
|
|
|
- v-if="dialogTitleTop"
|
|
|
+ v-if="dialogTitleTop && !useImgBg.use"
|
|
|
v-text="dialogTitleTop"
|
|
|
></div>
|
|
|
<div
|
|
@@ -683,6 +695,23 @@ export default {
|
|
|
var zjl = this.form.job.indexOf('总经理') > -1
|
|
|
return !(zc || zjl) && this.form.job
|
|
|
},
|
|
|
+ useImgBg() {
|
|
|
+ const result = {
|
|
|
+ use: false,
|
|
|
+ bg: '/common-module/pc-dialog/image/data-leave-info-header-bg.png',
|
|
|
+ title: ''
|
|
|
+ }
|
|
|
+ switch (this.source) {
|
|
|
+ case 'pc_Interfacedirectory_apply': {
|
|
|
+ result.use = true
|
|
|
+ result.title =
|
|
|
+ '/common-module/pc-dialog/image/title/api-leave-title-text.png'
|
|
|
+ break
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ return result
|
|
|
+ },
|
|
|
successText: function () {
|
|
|
// 没有_freeuser后缀的体验1次的source,需要走_freeuser的逻辑
|
|
|
const _freeuserList = ['ent_portrait_bidInfoDesc'].concat([
|
|
@@ -1388,7 +1417,33 @@ export default {
|
|
|
z-index: 3000;
|
|
|
box-sizing: border-box;
|
|
|
//overflow-y: auto;
|
|
|
+
|
|
|
+ &.use-bg {
|
|
|
+ padding-top: 74px;
|
|
|
+ }
|
|
|
}
|
|
|
+
|
|
|
+ .dialog-header--use-bg {
|
|
|
+ position: absolute;
|
|
|
+ top: 0;
|
|
|
+ left: 0;
|
|
|
+ width: 100%;
|
|
|
+ display: flex;
|
|
|
+ flex-direction: column;
|
|
|
+ align-items: center;
|
|
|
+ transform: translateY(-116px);
|
|
|
+ z-index: -1;
|
|
|
+
|
|
|
+ .dialog-header-img-- {
|
|
|
+ &bg {
|
|
|
+ }
|
|
|
+ &title {
|
|
|
+ margin-top: -98px;
|
|
|
+ height: 28px;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
.dialog-header {
|
|
|
color: #1d1d1d;
|
|
|
font-size: 16px;
|