소스 검색

no message

linwenxin 1 년 전
부모
커밋
f635d8fbb0
2개의 변경된 파일5개의 추가작업 그리고 5개의 파일을 삭제
  1. 3 3
      src/views/login/index.vue
  2. 2 2
      src/views/setting/loginSetting/index.vue

+ 3 - 3
src/views/login/index.vue

@@ -7,13 +7,13 @@
           <div class="flex">
             <div class="image-container">
               <div class="empty-height2 fiexlay">
-                <img v-if="companyList[0] && companyList[0].logo" class="logo" :src="$imageUrl + companyList[0].logo"
+                <img v-if="companyList[0] && companyList[0].logo" class="logo" :src="companyList[0].logo"
                   alt />
                 {{ companyList[0] && companyList[0].sysName ? companyList[0].sysName : '' }}
               </div>
               <el-carousel :interval="5000" arrow="always" height="440px" class="carousel">
                 <el-carousel-item v-for="item in banner" :key="item.id">
-                  <el-image :z-index="1" :src="imageURL + item.imgCarouselUrl" />
+                  <el-image :z-index="1" :src="item.imgCarouselUrl" />
                 </el-carousel-item>
               </el-carousel>
             </div>
@@ -76,7 +76,7 @@
           <span v-if="dictList.length > 0" :underline="false" target="_blank">友链:</span>
           <el-link style="margin-left: 10px" v-for="(v, i) in dictList" :key="i" :href="v.amityUrl" :underline="false"
             target="_blank">
-            <el-image style="width: 14px; height: 16px" :src="$imageUrl + v.amityUrlLogo"></el-image>
+            <el-image style="width: 14px; height: 16px" :src=" v.amityUrlLogo"></el-image>
             {{ v.amityUrlName }}</el-link>
         </div>
       </div>

+ 2 - 2
src/views/setting/loginSetting/index.vue

@@ -28,7 +28,7 @@
         <el-table-column align="center" label="轮播图" prop="imgCarouselUrl" min-width="120" show-overflow-tooltip>
           <template slot-scope="scope">
             <a :href="scope.row.imgCarouselUrl">
-              <img :src="imageURL + scope.row.imgCarouselUrl" alt="轮播图" class="el-image__inner el-image__preview" />
+              <img :src="scope.row.imgCarouselUrl" alt="轮播图" class="el-image__inner el-image__preview" />
             </a>
           </template>
         </el-table-column>
@@ -274,7 +274,7 @@ export default {
   mixins: [Mixin],
   data() {
     return {
-      imageURL: this.$imageUrl,
+      imageURL: '',
       type: 0, // 0,1
       screenForm: {
         companyRecordManageId: '',