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 @@