diff --git a/pages/public/setting.vue b/pages/public/setting.vue index c77c53b..b45467a 100644 --- a/pages/public/setting.vue +++ b/pages/public/setting.vue @@ -1,5 +1,5 @@ + + + @@ -83,6 +86,10 @@ type: Boolean, default: true, }, + purple_bg: { + type: Boolean, + default: false, + }, }); let height = ref(0); let sysInfo = uni.getSystemInfoSync(); @@ -119,15 +126,32 @@ overflow: hidden; } + .full-bg { + position: fixed; + inset: 0; + width: 100vw; + height: 100vh; + z-index: 0; + } + + .full-bg__img { + position: absolute; + inset: 0; + width: 100%; + height: 100%; + } + .card1 { position: fixed; top: 0; left: 0; + z-index: 1; } .scon { position: relative; overflow-y: auto; + z-index: 2; } .s-con { diff --git a/static/bg.jpg b/static/bg.jpg new file mode 100644 index 0000000..86df2a9 Binary files /dev/null and b/static/bg.jpg differ