123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270 |
- <template >
- <ion-app style="z-index: 1">
- <ion-router-outlet/>
- </ion-app>
- </template>
- <script setup lang="ts">
- import {IonApp, IonRouterOutlet} from '@ionic/vue';
- import {getCurrentInstance, ref} from "vue";
- import {useUserStore} from "@/store/modules/user";
- const {appContext: {config: {globalProperties}}} = getCurrentInstance();
- const userStore = useUserStore();
- const user = ref(userStore.getUserInfo);
- if (user.value != null) {
- globalProperties.$routeActive = true;
- }
- </script>
- <style lang="less">
- ion-content {
- --background: #fafafa !important;
- }
- /*顶部导航白色背景主题样式*/
- .header-theme2 {
- background: white;
- text-align: center;
- ion-toolbar {
- --background: white;
- color: #4F4F63;
- font-weight: bold;
- ion-icon {
- padding: 0px 10px;
- font-size: 24px !important;
- height: 44px !important;
- }
- }
- ion-title {
- margin-left: -40px;
- font-weight: bold;
- }
- }
- .grid-content {
- margin: 10px 10px;
- background-color: #f0f2f5;
- border-radius: 20px;
- position: relative;
- #btnDetail {
- position: absolute;
- top: 50%;
- right: 10px;
- }
- h6 {
- text-align: center;
- color: #1a1a1a;
- }
- ion-item::part(native) {
- padding-left: 10px;
- }
- ion-item {
- border-radius: 10px;
- --border-width: 0px;
- --border-style: unset !important;
- }
- }
- .back-icon {
- font-size: 24px;
- padding-left: 7px;
- height: 44px;
- }
- .panel {
- margin: 0px;
- .panel-content {
- margin-top: 10px;
- background-color: white;
- border-radius: 10px;
- padding: 10px;
- }
- }
- .panel-title2 {
- font-size: 16px;
- color: #380F0A;
- display: flex;
- font-weight: bold;
- padding-top: 5px;
- .item-flag {
- height: 20px;
- width: 3px;
- border-radius: 8px;
- margin-top: 1px;
- margin-right: 7px;
- background: linear-gradient(to bottom, #fff, #0094FF);
- }
- }
- .add-icon {
- font-size: 24px;
- height: 44px;
- }
- .edit-del-icon {
- padding: 0px 0px;
- font-size: 13px;
- height: 15px !important;
- }
- .edit-page {
- .edit-content {
- margin: 12px;
- background: white;
- border-radius: 10px;
- padding: 7px;
- }
- ion-item {
- --border-style: none;
- }
- ion-select {
- max-width: 75%;
- }
- .edit-button {
- text-align: right;
- ion-button {
- width: 100px;
- --border-radius: 18px !important;
- }
- }
- ion-input {
- text-align: right;
- }
- }
- .danger {
- color: red;
- }
- .detail-page {
- .detail-content {
- margin: 12px;
- background: white;
- border-radius: 10px;
- padding: 7px;
- }
- ion-list {
- padding: 0px;
- }
- ion-item {
- --border-style: none;
- }
- ion-label {
- min-width: 120px;
- }
- }
- .list-page {
- --background: #fafafa !important;
- .list-content {
- margin: 10px 8px;
- background-color: #f0f2f5;
- border-radius: 20px;
- position: relative;
- ion-item::part(native) {
- padding-left: 10px;
- }
- ion-item {
- border-radius: 10px;
- }
- }
- ion-item {
- --border-style: none;
- }
- ion-grid {
- ion-row {
- /* ion-col:last-child {
- text-align: left;
- font-size: 14px;
- }
- ion-col:last-child {
- //display: flex;
- overflow: hidden;
- text-overflow: ellipsis;
- span {
- white-space: nowrap;
- }
- }*/
- }
- .row-detail {
- ion-col {
- text-align: left;
- color: #333333;
- font-size: 14px;
- }
- }
- }
- }
- ion-grid {
- ion-row {
- /* ion-col:last-child {
- text-align: left;
- font-size: 14px;
- }
- ion-col:last-child {
- //display: flex;
- overflow: hidden;
- text-overflow: ellipsis;
- span {
- white-space: nowrap;
- }
- }*/
- }
- .row-detail {
- ion-col {
- text-align: left;
- color: #333333;
- font-size: 14px;
- }
- }
- }
- .ion-buttonLen {
- --border-radius: 18px;
- --background: #0094FF;
- color: #fff;
- font-size: 14px;
- --border-color: #0094FF;
- width: 70%;
- }
- </style>
|