瀏覽代碼

添加媒体图片示例图

306132416@qq.com 4 年之前
父節點
當前提交
8c20b45ff4
共有 6 個文件被更改,包括 7 次插入2 次删除
  1. 2 2
      src/App.vue
  2. 二進制
      src/img/dianping.jpg
  3. 二進制
      src/img/dongchedi.jpg
  4. 二進制
      src/img/xiaohongshu.jpg
  5. 二進制
      src/img/zhihu.png
  6. 5 0
      src/views/account/AccountManage.vue

+ 2 - 2
src/App.vue

@@ -135,7 +135,7 @@ export default {
     localTest(){
       // 本地调试打开
       this.loadingFlag = false;
-      this.isManufacturer = "manufacturer"; //  distributor
+      this.isManufacturer = "distributor"; //  distributor
       if (this.isManufacturer === "manufacturer") {
         if (this.$route.path === "/loading")
           this.$router.replace({ path: "/uploadInfor" });
@@ -161,7 +161,7 @@ export default {
   created() {
      this.loadingFlag = true;
      this.getData(); // 线上打开
-    //this.localTest();// 本地调试打开
+    // this.localTest();// 本地调试打开
   },
 };
 </script>

二進制
src/img/dianping.jpg


二進制
src/img/dongchedi.jpg


二進制
src/img/xiaohongshu.jpg


二進制
src/img/zhihu.png


+ 5 - 0
src/views/account/AccountManage.vue

@@ -34,6 +34,10 @@
           <img src="../../img/douyin.png" v-if="hoverImg === '抖音'" />
           <img src="../../img/toutiao.png" v-if="hoverImg === '今日头条'"/>
           <img src="../../img/weChat_video.png" v-if="hoverImg === '微信视频号'"/>
+          <img src="../../img/zhihu.png" v-if="hoverImg === '知乎'" style="width: 800px;"/>
+          <img src="../../img/xiaohongshu.jpg" v-if="hoverImg === '小红书'" />
+          <img src="../../img/dongchedi.jpg" v-if="hoverImg === '懂车帝'"/>
+          <img src="../../img/dianping.jpg" v-if="hoverImg === '大众点评'"/>
         </td>
       </table>
       <div class="footerTip">
@@ -169,6 +173,7 @@ export default {
     img {
       height: 100%;
       width: 100%;
+      object-fit: contain;
     }
   }
 }