Selaa lähdekoodia

更新 资源路径;新功能日志

wzg 2 vuotta sitten
vanhempi
commit
6c8ded271a
2 muutettua tiedostoa jossa 11 lisäystä ja 11 poistoa
  1. 5 5
      src/components/Header.vue
  2. 6 6
      src/views/index/Login.vue

+ 5 - 5
src/components/Header.vue

@@ -74,10 +74,10 @@
 import store from "../store";
 import router from "../router";
 import { onMounted, ref } from "vue";
-import { AnonymousLogin, tcb } from "../apis/cloudLogin";
-const db = tcb.database();
-const v = db.collection("huihenduo_versions");
-const __ = db.command;
+// import { AnonymousLogin, tcb } from "../apis/cloudLogin";
+// const db = tcb.database();
+// const v = db.collection("huihenduo_versions");
+// const __ = db.command;
 
 let logoUrl = ref("");
 let cargoOwnerName = ref("");
@@ -112,7 +112,7 @@ async function cloudLogin() {
 }
 
 onMounted(() => {
-  cloudLogin();
+  // cloudLogin();
   // logoUrl.value = localStorage.logoUrl || "../assets/white-logo.png";
   cargoOwnerName.value = localStorage.userName;
 });

+ 6 - 6
src/views/index/Login.vue

@@ -55,7 +55,7 @@
         <div class="df aic jcc" style="margin-top: 55px">
           <img
             style="height: 20px"
-            src="https://6875-huihenduo-2gx127w7f837b584-1255802371.tcb.qcloud.la/miniapp-static/%E6%B1%87%E5%BE%88%E5%A4%9Alogo-%E5%B7%A6%E5%8F%B3.png"
+            src="https://frontend-1255802371.cos.ap-shanghai.myqcloud.com/miniapp-static/%E6%B1%87%E5%BE%88%E5%A4%9Alogo-%E5%B7%A6%E5%8F%B3.png"
             alt=""
           />
           <div
@@ -112,7 +112,7 @@ let cargoOwners = ref({
     cargoOwner: "嘉吉粮油",
     cargoOwnerId: 1,
     logoUrl:
-      "https://6875-huihenduo-2gx127w7f837b584-1255802371.tcb.qcloud.la/web-static/jjly.jpg",
+      "https://frontend-1255802371.cos.ap-shanghai.myqcloud.com/web-static/jjly.jpg",
   },
 
   // 路易达孚
@@ -120,7 +120,7 @@ let cargoOwners = ref({
     cargoOwner: "路易达孚",
     cargoOwnerId: 2,
     logoUrl:
-      "https://6875-huihenduo-2gx127w7f837b584-1255802371.tcb.qcloud.la/lydf-web/lydf-logo.png",
+      "https://frontend-1255802371.cos.ap-shanghai.myqcloud.com/lydf-web/lydf-logo.png",
   },
 
   // 泰兴邦基
@@ -128,7 +128,7 @@ let cargoOwners = ref({
     cargoOwner: "泰兴邦基",
     cargoOwnerId: 3,
     logoUrl:
-      "https://6875-huihenduo-2gx127w7f837b584-1255802371.tcb.qcloud.la/web-static/bunge.jpg",
+      "https://frontend-1255802371.cos.ap-shanghai.myqcloud.com/web-static/bunge.jpg",
   },
 
   // 双胞胎
@@ -143,7 +143,7 @@ let cargoOwners = ref({
 
     cargoOwnerId: 5,
     logoUrl:
-      "https://6875-huihenduo-2gx127w7f837b584-1255802371.tcb.qcloud.la/%E4%B8%9C%E6%B5%B7%E7%B2%AE%E6%B2%B9/dhly.png",
+      "https://frontend-1255802371.cos.ap-shanghai.myqcloud.com/%E4%B8%9C%E6%B5%B7%E7%B2%AE%E6%B2%B9/dhly.png",
   },
 
   // 中储粮
@@ -156,7 +156,7 @@ let cargoOwners = ref({
     cargoOwner: "物产中大化工集团有限公司",
     cargoOwnerId: 7,
     logoUrl:
-      "https://6875-huihenduo-2gx127w7f837b584-1255802371.tcb.qcloud.la/web-static/wuchan3.jpg",
+      "https://frontend-1255802371.cos.ap-shanghai.myqcloud.com/web-static/wuchan3.jpg",
   },
 
   // 浙江粮贸