mirror of
https://git.mirrors.martin98.com/https://github.com/sub-store-org/Sub-Store.git
synced 2025-06-16 02:37:19 +08:00
适配移动端web app
样式来自Chavyleung
This commit is contained in:
parent
aee89acfe8
commit
8b4c972f77
10
backend/.idea/workspace.xml
generated
10
backend/.idea/workspace.xml
generated
@ -20,11 +20,13 @@
|
|||||||
</component>
|
</component>
|
||||||
<component name="ChangeListManager">
|
<component name="ChangeListManager">
|
||||||
<list default="true" id="8b97a098-48b2-4e64-a9ef-522fe2d30b52" name="Default Changelist" comment="">
|
<list default="true" id="8b97a098-48b2-4e64-a9ef-522fe2d30b52" name="Default Changelist" comment="">
|
||||||
|
<change afterPath="$PROJECT_DIR$/../web/src/css/app.css" afterDir="false" />
|
||||||
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
|
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
|
||||||
<change beforePath="$PROJECT_DIR$/sub-store.js" beforeDir="false" afterPath="$PROJECT_DIR$/sub-store.js" afterDir="false" />
|
|
||||||
<change beforePath="$PROJECT_DIR$/../web/public/index.html" beforeDir="false" afterPath="$PROJECT_DIR$/../web/public/index.html" afterDir="false" />
|
|
||||||
<change beforePath="$PROJECT_DIR$/../web/src/App.vue" beforeDir="false" afterPath="$PROJECT_DIR$/../web/src/App.vue" afterDir="false" />
|
<change beforePath="$PROJECT_DIR$/../web/src/App.vue" beforeDir="false" afterPath="$PROJECT_DIR$/../web/src/App.vue" afterDir="false" />
|
||||||
<change beforePath="$PROJECT_DIR$/../web/src/config.js" beforeDir="false" afterPath="$PROJECT_DIR$/../web/src/config.js" afterDir="false" />
|
<change beforePath="$PROJECT_DIR$/../web/src/components/BottomNav.vue" beforeDir="false" afterPath="$PROJECT_DIR$/../web/src/components/BottomNav.vue" afterDir="false" />
|
||||||
|
<change beforePath="$PROJECT_DIR$/../web/src/components/TopToolbar.vue" beforeDir="false" afterPath="$PROJECT_DIR$/../web/src/components/TopToolbar.vue" afterDir="false" />
|
||||||
|
<change beforePath="$PROJECT_DIR$/../web/src/views/ProxyList.vue" beforeDir="false" afterPath="$PROJECT_DIR$/../web/src/components/ProxyList.vue" afterDir="false" />
|
||||||
|
<change beforePath="$PROJECT_DIR$/../web/src/views/Subscription.vue" beforeDir="false" afterPath="$PROJECT_DIR$/../web/src/views/Subscription.vue" afterDir="false" />
|
||||||
</list>
|
</list>
|
||||||
<option name="SHOW_DIALOG" value="false" />
|
<option name="SHOW_DIALOG" value="false" />
|
||||||
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
||||||
@ -80,7 +82,7 @@
|
|||||||
<workItem from="1598235270977" duration="126000" />
|
<workItem from="1598235270977" duration="126000" />
|
||||||
<workItem from="1598235738199" duration="3192000" />
|
<workItem from="1598235738199" duration="3192000" />
|
||||||
<workItem from="1598323737081" duration="1913000" />
|
<workItem from="1598323737081" duration="1913000" />
|
||||||
<workItem from="1598442849645" duration="4206000" />
|
<workItem from="1598442849645" duration="4231000" />
|
||||||
</task>
|
</task>
|
||||||
<servers />
|
<servers />
|
||||||
</component>
|
</component>
|
||||||
|
@ -74,7 +74,6 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
|
@import "css/app.css";
|
||||||
</style>
|
</style>
|
@ -34,4 +34,4 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
@ -63,4 +63,4 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
48
web/src/css/app.css
Normal file
48
web/src/css/app.css
Normal file
@ -0,0 +1,48 @@
|
|||||||
|
[v-cloak] {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
.text-pre-wrap {
|
||||||
|
white-space: pre-wrap !important;
|
||||||
|
}
|
||||||
|
.v-navigation-drawer {
|
||||||
|
padding-top: constant(safe-area-inset-top) !important;
|
||||||
|
padding-top: env(safe-area-inset-top) !important;
|
||||||
|
}
|
||||||
|
.v-bottom-sheet.v-dialog--fullscreen {
|
||||||
|
padding-top: constant(safe-area-inset-top) !important;
|
||||||
|
padding-top: env(safe-area-inset-top) !important;
|
||||||
|
}
|
||||||
|
.v-app-bar {
|
||||||
|
height: auto !important;
|
||||||
|
padding-top: constant(safe-area-inset-top) !important;
|
||||||
|
padding-top: env(safe-area-inset-top) !important;
|
||||||
|
}
|
||||||
|
.v-toolbar {
|
||||||
|
height: auto !important;
|
||||||
|
padding-top: constant(safe-area-inset-top) !important;
|
||||||
|
padding-top: env(safe-area-inset-top) !important;
|
||||||
|
}
|
||||||
|
.v-toolbar__content {
|
||||||
|
padding-left: 12px !important;
|
||||||
|
padding-right: 12px !important;
|
||||||
|
}
|
||||||
|
.v-main {
|
||||||
|
margin-top: constant(safe-area-inset-top) !important;
|
||||||
|
margin-top: env(safe-area-inset-top) !important;
|
||||||
|
margin-bottom: constant(safe-area-inset-bottom) !important;
|
||||||
|
margin-bottom: env(safe-area-inset-bottom) !important;
|
||||||
|
}
|
||||||
|
.v-main .container {
|
||||||
|
height: 100%;
|
||||||
|
}
|
||||||
|
.v-bottom-navigation,
|
||||||
|
.v-bottom-sheet {
|
||||||
|
padding-bottom: constant(safe-area-inset-bottom);
|
||||||
|
padding-bottom: env(safe-area-inset-bottom);
|
||||||
|
}
|
||||||
|
.v-bottom-navigation {
|
||||||
|
box-sizing: content-box;
|
||||||
|
}
|
||||||
|
.v-bottom-navigation button {
|
||||||
|
box-sizing: border-box;
|
||||||
|
}
|
@ -141,7 +141,7 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import ProxyList from "@/views/ProxyList";
|
import ProxyList from "@/components/ProxyList";
|
||||||
import {BACKEND_BASE} from "@/config";
|
import {BACKEND_BASE} from "@/config";
|
||||||
import {axios} from "@/utils";
|
import {axios} from "@/utils";
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user