fix bug, 解决tauri打包没有网络访问的问题

This commit is contained in:
zilong
2021-10-25 19:11:19 +08:00
parent d40c8eea47
commit e766634a42
6 changed files with 36 additions and 32 deletions

View File

@@ -154,12 +154,12 @@ const route = useRoute();
<div class="lmt-width">
<n-layout>
<n-layout-header
style="padding: 6px 12px; font-size: 10px"
style="padding: 6px 12px; font-size: 12px"
>
{{ lastPlayed.length }}最多100
</n-layout-header>
<n-layout has-sider>
<n-layout-content style="padding: 6px 12px">
<n-layout-content style="padding: 0px 12px 6px 12px">
<n-button-group size="small">
<n-button
type="primary"
@@ -175,7 +175,7 @@ const route = useRoute();
type="primary"
round
style="
font-size: 26px;
font-size: 20px;
padding: 0 6px 0 2px;
"
>

View File

@@ -84,7 +84,7 @@ onUnmounted(() => {
<template>
<div id="songInfo">
<NAvatar
<NAvatar style="border: 1px #ccc solid;"
:size="40"
v-show="showInfo"
:src="info.album.picUrl"
@@ -124,13 +124,15 @@ export default {};
display: flex;
align-items: center;
.song-name{
.text-el-line();
// flex: 1;
.text-el-line-normal();
}
.song-author {
// flex: 1;
margin-left: 4px;
color: #aaa;
font-size: 13px;
.text-el-line();
.text-el-line-normal();
}
}
.song-time {

View File

@@ -190,7 +190,7 @@ const arLeave = () => {
class="mn"
text
type="primary"
style="font-size: 20px"
style="font-size: 18px"
>
<NIcon>
<svg-dots />
@@ -268,7 +268,7 @@ export default {};
width: 20px;
}
.name {
flex: 1;
flex: 3;
.text-el-line-normal();
display: flex;
align-items: center;
@@ -282,11 +282,13 @@ export default {};
}
}
.ar {
width: 120px;
// width: 120px;
flex: 2;
.text-el-line-normal();
}
.al {
width: 80px;
// width: 80px;
flex: 1;
margin-top: 1px;
color: #999;
font-size: 12px;