Просмотр исходного кода

普通目录图片反了的问题

“yueshang” 1 год назад
Родитель
Сommit
f93070cdad

+ 3 - 3
src/views/department/MyFile.vue

@@ -45,10 +45,10 @@
                                     v-if="item.encryptLevel"
                                 > 
                                 <template #content> 安全级别: {{ item.encryptLevel == 'L1'?'敏感':(item.encryptLevel == 'L2'?'涉密':(item.encryptLevel == 'L3'?'机密':'绝密')) }} </template>
-                                <img :src="item.dirType=='1'?ordinaryList:fileStyle" style="width: 72px;height: 72px;" class="shouzhi">
+                                <img :src="item.dirType=='1'?fileStyle:ordinaryList" style="width: 72px;height: 72px;" class="shouzhi">
                               </el-tooltip>
 
-                              <img :src="item.dirType=='1'?ordinaryList:fileStyle" class="shouzhi" style="width: 72px;height: 72px;" v-else>
+                              <img :src="item.dirType=='1'?fileStyle:ordinaryList" class="shouzhi" style="width: 72px;height: 72px;" v-else>
                                 <el-tooltip
                                   class="box-item tool-tip"
                                   effect="dark"
@@ -195,7 +195,7 @@
                                                 <Star />
                                             </el-icon>
                                             <img v-else @click.stop="delCollect(scope.row,true)" src="../../assets/images/yellowstar.png" alt="" class="juli">
-                                            <img :src="scope.row.dirType=='1'?ordinary:fileBox" style="width: 20px;height: 24px;"
+                                            <img :src="scope.row.dirType=='1'?fileBox:ordinary" style="width: 20px;height: 24px;"
                                                 alt="" class="juli">
                                                 <span class="shouzhi"> {{ scope.row.dirName }}</span>
                                         </span>

+ 1 - 1
src/views/department/components/PlaceGridFolder.vue

@@ -8,7 +8,7 @@
                     <div class="flexBox" @contextmenu="rightClick(item, index, $event)" @click="folderClickGrid(item)">
                         <!-- 图片 -->
                         <div class="imgBox">
-                            <img :src="item.dirType=='1'?ordinaryList:fileBox"
+                            <img :src="item.dirType=='1'?fileBox:ordinaryList"
                               alt="" style="vertical-align: middle;cursor: pointer;">
                         </div>
                         <!-- 名称 -->

+ 3 - 3
src/views/publicment/MyFile.vue

@@ -45,8 +45,8 @@
                                     v-if="item.encryptLevel"
                                 > 
                                 <template #content> 安全级别: {{ item.encryptLevel == 'L1'?'敏感':(item.encryptLevel == 'L2'?'涉密':(item.encryptLevel == 'L3'?'机密':'绝密')) }} </template>
-                                <img :src="item.dirType=='1'?ordinaryList:fileStyle" style="width: 72px;height: 72px;" class="shouzhi"></el-tooltip>
-                                <img :src="item.dirType=='1'?ordinaryList:fileStyle" style="width: 72px;height: 72px;" class="shouzhi" v-else>
+                                <img :src="item.dirType=='1'?fileStyle:ordinaryList" style="width: 72px;height: 72px;" class="shouzhi"></el-tooltip>
+                                <img :src="item.dirType=='1'?fileStyle:ordinaryList" style="width: 72px;height: 72px;" class="shouzhi" v-else>
                                 <el-tooltip
                                   class="box-item tool-tip"
                                   effect="dark"
@@ -193,7 +193,7 @@
                                                 <Star />
                                             </el-icon>
                                             <img v-else @click.stop="delCollect(scope.row,true)" src="../../assets/images/yellowstar.png" alt="" class="juli">
-                                            <img :src="scope.row.dirType=='1'?ordinary:fileBox" style="width: 20px;height: 24px;"
+                                            <img :src="scope.row.dirType=='1'?fileBox:ordinary" style="width: 20px;height: 24px;"
                                                 alt="" class="juli">
                                                 <span class="shouzhi">{{ scope.row.dirName }}</span>
                                         </span>

+ 1 - 1
src/views/publicment/components/PlaceGridFolder.vue

@@ -8,7 +8,7 @@
                     <div class="flexBox" @contextmenu="rightClick(item, index, $event)" @click="folderClickGrid(item)">
                         <!-- 图片 -->
                         <div class="imgBox">
-                            <img :src="item.dirType=='1'?ordinaryList:fileBox"
+                            <img :src="item.dirType=='1'?fileBox:ordinaryList"
                               alt="" style="vertical-align: middle;cursor: pointer;">
                         </div>
                         <!-- 名称 -->