浏览代码

fix: 示例图片高度调整

Signed-off-by: tangshizhe <48740614+tangshizhe@users.noreply.github.com>
tangshizhe 1 年之前
父节点
当前提交
effbfde9bc
共有 2 个文件被更改,包括 6 次插入2 次删除
  1. 3 1
      src/web/templates/pc/biddetail_rec.html
  2. 3 1
      src/web/templates/pc/tags/detail.html

+ 3 - 1
src/web/templates/pc/biddetail_rec.html

@@ -853,7 +853,7 @@
                             <div id="tip-title" style="position: absolute;top: 50%;left: 50%; margin-top: -38px;transform: translateX(-50%);height: 26px;color: antiquewhite;font-size: 14px;">拟建项目抢先获知</div>
                         </div>
                         <div class="tip-box">
-                            <div class="tip-box-example" style="width: 602px;height: auto;margin-top: -88px;z-index: 9;">
+                            <div class="tip-box-example" style="width: 602px;margin-top: -88px;z-index: 9;">
                               <img style="width: 100%;height: 100%;" src="{{Msg "seo" "cdn"}}/images/pc/pc-cq-example.png?v={{Msg "seo" "version"}}" alt="">
                             </div>
                             <div class="tip-text" style="margin-top: 12px">提前获取正在审批中的新项目,比招标信息更超前!</div>
@@ -1942,6 +1942,7 @@ var ucbs_source="pc_rec",ucbsId="{{.T.obj.ucbsId}}";
           $(".tip-box .tip-text").eq(1).text('')
           $(".detail-nj-btn").text("点击进入")
           $('.tip-box-example img').attr('src', '{{Msg "seo" "cdn"}}/images/pc/pc-cq-example.png?v={{Msg "seo" "version"}}')
+          $('.tip-box-example').css('height', '324px')
           // $('.caigouyixiang-guide').removeClass('hidden')
         }
         if(subType == "拟建") {
@@ -1949,6 +1950,7 @@ var ucbs_source="pc_rec",ucbsId="{{.T.obj.ucbsId}}";
           $(".tip-box .tip-text").eq(0).text('提前3-12个月获取审批中的新项目,超前项目抢先介入,商机提前掌控。')
           $(".tip-box .tip-text").eq(1).text('')
           $('.tip-box-example img').attr('src', '{{Msg "seo" "cdn"}}/images/pc/pc-nj-example.png?v={{Msg "seo" "version"}}')
+          $('.tip-box-example').css('height', '357px')
           $(".detail-nj-btn").text("点击进入")
         }
 

+ 3 - 1
src/web/templates/pc/tags/detail.html

@@ -219,7 +219,7 @@
                         <div id="tip-title" style="position: absolute;top: 50%;left: 50%; margin-top: -38px;transform: translateX(-50%);height: 26px;color: antiquewhite;font-size: 14px;"></div>
                     </div>
                     <div class="tip-box" style="position: absolute;">
-                        <div class="tip-box-example" style="width: 602px;height: auto;margin-top: -88px;z-index: 9;">
+                        <div class="tip-box-example" style="width: 602px;margin-top: -88px;z-index: 9;">
                           <img style="width: 100%;height: 100%;" src="{{Msg "seo" "cdn"}}/images/pc/pc-cq-example.png?v={{Msg "seo" "version"}}" alt="">
                         </div>
                         <div class="tip-text" style="margin-top: 12px"></div>
@@ -365,10 +365,12 @@
       $('.bid-content #tip-title').text('超前项目抢先知,中标更容易')
       $('.bid-content .tip-text').text('提前3-12个月获取审批中的新项目,超前项目抢先介入,商机提前掌控。')
       $('.tip-box-example img').attr('src', '{{Msg "seo" "cdn"}}/images/pc/pc-nj-example.png?v={{Msg "seo" "version"}}')
+      $('.tip-box-example').css('height', '357px')
     } else if (subtype == '采购意向') {
       $('.bid-content #tip-title').text('项目提前介入,中标更轻松')
       $('.bid-content .tip-text').text('提前1-3个月获取项目信息,及早介入准备更充分')
       $('.tip-box-example img').attr('src', '{{Msg "seo" "cdn"}}/images/pc/pc-cq-example.png?v={{Msg "seo" "version"}}')
+      $('.tip-box-example').css('height', '324px')
     }
     var loginTimer = null
     $('.reg-node').click(function(){