#
whycq
2023-01-25 236bcb2b593235e2c530f21a1cfadff98c0218a0
#
4个文件已修改
1个文件已添加
99 ■■■■ 已修改文件
Monitor-APP/App.vue 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Monitor-APP/index.html 4 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
Monitor-APP/pages.json 12 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Monitor-APP/pages/index.vue 23 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Monitor-APP/static/css/common.css 59 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Monitor-APP/App.vue
@@ -14,5 +14,4 @@
<style>
    /*每个页面公共css */
    @import '@/common/uni.css';
</style>
Monitor-APP/index.html
@@ -14,7 +14,9 @@
    <!--app-context-->
  </head>
  <body>
    <div id="app"><!--app-html--></div>
        <div id="app">
            <!--app-html-->
        </div>
    <script type="module" src="/main.js"></script>
  </body>
</html>
Monitor-APP/pages.json
@@ -1,9 +1,19 @@
{
    "pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
        {
            "path": "pages/index",
            "style": {
                "navigationStyle": "custom",
                // 去掉顶部导航栏
                "app-plus": {
                    "titleNView": false
                }
            }
        },
        {
            "path": "pages/home/home",
            "style": {
                "navigationStyle":"home",
                "navigationStyle": "custom",
                // 去掉顶部导航栏
                "app-plus": {
                    "titleNView": false
Monitor-APP/pages/index.vue
New file
@@ -0,0 +1,23 @@
<template>
    <view class="container">
    </view>
</template>
<script setup lang="ts">
</script>
<style lang="less" scoped>
    // page 设置可以重置这些
    page {
      width: 100%;
      height: 100%;
    }
    .container {
        height: 100%;
        width: 100%;
        background-image: url(../static/background.png);
        background-size: 100% 100%;
    }
</style>
Monitor-APP/static/css/common.css
@@ -1,25 +1,48 @@
/* @media (max-width: 1900px) {
    view {
        font-size: 100px;
/* http://meyerweb.com/eric/tools/css/reset/
   v2.0 | 20110126
   License: none (public domain)
*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
    }
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
    display: block;
}
@media (max-width: 1400px) {
    view {
        font-size: 25px;
body {
    line-height: 1;
    }
ol, ul {
    list-style: none;
}
@media (max-width: 1200px) {
    view {
        font-size: 20px;
blockquote, q {
    quotes: none;
    }
blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}
@media (max-width: 992px) {
    view {
        font-size: 12px;
table {
    border-collapse: collapse;
    border-spacing: 0;
    }
}
@media (max-width: 768px) {
    view {
        font-size: 10px;
    }
} */