Ver Fonte

fix: adCodeMap更改

cuiyalong há 4 anos atrás
pai
commit
8c647d4d41

+ 4 - 4
src/assets/style/reset-ele.scss

@@ -36,8 +36,8 @@
 
   .el-button--main {
     font-family: Microsoft YaHei, Microsoft YaHei-Regular;
-    border-color: #2cb7ca;
-    background: #2cb7ca;
+    border-color: $color-text--highlight;
+    background: $color-text--highlight;
     border-radius: 6px;
     padding: 8px 16px;
     box-sizing: border-box;
@@ -46,8 +46,8 @@
     color: #fff;
     line-height: 24px;
     &:hover, &:focus {
-      border-color: #2cb7ca;
-      background: #2cb7ca;
+      border-color: $color-text--highlight;
+      background: $color-text--highlight;
       color: #fff;
     }
   }

+ 4 - 4
src/components/common/ContentLayout.vue

@@ -56,10 +56,10 @@ export default {
       routerName: '',
       adCodeMap: {
         projectInfo: 'jy-pc-bigmember-project-content-right', // 项目详情页右侧广告位code
-        entportrayal: 'jy-pc-bigmember-entportrayal-content-right', // 企业情报详情页右侧广告位code
-        unitportrayal: 'jy-pc-bigmember-unitportrayal-content-right', // 采购单位全景分析详情页右侧广告位code
-        month: 'jy-pc-bigmember-month-content-right', // 数据月报右侧
-        week: 'jy-pc-bigmember-week-content-right' // 数据周报右侧
+        'ent_portrait': 'jy-pc-bigmember-entportrayal-content-right', // 企业情报详情页右侧广告位code
+        'unit_portrayal': 'jy-pc-bigmember-unitportrayal-content-right', // 采购单位全景分析详情页右侧广告位code
+        'bigvip_subreport_month': 'jy-pc-bigmember-month-content-right', // 数据月报右侧
+        'bigvip_subreport_week': 'jy-pc-bigmember-week-content-right' // 数据周报右侧
       },
       adList: [
         // {