From e48066dd0ee206ad8be4b4155dfb015dd8037458 Mon Sep 17 00:00:00 2001 From: zhuyiyi <649091362@qq.com> Date: Wed, 15 Oct 2025 15:30:05 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4=E6=97=A0=E7=94=A8=E6=89=87?= =?UTF-8?q?=EF=BC=8C=E4=BF=AE=E6=94=B9pet=EF=BC=8C=E4=BF=AE=E6=94=B9?= =?UTF-8?q?=E6=8F=92=E5=8D=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../lingtao/net/service/ProductService.java | 2 +- src/main/webapp/views/product/fan.jsp | 4 +- src/main/webapp/views/product/insertCard.jsp | 740 ++++++++++-------- src/main/webapp/views/product/pet.jsp | 4 +- 4 files changed, 399 insertions(+), 351 deletions(-) diff --git a/src/main/java/lingtao/net/service/ProductService.java b/src/main/java/lingtao/net/service/ProductService.java index d569d14..70857cb 100644 --- a/src/main/java/lingtao/net/service/ProductService.java +++ b/src/main/java/lingtao/net/service/ProductService.java @@ -577,7 +577,7 @@ public class ProductService { if ("1".equals(dto.getKindValue())) { priceList = new PriceUtils().getInsertCard(size, count); } else { - if ("9".equals(dto.getKindValue()) || "10".equals(dto.getKindValue())) { + if ("9".equals(dto.getKindValue()) || "10".equals(dto.getKindValue()) || "14".equals(dto.getKindValue()) || "15".equals(dto.getKindValue())) { dto.setKindValue("4"); } else if ("11".equals(dto.getKindValue())) { dto.setKindValue("8"); diff --git a/src/main/webapp/views/product/fan.jsp b/src/main/webapp/views/product/fan.jsp index 300dc7d..b583eb8 100644 --- a/src/main/webapp/views/product/fan.jsp +++ b/src/main/webapp/views/product/fan.jsp @@ -26,11 +26,11 @@ 款式
<%-- --%> - + <%-- - + --%>规格 diff --git a/src/main/webapp/views/product/insertCard.jsp b/src/main/webapp/views/product/insertCard.jsp index d03a586..c0ef3a4 100644 --- a/src/main/webapp/views/product/insertCard.jsp +++ b/src/main/webapp/views/product/insertCard.jsp @@ -1,360 +1,408 @@ <%@ page language="java" contentType="text/html; charset=UTF-8" - pageEncoding="UTF-8"%> - <%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> + pageEncoding="UTF-8" %> +<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
- -