罗广辉
2025-10-28 222f354a1f6a0c6478061b4a3b6c3efb240ec0ed
feat: 背景调整
2 files modified
20 ■■■■■ changed files
src/App.vue 2 ●●● patch | view | raw | blame | history
src/subPackages/workDetail/index.vue 18 ●●●●● patch | view | raw | blame | history
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>
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>
</style>