From 0770dd40fbabedc4db2975dcdfb4ae8b591e0bb6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E8=B5=B5=E6=AF=85?= <1335909236@qq.com>
Date: Wed, 23 Jul 2025 17:18:39 +0800
Subject: [PATCH] =?UTF-8?q?feat=20:=20=E5=AE=8C=E6=88=90=E9=A1=B5=E9=9D=A2?=
=?UTF-8?q?=E6=88=91=E7=9A=84=E8=AE=A2=E5=8D=95=E9=83=A8=E5=88=86=20-=20?=
=?UTF-8?q?=E5=BE=85=E8=AF=84=E4=BB=B7=20=E5=B7=B2=E8=AF=84=E4=BB=B7=20?=
=?UTF-8?q?=E8=AF=84=E4=BB=B7?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
packages/myOrders/evaluate/index.css | 217 ++++++++++++++++++++++++
packages/myOrders/evaluate/index.vue | 190 +++++++++++++++++++++
packages/myOrders/index/awaitRated.css | 100 ++++++++++++
packages/myOrders/index/awaitRated.vue | 93 +++++++++++
packages/myOrders/index/index.css | 3 +
packages/myOrders/index/index.vue | 218 +++++++++++++------------
packages/myOrders/index/rated.css | 113 +++++++++++++
packages/myOrders/index/rated.vue | 69 ++++++++
pages.json | 6 +
9 files changed, 905 insertions(+), 104 deletions(-)
create mode 100644 packages/myOrders/evaluate/index.css
create mode 100644 packages/myOrders/evaluate/index.vue
create mode 100644 packages/myOrders/index/awaitRated.css
create mode 100644 packages/myOrders/index/awaitRated.vue
create mode 100644 packages/myOrders/index/rated.css
create mode 100644 packages/myOrders/index/rated.vue
diff --git a/packages/myOrders/evaluate/index.css b/packages/myOrders/evaluate/index.css
new file mode 100644
index 00000000..65193e29
--- /dev/null
+++ b/packages/myOrders/evaluate/index.css
@@ -0,0 +1,217 @@
+page {
+ background-color: #f0f2f5;
+ min-height: 100vh;
+ overflow-y: hidden;
+}
+
+.container {
+ padding: 20rpx;
+}
+
+/* 商品图片区域 */
+.goods-scroll {
+ width: 96%;
+ white-space: nowrap;
+ margin-bottom: 30rpx;
+ padding: 20rpx 15rpx;
+ background-color: #ffffff;
+}
+
+.goods-list {
+ display: inline-flex;
+}
+
+.goods-item {
+ width: 120rpx;
+ height: 120rpx;
+ margin-right: 16rpx;
+ border-radius: 8rpx;
+ overflow: hidden;
+}
+
+.goods-img {
+ width: 100%;
+ height: 100%;
+ object-fit: cover;
+}
+
+/* 订单编号 */
+.order-info {
+ display: flex;
+ justify-content: space-between;
+ padding: 20rpx 0;
+ border-bottom: 1rpx solid #EEEEEE;
+ margin-bottom: 30rpx;
+}
+
+.order-label {
+ font-size: 26rpx;
+ color: #9a9a9a;
+}
+
+.order-value {
+ font-size: 26rpx;
+ color: #333333;
+}
+
+.goods{
+ display: flex;
+ align-items: center;
+ justify-content: flex-start;
+ gap: 20rpx;
+}
+
+/* 货品图 */
+.goodsImg{
+ display: flex;
+ width: 100rpx;
+ height: 100rpx;
+}
+
+/* 评分区域 */
+.rating{
+ width: 460rpx;
+ display: flex;
+ justify-content: space-between;
+ margin: 0 0 0rpx 55rpx;
+ color: #a6a6a6;
+}
+
+.rating-section {
+ background-color: #FFFFFF;
+ border-radius: 16rpx;
+ padding: 20rpx;
+ margin-bottom: 30rpx;
+ height: 80vh;
+}
+
+.rating-item {
+ display: flex;
+ align-items: center;
+ margin-bottom: 30rpx;
+ margin-top: 20rpx;
+}
+
+.rating-item:last-child {
+ margin-bottom: 0;
+}
+
+.rating-label {
+ width: 160rpx;
+ font-size: 28rpx;
+ color: #333333;
+ font-weight: bold;
+}
+
+/* 评价输入 */
+.comment-section {
+ padding: 20rpx;
+ margin-bottom: 30rpx;
+ border-top: 1rpx solid #f5f5f5;
+}
+
+.comment-input {
+ width: 100%;
+ min-height: 100rpx;
+ font-size: 26rpx;
+ color: #333333;
+ line-height: 1.5;
+}
+
+/* 图片上传 */
+.upload-section {
+ /* background-color: #FFFFFF; */
+ border-radius: 16rpx;
+ padding: 20rpx;
+ margin-bottom: 40rpx;
+ display: flex;
+}
+
+.upload-btn {
+ display: flex;
+ width: 150rpx;
+ height: 150rpx;
+ padding: 15rpx;
+ background-color: #f6f6f6;
+ flex-direction: column;
+ justify-content: center;
+ align-items: center;
+ margin-bottom: 20rpx;
+ border-radius: 20rpx;
+}
+
+.upload-icon {
+ width: 60rpx;
+ height: 50rpx;
+ margin-right: 10rpx;
+}
+
+.upload-text {
+ font-size: 28rpx;
+ color: #333333;
+ margin: 10rpx 0;
+}
+
+.upload-count {
+ font-size: 28rpx;
+ color: #999999;
+}
+
+.image-list {
+ display: flex;
+ /* flex-wrap: wrap; */
+}
+
+.image-item {
+ width: 170rpx;
+ height: 170rpx;
+ margin-right: 20rpx;
+ margin-bottom: 20rpx;
+ position: relative;
+ border-radius: 20rpx;
+ overflow: hidden;
+}
+
+.uploaded-img {
+ width: 100%;
+ height: 100%;
+ object-fit: cover;
+}
+
+.delete-btn {
+ position: absolute;
+ top: -10rpx;
+ right: -10rpx;
+ width: 36rpx;
+ height: 36rpx;
+ background-color: rgba(0, 0, 0, 0.5);
+ border-radius: 50%;
+ display: flex;
+ justify-content: center;
+ align-items: center;
+}
+
+.delete-icon {
+ color: #FFFFFF;
+ font-size: 24rpx;
+ font-weight: bold;
+}
+
+/* 提交按钮 */
+.submit-btn {
+ width: 90%;
+ height: 98rpx;
+ background-color: #ff4117;
+ border-radius: 49rpx;
+ display: flex;
+ justify-content: center;
+ align-items: center;
+ margin-top: 20rpx;
+ margin: 0 auto;
+}
+
+.btn-text {
+ font-size: 32rpx;
+ color: #FFFFFF;
+ font-weight: bold;
+}
\ No newline at end of file
diff --git a/packages/myOrders/evaluate/index.vue b/packages/myOrders/evaluate/index.vue
new file mode 100644
index 00000000..7f923a0e
--- /dev/null
+++ b/packages/myOrders/evaluate/index.vue
@@ -0,0 +1,190 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 订单编号
+ 38757328485
+
+
+
+
+
+
+ 很差
+ 差
+ 一般
+ 不错
+ 满意
+
+
+
+
+ 商品品质
+
+
+
+
+
+ 配送速度
+
+
+
+
+
+ 快递员服务
+
+
+
+
+
+
+
+
+
+
+
+ ×
+
+
+
+
+
+ 上传图片
+ ({{ imageList.length }}/3)
+
+
+
+
+ 提交
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/packages/myOrders/index/awaitRated.css b/packages/myOrders/index/awaitRated.css
new file mode 100644
index 00000000..8cb5adfc
--- /dev/null
+++ b/packages/myOrders/index/awaitRated.css
@@ -0,0 +1,100 @@
+.order-list {
+ padding: 15px;
+ background-color: #f5f5f5;
+}
+
+.order-item {
+ background-color: white;
+ border-radius: 10px;
+ padding: 15px;
+ margin-bottom: 15px;
+}
+
+.order-header {
+ margin-bottom: 15px;
+}
+
+.order-number {
+ font-size: 16px;
+ font-weight: bold;
+ color: #333;
+}
+
+.product-list {
+ border-top: 1px solid #eee;
+ padding-top: 15px;
+}
+
+.product-item {
+ display: flex;
+ align-items: center;
+ padding: 10px 0;
+ border-bottom: 1px solid #eee;
+}
+
+.product-item:last-child {
+ border-bottom: none;
+}
+
+.product-info {
+ flex: 1;
+ display: flex;
+ align-items: center;
+}
+
+.product-img {
+ position: relative;
+ width: 80px;
+ height: 80px;
+ margin-right: 15px;
+}
+
+.product-img image {
+ width: 100%;
+ height: 100%;
+ border-radius: 5px;
+}
+
+.tag {
+ position: absolute;
+ top: 0;
+ left: 0;
+ background-color: #ff7d00;
+ color: white;
+ font-size: 12px;
+ padding: 2px 5px;
+ border-radius: 3px 0 3px 0;
+}
+
+.product-details {
+ flex: 1;
+}
+
+.product-name {
+ font-size: 14px;
+ color: #333;
+ margin-bottom: 5px;
+ display: block;
+}
+
+.product-spec,
+.product-unit {
+ font-size: 12px;
+ color: #666;
+ margin-bottom: 3px;
+ display: block;
+}
+
+.evaluate-btn {
+ background-color: #ff7d00;
+ color: white;
+ border: none;
+ border-radius: 10px;
+ /* padding: 8px 15px; */
+ font-size: 14px;
+ min-width: 80px;
+}
+
+.evaluate-btn::after {
+ border: none;
+}
\ No newline at end of file
diff --git a/packages/myOrders/index/awaitRated.vue b/packages/myOrders/index/awaitRated.vue
new file mode 100644
index 00000000..1623ae11
--- /dev/null
+++ b/packages/myOrders/index/awaitRated.vue
@@ -0,0 +1,93 @@
+
+
+
+
+
+
+
+
+
+ {{ product.tag }}
+
+
+ {{ product.name }}
+ {{ product.spec }}
+ {{ product.unit }}
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/packages/myOrders/index/index.css b/packages/myOrders/index/index.css
index f3ad47ab..54a28dbd 100644
--- a/packages/myOrders/index/index.css
+++ b/packages/myOrders/index/index.css
@@ -11,6 +11,9 @@ page {
height: 100rpx;
padding: 0 20rpx;
box-sizing: border-box;
+ display: flex;
+ overflow-x: auto;
+ white-space: nowrap;
}
.tabItem {
diff --git a/packages/myOrders/index/index.vue b/packages/myOrders/index/index.vue
index 7ce67d01..b3d67d08 100644
--- a/packages/myOrders/index/index.vue
+++ b/packages/myOrders/index/index.vue
@@ -12,87 +12,83 @@
-
-
-
-
-
-