diff --git a/src/pages/loading.vue b/src/pages/loading.vue
index aadcd349..7dedd943 100644
--- a/src/pages/loading.vue
+++ b/src/pages/loading.vue
@@ -10,7 +10,12 @@
-
{{ app.label }}({{ app.name }})
+
@@ -29,8 +34,8 @@ export default {
appsList() {
let {search, currentLib} = this
return this.apps.filter(e => {
- if (/beta/.test(e.libPath)) {
- e.isBeta = true
+ if (/\/project\//.test(e.libPath)) {
+ e.project = e.libPath.replace(/.*project\/([^\/]+)\/.+/, '$1')
}
return (currentLib == "apps" && e.libPath.indexOf("project") > -1) || e.libPath.indexOf(currentLib) > -1
}).filter(e => !!search ? e.label?.indexOf(search) > -1 : true) || []
@@ -110,33 +115,27 @@ export default {
.appsPane {
justify-content: center;
margin-top: 16px;
- padding: 0 16px;
+
+ .item {
+ width: 100%;
+ font-size: 28px;
+ padding: 0 32px;
+ height: 64px;
+ border-bottom: 1px solid #ddd;
+
+ &:nth-of-type(2n) {
+ background: rgba(#26f, .02);
+ }
+ }
b {
cursor: pointer;
- font-size: 24px;
- background: $uni-color-primary;
- color: #fff;
- padding: 8px;
- margin: 8px 4px;
- border-radius: 8px;
- font-weight: normal;
+ margin-right: 16px;
+ display: block;
+ }
- &.beta {
- background: $uni-color-warning;
- position: relative;
-
- &:before {
- position: absolute;
- top: 0;
- right: 0;
- content: "beta";
- transform: translate(-8px, -50%);
- color: $uni-color-error;
- z-index: 20220613952;
- font-weight: bold;
- }
- }
+ .appName {
+ text-align: right;
}
}
}