From 5fd5c23ca226cf64e5b03c181c65f8ca578e79b1 Mon Sep 17 00:00:00 2001
From: Wik-T <812952667@qq.com>
Date: Thu, 2 Feb 2023 16:15:47 +0800
Subject: [PATCH] =?UTF-8?q?1.=E4=B8=8A=E7=BA=BF2.0=20=E8=A7=A3=E5=86=B3?=
=?UTF-8?q?=E9=97=AE=E9=A2=98=20=E4=BF=AE=E6=94=B9=E9=97=AE=E9=A2=98=202.?=
=?UTF-8?q?=E6=96=B0=E5=A2=9E=E5=AE=9A=E4=BD=8D=E5=85=AC=E7=94=A8=E8=AF=B7?=
=?UTF-8?q?=E6=B1=82?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
components/postion/postion.vue | 97 +++++++++++++++++++
.../rec-confirmation/rec-confirmation.vue | 5 +-
pages.json | 35 ++++---
pages/goods/goods.vue | 2 +-
pages/goods/refuel-confirm/refuel-confirm.vue | 3 +-
pages/goods/refuel-details/refuel-details.vue | 14 +--
pages/login/register.vue | 19 ++--
pages/order/confirmation.vue | 33 +++----
pages/tabBar/user/user.vue | 26 +++--
pages/user/coupon/coupon.vue | 7 +-
pages/user/order_details/order_details.vue | 2 +-
qianzhu-KFC/confirmOrder/confirmOrder.vue | 1 -
qianzhu-KFC/order-details/order-details.vue | 2 +-
subPages/recharge/recharge.vue | 9 +-
.../unionComfirmation/unionComfirmation.vue | 5 +-
15 files changed, 188 insertions(+), 72 deletions(-)
create mode 100644 components/postion/postion.vue
diff --git a/components/postion/postion.vue b/components/postion/postion.vue
new file mode 100644
index 0000000..ec40cd3
--- /dev/null
+++ b/components/postion/postion.vue
@@ -0,0 +1,97 @@
+
+
+
+
+
+
+
+
+
diff --git a/member-Recharge/rec-confirmation/rec-confirmation.vue b/member-Recharge/rec-confirmation/rec-confirmation.vue
index cec130c..351ce5e 100644
--- a/member-Recharge/rec-confirmation/rec-confirmation.vue
+++ b/member-Recharge/rec-confirmation/rec-confirmation.vue
@@ -285,8 +285,7 @@
let datas = {
"companyId": app.globalData.companyId,
"price": this.payPrice,
- "productId": 3,
- "type": 4,
+ "type": 3,
}
getRebateIntegral(datas).then(res => {
if (res.return_code == '000000') {
@@ -398,7 +397,7 @@
"goodsId": this.goodId,
"customerMobile": this.customerMobile,
"platformId": this.showType,
- "productType": this.productType,
+ "productType": 3,
"goodsType": 10,
"saleCount": 1,
}],
diff --git a/pages.json b/pages.json
index 8f1f639..1d25607 100644
--- a/pages.json
+++ b/pages.json
@@ -1,6 +1,6 @@
{
"pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
- {
+ {
"path": "pages/welcome/welcome",
"style": {
"navigationBarTitleText": "",
@@ -27,17 +27,17 @@
"softinputNavBar": "none"
}
}
- }, {
- "path": "pages/qianZhuPay/union-pay/union-pay",
- "style": {
- "navigationBarTextStyle": "white",
- "navigationBarTitleText": "选择方式",
- "navigationBarBackgroundColor": "#0083f5",
- "backgroundColorTop": "#0083f5",
- "enablePullDownRefresh": false
- }
-
- }, {
+ }, {
+ "path": "pages/qianZhuPay/union-pay/union-pay",
+ "style": {
+ "navigationBarTextStyle": "white",
+ "navigationBarTitleText": "选择方式",
+ "navigationBarBackgroundColor": "#0083f5",
+ "backgroundColorTop": "#0083f5",
+ "enablePullDownRefresh": false
+ }
+
+ }, {
"path": "pages/user/bindingCardList/bindingCardList",
"style": {
"navigationBarTitleText": "卡列表",
@@ -505,7 +505,16 @@
}
- ],
+ ,{
+ "path" : "components/postion/postion",
+ "style" :
+ {
+ "navigationBarTitleText": "",
+ "enablePullDownRefresh": false
+ }
+
+ }
+ ],
"subpackages": [{
"root": "subPages",
"pages": [{
diff --git a/pages/goods/goods.vue b/pages/goods/goods.vue
index c462ca8..cc4fb02 100644
--- a/pages/goods/goods.vue
+++ b/pages/goods/goods.vue
@@ -54,7 +54,7 @@
嗨森逛
- 月销 {{goodsData[0].salesCount}}
+ 月销 {{goodsData[0].monthlySales}}
diff --git a/pages/goods/refuel-confirm/refuel-confirm.vue b/pages/goods/refuel-confirm/refuel-confirm.vue
index bbb6937..9f7f961 100644
--- a/pages/goods/refuel-confirm/refuel-confirm.vue
+++ b/pages/goods/refuel-confirm/refuel-confirm.vue
@@ -444,8 +444,7 @@
let datas = {
"companyId": app.globalData.companyId,
"price": this.payPrice,
- "productId": 1,
- "type": 3,
+ "type": 6,
}
getRebateIntegral(datas).then(res => {
if (res.return_code == '000000') {
diff --git a/pages/goods/refuel-details/refuel-details.vue b/pages/goods/refuel-details/refuel-details.vue
index 92d5d3d..eecbdfd 100644
--- a/pages/goods/refuel-details/refuel-details.vue
+++ b/pages/goods/refuel-details/refuel-details.vue
@@ -177,7 +177,7 @@
oilPriceDiscountCompute,
recentGasStation,
sendSmsCodeByHw,
- H5login,
+ phone,
getDictionaryByCodeType
} from '../../../Utils/Api.js';
import wybPopup from '../../../components/wyb-popup/wyb-popup.vue';
@@ -396,13 +396,13 @@
userid = app.globalData.staffCode;
}
let params = {
- phone: this.phoneNumber,
- code: this.code,
- openId: app.globalData.openId,
- popularizeUserId: userid,
- regionId: app.globalData.cityId
+ popularizeUserId: userid,
+ phone: this.phoneNumber,
+ type: "SMS",
+ platform: "H5",
+ smsCode: this.code
}
- H5login(params).then(res => {
+ phone(params).then(res => {
uni.hideLoading();
if (res.return_code == '000000') {
app.globalData.userInfo = res.return_data
diff --git a/pages/login/register.vue b/pages/login/register.vue
index 633cb9d..780fb6f 100644
--- a/pages/login/register.vue
+++ b/pages/login/register.vue
@@ -34,8 +34,8 @@