浏览代码

style: 处理样式问题

zhangyuhan 1 年之前
父节点
当前提交
d06b452383

+ 1 - 0
src/web/staticres/css/pc.css

@@ -5474,6 +5474,7 @@ h6 {
 #guide-go-workspace .highlight-content button {
   text-decoration-line: underline;
   background: transparent;
+  padding: 0;
 }
 #guide-go-workspace .highlight-content {
   display: inline-block;

+ 1 - 1
src/web/staticres/js/ent-search-index-pc.js

@@ -365,7 +365,7 @@ var entSearch = new Vue({
     methods: {
       // 引导文案点击事件
       guideGoWorkSpace: function () {
-        if (!this.islogin) {
+        if (!this.isLogin) {
           return openLoginDig()
         }
         this.goWorkSpace()

+ 9 - 0
src/web/templates/pc/entsearchindex.html

@@ -29,6 +29,10 @@
             .bg-white {
                 background-color: #fff;
             }
+            .selector-content.fix-group-width {
+              padding-right: 12px;
+              flex: unset;
+            }
             .diy-for-register-group.money-select-group .selector-content {
               flex: unset;
             }
@@ -141,6 +145,10 @@
             .search-tab-right{
               float: right;
             }
+            #guide-go-workspace {
+              height: 28px;
+              align-self: center;
+            }
         </style>
 	</head>
 
@@ -236,6 +244,7 @@
                         <div class="selector-card-content">
                             <select-list-component
                                 ref="searchType"
+                                :class="!goTemplateData.inIframe ? 'fix-group-width' : ''"
                                 :list="searchTypeListComputed"
                                 select-button-type="checkbox"
                                 :show-all-button="false"