From f651f8e8bd3b76389ceceba7a542db405402470b Mon Sep 17 00:00:00 2001 From: icssoa <615206459@qq.com> Date: Mon, 27 Oct 2025 18:15:27 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=20=E5=95=86=E5=93=81?= =?UTF-8?q?=E8=AF=A6=E6=83=85=20=E6=A8=A1=E6=9D=BF=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 2 +- pages.json | 6 + pages/index/template.uvue | 3 +- pages/template/shop/goods-detail/comment.uvue | 81 ++++++++++++ pages/template/shop/goods-detail/desc.uvue | 15 +++ pages/template/shop/goods-detail/index.uvue | 116 ++++++++++++++++ pages/template/shop/goods-detail/info.uvue | 35 +++++ pages/template/shop/goods-detail/topbar.uvue | 124 ++++++++++++++++++ .../cool-ui/components/cl-banner/props.ts | 1 + 9 files changed, 381 insertions(+), 2 deletions(-) create mode 100644 pages/template/shop/goods-detail/comment.uvue create mode 100644 pages/template/shop/goods-detail/desc.uvue create mode 100644 pages/template/shop/goods-detail/index.uvue create mode 100644 pages/template/shop/goods-detail/info.uvue create mode 100644 pages/template/shop/goods-detail/topbar.uvue diff --git a/package.json b/package.json index cee1c95..61a7905 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "cool-unix", - "version": "8.0.28", + "version": "8.0.29", "license": "MIT", "scripts": { "build-ui": "node ./uni_modules/cool-ui/scripts/generate-types.js", diff --git a/pages.json b/pages.json index 456d285..4beb74d 100644 --- a/pages.json +++ b/pages.json @@ -522,6 +522,12 @@ "navigationBarTitleText": "商品分类" } }, + { + "path": "shop/goods-detail/index", + "style": { + "navigationStyle": "custom" + } + }, { "path": "shop/shopping-cart", "style": { diff --git a/pages/index/template.uvue b/pages/index/template.uvue index 4bb66ba..9921231 100644 --- a/pages/index/template.uvue +++ b/pages/index/template.uvue @@ -58,7 +58,8 @@ const list = computed(() => [ path: "/pages/template/shop/goods-category" }, { - label: t("商品详情") + label: t("商品详情"), + path: "/pages/template/shop/goods-detail/index" }, { label: t("商品列表、筛选") diff --git a/pages/template/shop/goods-detail/comment.uvue b/pages/template/shop/goods-detail/comment.uvue new file mode 100644 index 0000000..7fcb237 --- /dev/null +++ b/pages/template/shop/goods-detail/comment.uvue @@ -0,0 +1,81 @@ + + + diff --git a/pages/template/shop/goods-detail/desc.uvue b/pages/template/shop/goods-detail/desc.uvue new file mode 100644 index 0000000..68cae6c --- /dev/null +++ b/pages/template/shop/goods-detail/desc.uvue @@ -0,0 +1,15 @@ + + + diff --git a/pages/template/shop/goods-detail/index.uvue b/pages/template/shop/goods-detail/index.uvue new file mode 100644 index 0000000..e672abd --- /dev/null +++ b/pages/template/shop/goods-detail/index.uvue @@ -0,0 +1,116 @@ + + + + + diff --git a/pages/template/shop/goods-detail/info.uvue b/pages/template/shop/goods-detail/info.uvue new file mode 100644 index 0000000..72f46e1 --- /dev/null +++ b/pages/template/shop/goods-detail/info.uvue @@ -0,0 +1,35 @@ + + + diff --git a/pages/template/shop/goods-detail/topbar.uvue b/pages/template/shop/goods-detail/topbar.uvue new file mode 100644 index 0000000..54025fb --- /dev/null +++ b/pages/template/shop/goods-detail/topbar.uvue @@ -0,0 +1,124 @@ + + + diff --git a/uni_modules/cool-ui/components/cl-banner/props.ts b/uni_modules/cool-ui/components/cl-banner/props.ts index 0a973d6..8888311 100644 --- a/uni_modules/cool-ui/components/cl-banner/props.ts +++ b/uni_modules/cool-ui/components/cl-banner/props.ts @@ -21,4 +21,5 @@ export type ClBannerProps = { showDots?: boolean; disableTouch?: boolean; height?: any; + imageMode?: string; };