Browse Source

客户才能开发banner图

tanxue 4 năm trước cách đây
mục cha
commit
fe99fdec3e
2 tập tin đã thay đổi với 1 bổ sung2 xóa
  1. 0 1
      assets/scss/cus-client/cus-client-page.scss
  2. 1 1
      pages/courseware/index.vue

+ 0 - 1
assets/scss/cus-client/cus-client-page.scss

@@ -399,7 +399,6 @@
       width: 100%;
       height: 395px;
       background-color:#031073;
-      background-image: url("~static/images/client/index/index-banner-background.png");
       background-position-x: center;
       background-repeat: no-repeat;
     }

+ 1 - 1
pages/courseware/index.vue

@@ -1,7 +1,7 @@
 <template>
   <div class="client-course-page">
     <!-- 课程开发页 banner栏 -->
-    <div  @click="clickBanner(bannerList[0].url)" :style="{backgroundImage: `url(${bannerList[0].pic||''})`}" class="client-platform-banner"></div>
+    <div  @click="clickBanner(bannerList[0].url)" :style="{backgroundImage: `url(${bannerList[0].pic||require(`~/static/images/client/index/index-banner-background.png`)})`}" class="client-course-banner"></div>
 
     <!-- 菜单栏上方-->
     <div class="course-service-nav">