From e1beceff7be12cbd0e18dddd3beaaf3ee7b1b41b Mon Sep 17 00:00:00 2001
From: liugongyu <290219706@qq.com>
Date: Tue, 13 Jun 2023 12:41:00 +0800
Subject: [PATCH] 二维码保存图片
---
common/common.js | 6 ++++++
pages.json | 544 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
pages/businessCard/printCard.vue | 2 +-
pages/parkRecordList/parkRecordList.vue | 449 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
pages/revisePwd/revisePwd.vue | 192 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
pages/setting/setting.vue | 163 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-----------------------------------------------------------------------------------
6 files changed, 802 insertions(+), 554 deletions(-)
create mode 100644 pages/revisePwd/revisePwd.vue
diff --git a/common/common.js b/common/common.js
index 14f44a8..9ffc44a 100644
--- a/common/common.js
+++ b/common/common.js
@@ -21,6 +21,10 @@ const SetToken = uni.getStorageSync("globalUser").token;
// ----江阴项目 接口----
// 商户登录
const userLogin = serverUrl + "/business/h5/index/login";
+// 修改密码
+const changePassword = serverUrl + "/business/h5/index/changePassword";
+
+
// 获取已登录商户用户信息
const indexInfo = serverUrl + "/business/h5/index/info";
// 商户退出登录
@@ -326,7 +330,9 @@ export default {
queryCustInvoiceHistoryList,
// 重发邮件
resendInvoiceMail,
+ // 修改密码
+ changePassword,
//陈彪接口
rechargeList,
walletKindType,
diff --git a/pages.json b/pages.json
index b39819d..365eb6c 100644
--- a/pages.json
+++ b/pages.json
@@ -1,280 +1,268 @@
{
- "leftWindow": {
- "path": "windows/left-window.vue",
- "style": {
- "width": "350px"
- }
- },
- "topWindow": {
- "path": "windows/top-window.vue",
- "style": {
- "height": "60px"
- }
- },
- "pages": [
- // pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
-
- {
- "path": "pages/index/index",
- "style": {
- "navigationBarTitleText": "商户管理"
- }
- },
- {
- "path": "pages/businessCard/cardDetail",
- "style": {
- "navigationBarTitleText": "商户卡券明细",
- "enablePullDownRefresh": true
- }
- },
- {
- "path": "pages/businessCard/businessCard",
- "style": {
- "navigationBarTitleText": "商户卡券"
- }
- },
-
-
-
- {
- "path": "pages/businessCard/buyCard",
- "style": {
- "navigationBarTitleText": "商户卡券购买"
- }
- },
-
-
-
- {
- "path": "pages/businessCard/provideCard",
- "style": {
- "navigationBarTitleText": "商户卡券发放"
- }
- },
- {
- "path": "pages/businessCard/printCard",
- "style": {
- "navigationBarTitleText": "商户卡券打印"
- }
- },
-
-
-
-
-
- {
- "path": "pages/rechargeDetail/rechargeDetail",
- "style": {
- "navigationBarTitleText": "余额明细",
- "enablePullDownRefresh": true
- }
-
- },
-
- {
- "path": "pages/parkRecordList/parkRecordList",
- "style": {
- "navigationBarTitleText": "停车记录"
- }
- },
-
- {
- "path": "pages/login/login",
- "style": {
- "navigationBarTitleText": "商户中心",
- "enablePullDownRefresh": false
- }
-
- },
- {
- "path": "pages/businessCard/cardPrint",
- "style": {
- "navigationBarTitleText": "卡券打印"
- }
- },
-
-
-
- {
- "path": "pages/parkRecordList/recordDetail",
- "style": {
- "navigationBarTitleText": "订单详情"
- }
- },
-
- {
- "path": "pages/parkPay/parkPay",
- "style": {
- "navigationBarTitleText": "支付"
- }
- },
- {
- "path": "pages/inputCarNumber/inputCarNumber",
- "style": {
- "navigationBarTitleText": "停车缴费"
- }
- },
- {
- "path": "pages/moneyRecharge/moneyRecharge",
- "style": {
- "navigationBarTitleText": "我的钱包"
- }
- },
- {
- "path": "pages/tabBar/component/component",
- "style": {
- "navigationBarTitleText": "内置组件",
- "app-plus": {
- "bounce": "vertical",
- "titleNView": {
- "buttons": [{
- "text": "\ue534",
- "fontSrc": "/static/uni.ttf",
- "fontSize": "22px",
- "color": "#FFFFFF"
- }]
- }
- }
- }
- },
- {
- "path": "pages/tabBar/extUI/extUI",
- "style": {
- "navigationBarTitleText": "扩展组件",
- "app-plus": {
- "titleNView": {
- "buttons": [{
- "text": "\ue534",
- "fontSrc": "/static/uni.ttf",
- "fontSize": "22px",
- "color": "#FFFFFF"
- }]
- }
- }
- }
- },
-
- {
- "path": "pages/rechargeDetail/outDetail",
- "style": {
- "navigationBarTitleText": "账单详情"
- }
- },
- {
- "path": "pages/setting/setting",
- "style": {
- "navigationBarTitleText": "设置",
- "enablePullDownRefresh": false
- }
-
- }, {
- "path": "pages/manuals/manuals",
- "style": {
- "navigationBarTitleText": "使用指南",
- "enablePullDownRefresh": false
- }
-
- }, {
- "path": "pages/aboutOur/aboutOur",
- "style": {
- "navigationBarTitleText": "关于我们",
- "enablePullDownRefresh": false
- }
-
- },
- {
- "path": "pages/invoiceClaim/invoiceClaim",
- "style": {
- "navigationBarTitleText": "发票申领",
- "enablePullDownRefresh": false
- }
-
- }, {
- "path": "pages/billing/billing",
- "style": {
- "navigationBarTitleText": "发票申领",
- "enablePullDownRefresh": false
- }
-
- }, {
- "path": "pages/invoiceRecord/invoiceRecord",
- "style": {
- "navigationBarTitleText": "开票历史",
- "enablePullDownRefresh": false
- }
-
- }, {
- "path": "pages/invoiceForm/invoiceForm",
- "style": {
- "navigationBarTitleText": "开票历史",
- "enablePullDownRefresh": false
- }
-
- }, {
- "path": "pages/elecRecord/elecRecord",
- "style": {
- "navigationBarTitleText": "电子包含记录",
- "enablePullDownRefresh": false
- }
-
- }, {
- "path": "pages/invoicePreview/invoicePreview",
- "style": {
- "navigationBarTitleText": "发票预览",
- "enablePullDownRefresh": false
- }
-
- }, {
- "path": "pages/invoiceInformation/invoiceInformation",
- "style": {
- "navigationBarTitleText": "开票信息确认",
- "enablePullDownRefresh": false
- }
-
- }, {
- "path": "pages/invoiceTitle/invoiceTitle",
- "style": {
- "navigationBarTitleText": "发票抬头",
- "enablePullDownRefresh": false
- }
-
- }, {
- "path": "pages/companyMsg/companyMsg",
- "style": {
- "navigationBarTitleText": "详情",
- "enablePullDownRefresh": false
- }
-
- }, {
- "path": "pages/addTitle/addTitle",
- "style": {
- "navigationBarTitleText": "添加抬头",
- "enablePullDownRefresh": false
- }
-
- }, {
- "path": "pages/editTitle/editTitle",
- "style": {
- "navigationBarTitleText": "编辑抬头",
- "enablePullDownRefresh": false
- }
-
- }
- ],
- "globalStyle": {
- "navigationBarTextStyle": "black",
- "navigationBarTitleText": "江阴慧停车",
- "navigationBarBackgroundColor": "#F8F8F8",
- "backgroundColor": "#F8F8F8",
- "pageOrientation": "portrait",
- "mp-360": {
- "navigationStyle": "custom"
- },
- "h5": {
- "maxWidth": 1190,
- "navigationBarTextStyle": "black",
- "navigationBarBackgroundColor": "#F1F1F1"
- }
- }
-
+ "leftWindow": {
+ "path": "windows/left-window.vue",
+ "style": {
+ "width": "350px"
+ }
+ },
+ "topWindow": {
+ "path": "windows/top-window.vue",
+ "style": {
+ "height": "60px"
+ }
+ },
+ "pages": [
+ // pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
+
+ {
+ "path": "pages/index/index",
+ "style": {
+ "navigationBarTitleText": "商户管理"
+ }
+ },
+ {
+ "path": "pages/businessCard/cardDetail",
+ "style": {
+ "navigationBarTitleText": "商户卡券明细",
+ "enablePullDownRefresh": true
+ }
+ },
+ {
+ "path": "pages/businessCard/businessCard",
+ "style": {
+ "navigationBarTitleText": "商户卡券"
+ }
+ },
+ {
+ "path": "pages/businessCard/buyCard",
+ "style": {
+ "navigationBarTitleText": "商户卡券购买"
+ }
+ },
+ {
+ "path": "pages/businessCard/provideCard",
+ "style": {
+ "navigationBarTitleText": "商户卡券发放"
+ }
+ },
+ {
+ "path": "pages/businessCard/printCard",
+ "style": {
+ "navigationBarTitleText": "商户卡券打印"
+ }
+ },
+ {
+ "path": "pages/rechargeDetail/rechargeDetail",
+ "style": {
+ "navigationBarTitleText": "余额明细",
+ "enablePullDownRefresh": true
+ }
+ },
+ {
+ "path": "pages/parkRecordList/parkRecordList",
+ "style": {
+ "navigationBarTitleText": "停车记录"
+ }
+ },
+ {
+ "path": "pages/login/login",
+ "style": {
+ "navigationBarTitleText": "商户中心",
+ "enablePullDownRefresh": false
+ }
+ },
+ {
+ "path": "pages/businessCard/cardPrint",
+ "style": {
+ "navigationBarTitleText": "卡券打印"
+ }
+ },
+ {
+ "path": "pages/parkRecordList/recordDetail",
+ "style": {
+ "navigationBarTitleText": "订单详情"
+ }
+ },
+ {
+ "path": "pages/parkPay/parkPay",
+ "style": {
+ "navigationBarTitleText": "支付"
+ }
+ },
+ {
+ "path": "pages/inputCarNumber/inputCarNumber",
+ "style": {
+ "navigationBarTitleText": "停车缴费"
+ }
+ },
+ {
+ "path": "pages/moneyRecharge/moneyRecharge",
+ "style": {
+ "navigationBarTitleText": "我的钱包"
+ }
+ },
+ {
+ "path": "pages/tabBar/component/component",
+ "style": {
+ "navigationBarTitleText": "内置组件",
+ "app-plus": {
+ "bounce": "vertical",
+ "titleNView": {
+ "buttons": [
+ {
+ "text": "\ue534",
+ "fontSrc": "/static/uni.ttf",
+ "fontSize": "22px",
+ "color": "#FFFFFF"
+ }
+ ]
+ }
+ }
+ }
+ },
+ {
+ "path": "pages/tabBar/extUI/extUI",
+ "style": {
+ "navigationBarTitleText": "扩展组件",
+ "app-plus": {
+ "titleNView": {
+ "buttons": [
+ {
+ "text": "\ue534",
+ "fontSrc": "/static/uni.ttf",
+ "fontSize": "22px",
+ "color": "#FFFFFF"
+ }
+ ]
+ }
+ }
+ }
+ },
+ {
+ "path": "pages/rechargeDetail/outDetail",
+ "style": {
+ "navigationBarTitleText": "账单详情"
+ }
+ },
+ {
+ "path": "pages/setting/setting",
+ "style": {
+ "navigationBarTitleText": "设置",
+ "enablePullDownRefresh": false
+ }
+ },
+ {
+ "path": "pages/revisePwd/revisePwd",
+ "style": {
+ "navigationBarTitleText": "修改登录密码",
+ "enablePullDownRefresh": false
+ }
+ },
+ {
+ "path": "pages/manuals/manuals",
+ "style": {
+ "navigationBarTitleText": "使用指南",
+ "enablePullDownRefresh": false
+ }
+ },
+ {
+ "path": "pages/aboutOur/aboutOur",
+ "style": {
+ "navigationBarTitleText": "关于我们",
+ "enablePullDownRefresh": false
+ }
+ },
+ {
+ "path": "pages/invoiceClaim/invoiceClaim",
+ "style": {
+ "navigationBarTitleText": "发票申领",
+ "enablePullDownRefresh": false
+ }
+ },
+ {
+ "path": "pages/billing/billing",
+ "style": {
+ "navigationBarTitleText": "发票申领",
+ "enablePullDownRefresh": false
+ }
+ },
+ {
+ "path": "pages/invoiceRecord/invoiceRecord",
+ "style": {
+ "navigationBarTitleText": "开票历史",
+ "enablePullDownRefresh": false
+ }
+ },
+ {
+ "path": "pages/invoiceForm/invoiceForm",
+ "style": {
+ "navigationBarTitleText": "开票历史",
+ "enablePullDownRefresh": false
+ }
+ },
+ {
+ "path": "pages/elecRecord/elecRecord",
+ "style": {
+ "navigationBarTitleText": "电子包含记录",
+ "enablePullDownRefresh": false
+ }
+ },
+ {
+ "path": "pages/invoicePreview/invoicePreview",
+ "style": {
+ "navigationBarTitleText": "发票预览",
+ "enablePullDownRefresh": false
+ }
+ },
+ {
+ "path": "pages/invoiceInformation/invoiceInformation",
+ "style": {
+ "navigationBarTitleText": "开票信息确认",
+ "enablePullDownRefresh": false
+ }
+ },
+ {
+ "path": "pages/invoiceTitle/invoiceTitle",
+ "style": {
+ "navigationBarTitleText": "发票抬头",
+ "enablePullDownRefresh": false
+ }
+ },
+ {
+ "path": "pages/companyMsg/companyMsg",
+ "style": {
+ "navigationBarTitleText": "详情",
+ "enablePullDownRefresh": false
+ }
+ },
+ {
+ "path": "pages/addTitle/addTitle",
+ "style": {
+ "navigationBarTitleText": "添加抬头",
+ "enablePullDownRefresh": false
+ }
+ },
+ {
+ "path": "pages/editTitle/editTitle",
+ "style": {
+ "navigationBarTitleText": "编辑抬头",
+ "enablePullDownRefresh": false
+ }
+ }
+ ],
+ "globalStyle": {
+ "navigationBarTextStyle": "black",
+ "navigationBarTitleText": "江阴慧停车",
+ "navigationBarBackgroundColor": "#F8F8F8",
+ "backgroundColor": "#F8F8F8",
+ "pageOrientation": "portrait",
+ "mp-360": {
+ "navigationStyle": "custom"
+ },
+ "h5": {
+ "maxWidth": 1190,
+ "navigationBarTextStyle": "black",
+ "navigationBarBackgroundColor": "#F1F1F1"
+ }
+ }
}
diff --git a/pages/businessCard/printCard.vue b/pages/businessCard/printCard.vue
index 87f7ec0..a9c23b8 100644
--- a/pages/businessCard/printCard.vue
+++ b/pages/businessCard/printCard.vue
@@ -14,7 +14,7 @@
+ show-menu-by-longpress='1'>
长按上面二维码可以保存为图片
diff --git a/pages/parkRecordList/parkRecordList.vue b/pages/parkRecordList/parkRecordList.vue
index 993b31b..dab3c84 100644
--- a/pages/parkRecordList/parkRecordList.vue
+++ b/pages/parkRecordList/parkRecordList.vue
@@ -1,200 +1,265 @@
-
-
-
-
-
-
-
-
- 开始时间
-
-
-
- {{startTime}}
-
-
-
-
-
-
- 结束时间
-
-
-
- {{endTime}}
-
-
-
-
-
-
-
-
- {{i.plName}}
-
-
- {{i.carNumber}}
-
-
-
-
- 实收:{{ $common.moneyFormat(i.orderActFee) }}
- 应收:{{ $common.moneyFormat(i.orderTotalFee) }}
-
-
-
-
-
-
-
-
-
- 暂无停车记录
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+ 开始时间
+
+
+
+ {{startTime}}
+
+
+
+
+
+
+ 结束时间
+
+
+
+ {{endTime}}
+
+
+
+
+
+
+
+
+ {{i.plName}}
+
+
+ {{i.carNumber}}
+
+
+
+
+ 实收:{{ $common.moneyFormat(i.orderActFee) }}
+ 应收:{{ $common.moneyFormat(i.orderTotalFee) }}
+
+
+
+
+
+
+
+
+
+ 暂无停车记录
+
+
+
+
+
+
diff --git a/pages/revisePwd/revisePwd.vue b/pages/revisePwd/revisePwd.vue
new file mode 100644
index 0000000..59937df
--- /dev/null
+++ b/pages/revisePwd/revisePwd.vue
@@ -0,0 +1,192 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/setting/setting.vue b/pages/setting/setting.vue
index a502954..f200956 100644
--- a/pages/setting/setting.vue
+++ b/pages/setting/setting.vue
@@ -1,94 +1,91 @@
-
-
-
-
-
-
+
+
+
+
+
+
+
-
-
-
+
+
+
-
+
-
+
--
libgit2 0.21.4