From 222f354a1f6a0c6478061b4a3b6c3efb240ec0ed Mon Sep 17 00:00:00 2001
From: 罗广辉 <guanghui.luo@foxmail.com>
Date: Tue, 28 Oct 2025 22:01:16 +0800
Subject: [PATCH] feat: 背景调整
---
src/subPackages/workDetail/index.vue | 18 ++++++++----------
src/App.vue | 2 +-
2 files changed, 9 insertions(+), 11 deletions(-)
diff --git a/src/App.vue b/src/App.vue
index 03c4ebb..aa89cf2 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -53,6 +53,6 @@
color: #222324 !important;
}
.uni-page-head {
- background-image: url(/drone-app/src/static/images/user/allBg.svg) !important;
+ background: transparent !important;
}
</style>
diff --git a/src/subPackages/workDetail/index.vue b/src/subPackages/workDetail/index.vue
index 2aef520..629db0e 100644
--- a/src/subPackages/workDetail/index.vue
+++ b/src/subPackages/workDetail/index.vue
@@ -14,14 +14,14 @@
const sWebViewRef = ref(null);
const viewUrl = ref('')
onLoad( (options) => {
- const eventNum= options.eventNum;
- viewUrl.value = getWebViewUrl('/workDetail', {eventNum:eventNum})
+ const eventNum= options.eventNum;
+ viewUrl.value = getWebViewUrl('/workDetail', {eventNum:eventNum})
});
-
+
function onPostMessage(data) {
-
+
if (data.type === 'workback'){
-
+
uni.switchTab({
url: '/pages/work/index'
});
@@ -36,12 +36,10 @@
<style lang="scss" scoped>
.workDetailContainer {
- padding: 0 10px;
-width: 100%;
+ width: 100%;
height: 100%;
- background: url('/src/static/images/user/allBg.svg') no-repeat center center;
background-size: cover;
-
+
}
-</style>
\ No newline at end of file
+</style>
--
Gitblit v1.9.3