From b8a44a27167aad9ffffef5170b981969723839d6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E5=A7=8B=E4=BA=8E=E5=88=9D=E8=A7=81?= <752204717@qq.com>
Date: Wed, 12 Mar 2025 10:55:40 +0800
Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
pages/about/about.vue | 410 ++--
pages/advertisement/advertisement.vue | 154 +-
pages/advertisement/index/detail.vue | 222 +-
pages/advertisement/index/index.vue | 148 +-
pages/advertisement2/advertisement.vue | 154 +-
pages/bookShop/bookShopIndex.vue | 727 +++---
pages/bookShop/bookShopType.vue | 640 +++---
pages/bookShop/classify.vue | 901 ++++----
pages/bookShop/classifyAll.vue | 135 +-
pages/bookShop/commodityDetail copy.vue | 1436 +++++++-----
pages/bookShop/commodityDetail.vue | 2478 +++++++++++----------
pages/bookShop/orderLCont.vue | 25 +-
pages/bookShop/orderList.vue | 2685 ++++++++++++-----------
pages/goods/order/index.vue | 66 +-
14 files changed, 5483 insertions(+), 4698 deletions(-)
diff --git a/pages/about/about.vue b/pages/about/about.vue
index 77e3e7a..526d0d2 100644
--- a/pages/about/about.vue
+++ b/pages/about/about.vue
@@ -1,220 +1,236 @@
-
+
-
-
-
-
- 扫码体验uni-app
-
-
- uni-app
- 是一个使用 Vue.js 开发跨平台应用的前端框架。
-
-
- 本示例源码获取方式:
-
-
- 1.
- 下载 HBuilderX,新建 uni-app 项目时选择 Hello uni-app 模板。
-
-
- 2.
-
-
-
-
-
-
-
-
-
-
- 当前版本:{{version}}
-
-
-
+
+
+
+
+ 扫码体验uni-app
+
+
+ uni-app
+ 是一个使用 Vue.js 开发跨平台应用的前端框架。
+
+
+ 本示例源码获取方式:
+
+
+ 1.
+ 下载 HBuilderX,新建 uni-app 项目时选择
+ Hello uni-app 模板。
+
+
+ 2.
+
+
+
+
+
+
+
+
+
+ 当前版本:{{ version }}
+
+
diff --git a/pages/advertisement/advertisement.vue b/pages/advertisement/advertisement.vue
index b8adcc7..a3cda35 100644
--- a/pages/advertisement/advertisement.vue
+++ b/pages/advertisement/advertisement.vue
@@ -1,90 +1,88 @@
-
+
-
- {{ content }}
-
-
+
+ {{ content }}
+
+
-
-
-
-
-
+
+
+
+
\ No newline at end of file
+// .passbtn {
+// width: 130rpx;
+// height: 60rpx;
+// line-height: 60rpx;
+// position: fixed;
+// z-index: 999;
+// bottom: 50rpx;
+// right: 50rpx;
+// color: #838892;
+// text-align: center;
+// border-width: 1rpx;
+// border-color: rgba(0, 0, 0, 0.5);
+// border-style: solid;
+// border-radius: 30rpx;
+// font-size: 28rpx;
+// padding-left: 25rpx;
+// padding-right: 25rpx;
+// }
+
diff --git a/pages/advertisement/index/detail.vue b/pages/advertisement/index/detail.vue
index fcce214..0eac6d2 100644
--- a/pages/advertisement/index/detail.vue
+++ b/pages/advertisement/index/detail.vue
@@ -1,12 +1,13 @@
-
+
-
-
-
-
-
+
+
+
-
-
-
-
-
+
+
+
+
\ No newline at end of file
+/deep/ .uni-section-header__decoration.line {
+ background-color: #18bc37;
+}
+
diff --git a/pages/advertisement/index/index.vue b/pages/advertisement/index/index.vue
index ef92124..157f583 100644
--- a/pages/advertisement/index/index.vue
+++ b/pages/advertisement/index/index.vue
@@ -1,7 +1,8 @@
-
+
+
\ No newline at end of file
+// .passbtn {
+// width: 130rpx;
+// height: 60rpx;
+// line-height: 60rpx;
+// position: fixed;
+// z-index: 999;
+// bottom: 50rpx;
+// right: 50rpx;
+// color: #838892;
+// text-align: center;
+// border-width: 1rpx;
+// border-color: rgba(0, 0, 0, 0.5);
+// border-style: solid;
+// border-radius: 30rpx;
+// font-size: 28rpx;
+// padding-left: 25rpx;
+// padding-right: 25rpx;
+// }
+
diff --git a/pages/bookShop/bookShopIndex.vue b/pages/bookShop/bookShopIndex.vue
index 36bfd32..4c6603f 100644
--- a/pages/bookShop/bookShopIndex.vue
+++ b/pages/bookShop/bookShopIndex.vue
@@ -1,403 +1,414 @@
-
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 商品分类
-
-
-
-
-
- {{item.name}}
-
-
-
-
-
-
- 限时秒杀
- 查看更多 >
-
-
-
-
-
-
-
-
-
-
- {{item.prodInfo.productName}}
- ¥{{item.seckillPrice}}
- ¥{{item.prodInfo.price}}
-
-
-
-
-
-
-
- 精选商品
- 查看更多 >
-
-
-
-
-
-
- {{item.productName}}
-
-
- ¥{{item.price}}
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 商品分类
+
+
+
+
+
+ {{ item.name }}
+
+
+
+
+
+
+ 限时秒杀
+ 查看更多 >
+
+
+
+
+
+
+
+
+
+
+ {{ item.prodInfo.productName }}
+ ¥{{ item.seckillPrice }}
+ ¥{{ item.prodInfo.price }}
+
+
+
+
+
+
+
+ 精选商品
+ 查看更多 >
+
+
+
+
+
+
+ {{ item.productName }}
+
+ ¥{{ item.price }}
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/bookShop/bookShopType.vue b/pages/bookShop/bookShopType.vue
index b0de54b..6a95e7f 100644
--- a/pages/bookShop/bookShopType.vue
+++ b/pages/bookShop/bookShopType.vue
@@ -1,333 +1,359 @@
-
+
-
-
+
+
-
-
-
-
-
-
- {{item.productName}}
- (无货)
-
-
-
- ¥{{item.price}}
-
-
- ¥{{item.oldprice}}
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+ {{ item.productName }}
+ (无货)
+
+
+ ¥{{ item.price }}
+
+ ¥{{ item.oldprice }}
+
+
+
+
+
+
+
+
+
+
+
+
+ 努力加载中
+
+
+
+
+
-
-
-
- 努力加载中
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
diff --git a/pages/bookShop/classify.vue b/pages/bookShop/classify.vue
index d8cbc1e..90029e5 100644
--- a/pages/bookShop/classify.vue
+++ b/pages/bookShop/classify.vue
@@ -1,458 +1,523 @@
-
+
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{item.productName}}
- (暂无库存)
-
-
- ¥
- {{item.price}}
- 原价:¥{{item.activityPrice}}
-
- 已售{{item.sumSales}}件
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ item.productName }}
+ (暂无库存)
+
+
+ ¥
+ {{ item.price }}
+ 原价:¥{{ item.activityPrice }}
+
+ 已售{{ item.sumSales }}件
+
-
- {{item.author}}著/ {{item.publisher}}
-
-
-
-
-
-
-
- 暂无商品
-
-
-
- 暂无分类
-
-
-
-
-
-
-
+
+ {{ item.author }}著/ {{ item.publisher }}
+
+
+
+
+
+
+
+ 暂无商品
+
+
+
+ 暂无分类
+
+
+
+
+
+
+
diff --git a/pages/bookShop/classifyAll.vue b/pages/bookShop/classifyAll.vue
index 1d38b48..f68401d 100644
--- a/pages/bookShop/classifyAll.vue
+++ b/pages/bookShop/classifyAll.vue
@@ -1,81 +1,80 @@
-
+
-
-
-
-
-
- {{item.name}}
-
-
-
-
-
+
+
+
+
+
+ {{ item.name }}
+
+
+
+
diff --git a/pages/bookShop/commodityDetail copy.vue b/pages/bookShop/commodityDetail copy.vue
index 7be4793..0aa966e 100644
--- a/pages/bookShop/commodityDetail copy.vue
+++ b/pages/bookShop/commodityDetail copy.vue
@@ -1,633 +1,859 @@
-
+
-
-
-
-
-
-
-
-
-
-
-
- ¥{{productInfo.price}}
- 原价¥{{productInfo.activityPrice}}
-
-
- {{productInfo.productName}}
- (无货)
- 已售{{productInfo.sumSales}}件
-
-
-
-
-
-
-
- 赠送听书权益
-
- {{item.name}}
-
-
-
-
-
-
- 书名:{{productInfo.productName}}
-
-
- 作者:{{productInfo.author}}
-
-
-
- 出版社:{{productInfo.publisher}}
- 出版时间:{{ productInfo.pubDate | formatDate }}
-
-
- 开本:{{productInfo.format}}
- 页数:{{productInfo.pageNum}}
-
-
- 内文用纸材质:{{productInfo.quality}}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{item.name}}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{item.createdate}}
-
-
-
-
- 追评内容:
-
-
-
- {{item.followUpdate}}
-
-
-
-
-
-
- 暂无评价~
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+ ¥{{ productInfo.price }}
+ 原价¥{{ productInfo.activityPrice }}
+
+
+ {{ productInfo.productName }}
+ (无货)
+ 已售{{ productInfo.sumSales }}件
+
+
+
+
+
+
+
+ 赠送听书权益
+
+ {{
+ item.name
+ }}
+
+
+
+
+
+
+ 书名:{{ productInfo.productName }}
+
+
+ 作者:{{ productInfo.author }}
+
+
+ 出版社:{{ productInfo.publisher }}
+ 出版时间:{{ productInfo.pubDate | formatDate }}
+
+
+ 开本:{{ productInfo.format }}
+ 页数:{{ productInfo.pageNum }}
+
+
+ 内文用纸材质:{{ productInfo.quality }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ item.name }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ item.createdate }}
+
+
+
+
+ 追评内容:
+
+
+
+ {{ item.followUpdate }}
+
+
+
+
+
+
+ 暂无评价~
+
+
+
+
+
+
+
diff --git a/pages/bookShop/commodityDetail.vue b/pages/bookShop/commodityDetail.vue
index 70aa87b..42f4e9a 100644
--- a/pages/bookShop/commodityDetail.vue
+++ b/pages/bookShop/commodityDetail.vue
@@ -1,125 +1,189 @@
-
+
-
-
-
-
-
-
-
-
-
-
-
-
- ¥{{ productInfo.activityPrice }}
- 原价¥{{
- productInfo.price }}
-
-
- ¥{{ productInfo.price }}
-
-
- {{ productInfo.productName }}
- (无货)
- 已售{{ productInfo.sumSales
- }}件
-
-
-
- 商品列表
-
-
-
-
-
-
-
-
-
- {{ item.productName }}
- ¥{{
- item.activityPrice }}
- ¥{{ item.price }}
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+ ¥{{ productInfo.activityPrice }}
+ 原价¥{{ productInfo.price }}
+
+
+ ¥{{ productInfo.price }}
+
+
+ {{ productInfo.productName }}
+ (无货)
+ 已售{{
+ productInfo.sumSales
+ }}件
+
+
+
+ 商品列表
+
+
+
+
+
+
+
+
+
+ {{ item.productName }}
+ ¥{{ item.activityPrice }}
+ ¥{{ item.price }}
+
+
+
+
-
+
-
-
-
-
-
-
-
- 赠送权益
-
-
+
+
+
+
+
+
+
+ 赠送权益
+
+
+
+
+
+
+
+
+ {{ item.name }}
-
-
-
-
-
-
- {{
- item.name }}
+
+
+
+
+
+
-
+
+
+
+ {{ v.name }}
+
+
+ 222
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{ v.name }}
-
-
-
-
-
- 222
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
- 商品详情
-
-
-
- 书名:{{ productInfo.productName }}
-
-
- 作者:{{ productInfo.author }}
-
-
- 出版社:{{ productInfo.publisher
- }}
-
-
- 出版时间:{{ productInfo.pubDate | formatDate
- }}
-
-
- 开本:{{ productInfo.format }}
- 页数:{{ productInfo.pageNum }}
-
-
- 内文用纸材质:{{ productInfo.quality
- }}
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
-
-
-
- 评价({{ commentsList ? commentsList.length : 0
- }})
-
-
-
-
-
-
-
-
-
- {{ item.name }}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{ item.createdate }}
-
-
-
- 追评内容:
-
-
-
- {{ item.followUpdate }}
-
-
-
-
-
-
- 暂无评价~
-
-
-
-
-
-
-
-
-
-
-
-
- 查看详情
-
-
-
-
-
-
-
- {{ item.productName }}
- ¥{{
- item.activityPrice }}
- ¥{{ item.price }}
-
-
-
-
-
-
-
-
-
-
+
+
+
+ 评价({{ commentsList ? commentsList.length : 0 }})
+
+
+
+
+
+
+
+
+
+ {{ item.name }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ item.createdate }}
+
+
+
+
+ 追评内容:
+
+
+
+
+ {{ item.followUpdate }}
+
+
+
+
+
+
+ 暂无评价~
+
+
+
+
+
+
+
+
+
+
+
+
+ 查看详情
+
+
+
+
+
+
+
+ {{ item.productName }}
+ ¥{{ item.activityPrice }}
+ ¥{{ item.price }}
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
+
diff --git a/pages/bookShop/orderLCont.vue b/pages/bookShop/orderLCont.vue
index a9409ae..cc9439b 100644
--- a/pages/bookShop/orderLCont.vue
+++ b/pages/bookShop/orderLCont.vue
@@ -1,7 +1,8 @@
-
+
+
@@ -262,10 +263,15 @@
type="success"
>
-
+
创建时间 :
@@ -1108,7 +1114,8 @@ export default {
\ No newline at end of file
+.product_quantity {
+ width: auto;
+ color: #9b9b9b;
+ font-size: 26rpx;
+}
+
diff --git a/pages/goods/order/index.vue b/pages/goods/order/index.vue
index 9cc1c7b..152f6e2 100644
--- a/pages/goods/order/index.vue
+++ b/pages/goods/order/index.vue
@@ -88,7 +88,17 @@
- {{ v.productName }}
+ {{ v.productName }}
+
+
@@ -97,16 +107,16 @@
v.isVipPrice == 1 && v.vipPrice != 0 && v.vipPrice != null
"
>
- ¥{{ v.vipPrice.toFixed(2) }}
- VIP到手价
0">
- ¥{{ v.activityPrice.toFixed(2) }}
- 活动价
¥{{ Number(v.price).toFixed(2) }}
-
-
-
@@ -941,7 +935,12 @@ export default {
this.jfNumberShow = this.jfNumber.toFixed(2);
}
- this.actualPayment = this.totalPrice - this.jfNumber -this.districtAmount -this.vipPrice + this.freightNum;
+ this.actualPayment =Number(
+ this.totalPrice -
+ this.jfNumber -
+ this.districtAmount -
+ this.vipPrice +
+ this.freightNum).toFixed(2);
if (this.actualPayment == 0) {
this.isDefaultCurrency = true;
@@ -1200,23 +1199,23 @@ export default {
}
if (that.jfNumber == 0 || that.jfNumber == null) {
that.jfNumberShow = "0.00";
- that.actualPayment = that.totalPrice;
+ that.actualPayment = that.totalPrice.toFixed(2);
} else {
that.jfNumberShow = that.jfNumber.toFixed(2);
- that.actualPayment = that.totalPrice - that.jfNumber;
+ that.actualPayment = Number(that.totalPrice - that.jfNumber).toFixed(2);
}
- that.actualPayment =
+ that.actualPayment =Number(
that.actualPayment +
that.freightNum -
that.districtAmount -
- that.vipPrice;
+ that.vipPrice).toFixed(2);
} else {
- that.actualPayment =
+ that.actualPayment =Number(
that.totalPrice +
that.freightNum -
couponAmount -
that.districtAmount -
- that.vipPrice;
+ that.vipPrice).toFixed(2);
}
if (this.actualPayment == 0 && !this.isShowAddress) {
@@ -1314,12 +1313,13 @@ export default {
couponId: null, //优惠券Id
// isSend: this.isSend,
couponName: "", //优惠券名称
- districtMoney: 0, //优惠金额
+ vipDiscountAmount: this.vipPrice, //折扣金额
+ districtMoney: this.districtAmount, //折扣金额
productList: this.goodsDataList.map((e) => {
return {
productId: e.productId,
- quantity: 1,
+ quantity: this.orderNumber,
};
}), //订单列表商品
orderType: "order", //订单类型