From cd63935b92d0336e6ff4f389093a2e14feaecddf Mon Sep 17 00:00:00 2001 From: Xulinchuan <2026734208@qq.com> Date: Mon, 21 Jul 2025 15:23:31 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=86=E8=8A=82=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sub-operation-service/components.d.ts | 1 + .../src/assets/images/njIcon/pj.png | Bin 0 -> 869 bytes .../farmingConsult/agriculturalMachineryDel.vue | 4 ++-- .../views/farmingService/farmingConsult/index.vue | 5 +++-- .../src/views/packaging/details1.vue | 2 +- 5 files changed, 7 insertions(+), 5 deletions(-) create mode 100644 sub-operation-service/src/assets/images/njIcon/pj.png diff --git a/sub-operation-service/components.d.ts b/sub-operation-service/components.d.ts index 1e52722..8dca9c7 100644 --- a/sub-operation-service/components.d.ts +++ b/sub-operation-service/components.d.ts @@ -12,6 +12,7 @@ declare module 'vue' { BreadComp: typeof import('./src/components/breadComp.vue')['default'] CenterMap: typeof import('./src/components/centerMap.vue')['default'] CodeDialog: typeof import('./src/components/code-dialog/index.vue')['default'] + copy: typeof import('./src/components/custom-scroll-title copy/index.vue')['default'] CostomImg: typeof import('./src/components/costomImg.vue')['default'] CustomBack: typeof import('./src/components/customBack.vue')['default'] CustomCarouselPicture: typeof import('./src/components/custom-carousel-picture/index.vue')['default'] diff --git a/sub-operation-service/src/assets/images/njIcon/pj.png b/sub-operation-service/src/assets/images/njIcon/pj.png new file mode 100644 index 0000000000000000000000000000000000000000..6ba451a5eb0c87c9c4bc9990f45b9c10833f8f08 GIT binary patch literal 869 zcmV-r1DgDaP)Px&A4x<(R9Hvtmpf<_Q51&%Gi$W5Qn&DlBr`#SFR&3o+?fOvQ7j|@MGz51#KOiW z?7ViP1_cQUB3Rf7E7}N}SnO<66tPhx0W%XV1o44d_$W;F9$7^UAv^c3JBA>ca^}DP z`Obg2k0DI*hbB26rU2`mp{WEXU4lyjcku|*b^@(oU_NO?0Dl1UfY4Hfp|?*Tq2pRv z6+E#i*6*H7)5vfah<3*nXW({Z+M6a6&0?;v1Bmff!kSJBlq#VrMQ`uDWI^AP+ zO+BtoGqiJ2Mr;MSVmzO^5;RI)KbTsifEsNJ*Jp2x);0F!3{7y6fCZw=)=--hBnsFR zxVnbaAi&Zl1-N_2bPoLnXuOj%Qq#Ev#=M{Jm@kHwb0AT`<{-a|A+AW%`y)78W)Y-F zTLd5nV9uzq4@1*ln=qh%kb(0x0LDrCL(^WCD4-Ge`vF``0+0#MqKv&FVZhvGfNv%O z$moqMdt;)2ErC087}`ew4Ru2bWW!cFpD3UncrHP+RaUXAff1%9FRkqJ!~pf8e}V{| zvcgK=nXiVHv!j|;x`&M&s26>k2%b`Lx#)cZ#EJpaeUk{F-j_Q{0;iIgRsf&Ngw_`s z`*B8dm}nt`QX0e;F7v%wE~>wa#U^MJy~7~tQcCWZ zV?NB-HVCZNja*d~u&Lyk8dFhj@k_zruE=zbsp?gARRQ(DD-ft%#fVAxQO0#tw6$ug z0vbjC2?#6W4T%Bn3{5**YhhJ=b-=*y0k9#?h*|iN^>31sE)qTP_7Ldu_<)tIMC3!u zu~n1!TV3^4Txd_}>E+i6*gDpn!ER(aNga2w?C~3Qp*>}!m+xhugP3PC(aXyJLu5I< vf160H1800 元/天

- 立即租用 + 立即预约
@@ -220,7 +220,7 @@

- + 核心配件

diff --git a/sub-operation-service/src/views/farmingService/farmingConsult/index.vue b/sub-operation-service/src/views/farmingService/farmingConsult/index.vue index cfbcda9..2a8bfdf 100644 --- a/sub-operation-service/src/views/farmingService/farmingConsult/index.vue +++ b/sub-operation-service/src/views/farmingService/farmingConsult/index.vue @@ -74,7 +74,7 @@ onMounted(() => { queryList(); }); -const extractText = (htmlText, maxChars = 80) => { +const extractText = (htmlText, maxChars = 86) => { // 去除 HTML 标签 const cleanText = htmlText.replace(/<[^>]+>/g, ''); // 去除多余空格和换行 @@ -90,8 +90,9 @@ const queryList = () => { for (let i in res.data.records) { tableData.value[i].content = extractText(res.data.records[i].content); if (tableData.value[i].content.length > 80) { - tableData.value[i].content += '...'; + tableData.value[i].content += '......'; } + console.log(tableData.value[i].content, tableData.value[i].content.length); } } }); diff --git a/sub-operation-service/src/views/packaging/details1.vue b/sub-operation-service/src/views/packaging/details1.vue index e6f7a28..33cd92d 100644 --- a/sub-operation-service/src/views/packaging/details1.vue +++ b/sub-operation-service/src/views/packaging/details1.vue @@ -21,7 +21,7 @@
-->

报价:{{ data.price }}元/吨

关键词:{{ data.type }}

-

所在地:{{ data.location }}

+

所在地:{{ data.address }}

联系人:{{ data.contact }}

联系电话:{{ data.phone }}