|
|
@@ -3,13 +3,14 @@
|
|
|
<div class="left">
|
|
|
<img class="first" src="../assets/three.png" alt="" />
|
|
|
<div class="shu"></div>
|
|
|
- <img class="logo" src="../assets/white-logo.png" alt="" />
|
|
|
+ <div class="cf fs20">{{ shippingCompany }}</div>
|
|
|
+ <!-- <img class="logo" src="../assets/white-logo.png" alt="" />
|
|
|
<div class="ml20" style="color: #fff; font-size: 18px">
|
|
|
version:{{ timelineData[0]?.version }}
|
|
|
- </div>
|
|
|
+ </div> -->
|
|
|
</div>
|
|
|
<div class="right">
|
|
|
- <div
|
|
|
+ <!-- <div
|
|
|
@click="dialogVisible = true"
|
|
|
class="pointer"
|
|
|
style="padding-top: 6px"
|
|
|
@@ -23,10 +24,10 @@
|
|
|
<BellFilled />
|
|
|
</el-icon>
|
|
|
</el-badge>
|
|
|
- </div>
|
|
|
+ </div> -->
|
|
|
<img class="user-icon" src="../assets/user.png" alt="" />
|
|
|
- <div class="user">{{ userName }}</div>
|
|
|
- <el-popover placement="bottom" trigger="hover" :width="280">
|
|
|
+ <div class="user">{{ loginName }}</div>
|
|
|
+ <!-- <el-popover placement="bottom" trigger="hover" :width="280">
|
|
|
<div
|
|
|
style="
|
|
|
width: 100%;
|
|
|
@@ -63,7 +64,7 @@
|
|
|
<div class="log">新功能日志</div>
|
|
|
</el-badge>
|
|
|
</template>
|
|
|
- </el-popover>
|
|
|
+ </el-popover> -->
|
|
|
<div class="quit" @click="quit">[退出]</div>
|
|
|
</div>
|
|
|
<el-dialog v-model="dialogVisible" title="拍照通知" width="30%">
|
|
|
@@ -157,6 +158,8 @@ async function getUnphotographNotice() {
|
|
|
isNewMessage.value = 0;
|
|
|
}
|
|
|
}
|
|
|
+let shippingCompany = ref("");
|
|
|
+let loginName = ref("");
|
|
|
onMounted(() => {
|
|
|
// getUnphotographNotice();
|
|
|
// setInterval(async () => {
|
|
|
@@ -164,7 +167,9 @@ onMounted(() => {
|
|
|
// getUnphotographNotice();
|
|
|
// }
|
|
|
// }, 2 * 60 * 1000);
|
|
|
- cloudLogin();
|
|
|
+ // cloudLogin();
|
|
|
+ shippingCompany.value = localStorage.shippingCompany;
|
|
|
+ loginName.value = localStorage.loginName;
|
|
|
});
|
|
|
let timelineData = ref([]);
|
|
|
async function cloudLogin() {
|