吉安感知网项目-前端
张含笑
2026-02-27 1274f3ce51864f56e816729e935a2173a02b2204
feat:去掉参数
2 files modified
10 ■■■■■ changed files
applications/mobile-web-view/src/appPages/work/workDetail/index.vue 8 ●●●●● patch | view | raw | blame | history
uniapps/work-app/src/utils/common/index.js 2 ●●● patch | view | raw | blame | history
applications/mobile-web-view/src/appPages/work/workDetail/index.vue
@@ -2,7 +2,7 @@
    <div class="workDetailContainer">
        <div class="detailTop">
            <div class="image-container">
                <van-swipe class="detailSwipe" :autoplay="3000" indicator-color="#4C85FF">
                <van-swipe :autoplay="3000" indicator-color="#4C85FF">
                <van-swipe-item v-for="(img, index) in getImageList" :key="index">
                    <van-image class="detailImage" :src="img" fit="cover" width="100%" height="235px"
                        @click="openPreview(index)" preview-visible="false" />
@@ -110,8 +110,6 @@
        .image-container {
            position: relative;
            width: 100%;
            // height: 205px;
            .detailImage {
                width: 100%;
                height: 100%;
@@ -123,7 +121,7 @@
    .worderContainer {
        padding: 0 12px;
        padding-bottom: 2px;
        // padding-bottom: 2px;
        background: #f6f6f6;
    }
@@ -131,7 +129,7 @@
        margin-top: 15px;
        background-color: #fff;
        border-radius: 6px;
        padding: 10px;
        padding: 8px 10px;
        margin-bottom: 17px;
        .workOrderTitle {
uniapps/work-app/src/utils/common/index.js
@@ -74,7 +74,7 @@
  // 2. 构建查询参数字符串
  let queryString = null
  if(targetUrl === '/workDetail') {
    queryString = `topMargin=${statusBarHeight}&uniPlatform=${uniPlatform}`
    queryString = ``
  }else{
    queryString = `params=${encodeURIComponent(userParams)}&topMargin=${statusBarHeight}&uniPlatform=${uniPlatform}`
  }