Răsfoiți Sursa

feat:免费用户查看公告留资调整

malin 3 ani în urmă
părinte
comite
dab17907ec

+ 8 - 196
src/jfw/modules/app/src/web/templates/frontRouter/bigmember/free/perfect_info.html

@@ -51,12 +51,6 @@
               <van-field v-if="moduleShow.email" v-model.trim="infoMap.email" label="邮箱"
                 @focus="infoCheckMap.email = ''" @blur="getCheckMap('email')" :error-message="infoCheckMap.email"
                 required placeholder="请输入邮箱"></van-field>
-              <van-field v-if="moduleShow.area" v-model="infoMap.area" label="区域" @click="openPop('区域')" readonly
-                is-link placeholder="请选择所在区域"></van-field>
-              <van-field v-if="moduleShow.class" v-model="infoMap.class" label="行业" @click="openPop('行业')" readonly
-                is-link placeholder="请选择所属行业"></van-field>
-              <van-field v-if="moduleShow.type" v-model="infoMap.type" label="受雇类型" @click="openPop('受雇类型')" readonly
-                is-link placeholder="请选择受雇类型"></van-field>
             </div>
           </div>
           <div class="form-card-group">
@@ -69,8 +63,6 @@
               <van-field @input="entOnChange('input')" @blur="entOnChange('blur')" @focus="infoCheckMap.company = ''"
                 :error-message="infoCheckMap.company" required v-model.trim="infoMap.company" label="公司名称"
                 placeholder="请输入公司名称"></van-field>
-              <van-field v-if="moduleShow.companyType" v-model="infoMap.companyType" label="公司类型"
-                @click="openPop('公司类型')" readonly is-link placeholder="请选择公司类型"></van-field>
               <van-field v-if="moduleShow.position" :class="{'hide-border': infoMap.position === '其他'}" required
                 v-model="infoMap.position" label="职位" @click="openPop('职位')" readonly is-link placeholder="请选择职位">
               </van-field>
@@ -80,17 +72,6 @@
                 label="职位" placeholder="请输入职位"></van-field>
               <van-field v-if="showBranch" v-model="infoMap.branch" required label="部门" @click="openPop('部门')" readonly
                 is-link placeholder="请选择部门"></van-field>
-              <van-field v-if="moduleShow.company_size" v-model="infoMap.company_size" label="公司规模"
-                @click="openPop('公司规模')" readonly is-link placeholder="请选择公司规模"></van-field>
-              <van-field v-if="moduleShow.workScope" maxlength="200" v-model="infoMap.workScope" label="业务范围" rows="2"
-                type="textarea" placeholder="请输入业务范围,让合作伙伴充分了解公司业务内容"></van-field>
-            </div>
-          </div>
-          <div class="form-card-group" v-if="moduleShow.partnerNeeds">
-            <div class="form-title">合作需求</div>
-            <div class="form-content-card">
-              <van-field maxlength="200" v-model="infoMap.partnerNeeds" rows="3" type="textarea"
-                placeholder="请输入合作需求,从而创造并匹配更多合作交流机会"></van-field>
             </div>
           </div>
           <div class="form-tick-group" @click="isRead = !isRead" v-if="moduleShow.agree">
@@ -118,18 +99,6 @@
                 </div>
               </div>
             </div>
-            <div class="j-main" v-show="popInfo.label === '区域'">
-              <van-tree-select height="100%" :items="areaDatas" :active-id.sync="areaId"
-                :main-active-index.sync="areaIndex">
-
-              </van-tree-select>
-            </div>
-            <div class="j-main" v-show="popInfo.label === '行业'">
-              <van-tree-select height="100%" :items="classDatas" :active-id.sync="classId"
-                :main-active-index.sync="classIndex">
-
-              </van-tree-select>
-            </div>
             <div class="j-main" v-show="conditionMap[popInfo.label]">
               <div class="condition-select-group" :class="{more: isMoreSelect}">
                 <div class="condition-select-item" @click="onSelectItem(item, popInfo.label)"
@@ -775,48 +744,6 @@
           title: ''
         },
         conditionMap: {
-          '受雇类型': [{
-              title: '公司',
-              checked: false
-            },
-            {
-              title: '个体经营者',
-              checked: false
-            },
-            {
-              title: '其他',
-              checked: false
-            }
-          ],
-          '公司类型': [{
-              title: '投标企业',
-              checked: false
-            },
-            {
-              title: '招标采购单位',
-              checked: false
-            },
-            {
-              title: '厂商',
-              checked: false
-            },
-            {
-              title: '招标代理机构',
-              checked: false
-            },
-            {
-              title: '经销商',
-              checked: false
-            },
-            {
-              title: '服务提供商',
-              checked: false
-            },
-            {
-              title: '其他',
-              checked: false
-            }
-          ],
           '职位': [{
               title: '总裁',
               checked: false
@@ -842,31 +769,7 @@
               checked: false
             }
           ],
-          '公司规模': [{
-              title: '0-19人',
-              checked: false
-            },
-            {
-              title: '20-99人',
-              checked: false
-            },
-            {
-              title: '100-499人',
-              checked: false
-            },
-            {
-              title: '500-999人',
-              checked: false
-            },
-            {
-              title: '1000-9999人',
-              checked: false
-            },
-            {
-              title: '100000人以上',
-              checked: false
-            }
-          ],
+          
           '部门': [{
               title: '市场',
               checked: false
@@ -992,7 +895,8 @@
             article_purchase_intention: '请留下联系方式,我们会尽快联系您!开通大会员可抢先对接采购单位,帮助企业拓客!', // 采购意向
             article_proposed_project: '请留下联系方式,我们会尽快联系您!开通大会员可抢先获知拟建商机动态,提高中标机率!', // 拟建项目
             'ent-manage-app': '请留下联系方式,我们会尽快联系您体验商机管理全部功能!',
-            "jypush_see10_plus_app":"请完善个人信息,为您匹配更多精准项目信息"
+            "jypush_see10_plus_app":"请完善个人信息,为您匹配更多精准项目信息",
+            "jyarticle_see3_plus_app":"请完善个人信息,获取更多免费查看公告权限"
           }
 
           // 提示语
@@ -1030,7 +934,8 @@
             ent_portrait_contacts: '欢迎体验剑鱼大会员',
             ent_portrait_changeList: '欢迎体验剑鱼大会员',
             'ent-manage-app': '欢迎体验剑鱼标讯商机管理',
-            "jypush_see10_plus_app":"完善信息"
+            "jypush_see10_plus_app":"完善信息",
+            "jyarticle_see3_plus_app":"完善信息"
           }
           for (var key in titleMap) {
             if (source.indexOf(key) !== -1) {
@@ -1052,9 +957,6 @@
 
           return infoText || ''
         },
-        getPopHeight() {
-          return this.popInfo.label === '受雇类型' ? '5.42rem' : '8.36rem'
-        },
         checkName() {
           if (this.infoMap.name.length > 10) {
             return false
@@ -1094,39 +996,14 @@
           return !this.checkName || !this.checkPhone || !this.checkEmail || !this.checkEntName || !this
             .checkPosition || (this.showBranch && !this.infoMap.branch)
         },
-        isMoreSelect() {
-          return this.popInfo.label === '公司类型'
-        },
         isNextDisabled() {
           var type = this.popInfo.label
           var result = false
           switch (type) {
-            case '区域': {
-              var tempData = this.areaId.split('-')
-              result = tempData.length === 2
-              break
-            }
-            case '行业': {
-              var tempData = this.classId.split('-')
-              result = tempData.length === 2
-              break
-            }
-            case '受雇类型': {
-              result = this.conditionMap[type].filter(v => v.checked).length
-              break
-            }
-            case '公司类型': {
-              result = this.conditionMap[type].filter(v => v.checked).length
-              break
-            }
             case '职位': {
               result = this.conditionMap[type].filter(v => v.checked).length
               break
             }
-            case '公司规模': {
-              result = this.conditionMap[type].filter(v => v.checked).length
-              break
-            }
             case '部门': {
               result = this.conditionMap[type].filter(v => v.checked).length
               break
@@ -1245,18 +1122,9 @@
             this.classId = tempData[0] + '-' + tempData[1]
             this.classIndex = this.classDatas.map(v => v.text).indexOf(tempData[0])
           }
-          if (data.hireType) {
-            this.setCheckForData('hireType', 'type', data.hireType, '受雇类型')
-          }
-          if (data.company_size) {
-            this.setCheckForData('company_size', 'company_size', data.company_size, '公司规模')
-          }
           if (data.position) {
             this.setCheckForData('position', 'position', data.position, '职位')
           }
-          if (data.companyType) {
-            this.setCheckForData('companyType', 'companyType', data.companyType, '公司类型')
-          }
           if (data.name) {
             this.setCheckForData('name', 'name', data.name)
           }
@@ -1295,9 +1163,9 @@
           }
           if (label) {
             var checkDatas = [cKey]
-            if (label === '公司类型') {
-              checkDatas = cKey.split(',')
-            }
+            // if (label === '公司类型') {
+            //   checkDatas = cKey.split(',')
+            // }
             this.conditionMap[label].forEach(v => {
               if (checkDatas.indexOf(v.title) !== -1) {
                 v.checked = true
@@ -1308,47 +1176,11 @@
         submitPop() {
           var type = this.popInfo.label
           switch (type) {
-            case '区域': {
-              var tempData = this.areaId.split('-')
-              if (tempData.length === 2) {
-                this.ajaxParams.province = tempData[0]
-                this.ajaxParams.city = tempData[1]
-                if (tempData[0] === tempData[1]) {
-                  this.infoMap.area = tempData[0]
-                } else {
-                  this.infoMap.area = tempData[0] + ' ' + tempData[1]
-                }
-              }
-              break
-            }
-            case '行业': {
-              var tempData = this.classId.split('-')
-              if (tempData.length === 2) {
-                this.ajaxParams.industry = tempData[0] + '_' + tempData[1]
-                this.infoMap.class = tempData[0] + ' ' + tempData[1]
-              }
-              break
-            }
-            case '受雇类型': {
-              var tempData = this.conditionMap[type].filter(v => v.checked)
-              this.setCheckForData('hireType', 'type', tempData[0].title)
-              break
-            }
-            case '公司类型': {
-              var tempData = this.conditionMap[type].filter(v => v.checked).map(v => v.title)
-              this.setCheckForData('companyType', 'companyType', tempData.join(','))
-              break
-            }
             case '职位': {
               var tempData = this.conditionMap[type].filter(v => v.checked)
               this.setCheckForData('position', 'position', tempData[0].title)
               break
             }
-            case '公司规模': {
-              var tempData = this.conditionMap[type].filter(v => v.checked)
-              this.setCheckForData('company_size', 'company_size', tempData[0].title)
-              break
-            }
             case '部门': {
               var tempData = this.conditionMap[type].filter(v => v.checked)
               this.setCheckForData('branch', 'branch', tempData[0].title)
@@ -1359,30 +1191,10 @@
         },
         openPop(type) {
           switch (type) {
-            case '区域': {
-              this.popInfo.title = '请选择所在地域'
-              break
-            }
-            case '行业': {
-              this.popInfo.title = '请选择所在行业'
-              break
-            }
-            case '受雇类型': {
-              this.popInfo.title = '受雇类型'
-              break
-            }
-            case '公司类型': {
-              this.popInfo.title = '公司类型'
-              break
-            }
             case '职位': {
               this.popInfo.title = '职位'
               break
             }
-            case '公司规模': {
-              this.popInfo.title = '公司规模'
-              break
-            }
             case '部门': {
               this.popInfo.title = '部门'
               break

+ 10 - 1
src/jfw/modules/app/src/web/templates/weixin/wxinfocontent.html

@@ -851,6 +851,7 @@
 <!-- <script src="https://cdn.bootcss.com/vConsole/3.3.4/vconsole.min.js"></script>
 <script> new VConsole(); </script> -->
 <script>
+    var canRead = {{.T.canRead}} //免费用户当天查看是否查看三次公告
     var	shareimgflag = true;
     var area = {{.T.obj.area}}
     var subtype = {{.T.obj.subtype}}
@@ -1219,11 +1220,16 @@
     }
     //是否显示遮罩层
     function checkShowDialog () {
+        
         if (subtype == '采购意向') {
             $('#dialog-tip-title').text('想中标?提前介入很关键!')
             $(".dialog-tip-text").html('采购意向项目全公开,抢先获知采购项目需求,<br> 提前主动介入,中标几率更高!')
         }
-        if (subtype == '拟建'||subtype == '采购意向') {
+        if (canRead){
+            $('#dialog-tip-title').text('免费查看更多公告')
+            $(".dialog-tip-text").html('请完善个人信息,获取更多免费查看公告权限')
+        }
+        if (subtype == '拟建'||subtype == '采购意向' || canRead) {
             $(".prebuilt").remove()
             $(".mask-zz").removeClass("hidden");
         } else {
@@ -1241,6 +1247,9 @@
         if (subType == '采购意向') {
             sourceKey = 'article_purchase_intention'
         }
+        if( canRead) {
+            location.href = '/jyapp/frontPage/bigmember/free/perfect_info?source=jyarticle_see3_plus_wx'
+        }
         //  留资判断
         location.href = '/jyapp/frontPage/bigmember/free/perfect_info?source=' + sourceKey
     })

+ 11 - 2
src/web/staticres/js/pc-collect-user-info.js

@@ -386,6 +386,7 @@ var vm = new Vue({
         article_purchase_intention: '请留下联系方式,我们会尽快联系您!开通大会员可抢先对接采购单位,帮助企业拓客!', // 三级页-采购意向
         article_proposed_project: '请留下联系方式,我们会尽快联系您!开通大会员可抢先获知拟建商机动态,提高中标机率!', // 三级页-拟建项目
         'ent-manage-pc': '欢迎留下联系方式,我们的大客户经理会在24小时内联系您!',
+        "jyarticle_see3_plus":"请完善个人信息,获取更多免费查看公告权限"
       },
       isRefresh: false // 留完资是否需要刷新页面
     }
@@ -476,7 +477,10 @@ var vm = new Vue({
         } else if(source.indexOf('ent-manage') > -1){
           this.dialogTitle = text
           this.dialogTitleTop = '欢迎体验剑鱼标讯商机管理'
-        } else {
+        } else if(source.indexOf('jyarticle_see3_plus') > -1){
+          this.dialogTitle = text
+          this.dialogTitleTop = '完善信息'
+        }else {
           this.dialogTitle = text
           this.dialogTitleTop = '欢迎体验剑鱼大会员'
         }
@@ -524,7 +528,12 @@ var vm = new Vue({
             _this.showForm = false
             if(source == 'member_freeuse') {
               _this.showSuccess = true
-            } else if (source == 'article_original') {
+            } else if(source=="jyarticle_see3_plus") {
+              // 如果留资正常 点击消失
+              $(".detail-nj-btn").click(function(){
+                $(".mask-zzz").hide()
+              })
+            } else if(source == 'article_original') {
               // 如果是阅读原文点击的 留完用户资料执行原点击操作
               $(".com-original").trigger('click')
             } else if (source == 'article_collection'){

+ 10 - 196
src/web/templates/frontRouter/wx/bigmember/free/perfect_info.html

@@ -61,12 +61,6 @@
                                    placeholder="常用手机号码"></van-field>
                         <van-field v-if="moduleShow.email" v-model.trim="infoMap.email" label="邮箱" @focus="infoCheckMap.email = ''" @blur="getCheckMap('email')"
                                    :error-message="infoCheckMap.email" required placeholder="请输入邮箱"></van-field>
-                        <van-field v-if="moduleShow.area" v-model="infoMap.area" label="区域" @click="openPop('区域')" readonly is-link
-                                   placeholder="请选择所在区域"></van-field>
-                        <van-field v-if="moduleShow.class" v-model="infoMap.class" label="行业" @click="openPop('行业')" readonly is-link
-                                   placeholder="请选择所属行业"></van-field>
-                        <van-field v-if="moduleShow.type" v-model="infoMap.type" label="受雇类型" @click="openPop('受雇类型')" readonly is-link
-                                   placeholder="请选择受雇类型"></van-field>
                     </div>
                 </div>
                 <div class="form-card-group">
@@ -77,15 +71,13 @@
                         </div>
                         <van-field @input="entOnChange('input')" @blur="entOnChange('blur')" @focus="infoCheckMap.company = ''"
                                    :error-message="infoCheckMap.company" required v-model.trim="infoMap.company" label="公司名称" placeholder="请输入公司名称"></van-field>
-                        <van-field v-if="moduleShow.companyType" v-model="infoMap.companyType" label="公司类型" @click="openPop('公司类型')" readonly is-link
-                                   placeholder="请选择公司类型"></van-field>
+                        
                         <van-field v-if="moduleShow.position" :class="{'hide-border': infoMap.position === '其他'}"  required v-model="infoMap.position" label="职位" @click="openPop('职位')" readonly is-link
                                    placeholder="请选择职位"></van-field>
                         <van-field class="other-input-group" @focus="infoCheckMap.position_other = ''" @blur="getCheckMap('position')"
                                    :error-message="infoCheckMap.position_other" v-model.trim="infoMap.position_other" v-show="infoMap.position === '其他' && moduleShow.position" label="职位" placeholder="请输入职位"></van-field>
                         <van-field v-if="showBranch" v-model="infoMap.branch" required label="部门" @click="openPop('部门')" readonly is-link placeholder="请选择部门"></van-field>
-                        <van-field v-if="moduleShow.company_size" v-model="infoMap.company_size" label="公司规模" @click="openPop('公司规模')" readonly is-link
-                                   placeholder="请选择公司规模"></van-field>
+                        
                         <van-field v-if="moduleShow.workScope" maxlength="200" v-model="infoMap.workScope" label="业务范围" rows="2" type="textarea"
                                    placeholder="请输入业务范围,让合作伙伴充分了解公司业务内容"></van-field>
                     </div>
@@ -122,24 +114,6 @@
                             </div>
                         </div>
                     </div>
-                    <div class="j-main" v-show="popInfo.label === '区域'">
-                        <van-tree-select
-                                height="100%"
-                                :items="areaDatas"
-                                :active-id.sync="areaId"
-                                :main-active-index.sync="areaIndex">
-
-                        </van-tree-select>
-                    </div>
-                    <div class="j-main" v-show="popInfo.label === '行业'">
-                        <van-tree-select
-                                height="100%"
-                                :items="classDatas"
-                                :active-id.sync="classId"
-                                :main-active-index.sync="classIndex">
-
-                        </van-tree-select>
-                    </div>
                     <div class="j-main" v-show="conditionMap[popInfo.label]">
                         <div class="condition-select-group" :class="{more: isMoreSelect}">
                             <div class="condition-select-item" @click="onSelectItem(item, popInfo.label)" v-for="(item,i) in conditionMap[popInfo.label]" :class="{checked: item.checked}">
@@ -413,50 +387,6 @@
         title: ''
       },
       conditionMap: {
-        '受雇类型': [
-          {
-            title: '公司',
-            checked: false
-          },
-          {
-            title: '个体经营者',
-            checked: false
-          },
-          {
-            title: '其他',
-            checked: false
-          }
-        ],
-        '公司类型': [
-          {
-            title: '投标企业',
-            checked: false
-          },
-          {
-            title: '招标采购单位',
-            checked: false
-          },
-          {
-            title: '厂商',
-            checked: false
-          },
-          {
-            title: '招标代理机构',
-            checked: false
-          },
-          {
-            title: '经销商',
-            checked: false
-          },
-          {
-            title: '服务提供商',
-            checked: false
-          },
-          {
-            title: '其他',
-            checked: false
-          }
-        ],
         '职位': [
         {
             title: '总裁',
@@ -483,32 +413,7 @@
             checked: false
           }
         ],
-        '公司规模': [
-          {
-            title: '0-19人',
-            checked: false
-          },
-          {
-            title: '20-99人',
-            checked: false
-          },
-          {
-            title: '100-499人',
-            checked: false
-          },
-          {
-            title: '500-999人',
-            checked: false
-          },
-          {
-            title: '1000-9999人',
-            checked: false
-          },
-          {
-            title: '100000人以上',
-            checked: false
-          }
-        ],
+        
         '部门': [
           {
             title: '市场',
@@ -658,7 +563,8 @@
           article_purchase_intention: '请留下联系方式,我们会尽快联系您!开通大会员可抢先对接采购单位,帮助企业拓客!', // 采购意向
           article_proposed_project: '请留下联系方式,我们会尽快联系您!开通大会员可抢先获知拟建商机动态,提高中标机率!', // 拟建项目
          'ent-manage-wx': '请留下联系方式,我们会尽快联系您体验商机管理全部功能!',
-         "jypush_see10_plus_wx":"请完善个人信息,为您匹配更多精准项目信息"
+         "jypush_see10_plus_wx":"请完善个人信息,为您匹配更多精准项目信息",
+         "jyarticle_see3_plus_wx":"请完善个人信息,获取更多免费查看公告权限"
         }
 
         // 提示语
@@ -696,7 +602,8 @@
               ent_portrait_contacts: '欢迎体验剑鱼大会员',
               ent_portrait_changeList: '欢迎体验剑鱼大会员',
               'ent-manage-wx': '欢迎体验剑鱼标讯商机管理',
-              "jypush_see10_plus_wx":"完善信息"
+              "jypush_see10_plus_wx":"完善信息",
+              "jyarticle_see3_plus_wx":"完善信息"
           }
           for (var key in titleMap) {
               if (source.indexOf(key) !== -1) {
@@ -726,9 +633,6 @@
 
         return infoText || ''
       },
-      getPopHeight () {
-        return this.popInfo.label === '受雇类型' ?  '5.42rem' : '8.36rem'
-      },
       checkName () {
         if (this.infoMap.name.length > 10) {
           return false
@@ -767,39 +671,14 @@
       isSubmitDisabled () {
         return !this.checkName || !this.checkPhone || !this.checkEmail || !this.checkEntName || !this.checkPosition || (this.showBranch && !this.infoMap.branch)
       },
-      isMoreSelect () {
-        return this.popInfo.label === '公司类型'
-      },
       isNextDisabled () {
         var type = this.popInfo.label
         var result = false
         switch (type) {
-          case '区域': {
-            var tempData = this.areaId.split('-')
-            result = tempData.length === 2
-            break
-          }
-          case '行业': {
-            var tempData = this.classId.split('-')
-            result = tempData.length === 2
-            break
-          }
-          case '受雇类型': {
-            result = this.conditionMap[type].filter(v => v.checked).length
-            break
-          }
-          case '公司类型': {
-            result = this.conditionMap[type].filter(v => v.checked).length
-            break
-          }
           case '职位': {
             result = this.conditionMap[type].filter(v => v.checked).length
             break
           }
-          case '公司规模': {
-            result = this.conditionMap[type].filter(v => v.checked).length
-            break
-          }
           case '部门': {
             result = this.conditionMap[type].filter(v => v.checked).length
             break
@@ -936,18 +815,9 @@
           this.classId = tempData[0] + '-' + tempData[1]
           this.classIndex = this.classDatas.map(v => v.text).indexOf(tempData[0])
         }
-        if (data.hireType) {
-          this.setCheckForData('hireType', 'type', data.hireType, '受雇类型')
-        }
-        if (data.company_size) {
-          this.setCheckForData('company_size', 'company_size', data.company_size, '公司规模')
-        }
         if (data.position) {
           this.setCheckForData('position', 'position', data.position, '职位')
         }
-        if (data.companyType) {
-          this.setCheckForData('companyType', 'companyType', data.companyType, '公司类型')
-        }
         if (data.name) {
           this.setCheckForData('name', 'name', data.name)
         }
@@ -985,9 +855,9 @@
         }
         if (label) {
           var checkDatas = [cKey]
-          if (label === '公司类型') {
-            checkDatas = cKey.split(',')
-          }
+          // if (label === '公司类型') {
+          //   checkDatas = cKey.split(',')
+          // }
           this.conditionMap[label].forEach(v => {
             if (checkDatas.indexOf(v.title) !== -1) {
               v.checked = true
@@ -998,47 +868,11 @@
       submitPop() {
         var type = this.popInfo.label
         switch (type) {
-          case '区域': {
-            var tempData = this.areaId.split('-')
-            if (tempData.length === 2) {
-              this.ajaxParams.province = tempData[0]
-              this.ajaxParams.city = tempData[1]
-              if (tempData[0] === tempData[1]) {
-                this.infoMap.area = tempData[0]
-              } else {
-                this.infoMap.area = tempData[0] + ' ' + tempData[1]
-              }
-            }
-            break
-          }
-          case '行业': {
-            var tempData = this.classId.split('-')
-            if (tempData.length === 2) {
-              this.ajaxParams.industry = tempData[0] + '_' + tempData[1]
-              this.infoMap.class = tempData[0] + ' ' + tempData[1]
-            }
-            break
-          }
-          case '受雇类型': {
-            var tempData = this.conditionMap[type].filter(v => v.checked)
-            this.setCheckForData('hireType', 'type', tempData[0].title)
-            break
-          }
-          case '公司类型': {
-            var tempData = this.conditionMap[type].filter(v => v.checked).map(v => v.title)
-            this.setCheckForData('companyType', 'companyType', tempData.join(','))
-            break
-          }
           case '职位': {
             var tempData = this.conditionMap[type].filter(v => v.checked)
             this.setCheckForData('position', 'position', tempData[0].title)
             break
           }
-          case '公司规模': {
-            var tempData = this.conditionMap[type].filter(v => v.checked)
-            this.setCheckForData('company_size', 'company_size', tempData[0].title)
-            break
-          }
           case '部门': {
             var tempData = this.conditionMap[type].filter(v => v.checked)
             this.setCheckForData('branch', 'branch', tempData[0].title)
@@ -1049,30 +883,10 @@
       },
       openPop(type) {
         switch (type) {
-          case '区域': {
-            this.popInfo.title = '请选择所在地域'
-            break
-          }
-          case '行业': {
-            this.popInfo.title = '请选择所在行业'
-            break
-          }
-          case '受雇类型': {
-            this.popInfo.title = '受雇类型'
-            break
-          }
-          case '公司类型': {
-            this.popInfo.title = '公司类型'
-            break
-          }
           case '职位': {
             this.popInfo.title = '职位'
             break
           }
-          case '公司规模': {
-            this.popInfo.title = '公司规模'
-            break
-          }
           case '部门': {
             this.popInfo.title = '部门'
             break

+ 25 - 2
src/web/templates/pc/biddetail_rec.html

@@ -538,8 +538,25 @@
 						</div>
 					</div>
 				</div>
+				<div class="mask-zzz hidden" style="position:absolute; top:0;width: 900px;padding:0;height: 408px;background-color:white;z-index: 1;">
+					<img style="width: 100%;height: 100%" src="/images/pc/pc_mh.png">
+					<div class="mask-zzz" style="position:absolute; left: 50%; top: 50%; transform: translate3d(-50%, -50%, 0);width: 500px;background-color: white;z-index: 100;border-radius: 10px">
+						<div style="position: relative">
+							<img style="width: 100%;height: 35%" src='{{Msg "seo" "cdn"}}/images/pc/pc_zzt.png?v={{Msg "seo" "version"}}'>
+							<div style="position: absolute;top: 50%;left: 50%; margin-top: -13px;margin-left: -90px;width: 180px;height: 26px;color: antiquewhite;font-size: 16px;">免费查看更多公告</div>
+						</div>
+						<div class="tip-box">
+							<div class="tip-text">请完善个人信息,获取更多免费查看公告权限</div>
+							<button class="detail-nj-btn  jyarticle_see3" style="background: #2CB7CA;color: white;border:none;width: 132px;height: 36px;border-radius: 6px;margin-bottom: 12px;margin-top: 10px">立即解锁</button>
+						</div>
+					</div>
+				</div>
 			</div>
-
+			<!-- <script>
+				$(".jyarticle_see3").click(function(){
+					location.href=""
+				})
+			</script> -->
 			<div class="lead-btn-nj" style="color:#2cb7ca;margin:15px 0;display:none;"><div class="adv_tosieve"></div><div class="join" onclick="adv_statistics(this)"><a style="color:#fff;text-decoration:none" class="adv_tosieve-btn"></a></div></div>
 			{{if .T.obj.detail}}
 			<div class="recoveryfat" style="display:none;">
@@ -1339,6 +1356,7 @@ var ucbs_source="pc_rec",ucbsId="{{.T.obj.ucbsId}}";
 			vip = res.data.vip
       privatedata = res.data.privatedata
 			var subType = {{.T.obj.subtype}}
+			var canRead = {{.T.canRead}}
 			// if(subType == '采购意向' && !bidmember && !entniche && vip <=0){
 			// 	$(".com-prebuilt").removeClass("hidden");
 			// }
@@ -1347,7 +1365,12 @@ var ucbs_source="pc_rec",ucbsId="{{.T.obj.ucbsId}}";
 				$(".tip-box .tip-text").eq(0).text('采购意向项目全公开,抢先获知采购项目需求,')
 				$(".tip-box .tip-text").eq(1).text('提前主动介入,中标几率更高!')
 			}
-			if ((subType == '拟建' || subType == '采购意向') && !bidmember && !entniche && vip <=0 && !privatedata){
+			// 免费用户每日查看三次
+			if(canRead = false) {
+				$('#tip-title').text('免费查看更多公告!')
+				$(".tip-box .tip-text").eq(0).text('请完善个人信息,获取更多免费查看公告权限')
+			}
+			if ((subType == '拟建' || subType == '采购意向' || canRead) && !bidmember && !entniche && vip <=0 && !privatedata){
 				$(".com-prebuilt").removeClass("hidden");
 				$(".com-prebuilt").css('height', '408px')
 				$('.original-text').remove()

+ 9 - 1
src/web/templates/weixin/wxinfocontent_rec.html

@@ -1303,6 +1303,7 @@ var buyer_ = {{.T.obj.buyer}};
 var buyerperson_ = {{.T.obj.buyerperson}};
 var buyertel_ = {{.T.obj.buyertel}};
 var isbid =false; //是否是中标,需要显示所有
+var canRead = {{.T.canRead}} //免费用户当天查看是否查看三次公告
 //拟建项目广告
 var nj_adv=["批量导出拟建项目"]
 //招标公告广告
@@ -1633,7 +1634,11 @@ function checkShowDialog () {
 		$('#dialog-tip-title').text('想中标?提前介入很关键!')
 		$(".dialog-tip-text").html('采购意向项目全公开,抢先获知采购项目需求,<br> 提前主动介入,中标几率更高!')
 	}
-	if (subtype == '拟建'||subtype == '采购意向') {
+	if (canRead){
+            $('#dialog-tip-title').text('免费查看更多公告')
+            $(".dialog-tip-text").html('请完善个人信息,获取更多免费查看公告权限')
+        }
+	if (subtype == '拟建'||subtype == '采购意向'|| canRead) {
 		$(".prebuilt").remove()
 		$(".mask-zz").removeClass("hidden");
     $(".reward").hide();
@@ -1652,6 +1657,9 @@ $('.free-btn-reword').on('click', function() {
 	if (subType == '采购意向') {
 		sourceKey = 'article_purchase_intention'
 	}
+	if( canRead) {
+            location.href = '/jyapp/frontPage/bigmember/free/perfect_info?source=jyarticle_see3_plus_wx'
+        }
 	//  留资判断
 	location.href = '/weixin/frontPage/bigmember/free/perfect_info?source=' + sourceKey
 })