<template> <div id="app" class="full-height"> <keep-alive> <router-view v-if="$route.meta.keepAlive"></router-view> </keep-alive> <router-view v-if="!$route.meta.keepAlive"></router-view> </div> </template> <script> // import { wxpermission } from '@/wxpermission' export default { name: 'App', created () { // wxpermission() }, mounted: function () { } } </script> <style> @import './assets/style.css'; html, body { height: 100%; } #app { font-size: 14px; font-family: "Microsoft YaHei",sans-serif; } @media screen and (max-width:600px){ /* 手机 */ #app { font-size: 14px; } } @media screen and (min-width:600px) and (max-width:960px) { /* pad */ #app { font-size: 24px; } } @media screen and (min-width:960px) { #app { font-size: 32px; } } ul { padding: 0; } ul li { list-style: none; } .full-page { width: 100%; min-height: 100%; } .full-width { width: 100%; } .full-height { height: 100%;; } .p-title { display:table; width:100%; padding: 1.2em 0; } .p-title > span { display:table-cell; vertical-align:middle; } .p-title > .label{ font-weight:bold; font-size: 1.05em; text-align: left; color: #000; padding: 0; } .p-title > .link { max-width: 100px; font-size: 80%; color:#949595; text-align:right; } .m-t { margin-top: 10px; } .m-b { margin-bottom: 10px; } .text-danger { color: #ff5959 !important; } .text-orange { color: #FFA353 !important; } .text-red { color: red; } .mark-red { border-radius: 15px; background-color:#ff5555; color:#fff; padding: 2px 12px; } .btn-default { background-color: #43d1be; text-align: center; color: #fff; font-size: 1.1em; box-shadow: 2px 3px 10px rgb(67, 209, 190, 0.5); padding: 15px 0; line-height: initial; border: 0; outline: none; border-radius: 5px; } .btn-default:active, .btn-default:hover, .btn-default:focus{ box-shadow: none; outline: none; } .btn-default.disabled{ box-shadow: none; background-color: #43d1be !important; color: #fff !important; opacity: 0.5; } .btn-orange { background-color: #FF9B44 !important; text-align: center !important; color: #fff !important; font-size: 1em !important; padding: 1em 0; line-height: initial; box-shadow: 2px 3px 10px rgb(255, 155, 68, 0.5); border: none; } .btn-orange:active{ box-shadow: none; } .btn-orange.disabled{ box-shadow: none; background-color: #FF9B44 !important; color: #fff !important; opacity: 0.5; } .btn-orange-o { display: inline-block; background-color: transparent; text-align: center !important; color: #FF9B44 !important; font-size: 1em !important; padding: 6px 10px; line-height: initial; border-radius: 25px; border: 1px solid #FF9B44; } .btn-orange-fill-o { display: inline-block; background-color: transparent; text-align: center !important; color: #ffffff !important; font-size: 1em !important; padding: 6px 10px; line-height: initial; border-radius: 25px; background-color: #FF9B44; border: 1px solid #FF9B44; outline: none; } .btn-white{ color: #333; background-color: #fff; border-color: #ccc; padding: 10px; outline: none; } .btn-white-o { display: inline-block; background-color: transparent; text-align: center !important; color: #35444f !important; font-size: 1em !important; padding: 6px 10px; line-height: initial; border-radius: 25px; border: 1px solid #eeeeee; outline: none; } .btn-samll { padding: 0.5em 2em; } .btn-link { color: #43d1be; } .btn-circle { border-radius: 32px; } .m-normal { margin: 0 !important; } .m-b-normal{ margin-bottom: 0 !important; } .p-normal { padding: 0 !important; } .p-b-normal{ padding-bottom: 0 !important; } .icon-pleased-gray::before{ content: " "; display: inline-block; width: 22px; height: 22px; background-image: url("./assets/images/icon-pleased-gray.png"); background-repeat: no-repeat; background-size: 100% auto; } .icon-pleased-white::before{ content: " "; display: inline-block; width: 22px; height: 22px; background-image: url("./assets/images/icon-pleased-white.png"); background-repeat: no-repeat; background-size: 100% auto; } .icon-unpleased-gray::before{ content: " "; display: inline-block; width: 22px; height: 22px; background-image: url("./assets/images/icon-unpleased-gray.png"); background-repeat: no-repeat; background-size: 100% auto; } .icon-unpleased-white::before{ content: " "; display: inline-block; width: 22px; height: 22px; background-image: url("./assets/images/icon-pleased-white.png"); background-repeat: no-repeat; background-size: 100% auto; } .detail-card { background-color:#fff; border-radius: 7px; margin-top: 1em; padding: 0.6em; font-size: 1em; color:#343434; position:relative; background-image: url('./assets/images/card-detail-bg.png') } .detail-card > .head { display:table; width:100%; border-bottom:1px dashed #eee; position:relative; padding-bottom: 0.6em; } .detail-card > .head .before-dot { display:inline-block; width:1em; height:1em; background-color:#43d1be; position:absolute; left: -1em; bottom:-0.5em; border-radius:50%; } .detail-card > .head .after-dot { display:inline-block; width:1em; height:1em; background-color:#43d1be; position:absolute; right:-1em; bottom:-0.5em; border-radius:50%; } .detail-card > .head .picture, .detail-card > .head .title, .detail-card > .head .tool{ display:table-cell; vertical-align:middle; } .detail-card > .head .picture { width: 2.5em; } .detail-card > .head .picture > .round{ width:2.5em; height:2.5em; border-radius:50%; overflow:hidden; } .detail-card > .head .title { font-size: 1.1em; padding:0 5px; } .detail-card > .head .tool{ width: 1.7em } .detail-card > .body { padding:1em 0 0 0; } .detail-card > .body > .big-title { color:red; font-size: 3em; font-weight:bold; text-align:center; margin-bottom:0.2em; } .detail-card > .body > .big-title > .unit { font-size:50%; font-weight:normal; margin-left:0.2em; } .detail-card > .footer .table .tr .td{ color: #43d1be; position: relative; } .detail-card > .footer .table .tr .td::after{ content: " "; display: inline-block; width: 1px; height: 1.5em; background-color: #43d1be; position: absolute; margin: auto; top: 0; bottom: 0; left: 0; } .detail-card > .footer .table .tr .td:first-child::after{ visibility: hidden; } .form { font-size:1.1em; margin:1em 0; } .form > .table { margin-top: 0.9em; background-color:#fff; padding:0 0.5em; width:auto; border-radius: 5px; color:#35444f; position:relative; } .form > .table > .tr{ border-bottom:1px solid #f5f6f7; padding:1em 0; position:relative; } .form > .table > .tr > .td { display:table-cell; vertical-align:middle; color:#666; } .form > .table > .tr > .td.label { color:#343434; min-width:10%; font-size: 0.9em; text-align: left; } .form > .table > .tr > .td > .small-hint{ color:#ff4444; font-size:80%; position:absolute; bottom:0; right:0; } .form > .table > .tr > .td .td-table { width:100%; display:table; } .form > .table > .tr > .td .td-table > .td-table-cell { display:table-cell; vertical-align:middle; } .form > .table > .tr > .td .td-table > .td-table-cell.text { font-size: 0.9em; color:#9aa0a4; } .form > .table > .tr > .td .td-table > .td-table-cell.text .light { color:#333; } .form > .table > .tr > .td .td-table > .td-table-cell.icon { width: 1em; font-size: 0.9em; color: #959595; padding-left: 5px; } .form > .table > .tr > .td input{ text-align: right; padding: 0; box-shadow: none; } .table { width: 100%; margin-bottom: 0.5em; } .table > .tr { display:table; width:100%; padding:0.5em 0; } .table > .tr > .td { display:table-cell; vertical-align:middle; color:#666; } .table > .tr > .td.label { color:#343434; min-width:10%; padding: 0; line-height: normal; } .table-btn { display:table; min-width: 3em; padding:0 0.6em; margin: 0 auto; } .table-btn > .cell.icon { width: 1.6em; height: 1.6em; } .table-btn > .cell.icon > img { width: 100%; height: 100%; } .table-btn > .cell.title { padding-left: 0.3em; } .table-btn.transverse > .cell { display:table-cell; vertical-align:middle; } .table-btn.vertical > .cell.icon { padding-right:0; width: 1.6em; height: 1.6em; margin: 0 auto 5px auto; } .block { margin-bottom: 0.5em; padding:0 0.5em; background-color:#fff; border-radius: 7px; } .message-block { text-align: center; font-size: 1.2em; padding: 0.5em 0; color: #ff5959; } .spinner { text-align: center; padding: 1em 0; } .spinner .mint-spinner-fading-circle{ margin: 0 auto; } .model { position:fixed; width:100%; height:100%; top:0; left:0; right:0; bottom:0; background-color:rgba(0, 0, 0, 0.3); z-index:999; } .model .model-body { background-color:#fff; width:65%; margin:0 auto; border-radius:5px; margin-top:20%; padding: 1em; } .model .model-body .title { font-size: 1.1em; text-align: center; padding: 1em 0; } .model .model-close { color: #fff; font-size: 2em; margin-top: 0.2em; } #qrcode img { margin: 0 auto; } .popup-model { position: fixed; left: 0; right: 0; top: 0; bottom: 0; background-color: #f7f7f7; } .popup-model .body { padding: 1em 1em 5em 1em; position: relative; overflow: auto; height: 100%; } .popup-model .footer { position: fixed; bottom: 0; left: 0; width: 100%; } .line-list { display:table; width:100%; margin-bottom: 1em; min-height: 4em; } .line-list > .label{ width:15%; display:table-cell; vertical-align:top; position:relative; color: #343434; padding: 0; white-space: normal; text-align: left; font-size: 1em; } .line-list > .mark { width:8%; display:table-cell; vertical-align:top; position:relative; background-color: transparent; padding: 0; } .line-list > .mark > .line-vertical{ display: inline-block; width: 2px; height: 100%; background-color: #E3E4E6; position: absolute; bottom: 0; top: 0; left: 0; right: 0; z-index: 1; margin: 0 auto; } .line-list > .mark > .mark-circle{ width: 1em; height:1.4em; position:absolute; top:0; bottom: 0; left:0; right: 0; z-index:2; background-color:#fff; margin: 0 auto; } .line-list > .mark > .mark-circle > .circle{ display:inline-block; border-radius:50%; width:1em; height:1em; } .circle.circle-default { border: 2px solid #E3E4E6; } .circle.circle-green { border: 2px solid #43D1BE; } .circle.circle-red { border: 2px solid #FC877B; } .line-list > .item { width:72%; display:table-cell; } .tab-container .mint-navbar .mint-tab-item > .mint-tab-item-label { overflow: hidden; height: 2em; line-height: 2em; font-size: 1em; } .form-control{ height: auto; border: none; background-color: transparent; box-shadow: none; font-size: 1em; } .form-control[disabled] { border: none; background-color: transparent; box-shadow: none; color: #959595; } .search-control { position:relative; border-radius:10px; background-color: #fff; height: 2em; } .search-control > input[type="search"] { background-color:transparent; text-align:center; padding:3px 5px; width: 100%; border: 0; outline: 0; position: absolute; left: 0; top: 0; z-index: 2; } .search-control > .placeholder { position:absolute; left:0; top: 3px; bottom: 0; right:0; margin: auto; text-align:center; color:#cfd2d7; z-index: 1; } .mint-datetime-action{ color:#343434; } .mint-datetime-confirm{ color:#FFA353; } .mint-msgbox-cancel{ color:#FFA353; } .mint-msgbox-confirm{ color: #35444f; } .mint-indicator-wrapper{ z-index: 9999; } .mint-radiolist .mint-cell { width: 90px; float: right; background-image: none; min-height: 0; } .mint-radiolist .mint-cell > .mint-cell-wrapper { background-image: none; padding: 0; font-size: 14px; } .mint-radiolist-label { font-weight: normal; padding: 0; } .mint-radio-input:checked + .mint-radio-core { background-color: #FF9B44; border-color: #FF9B44; } </style>