From beb95fb5fc166804056abafd70fc01ac27de7621 Mon Sep 17 00:00:00 2001
From: 罗广辉 <guanghui.luo@foxmail.com>
Date: Mon, 26 Jan 2026 09:11:00 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'
---
uniapps/work-app/src/subPackages/workDetail/index.vue | 52 ++++++++++++++--------------------------------------
1 files changed, 14 insertions(+), 38 deletions(-)
diff --git a/uniapps/work-app/src/subPackages/workDetail/index.vue b/uniapps/work-app/src/subPackages/workDetail/index.vue
index 035f5c9..d46e87d 100644
--- a/uniapps/work-app/src/subPackages/workDetail/index.vue
+++ b/uniapps/work-app/src/subPackages/workDetail/index.vue
@@ -100,7 +100,7 @@
<script setup>
// import { getShowImg, getSmallImg } from '@/utils/util'
import { ref, computed } from 'vue'
-import {getGddetailedData,backGdApi} from '/src/api/work/index1.js'
+import {getGddetailedData,backGdApi} from '/src/api/work/index.js'
import dayjs from 'dayjs'
const formatDate = dateString => {
return dayjs(dateString).format('MM/DD HH:mm')
@@ -146,8 +146,9 @@
})
// 跳转地图
const jumpMap = item => {
+ const contactStr = encodeURIComponent(JSON.stringify(item))
uni.navigateTo({
- url: `/subPackages/workDetail/mapWork/index?eventNum=${item.event_num}`,
+ url: `/subPackages/workDetail/mapWork/index?eventNum=${contactStr}`,
})
}
// 退回
@@ -294,7 +295,13 @@
.workDetailContainer {
// 添加导航栏高度的padding-top,避免内容被遮挡
padding-top: 88rpx;
- // 分享按钮样式
+ :deep(){
+ .u-navbar__content{
+ background: url("https://wrj.shuixiongit.com/aiskyminio/cloud-bucket/ztzf_app_assets/images/user/bg.png") no-repeat !important;
+ background-size: 100%!important;
+ height: 88rpx !important;
+ }
+} // 分享按钮样式
.share-btn {
width: 40rpx;
height: 40rpx;
@@ -304,6 +311,9 @@
background-position: center;
}
.detailTop {
+ // #ifdef APP-PLUS
+ padding-top: 60rpx;
+ // #endif
.image-container {
position: relative;
width: 100%;
@@ -332,37 +342,7 @@
width: 5px !important;
}
}
- .detailTitle {
- position: absolute;
- left: 0;
- top: 0;
- width: 100%;
- height: 60rpx;
- line-height: 60rpx;
- background: rgba(7, 7, 7, 0.4);
- }
- .titleText {
- display: flex;
- width: 100%;
- justify-content: space-between;
- align-items: center;
- color: #fff;
-
- .itemName,
- .itemTime {
- font-family: Source Han Sans CN, Source Han Sans CN;
- font-weight: 400;
- font-size: 28rpx;
- color: #ffffff;
- }
- .itemName {
- padding-left: 20rpx;
- }
- .itemTime {
- padding-right: 20rpx;
- }
- }
}
}
@@ -406,11 +386,7 @@
color: #1d6fe9;
text-decoration: underline;
text-align: right;
- //white-space: nowrap;
- ///* 禁止换行 */
- //overflow: hidden;
- //text-overflow: ellipsis;
- // max-width: 74%;
+
padding-top: 1px;
padding-left: 5px;
padding-right: 2px;
--
Gitblit v1.9.3