From 34853b87830990baac91da87f65575cc2af4e723 Mon Sep 17 00:00:00 2001
From: YeMingfei666 <1619116647@qq.com>
Date: Mon, 9 Sep 2024 17:45:19 +0800
Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E9=83=A8=E5=88=86=E5=85=AC?=
=?UTF-8?q?=E5=85=B1=E6=A0=B7=E5=BC=8F=20=E4=BF=AE=E6=94=B9=E9=83=A8?=
=?UTF-8?q?=E5=88=86=E5=85=AC=E5=85=B1=E7=BB=84=E4=BB=B6=E4=BB=A3=E7=A0=81?=
=?UTF-8?q?=20=E4=BF=AE=E6=94=B9=E5=8F=B0=E6=A1=8C=EF=BC=8C=E4=BB=A3?=
=?UTF-8?q?=E8=AF=BE=E4=B8=8B=E5=8D=95=E9=80=BB=E8=BE=91=E4=BB=A3=E7=A0=81?=
=?UTF-8?q?=20=E5=A2=9E=E5=8A=A0=E6=94=AF=E4=BB=98=E9=A1=B5=E9=9D=A2=20?=
=?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=94=A8=E6=88=B7=E5=88=97=E8=A1=A8=E9=A1=B5?=
=?UTF-8?q?=E9=9D=A2?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../commons/style/common.scss | 3 -
.../my-components/my-action-sheet.vue | 5 +-
.../components/my-components/my-mask.vue | 12 +-
.../components/my-components/my-radio.vue | 5 +-
.../components/my-components/my-tabs.vue | 85 ++++++-
.../http/yskApi/devices.js | 33 +++
.../pagePrinter/add-printer/add-printer.vue | 216 ++++++++++++++++++
.../components/choose-category.vue | 46 ++++
.../add-printer/components/my-radio-group.vue | 70 ++++++
.../add-printer/components/picker-item.vue | 87 +++++++
.../pagePrinter/devices.js | 44 ++++
.../index/components/printer-item.vue | 106 +++++++++
.../pagePrinter/index/index.vue | 63 +++++
.../pagePrinter/static/icon/icon-category.svg | 1 +
.../pagePrinter/static/icon/icon-setting.svg | 1 +
.../pagePrinter/static/icon/icon-type.svg | 1 +
.../pagePrinter/static/icon/icon-warning.svg | 1 +
.../choose-specifications.vue | 2 +-
.../pageTable/index/components/table-item.vue | 2 +-
.../pageTable/index/index.vue | 25 +-
.../pageUser/index/index.vue | 31 ++-
jeepay-ui-uapp-merchant/pages.json | 29 +++
jeepay-ui-uapp-merchant/pages/index/index.vue | 5 +
.../components/edit-discount.vue | 60 +++--
.../confirm-order/components/discount.vue | 17 +-
.../confirm-order/confirm-order.vue | 7 +-
.../order-detail/components/list.vue | 14 +-
.../order-detail/components/order.vue | 25 +-
.../order-detail/order-detail.vue | 75 ++++--
.../pagesCreateOrder/pay-order/pay-order.vue | 209 +++++++++++++++++
.../static/indexImg/icon-printer.svg | 1 +
31 files changed, 1182 insertions(+), 99 deletions(-)
create mode 100644 jeepay-ui-uapp-merchant/http/yskApi/devices.js
create mode 100644 jeepay-ui-uapp-merchant/pagePrinter/add-printer/add-printer.vue
create mode 100644 jeepay-ui-uapp-merchant/pagePrinter/add-printer/components/choose-category.vue
create mode 100644 jeepay-ui-uapp-merchant/pagePrinter/add-printer/components/my-radio-group.vue
create mode 100644 jeepay-ui-uapp-merchant/pagePrinter/add-printer/components/picker-item.vue
create mode 100644 jeepay-ui-uapp-merchant/pagePrinter/devices.js
create mode 100644 jeepay-ui-uapp-merchant/pagePrinter/index/components/printer-item.vue
create mode 100644 jeepay-ui-uapp-merchant/pagePrinter/index/index.vue
create mode 100644 jeepay-ui-uapp-merchant/pagePrinter/static/icon/icon-category.svg
create mode 100644 jeepay-ui-uapp-merchant/pagePrinter/static/icon/icon-setting.svg
create mode 100644 jeepay-ui-uapp-merchant/pagePrinter/static/icon/icon-type.svg
create mode 100644 jeepay-ui-uapp-merchant/pagePrinter/static/icon/icon-warning.svg
rename jeepay-ui-uapp-merchant/pagesCreateOrder/{confirm-order => }/components/edit-discount.vue (65%)
create mode 100644 jeepay-ui-uapp-merchant/pagesCreateOrder/pay-order/pay-order.vue
create mode 100644 jeepay-ui-uapp-merchant/static/indexImg/icon-printer.svg
diff --git a/jeepay-ui-uapp-merchant/commons/style/common.scss b/jeepay-ui-uapp-merchant/commons/style/common.scss
index 6d9a568..11cbcb0 100644
--- a/jeepay-ui-uapp-merchant/commons/style/common.scss
+++ b/jeepay-ui-uapp-merchant/commons/style/common.scss
@@ -275,9 +275,6 @@ text {
min-height: 100vh;
/* #endif */
}
-.bg-gray{
- background-color: #F9F9F9;
-}
.w-full{
width: 100%;
}
diff --git a/jeepay-ui-uapp-merchant/components/my-components/my-action-sheet.vue b/jeepay-ui-uapp-merchant/components/my-components/my-action-sheet.vue
index 743f0d1..a799c3c 100644
--- a/jeepay-ui-uapp-merchant/components/my-components/my-action-sheet.vue
+++ b/jeepay-ui-uapp-merchant/components/my-components/my-action-sheet.vue
@@ -4,7 +4,7 @@
-
+
@@ -82,6 +82,9 @@ import { ref } from 'vue';
text-align: center;
font-size: 32rpx;
border-bottom: 1px solid $bg;
+ .btn{
+ border-radius: 0;
+ }
}
}
}
diff --git a/jeepay-ui-uapp-merchant/components/my-components/my-mask.vue b/jeepay-ui-uapp-merchant/components/my-components/my-mask.vue
index eb68513..ec036d4 100644
--- a/jeepay-ui-uapp-merchant/components/my-components/my-mask.vue
+++ b/jeepay-ui-uapp-merchant/components/my-components/my-mask.vue
@@ -10,9 +10,14 @@
\ No newline at end of file
diff --git a/jeepay-ui-uapp-merchant/pagePrinter/add-printer/components/choose-category.vue b/jeepay-ui-uapp-merchant/pagePrinter/add-printer/components/choose-category.vue
new file mode 100644
index 0000000..c1b5c89
--- /dev/null
+++ b/jeepay-ui-uapp-merchant/pagePrinter/add-printer/components/choose-category.vue
@@ -0,0 +1,46 @@
+
+
+
+
+ 选择分类
+
+
+
+
+
+
+
+
+
+ 取消
+
+
+ 确定
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/jeepay-ui-uapp-merchant/pagePrinter/add-printer/components/my-radio-group.vue b/jeepay-ui-uapp-merchant/pagePrinter/add-printer/components/my-radio-group.vue
new file mode 100644
index 0000000..ef2ca22
--- /dev/null
+++ b/jeepay-ui-uapp-merchant/pagePrinter/add-printer/components/my-radio-group.vue
@@ -0,0 +1,70 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/jeepay-ui-uapp-merchant/pagePrinter/add-printer/components/picker-item.vue b/jeepay-ui-uapp-merchant/pagePrinter/add-printer/components/picker-item.vue
new file mode 100644
index 0000000..daad2cc
--- /dev/null
+++ b/jeepay-ui-uapp-merchant/pagePrinter/add-printer/components/picker-item.vue
@@ -0,0 +1,87 @@
+
+
+ {{title}}
+
+
+ {{selText}}
+ 请选择
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/jeepay-ui-uapp-merchant/pagePrinter/devices.js b/jeepay-ui-uapp-merchant/pagePrinter/devices.js
new file mode 100644
index 0000000..ecfbf55
--- /dev/null
+++ b/jeepay-ui-uapp-merchant/pagePrinter/devices.js
@@ -0,0 +1,44 @@
+export const devices = [
+ {
+ value: 'printer',
+ name: '本地'
+ },
+ {
+ value: 'yxyPrinter',
+ name: '云想印'
+ },
+ {
+ value: 'fePrinter',
+ name: '飞鹅'
+ }
+]
+
+export const models = [
+ {
+ value: 'normal',
+ name: '普通出单'
+ },
+ {
+ value: 'one',
+ name: '一菜一品'
+ },
+ {
+ value: 'category',
+ name: '分类出单'
+ }
+]
+
+export const subTypes = [
+ {
+ value: 'kitchen',
+ name: '出品'
+ },
+ {
+ value: 'cash',
+ name: '小票'
+ },
+ {
+ value: 'label',
+ name: '标签'
+ }
+]
\ No newline at end of file
diff --git a/jeepay-ui-uapp-merchant/pagePrinter/index/components/printer-item.vue b/jeepay-ui-uapp-merchant/pagePrinter/index/components/printer-item.vue
new file mode 100644
index 0000000..fc85521
--- /dev/null
+++ b/jeepay-ui-uapp-merchant/pagePrinter/index/components/printer-item.vue
@@ -0,0 +1,106 @@
+
+
+
+
+
+ {{ data.name}}
+ ({{data.address}})
+
+
+
+ 在线,状态正常
+
+
+
+ 离线
+
+
+
+
+
+
+
+
+
+ 设置
+
+
+ {{modelsName(data.config.model)}}
+
+
+
+
+
+ 类型
+
+
+ {{subTypesName(data.subType)}}
+
+
+
+
+
+ 分类
+
+
+ {{devicesName(data.contentType)}}
+
+
+
+ 删除
+ 编辑
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/jeepay-ui-uapp-merchant/pagePrinter/index/index.vue b/jeepay-ui-uapp-merchant/pagePrinter/index/index.vue
new file mode 100644
index 0000000..3dddeaf
--- /dev/null
+++ b/jeepay-ui-uapp-merchant/pagePrinter/index/index.vue
@@ -0,0 +1,63 @@
+
+
+
+
+
+
+
+
+
+
+ +
+ 添加云打印机
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/jeepay-ui-uapp-merchant/pagePrinter/static/icon/icon-category.svg b/jeepay-ui-uapp-merchant/pagePrinter/static/icon/icon-category.svg
new file mode 100644
index 0000000..2ebc211
--- /dev/null
+++ b/jeepay-ui-uapp-merchant/pagePrinter/static/icon/icon-category.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/jeepay-ui-uapp-merchant/pagePrinter/static/icon/icon-setting.svg b/jeepay-ui-uapp-merchant/pagePrinter/static/icon/icon-setting.svg
new file mode 100644
index 0000000..335683f
--- /dev/null
+++ b/jeepay-ui-uapp-merchant/pagePrinter/static/icon/icon-setting.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/jeepay-ui-uapp-merchant/pagePrinter/static/icon/icon-type.svg b/jeepay-ui-uapp-merchant/pagePrinter/static/icon/icon-type.svg
new file mode 100644
index 0000000..90ab06b
--- /dev/null
+++ b/jeepay-ui-uapp-merchant/pagePrinter/static/icon/icon-type.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/jeepay-ui-uapp-merchant/pagePrinter/static/icon/icon-warning.svg b/jeepay-ui-uapp-merchant/pagePrinter/static/icon/icon-warning.svg
new file mode 100644
index 0000000..faef0e0
--- /dev/null
+++ b/jeepay-ui-uapp-merchant/pagePrinter/static/icon/icon-warning.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/jeepay-ui-uapp-merchant/pageProduct/add-specifications/choose-specifications.vue b/jeepay-ui-uapp-merchant/pageProduct/add-specifications/choose-specifications.vue
index d89a7d7..3e85444 100644
--- a/jeepay-ui-uapp-merchant/pageProduct/add-specifications/choose-specifications.vue
+++ b/jeepay-ui-uapp-merchant/pageProduct/add-specifications/choose-specifications.vue
@@ -21,7 +21,7 @@
-
+ {{item.selectSpecResult}}
diff --git a/jeepay-ui-uapp-merchant/pageTable/index/components/table-item.vue b/jeepay-ui-uapp-merchant/pageTable/index/components/table-item.vue
index 8c9324d..8526c1c 100644
--- a/jeepay-ui-uapp-merchant/pageTable/index/components/table-item.vue
+++ b/jeepay-ui-uapp-merchant/pageTable/index/components/table-item.vue
@@ -3,7 +3,7 @@
{{data.name}}
-
+
diff --git a/jeepay-ui-uapp-merchant/pageTable/index/index.vue b/jeepay-ui-uapp-merchant/pageTable/index/index.vue
index caea731..c013b52 100644
--- a/jeepay-ui-uapp-merchant/pageTable/index/index.vue
+++ b/jeepay-ui-uapp-merchant/pageTable/index/index.vue
@@ -21,7 +21,8 @@
-
+
取消
@@ -54,22 +55,6 @@
0/12
-
@@ -341,6 +326,10 @@
return v.status == status.list[status.active].key
});
})
+ watch(() => times.active, (newval) => {
+ setTimer()
+ })
+
function tableUpdate() {
query.page = 0
@@ -364,7 +353,7 @@
setTimer()
})
onHide(()=>{
-
+ clearInterval(timer)
})
onShow(opt => {
setTimer()
diff --git a/jeepay-ui-uapp-merchant/pageUser/index/index.vue b/jeepay-ui-uapp-merchant/pageUser/index/index.vue
index b3476d5..2c767fb 100644
--- a/jeepay-ui-uapp-merchant/pageUser/index/index.vue
+++ b/jeepay-ui-uapp-merchant/pageUser/index/index.vue
@@ -23,16 +23,16 @@
数据统计
-
-
+
+
会员数
{{pageData.allShopInfo.userTotal}}
-
+
会员余额
{{pageData.allShopInfo.balanceTotal}}
-
+
充值金额
{{pageData.allShopInfo.chageTotal}}
@@ -367,14 +367,31 @@
}
\ No newline at end of file
diff --git a/jeepay-ui-uapp-merchant/static/indexImg/icon-printer.svg b/jeepay-ui-uapp-merchant/static/indexImg/icon-printer.svg
new file mode 100644
index 0000000..0892970
--- /dev/null
+++ b/jeepay-ui-uapp-merchant/static/indexImg/icon-printer.svg
@@ -0,0 +1 @@
+
\ No newline at end of file