diff --git a/bundle/reserve/confirm.vue b/bundle/reserve/confirm.vue
new file mode 100644
index 0000000..45e8dac
--- /dev/null
+++ b/bundle/reserve/confirm.vue
@@ -0,0 +1,399 @@
+
+
+
+
+
+
+
+ 预约信息
+ 预约场地:这里是场地的名称
+ 预约时间:2025-03-18 09:00-12:00
+ 预约时长:3小时
+
+
+
+
+
+
+ 其他须知
+
+
+
+ 17点前预约100元/小时
+
+
+
+ 17点后需要加收灯光费,120元/小时
+
+
+
+
+
+
+
+ 退订规则
+
+
+ ①开场前≥24小时退订,可全款退款
+
+
+ ②4小时<开场前<24小时退订,收取50%手续费
+
+
+ ③开场前≤4小时退订,不予退款
+
+
+
+
+
+
+
+
+
+ 合计:
+
+
+ 费用明细
+
+
+
+ 立即预定({{countSelectedTime}}小时)
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/bundle/reserve/reserve.vue b/bundle/reserve/reserve.vue
index 3c4f3cc..9e3351b 100644
--- a/bundle/reserve/reserve.vue
+++ b/bundle/reserve/reserve.vue
@@ -18,7 +18,7 @@
- 立即预定({{countSelectedTime}}小时)
+ 立即预定({{countSelectedTime}}小时)
@@ -64,7 +64,7 @@
@@ -265,7 +294,9 @@
loading: true,
/*是否显示核销二维码*/
isCodeImg: false,
- codeImg: ''
+ codeImg: '',
+ cancelOrderPopup: false,
+ delOrderPopup: false,
};
},
computed: {
@@ -417,7 +448,7 @@
/*跳转页面*/
gotoOrder(e) {
- this.gotoPage('/pages/order/order-detail?order_id=' + e);
+ this.gotoPage('/pages/order/cg-order-detail?order_id=' + e);
},
/*隐藏支付方式*/
@@ -518,36 +549,34 @@
}
});
},
+
+ // 取消订单弹窗
+ showCancleOrderPopup(order_id) {
+ this.cancelOrderPopup = true;
+ this.order_id = order_id;
+ },
+
/*取消订单*/
cancelOrder(e) {
let self = this;
- let order_id = e;
- uni.showModal({
- title: '提示',
- content: '您确定要取消吗?',
- success: function(o) {
- if (o.confirm) {
- uni.showLoading({
- title: '正在处理'
- });
- self._get(
- 'user.order/cancel', {
- order_id: order_id
- },
- function(res) {
- uni.hideLoading();
- uni.showToast({
- title: '操作成功',
- duration: 2000,
- icon: 'success'
- });
- self.listData = [];
- self.getData();
- }
- );
- }
- }
+ uni.showLoading({
+ title: '正在处理'
});
+ self._get(
+ 'user.order/cancel', {
+ order_id: self.order_id
+ },
+ function(res) {
+ uni.hideLoading();
+ uni.showToast({
+ title: '操作成功',
+ duration: 2000,
+ icon: 'success'
+ });
+ self.listData = [];
+ self.getData();
+ }
+ );
},
nowOverTime(t) {
@@ -589,6 +618,15 @@
gotoAssembleShare(e) {
let url = '/pages/plus/assemble/fight-group-detail/fight-group-detail?assemble_bill_id=' + e;
this.gotoPage(url);
+ },
+
+ // 删除订单
+ onDelOrder() {
+ uni.showToast({
+ title: '该功能正在开发中,敬请期待',
+ duration: 2000,
+ icon: 'none'
+ });
}
}
};
@@ -604,4 +642,54 @@
@import url("css/cg-order.css");
+
+.notice-popup {
+ padding: 20rpx 0;
+ width: 100%;
+
+ .title {
+ font-size: 36rpx;
+ color: #303133;
+ line-height: 50rpx;
+ text-align: center;
+ }
+
+ .desc {
+ margin-top: 48rpx;
+ font-weight: 400;
+ font-size: 32rpx;
+ color: #303133;
+ line-height: 52rpx;
+ text-align: center;
+ }
+
+ .btn {
+ font-size: 32rpx;
+ display: flex;
+ justify-content: center;
+ align-items: center;
+ margin-top: 44rpx;
+
+ .btn1 {
+ width: 240rpx;
+ height: 80rpx;
+ line-height: 80rpx;
+ text-align: center;
+ background: #F6F7F8;
+ border-radius: 8rpx;
+ margin-right: 30rpx;
+ }
+
+ .btn2 {
+ width: 240rpx;
+ height: 80rpx;
+ line-height: 80rpx;
+ text-align: center;
+ background: #365A9A;
+ color: #FFFFFF;
+ border-radius: 8rpx;
+ }
+ }
+}
+
diff --git a/pages/order/cg-order-detail.vue b/pages/order/cg-order-detail.vue
new file mode 100644
index 0000000..c3c1dcc
--- /dev/null
+++ b/pages/order/cg-order-detail.vue
@@ -0,0 +1,769 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 实际退款¥175.00
+
+
+ 您的订单已取消。期待下次有机会再为您服务!
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 这个是场馆的名字
+
+
+
+
+ ¥
+ {{ item.product_price }}
+
+
+
+ ¥100/小时
+ x{{ item.total_num }}
+
+
+
+
+
+ 预约信息
+
+ 预约时间:2025-03-18 09:00-12:00
+ 预约时长:3小时
+
+
+
+
+
+
+ 适用门店
+
+
+
+
+
+ 这个是场馆的名字
+
+
+
+ 距您9km
+
+
+
+
+
+
+ 嘉兴市秀洲区秀园路秀湖公园(西南角)
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 订单信息
+
+ 订单编号:
+
+ {{ detail.order_no }}
+ |
+ 复制
+
+
+
+
+ 交易方式:
+
+ {{ detail.pay_type.text }}
+
+
+
+
+ 创建时间:
+
+ {{ detail.create_time }}
+
+
+
+
+ 付款时间:
+
+
+ 1111
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/order/css/cg-order.css b/pages/order/css/cg-order.css
new file mode 100644
index 0000000..6bc08d0
--- /dev/null
+++ b/pages/order/css/cg-order.css
@@ -0,0 +1,270 @@
+page {
+ background-color: #F6F7F9 !important;
+}
+
+.cg-order .top-tabbar {
+ height: 96rpx;
+ display: flex;
+ flex-wrap: nowrap;
+ justify-content: flex-start;
+ align-items: center;
+ overflow-x: auto;
+ background-color: #F6F7F9 !important;
+ margin-bottom: 28rpx;
+}
+
+.cg-order .top-tabbar .tab-item.active::after {
+ content: '';
+ background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAAQCAMAAAB9TOwNAAAAn1BMVEUAAAAAQIAgQIAqVZUwUI8zWZkwWJczV5kyVZU0VZY0XJ0zWZk1WZo1WZo0WJc1WZg0WpszVpk0WJg0V5o1WZg2WZkzWZk0WJk0V5k1WZk2WZk0Wps2Wps2WJo0Wpo1WZk1Wpo1WZk1Wpo2WZo2WZk2WZo1Wpo1WZk1WZo2WZo2Wpo1Wpo1WZk2WZk2WZo1WZk1Wpo2WZk2Wpo2WZk2WppMVWQ4AAAANHRSTlMABAgMEBQgIyQnJygrP0BIT1BUWFxfZGtsc3t/f5OXm5+jp6uvr7O3v8PHz9Pf3+vv8/f7R0m5LAAAAMZJREFUGBmtwQlygjAABdBvUNzFWldADS6YKqiQf/+zSZlqhzIWM+17+BtrFas+DPVVvLIArJkJmjDQDJgJgLrmJy17eFFPaubqsHmnJhYqWRPFOxsi5UN6mHXwi87skPIhFYDLgsvOHbZr+KHWHrq7Cws8ZDyWxcdQLv3cUobHmGUecqOExq5v+NL6oCFl49v4RAOndxQ5e82X6L2DssY0TFghCacNPCEGi03EJ6LNYiBQQXSduS+3SkXnTKTUVvpzpyvwv24yMFfPCBJo4AAAAABJRU5ErkJggg==');
+ background-color: transparent !important;
+ background-repeat: no-repeat;
+ background-size: cover;
+ width: 60rpx;
+ height: 16rpx;
+}
+
+
+.tab-item{
+ flex-shrink: 0;
+ white-space: nowrap;
+ flex: auto;
+}
+
+.order-list {
+ margin: 0 30rpx;
+}
+
+.order-list .order-head .state-text {
+ padding: 10rpx 12rpx;
+ margin-right: 21rpx;
+ border-radius: 4rpx;
+ background: #FFE7E4;
+ font-size: 22rpx;
+ color: #F6220C;
+}
+
+.shop-name {
+ font-size: 26rpx;
+ font-family: PingFang SC;
+ font-weight: 500;
+ color: #333333;
+}
+
+.order-list .item {
+ margin-bottom: 30rpx;
+ padding: 30rpx;
+ background: #ffffff;
+ border-radius: 10rpx;
+}
+
+.order-list .product-list,
+.order-list .one-product {
+ padding: 30rpx 0 27rpx 0;
+ height: 150rpx;
+}
+
+.one-product .pro-info {
+ padding: 0 21rpx 0 28rpx;
+ display: -webkit-box;
+ width: 361rpx;
+ overflow: hidden;
+ -webkit-line-clamp: 2;
+ -webkit-box-orient: vertical;
+ font-size: 26rpx;
+ color: #333333;
+}
+
+.order-list .cover,
+.order-list .cover image {
+ width: 150rpx;
+ height: 150rpx;
+ border-radius: 8rpx;
+}
+
+.order-list .total-count {
+ padding-left: 20rpx;
+ display: flex;
+ flex-direction: column;
+ justify-content: center;
+ align-items: flex-end;
+}
+
+.total-count .count {
+ padding-top: 16rpx;
+ color: #999999;
+ font-size: 22rpx;
+}
+
+.product-list .total-count {
+ position: absolute;
+ top: 0;
+ right: 0;
+ bottom: 0;
+ background: rgba(255, 255, 255, 0.9);
+}
+
+.product-list .total-count .left-shadow {
+ position: absolute;
+ top: 0;
+ bottom: 0;
+ left: -24rpx;
+ width: 24rpx;
+ overflow: hidden;
+}
+
+.product-list .total-count .left-shadow::after {
+ position: absolute;
+ top: 0;
+ bottom: 0;
+ width: 24rpx;
+ right: -12rpx;
+ display: block;
+ content: '';
+ background-image: radial-gradient(rgba(0, 0, 0, 0.2) 10%, rgba(0, 0, 0, 0.1) 40%, rgba(0, 0, 0, 0) 80%);
+}
+
+.order-list .order-bts {
+ display: flex;
+ justify-content: flex-end;
+ align-items: center;
+}
+
+.order-list .order-bts.presale {
+ display: block;
+ padding-top: 12rpx;
+}
+
+.order-list .order-bts button {
+ width: 176rpx;
+ height: 60rpx;
+ line-height: 60rpx;
+ margin-left: 20rpx;
+ font-size: 32rpx;
+ border: 1px solid #F6220C;
+ border-radius: 8px;
+ background: #ffffff;
+ white-space: nowrap;
+ font-family: PingFang SC;
+}
+
+.order-list .order-bts button::after {
+ display: none;
+}
+
+.order-list .order-bts button.btn-border-red {
+ border: 1px solid $dominant-color;
+ font-size: 24rpx;
+ color: $dominant-color;
+}
+
+.order-list .order-bts button.btn-red {
+ background: linear-gradient(90deg, #FF6B6B 4%, #F6220C 100%);
+ border-radius: 30rpx;
+ font-size: 32rpx;
+ font-family: PingFang SC;
+ color: #ffffff;
+ border: none;
+}
+
+.buy-checkout {
+ width: 100%;
+}
+
+.buy-checkout .item {
+ min-height: 50rpx;
+ line-height: 50rpx;
+ padding: 20rpx;
+ display: flex;
+ justify-content: space-between;
+ font-size: 28rpx;
+}
+
+.buy-checkout .iconfont.icon-weixin {
+ color: #04be01;
+ font-size: 50rpx;
+}
+
+.buy-checkout .iconfont.icon-yue {
+ color: #f0de7c;
+ font-size: 50rpx;
+}
+
+.buy-checkout .item.active .iconfont.icon-xuanze {
+ color: #04be01;
+}
+
+.item-dianpu {
+ display: flex;
+ justify-content: space-between;
+ align-items: center;
+ font-size: 24rpx;
+ line-height: 30rpx;
+}
+
+.item-dianpu .icon-jiantou {
+ font-size: 24rpx;
+ color: #333333;
+}
+
+.item-d-l {
+ display: flex;
+}
+
+.icon-dianpu1 {
+ margin-right: 20rpx;
+ color: #333333;
+ font-size: 32rpx;
+}
+
+.cg-name {
+ font-weight: bold;
+ font-size: 30rpx;
+ color: #303133;
+ line-height: 42rpx;
+}
+
+.cg-state {
+ font-weight: 400;
+ font-size: 28rpx;
+ color: #FF5951;
+ line-height: 40rpx;
+}
+
+.cg-info1 {
+ font-weight: 500;
+ font-size: 30rpx;
+ color: #303133;
+ line-height: 42rpx;
+}
+
+.cg-info2 {
+ margin-top: 34rpx;
+ font-weight: 400;
+ font-size: 26rpx;
+ color: #606266;
+ line-height: 36rpx;
+}
+
+.cg-info3 {
+ margin-top: 18rpx;
+ font-weight: 400;
+ font-size: 26rpx;
+ color: #606266;
+ line-height: 36rpx;
+}
+
+.order-bts .cancel-btn {
+ border: 2rpx solid #C2C9D5 !important;
+ color: #303133 !important;
+}
+
+.order-bts .pay-btn {
+ border: 2rpx solid #365A9A !important;
+ background-color: transparent !important;
+ color: #365A9A !important;
+}
+
+.order-bts .del-btn {
+ border: 2rpx solid #C2C9D5 !important;
+ color: #365A9A !important;
+}
diff --git a/pages/order/css/myorder.css b/pages/order/css/myorder.css
index 26f01bd..038e535 100644
--- a/pages/order/css/myorder.css
+++ b/pages/order/css/myorder.css
@@ -125,7 +125,6 @@ page {
border-radius: 30px;
background: #ffffff;
white-space: nowrap;
- color: #F6220C;
font-family: PingFang SC;
}
diff --git a/pages/user/address/add/add.vue b/pages/user/address/add/add.vue
index f8e5109..e7e4635 100644
--- a/pages/user/address/add/add.vue
+++ b/pages/user/address/add/add.vue
@@ -39,7 +39,7 @@
-
+
@@ -202,6 +202,8 @@
line-height: 90rpx;
border-radius: 8rpx;
margin: 0 60rpx;
+ background-color: #365A9A !important;
+ color: #fff;
}
.border-b {
diff --git a/pages/user/address/address.vue b/pages/user/address/address.vue
index b9066cb..7f8a3d6 100644
--- a/pages/user/address/address.vue
+++ b/pages/user/address/address.vue
@@ -39,7 +39,7 @@
-->
- 新增收货地址
+ 新增收货地址
@@ -197,7 +197,7 @@
font-size: 32rpx;
font-family: PingFang SC;
font-weight: 500;
- background: #365A9A;
+ background: #365A9A !important;
color: #FFFFFF;
position: fixed;
bottom: 40rpx;
@@ -248,6 +248,8 @@
display: flex;
justify-content: center;
align-items: center;
+ background-color: #365A9A !important;
+ color: #fff;
}
.pbenv{
padding-bottom: calc(env(safe-area-inset-bottom) + 120rpx);
diff --git a/pages/user/address/edit/edit.vue b/pages/user/address/edit/edit.vue
index 1bccb60..3d4a08c 100644
--- a/pages/user/address/edit/edit.vue
+++ b/pages/user/address/edit/edit.vue
@@ -41,7 +41,7 @@
-
+
@@ -270,6 +270,8 @@
height: 90rpx;
line-height: 90rpx;
border-radius: 8rpx;
+ background-color: #365A9A !important;
+ color: #fff;
}
.border-b {
diff --git a/pages/user/index/index.vue b/pages/user/index/index.vue
index 013a0dd..0d69029 100644
--- a/pages/user/index/index.vue
+++ b/pages/user/index/index.vue
@@ -54,11 +54,11 @@
我的场馆订单
- 全部订单全部订单
-
+
待付款
-
+
-
+
{{ orderCount.delivery }}
+ v-if="orderCount.reserve != null && orderCount.reserve > 0">{{ orderCount.reserve }}
- 待发货
+ 已预约
-
+
-
+
{{ orderCount.received }}
+ v-if="orderCount.completed != null && orderCount.completed > 0">{{ orderCount.completed }}
- 待收货
+ 已完成
-
-
+
{{ orderCount.refund }}
@@ -154,7 +146,7 @@
-->
-
+
{{ orderCount.refund }}
diff --git a/static/coupon.png b/static/coupon.png
new file mode 100644
index 0000000..98a7433
Binary files /dev/null and b/static/coupon.png differ
diff --git a/static/icon/active.png b/static/icon/active.png
new file mode 100644
index 0000000..8791671
Binary files /dev/null and b/static/icon/active.png differ
diff --git a/static/icon/time2.png b/static/icon/time2.png
new file mode 100644
index 0000000..49dba34
Binary files /dev/null and b/static/icon/time2.png differ