Эх сурвалжийг харах

feat: 订阅筛选样式调整

Signed-off-by: tangshizhe <48740614+tangshizhe@users.noreply.github.com>
tangshizhe 1 жил өмнө
parent
commit
381aa73fc4

+ 6 - 9
apps/bigmember_pc/src/views/subscribe/SubPush.vue

@@ -1410,6 +1410,8 @@ export default {
   position: relative;
   position: relative;
   display: flex;
   display: flex;
   align-items: center;
   align-items: center;
+  margin-top: 16px;
+  background: #fff;
 
 
   .free-vip{
   .free-vip{
     margin-left: -24px;
     margin-left: -24px;
@@ -1540,9 +1542,6 @@ export default {
     .selector-card:not(:last-of-type){
     .selector-card:not(:last-of-type){
       border-bottom: none;
       border-bottom: none;
     }
     }
-    .search-schema-filter-container {
-      padding: 0 32px;
-    }
     .selector-card.s-line .selector-card-header{
     .selector-card.s-line .selector-card-header{
       margin-right: 12px;
       margin-right: 12px;
       min-width: 70px;
       min-width: 70px;
@@ -1569,12 +1568,8 @@ export default {
       border-radius: 0 0 8px 8px;
       border-radius: 0 0 8px 8px;
     }
     }
 
 
-    .selector-card:first-child {
-      border-radius: 8px 8px 0 0;
-    }
-
     .selector-card.s-line {
     .selector-card.s-line {
-      padding: 12px 32px;
+      padding: 0;
     }
     }
 
 
     .selector-card.s-line .selector-card-header {
     .selector-card.s-line .selector-card-header {
@@ -2011,7 +2006,9 @@ export default {
   .border-box {
   .border-box {
     margin-top: 12px;
     margin-top: 12px;
     // border: 1px solid #ececec;
     // border: 1px solid #ececec;
-    border-radius: 5px;
+    border-radius: 8px;
+    padding: 16px 32px;
+    background: #fff;
   }
   }
 
 
   .m-24 {
   .m-24 {

+ 0 - 33
apps/bigmember_pc/src/views/subscribe/constant/search-filters.js

@@ -27,43 +27,10 @@ const moreFiltersNeedVipKeyList = [
   'staffs'
   'staffs'
 ]
 ]
 
 
-function noPower() {
-  $bus.$emit('search:filter:no-power')
-}
-function beforeChangeHandle ($event, char, isLogin) {
-  if(isLogin) {
-    return true
-  }
-  // 发布时间
-  if(char === 'publishTime') {
-    if($event.value === 'sinceLastYear') {
-      return true
-    } else {
-      $bus.$emit('bidding:goLogin')
-      return false
-    }
-  } else if(char === 'selectType') {
-    if($event.value === 'file') {
-      $bus.$emit('bidding:goLogin')
-      return false
-    } else {
-      return true
-    }
-  } else if (char === 'subtype') {
-    if($event.value) {
-      $bus.$emit('bidding:goLogin')
-    } else {
-      return true
-    }
-  }
-}
-
-
 // 更多筛选
 // 更多筛选
 function createSubscribeMoreSchema(conf = {}) {
 function createSubscribeMoreSchema(conf = {}) {
   const vt = conf.vt.value || 'f'
   const vt = conf.vt.value || 'f'
   const isFree = conf.isFree.value || false
   const isFree = conf.isFree.value || false
-  console.log(conf, 'conf')
   let SubscribeMoreSchema = [
   let SubscribeMoreSchema = [
     {
     {
       key: 'keyWords',
       key: 'keyWords',