6969 margin-bottom : constant (safe-area-inset-bottom) !important ;
7070 margin-bottom : env (safe-area-inset-bottom) !important ;
7171 }
72+ .v-main .container {
73+ height : 100% ;
74+ }
7275 .v-bottom-navigation ,
7376 .v-bottom-sheet {
7477 padding-bottom : constant (safe-area-inset-bottom);
457460 <!-- 主页 -->
458461 < v-container
459462 fluid
460- class ="fill-height "
461463 v-show ="view === '' "
462464 v-touch ="{
463465 up: () => {
827829 right: back
828830 } "
829831 >
830- < v-card flat style ="width: inherit; ">
832+ < v-card rounded =" 0 " flat style ="width: inherit; ">
831833 < v-subheader >
832834 < h2 > 脚本编辑器</ h2 >
833835 < v-spacer > </ v-spacer >
@@ -846,7 +848,7 @@ <h2>脚本编辑器</h2>
846848 right: back
847849 } "
848850 >
849- < v-subheader class =" align-self-start " >
851+ < v-subheader >
850852 < h2 :style ="appTitleStyle "> {{curapp.name}}</ h2 >
851853 < v-spacer > </ v-spacer >
852854 < v-btn v-if ="curapp.script " icon :loading ="isLoading " @click ="runRemoteScript(curapp.script, curapp.script_timeout) ">
@@ -1113,21 +1115,20 @@ <h2 :style="appTitleStyle">{{curapp.name}}</h2>
11131115 <!-- 备份详情 -->
11141116 < v-container
11151117 fluid
1116- class ="fill-height "
11171118 v-else-if ="view === 'bak' && !!curbak "
11181119 v-touch ="{
11191120 right: back
11201121 } "
11211122 >
11221123 < v-subheader >
1123- < h2 > {{curbak.name}}</ h2 >
1124+ < h2 :style =" appTitleStyle " > {{curbak.name}}</ h2 >
11241125 < v-spacer > </ v-spacer >
11251126 < v-btn icon color ="primary " @click ="revertGlobalBak ">
11261127 < v-icon > mdi-share-circle</ v-icon >
11271128 </ v-btn >
11281129 </ v-subheader >
1129- < v-card flat class ="mb-4 " color =" transparent ">
1130- < v-card-subtitle class =" py-0 " >
1130+ < v-card class ="mb-4 ">
1131+ < v-card-subtitle >
11311132 < p class ="my-0 "> 说明:</ p >
11321133 < p class ="my-0 "> 1. 点击右上角 < v-icon color ="primary " small > mdi-share-circle</ v-icon > 按钮还原!</ p >
11331134 < p class ="my-0 "> 2. 点击 < v-icon color ="primary " small > mdi-clipboard-text-multiple</ v-icon > 按钮可复制备份.</ p >
@@ -1745,7 +1746,7 @@ <h2 :class="version === ver.version ? 'primary--text' : undefined">v{{ver.versio
17451746 this . ui . editor = monaco . editor . create ( document . getElementById ( 'container' ) , {
17461747 fontSize : 12 ,
17471748 tabSize : 2 ,
1748- value : this . env === 'Surge' && this . box . usercfgs . httpapi ? surgejs_demo . join ( '\n' ) : envjs_demo . join ( '\n' ) ,
1749+ value : this . env . id === 'Surge' && this . box . usercfgs . httpapi ? surgejs_demo . join ( '\n' ) : envjs_demo . join ( '\n' ) ,
17491750 language : 'javascript' ,
17501751 minimap : { enabled : false } ,
17511752 theme : this . isDarkMode ? 'vs-dark' : 'vs'
0 commit comments