From 08f2931abfb8a6b5d11cde5e3f1789cbf8800e9c Mon Sep 17 00:00:00 2001
From: Wik-T <812952667@qq.com>
Date: Wed, 15 Dec 2021 14:55:55 +0800
Subject: [PATCH] =?UTF-8?q?1.=E6=96=B0=E5=A2=9E=E4=BC=98=E6=83=A0=E5=88=B8?=
=?UTF-8?q?=E5=8C=85=202.=E4=B8=8A=E7=BA=BF=E5=B0=8F=E7=A8=8B=E5=BA=8F=20?=
=?UTF-8?q?=EF=BC=8Ch5=203.=E4=BF=AE=E6=94=B9=E4=B9=8B=E5=89=8D=E7=9A=84?=
=?UTF-8?q?=E9=97=AE=E9=A2=98?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
Utils/Api.js | 107 +-
pages.json | 355 ++++---
pages/goods/coupon-details/coupon-details.vue | 44 +-
.../coupons-info-details.vue | 1 +
pages/goods/goods.vue | 121 ---
pages/login/login.vue | 8 +-
pages/login/loginInvalid/loginInvalid.vue | 22 -
pages/order/confirmation.vue | 101 +-
pages/pay/payment/payment.vue | 29 +-
pages/pay/success/success.vue | 100 +-
pages/tabBar/category/category.vue | 15 +-
pages/tabBar/home/home.vue | 29 +-
pages/user/coupon/coupon.vue | 45 +-
.../mineCouponsDestails.vue | 1 +
pages/user/order_details/order_details.vue | 20 +-
pages/user/order_list/order_list.vue | 5 +
static/img/cusservice.png | Bin 0 -> 9306 bytes
static/img/head.jpg | Bin 41002 -> 0 bytes
static/img/order9.png | Bin 0 -> 7631 bytes
static/img/phone.png | Bin 0 -> 742 bytes
.../Phone-recharge-details.vue | 103 ++
.../coupon-comfirmation-success.vue | 35 +
.../coupon-comfirmation.vue | 908 ++++++++++++++++
subPages/coupon-package/coupon-package.vue | 280 +++++
.../coupon-packge-details.vue | 988 ++++++++++++++++++
subPages/recharge-centre/recharge-centre.vue | 31 +-
.../sotre-details-list/sotre-details-list.vue | 95 ++
subPages/static/coupsucces.png | Bin 0 -> 4157 bytes
subPages/static/phone.png | Bin 0 -> 8718 bytes
.../unionComfirmation/unionComfirmation.vue | 86 +-
.../unionPay-orderList/unionPay-orderList.vue | 4 +-
uni.scss | 20 +
32 files changed, 3043 insertions(+), 510 deletions(-)
delete mode 100644 pages/login/loginInvalid/loginInvalid.vue
create mode 100644 static/img/cusservice.png
delete mode 100644 static/img/head.jpg
create mode 100644 static/img/order9.png
create mode 100644 static/img/phone.png
create mode 100644 subPages/Phone-recharge-details/Phone-recharge-details.vue
create mode 100644 subPages/coupon-comfirmation-success/coupon-comfirmation-success.vue
create mode 100644 subPages/coupon-comfirmation/coupon-comfirmation.vue
create mode 100644 subPages/coupon-package/coupon-package.vue
create mode 100644 subPages/coupon-packge-details/coupon-packge-details.vue
create mode 100644 subPages/sotre-details-list/sotre-details-list.vue
create mode 100644 subPages/static/coupsucces.png
create mode 100644 subPages/static/phone.png
diff --git a/Utils/Api.js b/Utils/Api.js
index 786a695..6a2d23c 100644
--- a/Utils/Api.js
+++ b/Utils/Api.js
@@ -1,8 +1,9 @@
import {
POST
-} from "./Request.js";
+} from "./Request.js";
import {
- POSTBREST} from "./bRequest.js";
+ POSTBREST
+} from "./bRequest.js";
let app = getApp();
let base = app.globalData.url;
let brestBase = app.globalData.brestUrl;
@@ -26,12 +27,12 @@ export const setUserPayPwd = params => {
export const updateUserPayPwd = params => {
return POST('POST', `${base}/highUser/updateUserPayPwd`, params).then(res => res.data);
}
-
-//获取用户信息
+
+//获取用户信息
export const findUser = params => {
return POST('GET', `${base}/highUser/findUser`, params).then(res => res.data);
-}
-//绑定用户电话
+}
+//绑定用户电话
export const loginByPhone = params => {
return POST('GET', `${base}/wechat/loginByPhone`, params).then(res => res.data);
};
@@ -58,27 +59,27 @@ export const getMerchantStoreById = params => {
//根据门店ID 获取卡券
export const getCouponListByStoreId = params => {
return POST('GET', `${base}/coupon/getCouponListByStoreId`, params).then(res => res.data);
-}
-//获取优选商品分类
+}
+//获取优选商品分类
export const getListGoodsType = params => {
return POST('GET', `${base}/highGoodsType/getListGoodsType`, params).then(res => res.data);
-}
-//获取优选商品品牌列表
+}
+//获取优选商品品牌列表
export const getBrandByList = params => {
return POST('GET', `${base}/highBrand/getBrandByList`, params).then(res => res.data);
-}
-// 优选商品列表
+}
+// 优选商品列表
export const getBrandCouponList = params => {
return POST('GET', `${base}/coupon/getCouponList`, params).then(res => res.data);
-}
-//优选商品详情
+}
+//优选商品详情
export const getPreByOrderIdId = params => {
return POST('GET', `${base}/orderPre/getPreByOrderIdId`, params).then(res => res.data);
-}
-//优选商品预约完成
+}
+//优选商品预约完成
export const orderComplete = params => {
return POST('POST', `${base}/orderPre/orderComplete`, params).then(res => res.data);
-}
+}
//卡券详情
export const getCouponById = params => {
return POST('GET', `${base}/coupon/getCouponById`, params).then(res => res.data);
@@ -99,31 +100,31 @@ export const orderToGoldPay = params => {
export const getUserGoldRecList = params => {
return POST('GET', `${base}/highGoldRec/getUserGoldRecList`, params).then(res => res.data);
}
-//获取用户卡券
+//获取用户卡券
export const getUserCouponList = params => {
return POST('GET', `${base}/coupon/getUserCouponList`, params).then(res => res.data);
-}
-//获取用户卡券详情
+}
+//获取用户卡券详情
export const getUserCouponDetail = params => {
return POST('GET', `${base}/coupon/getUserCouponDetail`, params).then(res => res.data);
}
//获取用户最新卡券详情
export const getUserNewCouponDetail = params => {
return POST('GET', `${base}/coupon/getUserNewCouponDetail`, params).then(res => res.data);
-}
-//获取订单信息
+}
+//获取订单信息
export const getUserOrderList = params => {
return POST('GET', `${base}/highOrder/getUserOrderList`, params).then(res => res.data);
-}
-//取消订单
+}
+//取消订单
export const cancelOrder = params => {
return POST('GET', `${base}/highOrder/cancelOrder`, params).then(res => res.data);
-}
-//订单查询详情
+}
+//订单查询详情
export const getOrderById = params => {
return POST('GET', `${base}/highOrder/getOrderById`, params).then(res => res.data);
-}
-//获取商户列表
+}
+//获取商户列表
export const getMerchantList = params => {
return POST('GET', `${base}/highMerchantStore/getMerchantList`, params).then(res => res.data);
}
@@ -134,12 +135,12 @@ export const getStoreListByMerchant = params => {
//获取优惠券详情
export const getDiscountByQrCode = params => {
return POST('GET', `${base}/discount/getDiscountByQrCode`, params).then(res => res.data);
-}
-//查询话费优惠券
+}
+//查询话费优惠券
export const getUserOrderPreList = params => {
- return POST('GET', `${base}/userDiscount/getUserOrderPreList`, params).then(res => res.data);
-}
-
+ return POST('GET', `${base}/userDiscount/getUserExclusiveDiscount`, params).then(res => res.data);
+}
+
//领取优惠券
export const receiveDiscount = params => {
return POST('POST', `${base}/userDiscount/receiveDiscount`, params).then(res => res.data);
@@ -185,11 +186,24 @@ export const getDredgeProvince = params => {
export const getCmsContent = params => {
return POST('GET', `${base}/cmsContent/getCmsContent`, params).then(res => res.data);
}
-
-//设置用户参数
+//设置用户参数
export const setCacheParam = params => {
return POST('POST', `${base}/highUser/setCacheParam`, params).then(res => res.data);
}
+//查询充值话费详情
+export const getPhoneOrderById = params => {
+ return POST('GET', `${base}/outRechargeOrder/getOrderById`, params).then(res => res.data);
+}
+//优惠券包列表
+export const getDiscountPackageList = params => {
+ return POST('GET', `${base}/discountPackage/getDiscountPackageList`, params).then(res => res.data);
+}
+//优惠券包详情
+export const getDiscountPackageDetail = params => {
+ return POST('GET', `${base}/discountPackage/getDiscountPackageDetail`, params).then(res => res.data);
+}
+
+
/**
* 工会卡
*/
@@ -197,7 +211,7 @@ export const setCacheParam = params => {
export const getHuiLianTongCardByCardNo = params => {
return POST('GET', `${base}/highUserCard/getHuiLianTongCardByCardNo`, params).then(res => res.data);
}
-// 获取用户卡号列表
+// 获取用户卡号列表
export const getUserCardList = params => {
return POST('GET', `${base}/highUserCard/getUserCardList`, params).then(res => res.data);
}
@@ -209,10 +223,10 @@ export const getHuiLianTongCardByPhone = params => {
export const delUserCard = params => {
return POST('POST', `${base}/highUserCard/delUserCard`, params).then(res => res.data);
}
-// 查询汇联通工会卡详情
+// 查询汇联通工会卡详情
export const getHuiLianTongCardBalance = params => {
return POST('GET', `${base}/highUserCard/getHuiLianTongCardBalance?`, params).then(res => res.data);
-}
+}
// 查询汇联通工会卡消费记录
export const getHuiLianTongCardConsume = params => {
return POST('GET', `${base}/highUserCard/getHuiLianTongCardConsume`, params).then(res => res.data);
@@ -223,7 +237,7 @@ export const hltUnionCardPay = params => {
}
export const bindHuiLianTongCard = params => {
return POST('POST', `${base}/highUserCard/bindHuiLianTongCard`, params).then(res => res.data);
-}
+}
/**
* 工会卡
*/
@@ -252,10 +266,10 @@ export const getUserLotteryNum = params => {
export const getWinLotteryList = params => {
return POST('GET', `${base}/activity/getWinLotteryList`, params).then(res => res.data);
}
-//跳转是否赠券
+//跳转是否赠券
export const getMembershipLevel = params => {
return POST('GET', `${base}/highUser/GetMembershipLevel`, params).then(res => res.data);
-}
+}
/**
* 肯德基地址
*/
@@ -312,14 +326,14 @@ export const useCouponCode = params => {
-//**代理商//
+//**代理商//
export const getAgentCount = params => {
return POSTBREST('GET', `${brestBase}/highCouponAgent/getAgentCount`, params).then(res => res.data);
}
// 查询销售码
export const getCodeListByAgentCoupon = params => {
return POSTBREST('GET', `${brestBase}/highCouponAgent/getCodeListByAgentCoupon`, params).then(res => res.data);
-}
+}
// 生成二维码
export const generateCode = params => {
return POSTBREST('POST', `${brestBase}/highCouponAgent/generateCode`, params).then(res => res.data);
@@ -339,8 +353,8 @@ export const getAgentSalesPriceCount = params => {
//修改密码
export const sendUserPass = params => {
return POSTBREST('POST', `${brestBase}/secUser/sendUserPass`, params).then(res => res.data);
-}
-
+}
+
@@ -371,5 +385,4 @@ export const hltUnionCardPayUnion = params => {
//话费列表
export const getUserOrderListhuafei = params => {
return POST('GET', `${base}/outRechargeOrder/getUserOrderList`, params).then(res => res.data);
-}
-
+}
diff --git a/pages.json b/pages.json
index 0d94345..88b5fb8 100644
--- a/pages.json
+++ b/pages.json
@@ -1,34 +1,34 @@
{
"pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
- {
- "path": "pages/tabBar/home/home",
- "style": {
- "navigationBarTextStyle": "white",
- "navigationBarTitleText": "首页",
- "navigationBarBackgroundColor": "#0083f5",
- "backgroundColorTop": "#0083f5",
- "onReachBottomDistance": 50,
- "app-plus": {
- "titleNView": false, //禁用原生导航栏
- "softinputNavBar": "none",
- "subNVues": [{
- "id": "homeTitleNvue", // 唯一标识
- "path": "pages/tabBar/home/subNvue/homeTitleNvue", // 页面路径
- "type": "navigationBar"
- }]
- }
- }
- }, {
- "path": "pages/qianZhuPay/union-pay/union-pay",
- "style": {
- "navigationBarTextStyle": "white",
- "navigationBarTitleText": "选择方式",
- "navigationBarBackgroundColor": "#0083f5",
- "backgroundColorTop": "#0083f5",
- "enablePullDownRefresh": false
- }
-
- },{
+ {
+ "path": "pages/tabBar/home/home",
+ "style": {
+ "navigationBarTextStyle": "white",
+ "navigationBarTitleText": "首页",
+ "navigationBarBackgroundColor": "#0083f5",
+ "backgroundColorTop": "#0083f5",
+ "onReachBottomDistance": 50,
+ "app-plus": {
+ "titleNView": false, //禁用原生导航栏
+ "softinputNavBar": "none",
+ "subNVues": [{
+ "id": "homeTitleNvue", // 唯一标识
+ "path": "pages/tabBar/home/subNvue/homeTitleNvue", // 页面路径
+ "type": "navigationBar"
+ }]
+ }
+ }
+ }, {
+ "path": "pages/qianZhuPay/union-pay/union-pay",
+ "style": {
+ "navigationBarTextStyle": "white",
+ "navigationBarTitleText": "选择方式",
+ "navigationBarBackgroundColor": "#0083f5",
+ "backgroundColorTop": "#0083f5",
+ "enablePullDownRefresh": false
+ }
+
+ }, {
"path": "pages/user/bindingCardList/bindingCardList",
"style": {
"navigationBarTitleText": "卡列表",
@@ -331,21 +331,21 @@
}, {
"path": "pages/goods/externalCoupon/externalCoupon",
- "style": {
- "navigationBarTextStyle": "white",
- "navigationBarTitleText": "扫码领取优惠券",
- "navigationBarBackgroundColor": "#0083f5",
- "backgroundColorTop": "#0083f5",
- "onReachBottomDistance": 50,
- "app-plus": {
- "titleNView": false, //禁用原生导航栏
- "softinputNavBar": "none",
- "subNVues": [{
- "id": "homeTitleNvue", // 唯一标识
- "path": "pages/tabBar/home/subNvue/homeTitleNvue", // 页面路径
- "type": "navigationBar"
- }]
- }
+ "style": {
+ "navigationBarTextStyle": "white",
+ "navigationBarTitleText": "扫码领取优惠券",
+ "navigationBarBackgroundColor": "#0083f5",
+ "backgroundColorTop": "#0083f5",
+ "onReachBottomDistance": 50,
+ "app-plus": {
+ "titleNView": false, //禁用原生导航栏
+ "softinputNavBar": "none",
+ "subNVues": [{
+ "id": "homeTitleNvue", // 唯一标识
+ "path": "pages/tabBar/home/subNvue/homeTitleNvue", // 页面路径
+ "type": "navigationBar"
+ }]
+ }
}
}, {
@@ -434,17 +434,6 @@
"navigationBarTextStyle": "white"
}
- }, {
- "path": "pages/login/loginInvalid/loginInvalid",
- "style": {
- "enablePullDownRefresh": false,
- "navigationBarTitleText": "",
- "backgroundTextStyle": "light",
- "navigationBarBackgroundColor": "#0083f5",
- "backgroundColorTop": "#0083f5",
- "navigationBarTextStyle": "white"
- }
-
}, {
"path": "pages/user/bindingCard/bindingCard",
"style": {
@@ -483,110 +472,168 @@
"backgroundColorTop": "#0083f5",
"navigationBarTextStyle": "white"
}
-
}
-
-
+
],
"subpackages": [{
"root": "subPages",
- "pages": [{
- "path": "brand-classification/brand-classification",
- "style": {
- "enablePullDownRefresh": false,
- "navigationBarTitleText": "品牌分类",
- "backgroundTextStyle": "light",
- "navigationBarBackgroundColor": "#0083f5",
- "backgroundColorTop": "#0083f5",
- "navigationBarTextStyle": "white"
- }
-
- },{
- "path": "preferred-goods/preferred-goods",
- "style": {
- "enablePullDownRefresh": false,
- "navigationBarTitleText": "商品分类",
- "backgroundTextStyle": "light",
- "navigationBarBackgroundColor": "#0083f5",
- "backgroundColorTop": "#0083f5",
- "navigationBarTextStyle": "white"
- }
-
- },{
- "path": "lottery/lottery",
- "style": {
- "enablePullDownRefresh": false,
- "navigationBarTitleText": "抽奖活动",
- "backgroundTextStyle": "light",
- "navigationBarBackgroundColor": "#e62601",
- "backgroundColorTop": "#e62601",
- "navigationBarTextStyle": "white"
- }
-
- },
- {
- "path": "recharge/recharge",
- "style": {
- "enablePullDownRefresh": false,
- "navigationBarTitleText": "话费充值",
- "backgroundTextStyle": "light",
- "navigationBarBackgroundColor": "#0083f5",
- "backgroundColorTop": "#0083f5",
- "navigationBarTextStyle": "white"
- }
-
- },
- {
- "path": "recharge-centre/recharge-centre",
- "style": {
- "enablePullDownRefresh": false,
- "navigationBarTitleText": "话费充值",
- "backgroundTextStyle": "light",
- "navigationBarBackgroundColor": "#0083f5",
- "backgroundColorTop": "#0083f5",
- "navigationBarTextStyle": "white"
- }
-
- },{
- "path": "unionComfirmation/unionComfirmation",
- "style": {
- "enablePullDownRefresh": false,
- "navigationBarTitleText": "确认订单",
- "backgroundTextStyle": "light",
- "navigationBarBackgroundColor": "#0083f5",
- "backgroundColorTop": "#0083f5",
- "navigationBarTextStyle": "white"
- }
- },{
- "path": "unionPay-orderList/unionPay-orderList",
- "style": {
- "enablePullDownRefresh": false,
- "navigationBarTitleText": "话费订单",
- "backgroundTextStyle": "light",
- "navigationBarBackgroundColor": "#0083f5",
- "backgroundColorTop": "#0083f5",
- "navigationBarTextStyle": "white"
- }
- },
- {
- "path": "unionPay/unionPay",
- "style": {
- "enablePullDownRefresh": false,
- "navigationBarTitleText": "入口选择",
- "backgroundTextStyle": "light",
- "navigationBarBackgroundColor": "#0083f5",
- "backgroundColorTop": "#0083f5",
- "navigationBarTextStyle": "white"
+ "pages": [
+ {
+ "path" : "coupon-comfirmation-success/coupon-comfirmation-success",
+ "style" :
+ {
+ "enablePullDownRefresh": false,
+ "navigationBarTitleText": "支付成功",
+ "backgroundTextStyle": "light",
+ "navigationBarBackgroundColor": "#0083f5",
+ "backgroundColorTop": "#0083f5",
+ "navigationBarTextStyle": "white"
+ }
+
+ },{
+ "path": "brand-classification/brand-classification",
+ "style": {
+ "enablePullDownRefresh": false,
+ "navigationBarTitleText": "品牌分类",
+ "backgroundTextStyle": "light",
+ "navigationBarBackgroundColor": "#0083f5",
+ "backgroundColorTop": "#0083f5",
+ "navigationBarTextStyle": "white"
+ }
+
+ }, {
+ "path": "preferred-goods/preferred-goods",
+ "style": {
+ "enablePullDownRefresh": false,
+ "navigationBarTitleText": "商品分类",
+ "backgroundTextStyle": "light",
+ "navigationBarBackgroundColor": "#0083f5",
+ "backgroundColorTop": "#0083f5",
+ "navigationBarTextStyle": "white"
+ }
+
+ }, {
+ "path": "lottery/lottery",
+ "style": {
+ "enablePullDownRefresh": false,
+ "navigationBarTitleText": "抽奖活动",
+ "backgroundTextStyle": "light",
+ "navigationBarBackgroundColor": "#e62601",
+ "backgroundColorTop": "#e62601",
+ "navigationBarTextStyle": "white"
+ }
+
+ },
+ {
+ "path": "recharge/recharge",
+ "style": {
+ "enablePullDownRefresh": false,
+ "navigationBarTitleText": "话费充值",
+ "backgroundTextStyle": "light",
+ "navigationBarBackgroundColor": "#0083f5",
+ "backgroundColorTop": "#0083f5",
+ "navigationBarTextStyle": "white"
+ }
+
+ },
+ {
+ "path": "recharge-centre/recharge-centre",
+ "style": {
+ "enablePullDownRefresh": false,
+ "navigationBarTitleText": "话费充值",
+ "backgroundTextStyle": "light",
+ "navigationBarBackgroundColor": "#0083f5",
+ "backgroundColorTop": "#0083f5",
+ "navigationBarTextStyle": "white"
+ }
+
+ }, {
+ "path": "unionComfirmation/unionComfirmation",
+ "style": {
+ "enablePullDownRefresh": false,
+ "navigationBarTitleText": "确认订单",
+ "backgroundTextStyle": "light",
+ "navigationBarBackgroundColor": "#0083f5",
+ "backgroundColorTop": "#0083f5",
+ "navigationBarTextStyle": "white"
+ }
+ }, {
+ "path": "unionPay-orderList/unionPay-orderList",
+ "style": {
+ "enablePullDownRefresh": false,
+ "navigationBarTitleText": "话费订单",
+ "backgroundTextStyle": "light",
+ "navigationBarBackgroundColor": "#0083f5",
+ "backgroundColorTop": "#0083f5",
+ "navigationBarTextStyle": "white"
+ }
+ },
+ {
+ "path": "unionPay/unionPay",
+ "style": {
+ "enablePullDownRefresh": false,
+ "navigationBarTitleText": "入口选择",
+ "backgroundTextStyle": "light",
+ "navigationBarBackgroundColor": "#0083f5",
+ "backgroundColorTop": "#0083f5",
+ "navigationBarTextStyle": "white"
+ }
+ }, {
+ "path": "unionWeb/unionWeb",
+ "style": {
+ "navigationBarTitleText": "",
+ "enablePullDownRefresh": false
+ }
+
+ }, {
+ "path": "Phone-recharge-details/Phone-recharge-details",
+ "style": {
+ "enablePullDownRefresh": false,
+ "navigationBarTitleText": "交易详情",
+ "backgroundTextStyle": "light",
+ "navigationBarBackgroundColor": "#0083f5",
+ "backgroundColorTop": "#0083f5",
+ "navigationBarTextStyle": "white"
+ }
+ }, {
+ "path": "sotre-details-list/sotre-details-list",
+ "style": {
+ "navigationBarTitleText": "门店列表",
+ "backgroundTextStyle": "light",
+ "navigationBarBackgroundColor": "#0083f5",
+ "backgroundColorTop": "#0083f5",
+ "navigationBarTextStyle": "white"
+ }
+
+ }, {
+ "path": "coupon-package/coupon-package",
+ "style": {
+ "navigationBarTitleText": "",
+ "backgroundTextStyle": "light",
+ "navigationBarBackgroundColor": "#0083f5",
+ "backgroundColorTop": "#0083f5",
+ "navigationBarTextStyle": "white"
+ }
+ }, {
+ "path": "coupon-packge-details/coupon-packge-details",
+ "style": {
+ "navigationBarTitleText": "优惠券包详情",
+ "backgroundTextStyle": "light",
+ "navigationBarBackgroundColor": "#0083f5",
+ "backgroundColorTop": "#0083f5",
+ "navigationBarTextStyle": "white"
+ }
+ }, {
+ "path": "coupon-comfirmation/coupon-comfirmation",
+ "style": {
+ "navigationBarTitleText": "确认订单",
+ "backgroundTextStyle": "light",
+ "navigationBarBackgroundColor": "#0083f5",
+ "backgroundColorTop": "#0083f5",
+ "navigationBarTextStyle": "white"
+ }
+
}
- } ,{
- "path" : "unionWeb/unionWeb",
- "style" :
- {
- "navigationBarTitleText": "",
- "enablePullDownRefresh": false
- }
-
- }
]
}],
"globalStyle": {
diff --git a/pages/goods/coupon-details/coupon-details.vue b/pages/goods/coupon-details/coupon-details.vue
index 41ae1cc..7860f9a 100644
--- a/pages/goods/coupon-details/coupon-details.vue
+++ b/pages/goods/coupon-details/coupon-details.vue
@@ -25,9 +25,9 @@
-
-
+
+
预约订单已成功 门店会在24小时内联系您
@@ -35,24 +35,31 @@
请告知加油员用码商支付
-
+
- {{couponDesInfo.couponCodeInfo.codeKey}}
+ {{couponDesInfo.couponCodeInfo.codeKey}}
+
-
- 门店信息
+
+
+ 门店信息
+
+
+ 查看更多
+
+
- {{store.storeName}}
- {{store.address}}
+ {{store.storeName}}
+ {{store.address}}
@@ -62,8 +69,6 @@
-
@@ -95,7 +100,7 @@
threeTime: '',
menddesId: '',
pageNum: 1,
- pageSize: 10,
+ pageSize: 1,
isNoMoreData: false
}
},
@@ -123,7 +128,6 @@
}
},
onReachBottom() {
- this.getStoreListByCoupon();
},
methods: {
//我的卡券详情
@@ -162,7 +166,12 @@
address: e.address
})
},
-
+ //跳转门店
+ jumpstorelist() {
+ uni.navigateTo({
+ url: '../../../subPages/sotre-details-list/sotre-details-list?id=' + this.menddesId
+ })
+ },
/**
* 查询门店列表
*/
@@ -346,7 +355,8 @@
position: fixed;
bottom: 0px;
background-color: red;
- color: #FFFFFF;
+ color: #FFFFFF;
+ border-radius: 0px;
}
.czlq {
diff --git a/pages/goods/coupons-info-details/coupons-info-details.vue b/pages/goods/coupons-info-details/coupons-info-details.vue
index 9f7b8b5..6b06dad 100644
--- a/pages/goods/coupons-info-details/coupons-info-details.vue
+++ b/pages/goods/coupons-info-details/coupons-info-details.vue
@@ -216,6 +216,7 @@
bottom: 0px;
background-color: red;
color: #FFFFFF;
+ border-radius: 0px;
}
.czlq {
diff --git a/pages/goods/goods.vue b/pages/goods/goods.vue
index 808bf7f..6462245 100644
--- a/pages/goods/goods.vue
+++ b/pages/goods/goods.vue
@@ -139,8 +139,6 @@
return {
//控制渐变标题栏的参数
beforeHeaderzIndex: 11, //层级
- afterHeaderzIndex: 10, //层级
- beforeHeaderOpacity: 1, //不透明度
afterHeaderOpacity: 0, //不透明度
//是否显示返回按钮
// #ifndef MP
@@ -152,14 +150,8 @@
//轮播图下标
currentSwiper: 0,
anchorlist: [], //导航条锚点
- selectAnchor: 0, //选中锚点
- serviceClass: '', //服务弹窗css类,控制开关动画
- specClass: '', //规格弹窗css类,控制开关动画
- shareClass: '', //分享弹窗css类,控制开关动画
// 商品信息
goodsData: "",
- selectSpec: null, //选中规格
- isKeep: false, //收藏
//商品描述html
desid: '',
imageUrl: app.globalData.imgUrl,
@@ -258,29 +250,6 @@
swiperChange(event) {
this.currentSwiper = event.detail.current;
},
- hideShare() {
- this.shareClass = 'hide';
- setTimeout(() => {
- this.shareClass = 'none';
- }, 150);
- },
- //收藏
- keep() {
- this.isKeep = this.isKeep ? false : true;
- },
- // 加入购物车
- joinCart() {
- if (this.selectSpec == null) {
- return this.showSpec(() => {
- uni.showToast({
- title: "已加入购物车"
- });
- });
- }
- uni.showToast({
- title: "已加入购物车"
- });
- },
//获取登陆信息
getuserinfo() {
let that = this;
@@ -363,100 +332,10 @@
})
},
- //跳转评论列表
- showComments(goodsid) {
-
- },
- //选择规格
- setSelectSpec(index) {
- this.selectSpec = index;
- },
- //减少数量
- sub() {
- if (this.goodsData.number <= 1) {
- return;
- }
- this.goodsData.number--;
- },
- //增加数量
- add() {
- this.goodsData.number++;
- },
- //跳转锚点
- toAnchor(index) {
- this.selectAnchor = index;
- uni.pageScrollTo({
- scrollTop: this.anchorlist[index].top,
- duration: 200
- });
- },
- //计算锚点高度
- calcAnchor() {
- this.anchorlist = [{
- name: '主图',
- top: 0
- },
- {
- name: '评价',
- top: 0
- },
- {
- name: '详情',
- top: 0
- }
- ]
- let commentsView = uni.createSelectorQuery().select("#comments");
- commentsView.boundingClientRect((data) => {
- let statusbarHeight = 0;
- //APP内还要计算状态栏高度
- // #ifdef APP-PLUS
- statusbarHeight = plus.navigator.getStatusbarHeight()
- // #endif
- let headerHeight = uni.upx2px(100);
- this.anchorlist[1].top = data.top - headerHeight - statusbarHeight;
- this.anchorlist[2].top = data.bottom - headerHeight - statusbarHeight;
-
- }).exec();
- },
//返回上一页
back() {
uni.navigateBack();
},
- //服务弹窗
- showService() {
- console.log('show');
- this.serviceClass = 'show';
- },
- //关闭服务弹窗
- hideService() {
- this.serviceClass = 'hide';
- setTimeout(() => {
- this.serviceClass = 'none';
- }, 200);
- },
- //规格弹窗
- showSpec(fun) {
- console.log('show');
- this.specClass = 'show';
- this.specCallback = fun;
- },
- specCallback() {
- return;
- },
- //关闭规格弹窗
- hideSpec() {
- this.specClass = 'hide';
- //回调
-
- this.selectSpec && this.specCallback && this.specCallback();
- this.specCallback = false;
- setTimeout(() => {
- this.specClass = 'none';
- }, 200);
- },
- discard() {
- //丢弃
- }
}
};
diff --git a/pages/login/login.vue b/pages/login/login.vue
index 65f7e8b..291068a 100644
--- a/pages/login/login.vue
+++ b/pages/login/login.vue
@@ -9,12 +9,12 @@
-
+
-
+
登 录
diff --git a/pages/login/loginInvalid/loginInvalid.vue b/pages/login/loginInvalid/loginInvalid.vue
deleted file mode 100644
index 8183fd0..0000000
--- a/pages/login/loginInvalid/loginInvalid.vue
+++ /dev/null
@@ -1,22 +0,0 @@
-
-
-
-
-
-
-
-
-
diff --git a/pages/order/confirmation.vue b/pages/order/confirmation.vue
index 0bcbf0e..f418e69 100644
--- a/pages/order/confirmation.vue
+++ b/pages/order/confirmation.vue
@@ -7,16 +7,27 @@
{{couponList.couponName}}
规格: 默认
-
+
+ ¥{{couponList.salesPrice}}
+
+
+ {{couponList.salesPrice * 100}}
+
+ x1
+
+
¥{{couponList.discountPrice}}
{{couponList.discountPrice*100}}
-
+
+
¥{{couponList.salesPrice}}
-
+
{{couponList.salesPrice*100}}
@@ -29,10 +40,21 @@
商品总额
-
+
+ ¥{{couponList.salesPrice}}
+
+
+
+ {{couponList.salesPrice*100}}
+
+
¥{{couponList.discountPrice}}
-
+
{{couponList.discountPrice*100}}
@@ -204,7 +226,9 @@
orderId: '',
jumpType: '',
tongCardPrice: 0,
- storeId: ''
+ storeId: '',
+ isDiscont: false,
+ coupondiscountid:''
};
},
@@ -284,37 +308,32 @@
showPopup() {
this.$refs.popup.show();
},
-
radioChanges(item) {
- if (this.memDiscountId == item.id) { // 如果已经选中,则取消选中
- this.memDiscountId = '';
+ if (this.memDiscountId == item.highDiscount.id) { // 如果已经选中,则取消选中
+ this.memDiscountId = '';
+ this.coupondiscountid = '';
this.paytheprice = this.couponList.discountPrice;
this.deductionPrice = '0.00';
+ this.isDiscont = false;
} else { // 否则进行选中赋值
- this.memDiscountId = item.id;
+ this.isDiscont = true;
+ this.memDiscountId = item.highDiscount.id;
+ this.coupondiscountid = item.id;
if (item.highDiscount.discountType == 1) {
- if (this.couponList.salesPrice > item.highDiscount.discountPrice) {
- //满减价格
- this.deductionPrice = item.highDiscount.discountPrice;
- this.paytheprice = (((this.couponList.salesPrice * 100) - (this.deductionPrice * 100)) /
- 100);
- } else {
- uni.showToast({
- title: '未满足满减条件',
- icon: 'none',
- duration: 2000
- })
- }
+ //满减价格
+ this.deductionPrice = item.highDiscount.discountPrice;
+ this.paytheprice = this.couponList.salesPrice - this.deductionPrice;
} else if (item.highDiscount.discountType == 2) {
//抵扣价格
this.deductionPrice = item.highDiscount.discountPrice;
- this.paytheprice = (((this.couponList.salesPrice * 100) - (this.deductionPrice * 100)) / 100);
+ this.paytheprice = this.couponList.salesPrice - this.deductionPrice;
} else if (item.highDiscount.discountType == 3) {
// 打折
- this.deductionPrice = this.couponList.salesPrice - this.couponList.salesPrice * (
- item.highDiscount.discountPrice / 10);
- this.paytheprice = this.couponList.salesPrice * (item.highDiscount
- .discountPrice / 10);
+ this.deductionPrice = parseFloat(this.couponList.salesPrice - (this.couponList.salesPrice *
+ item
+ .highDiscount.discountPrice)).toFixed(2)
+ this.paytheprice = parseFloat(this.couponList.salesPrice * item.highDiscount.discountPrice)
+ .toFixed(2);
}
}
this.$refs.popup.hide();
@@ -403,7 +422,7 @@
this.storeId = app.globalData.storeid
}
let goods = {
- "memDiscountId": this.memDiscountId,
+ "memDiscountId": this.coupondiscountid,
"identificationCode": app.globalData.identificationCode,
"highChildOrderList": [{
"goodsType": 1,
@@ -492,7 +511,8 @@
app.globalData.storeid = '';
app.globalData.storename = '';
uni.reLaunch({
- url: '../pay/success/success?id=' + that.couponId
+ url: '../pay/success/success?id=' + that
+ .couponId
});
},
fail: function(err) {
@@ -516,6 +536,21 @@
}
})
} else if (that.paytype == 'jinbi') {
+ if (that.user.gold < that.paytheprice * 100) {
+ uni.showToast({
+ icon: 'none',
+ title: '积分不足',
+ duration: 2000,
+ success() {
+ setTimeout(() => {
+ uni.navigateTo({
+ url: '../user/deposit/deposit'
+ })
+ }, 1000)
+ }
+ });
+ return;
+ }
if (!that.user.isSetPayPwd) {
uni.navigateTo({
url: '../login/updatePas/updatePas'
@@ -524,6 +559,14 @@
}
that.$refs.paymentPassword.modalFun('show');
} else if (that.paytype == 'gonghuika') {
+ if (that.tongCardPrice < that.paytheprice) {
+ uni.showToast({
+ icon: 'none',
+ title: '工会卡余额不足',
+ duration: 2000,
+ });
+ return;
+ }
if (!that.user.isSetPayPwd) {
uni.navigateTo({
url: '../login/updatePas/updatePas'
diff --git a/pages/pay/payment/payment.vue b/pages/pay/payment/payment.vue
index 4ec5de9..42f0118 100644
--- a/pages/pay/payment/payment.vue
+++ b/pages/pay/payment/payment.vue
@@ -20,7 +20,7 @@
-
+
积分支付(积分:{{user.gold}})
@@ -96,7 +96,7 @@
jumpType: '',
PaymentPassword: '',
tongCardPrice: 0,
- goodsType:''
+ goodsType: ''
};
},
onLoad(e) {
@@ -115,7 +115,7 @@
this.amount = parseFloat(e.amount).toFixed(2);
},
onShow() {
- let that = this;
+ let that = this;
that.user = app.globalData.userInfo;
that.getHuiLianTongCardBalance();
},
@@ -209,6 +209,21 @@
}
})
} else if (that.paytype == 'jinbi') {
+ if (that.user.gold < that.amount * 100) {
+ uni.showToast({
+ icon: 'none',
+ title: '积分不足',
+ duration: 2000,
+ success() {
+ setTimeout(() => {
+ uni.navigateTo({
+ url:'../../user/deposit/deposit'
+ })
+ }, 1000)
+ }
+ });
+ return;
+ }
if (!that.user.isSetPayPwd) {
uni.navigateTo({
url: '../../login/updatePas/updatePas'
@@ -217,6 +232,14 @@
}
that.$refs.paymentPassword.modalFun('show');
} else if (that.paytype == 'gonghuika') {
+ if (that.tongCardPrice < that.amount) {
+ uni.showToast({
+ icon: 'none',
+ title: '工会卡余额不足',
+ duration: 2000,
+ });
+ return;
+ }
if (!that.user.isSetPayPwd) {
uni.navigateTo({
url: '../../login/updatePas/updatePas'
diff --git a/pages/pay/success/success.vue b/pages/pay/success/success.vue
index 9134df2..8a45d77 100644
--- a/pages/pay/success/success.vue
+++ b/pages/pay/success/success.vue
@@ -10,7 +10,8 @@
-
+
+
{{couponDesInfo.couponInfo.couponName}}
@@ -26,28 +27,30 @@
视频教程
-
+
+
-
-
- 预约订单已成功 门店会在24小时内联系您
- 请出示核销码(商户扫客户)
- 请告知加油员用码商支付
+
+
+ 预约订单已成功
+ 门店会在24小时内联系您
+
+ 请出示核销码(商户扫客户)
+
+ 请告知加油员用码商支付
二维码生效中,前往个人中心查看
-
+
{{store.distance}}km
+ -->
+
+
+
+ 门店信息
+
+ 查看更多
+
-
+
+
+
+ {{store.storeName}}
+ {{store.address}}
+
+
+
+
+ {{store.distance}}km
+
+
+
+
+
-
+
@@ -101,7 +128,7 @@
twoTime: '',
threeTime: '',
pageNum: 1,
- pageSize: 10,
+ pageSize: 1,
isNoMoreData: false
}
},
@@ -129,7 +156,7 @@
}
},
onReachBottom() {
- this.getStoreListByCoupon();
+ // this.getStoreListByCoupon();
},
methods: {
//我的卡券详情
@@ -144,7 +171,7 @@
if (res.return_code == '000000') {
uni.hideLoading();
this.couponDesInfo = res.return_data;
- if(res.return_data.couponInfo.couponSource == 4){
+ if (res.return_data.couponInfo.couponSource == 4) {
this.oneTime = res.return_data.highUserCoupon.createTime;
this.twoTime = res.return_data.highUserCoupon.useEndTime;
this.threeTime = res.return_data.highUserCoupon.consumeTime;
@@ -179,10 +206,16 @@
});
},
//跳转抽奖活动
- jumpcjhuod(){
+ jumpcjhuod() {
this.closePopup();
uni.reLaunch({
- url:'../../../subPages/lottery/lottery?id='+this.couDesId
+ url: '../../../subPages/lottery/lottery?id=' + this.couDesId
+ })
+ },
+ //跳转门店
+ jumpstorelist() {
+ uni.navigateTo({
+ url: '../../../subPages/sotre-details-list/sotre-details-list?id=' + this.couDesId
})
},
//导航
@@ -246,8 +279,11 @@
}
diff --git a/pages/tabBar/category/category.vue b/pages/tabBar/category/category.vue
index 23c3ee4..aef54a5 100644
--- a/pages/tabBar/category/category.vue
+++ b/pages/tabBar/category/category.vue
@@ -62,6 +62,9 @@
+
+
+
diff --git a/subPages/coupon-comfirmation-success/coupon-comfirmation-success.vue b/subPages/coupon-comfirmation-success/coupon-comfirmation-success.vue
new file mode 100644
index 0000000..acb03cd
--- /dev/null
+++ b/subPages/coupon-comfirmation-success/coupon-comfirmation-success.vue
@@ -0,0 +1,35 @@
+
+
+
+ 支付成功
+ 查看我的优惠券
+
+
+
+
+
+
diff --git a/subPages/coupon-comfirmation/coupon-comfirmation.vue b/subPages/coupon-comfirmation/coupon-comfirmation.vue
new file mode 100644
index 0000000..557140c
--- /dev/null
+++ b/subPages/coupon-comfirmation/coupon-comfirmation.vue
@@ -0,0 +1,908 @@
+
+
+
+
+
+
+
+ {{couponList.packageDetail.title}}
+ 规格: 默认
+
+ ¥{{couponList.packageDetail.price}}
+ x1
+
+
+
+
+
+
+ 商品总额
+
+
+ ¥{{couponList.packageDetail.price}}
+
+
+
+
+
+
+
+ 支付方式
+
+
+
+
+
+ 积分支付可用积分: {{user.gold}}
+
+
+
+
+
+
+
+
+ 微信支付
+
+
+
+
+
+
+
+
+ 汇联通工会卡可用余额: {{tongCardPrice}}元
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/subPages/coupon-package/coupon-package.vue b/subPages/coupon-package/coupon-package.vue
new file mode 100644
index 0000000..f460418
--- /dev/null
+++ b/subPages/coupon-package/coupon-package.vue
@@ -0,0 +1,280 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{row.title}}
+ 限购{{row.purchaseNum}}件
+
+
+
+ ¥ {{row.price}}
+
+
+
+
+
+
+
+
+
+
+
diff --git a/subPages/coupon-packge-details/coupon-packge-details.vue b/subPages/coupon-packge-details/coupon-packge-details.vue
new file mode 100644
index 0000000..f1f9991
--- /dev/null
+++ b/subPages/coupon-packge-details/coupon-packge-details.vue
@@ -0,0 +1,988 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{currentSwiper+1}}/{{swiperList.length}}
+
+
+
+ ¥{{goodsData.packageDetail.price}}
+
+
+ 限购{{goodsData.packageDetail.purchaseNum}}件
+
+
+
+
+
+
+ {{goodsData.packageDetail.title}}
+
+
+ 库存:{{goodsData.packageDetail.totalStock}}件
+
+
+
+
+
+ 优惠券包
+
+
+
+
+
+
+
+ ———— 商品详情 ————
+
+
+
+
+
+
+ 优惠券包
+
+
+
+ {{ product.discountDetail.discountName}}
+ 数量: x{{product.num}}
+
+
+
+
+
+
+
+
+
diff --git a/subPages/recharge-centre/recharge-centre.vue b/subPages/recharge-centre/recharge-centre.vue
index 33045e1..475c0a2 100644
--- a/subPages/recharge-centre/recharge-centre.vue
+++ b/subPages/recharge-centre/recharge-centre.vue
@@ -15,7 +15,8 @@
- {{item.price}}元
+ {{item.price}}元
+ 已售空
@@ -84,7 +85,8 @@
amoutType: '',
codesVlues: '',
amountList: [],
- price: ''
+ price: '',
+ amoutstatus:''
}
},
onLoad(options) {
@@ -120,7 +122,8 @@
select(amoutinfos) {
this.inputAmount = amoutinfos.realPrice;
this.price = amoutinfos.price;
- this.inputAmountId = amoutinfos.id;
+ this.inputAmountId = amoutinfos.id;
+ this.amoutstatus = amoutinfos.status;
},
/**
@@ -145,17 +148,27 @@
* 提交订单
*/
addOrderPay() {
- let that = this;
+ let that = this;
+ if(that.amoutstatus == 2){
+ uni.showToast({
+ title: '当前面值已售空',
+ duration:2000,
+ icon: "none"
+ });
+ return;
+ }
if (that.inputPhone == '') {
uni.showToast({
- title: '请输入充值号码',
+ title: '请输入充值号码',
+ duration:2000,
icon: "none"
});
return;
}
if (that.inputAmount == '') {
uni.showToast({
- title: '请选择价格',
+ title: '请选择价格',
+ duration:2000,
icon: "none"
});
return false;
@@ -305,7 +318,8 @@
width: 94%;
margin-left: 3%;
display: flow-root;
- justify-content: space-between;
+ justify-content: space-between;
+ align-items: center;
padding: 20upx 0;
.box {
@@ -315,7 +329,8 @@
margin-top: 20upx;
float: left;
height: 120upx;
- line-height: 120upx;
+ // line-height: 120upx;
+ display: inline-grid;
justify-content: center;
align-items: center;
text-align: center;
diff --git a/subPages/sotre-details-list/sotre-details-list.vue b/subPages/sotre-details-list/sotre-details-list.vue
new file mode 100644
index 0000000..f51c212
--- /dev/null
+++ b/subPages/sotre-details-list/sotre-details-list.vue
@@ -0,0 +1,95 @@
+
+
+
+
+ {{store.storeName}}
+ {{store.address}}
+
+
+
+
+ {{store.distance}}km
+
+
+
+
+
+
+
+
diff --git a/subPages/static/coupsucces.png b/subPages/static/coupsucces.png
new file mode 100644
index 0000000000000000000000000000000000000000..81cc99941b948f322384e3067d3996bd57b8f000
GIT binary patch
literal 4157
zcmV-D5W???P)Px^_en%SRCr$PU43vI<$3=-dlF;INgzr2gGrhYI)ljvq=lIp3U07(Pui93AhpQT
z^5NT4!7+g}Uk$;*lbDvoG#?#ONcf1+?U|OeKnPgY?Mb%>=BvR>;v|r1qP9@N&?L=_
z0}MeBOSezvy_1Y3>uz`N_VaFcMx#IW`F?);?(O?N@ADEm@ESGKr&zPnX$)RXpw$4c
z2B?pj`v~X*VI{=>`k%OFYJZH^7?>fV8GvU1nr84cfu^Ni>t|zf<=IXP7scJ7ODFqR
zNo<`@Oq-bbTq3Ln(Cd?5v&@(#qQ{wd+#+fJodZ*^`lKrmv9SceXldYsRi670F|7k(
z6M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券选择
-
-
-
-
+
+
+
+ {{items.discountName}}
+ 有效期至:{{items.useEndTime | timeFormat('yyyy-mm-dd')}}
+
+
+
+
+
- {{items.discountName}}
- 有效期至:{{items.useEndTime | timeFormat('yyyy-mm-dd')}}
-
@@ -221,7 +224,7 @@
//查询优惠券
getUserOrderPreList() {
let params = {
- usingAttribution: 1
+ useScope: 3
}
getUserOrderPreList(params).then(res => {
if (res.return_code == '000000') {
@@ -253,7 +256,7 @@
})
},
radioChanges(item) {
- this.paytheprice = this.saveprice;
+ this.paytheprice = this.orderPrice;
if (this.memDiscountId == item.id) { // 如果已经选中,则取消选中
this.memDiscountId = '';
this.payPrice = this.saveprice;
@@ -261,27 +264,19 @@
} else { // 否则进行选中赋值
this.memDiscountId = item.id;
if (item.discountType == 1) {
- if (this.paytheprice > item.discountPrice) {
- //满减价格
- this.deductionPrice = item.discountPrice;
- this.payPrice = (((this.paytheprice * 100) - (this.deductionPrice * 100)) /
- 100);
- } else {
- uni.showToast({
- title: '未满足满减条件',
- icon: 'none',
- duration: 2000
- })
- }
+ //满减价格
+ this.deductionPrice = item.discountPrice;
+ this.payPrice = this.paytheprice- this.deductionPrice;
+
} else if (item.discountType == 2) {
//抵扣价格
this.deductionPrice = item.discountPrice;
- this.payPrice = (((this.paytheprice * 100) - (this.deductionPrice * 100)) / 100);
+ this.payPrice = this.paytheprice - this.deductionPrice;
} else if (item.discountType == 3) {
// 打折
- this.deductionPrice = this.paytheprice - this.paytheprice * (
- item.discountPrice / 10);
- this.payPrice = this.paytheprice * (item.discountPrice / 10);
+ this.deductionPrice = parseFloat(this.paytheprice - (this.paytheprice * item.discountPrice))
+ .toFixed(2);
+ this.payPrice = parseFloat(this.paytheprice * item.discountPrice).toFixed(2)
}
}
this.$refs.popup.hide();
@@ -333,7 +328,8 @@
uni.showLoading({
title: '提交订单中...'
})
- let params = {
+ let params = {
+ "memDiscountId": this.memDiscountId,
"orderPrice": this.orderPrice,
"payPrice": this.payPrice,
"rechargeContent": this.rechargeContent,
@@ -405,8 +401,12 @@
uni.showToast({
title: '支付成功'
})
- uni.switchTab({
- url: '../../pages/tabBar/user/user'
+ // uni.switchTab({
+ // url: '../../pages/tabBar/user/user'
+ // })
+ uni.reLaunch({
+ url: '../Phone-recharge-details/Phone-recharge-details?id=' +
+ that.orderId
})
},
fail: function(err) {
@@ -492,8 +492,9 @@
uni.showToast({
title: '支付成功'
})
- uni.switchTab({
- url: '../../pages/tabBar/user/user'
+ uni.reLaunch({
+ url: '../Phone-recharge-details/Phone-recharge-details?id=' +
+ this.orderId
})
return;
}
@@ -541,6 +542,7 @@
},
payRequest: function(self) {
+ let that = this;
uni.showLoading({
title: '支付中...'
})
@@ -573,15 +575,10 @@
uni.showToast({
title: '支付成功'
})
- if (that.jumpType == 4) {
- uni.reLaunch({
- url: '/pages/tabBar/user/user'
- });
- } else {
- uni.reLaunch({
- url: '../success/success?id=' + that.couponId
- });
- }
+ uni.reLaunch({
+ url: '../Phone-recharge-details/Phone-recharge-details?id=' +
+ that.orderId
+ })
},
cancel: function(r) {},
fail: function(res) {}
@@ -628,11 +625,7 @@
}
.yhprice {
- width: 100%;
- height: 25px;
- text-align: right;
margin-top: -30px;
- margin-left: 50px;
}
.price-number {
@@ -713,10 +706,9 @@
box-shadow: 0rpx 0rpx 10rpx rgba(0, 0, 0, 0.2);
border: 1px solid #f6f6f6;
border-radius: 8px;
- align-items: center;
- display: flex;
image {
+ float: left;
width: 170rpx;
max-height: 170rpx;
margin-left: 10px;
@@ -727,6 +719,10 @@
margin-left: 20rpx;
}
+ .contrig {
+ margin-left: 180rpx;
+ }
+
.info {
display: flex;
justify-content: space-between;
diff --git a/subPages/unionPay-orderList/unionPay-orderList.vue b/subPages/unionPay-orderList/unionPay-orderList.vue
index 57b4f16..ef1f32b 100644
--- a/subPages/unionPay-orderList/unionPay-orderList.vue
+++ b/subPages/unionPay-orderList/unionPay-orderList.vue
@@ -69,8 +69,8 @@
1: '等待付款',
2: '订单已支付',
3: '订单已完成',
- 5: '订单已取消',
- 4: '订单已退款'
+ 4: '订单已取消',
+ 5: '订单已退款'
},
// 退换货
orderType: ['全部', '待支付', '已支付', '已完成', '已取消', '已退款'],
diff --git a/uni.scss b/uni.scss
index b3e09b1..5462e4d 100644
--- a/uni.scss
+++ b/uni.scss
@@ -117,8 +117,13 @@ $uni-font-size-paragraph:30upx;
.font28 {
font-size: 28px;
+}
+
+.font48 {
+ font-size: 48px;
}
+
// 字体加粗
.fontwig6{
font-weight: bold;
@@ -317,6 +322,16 @@ $uni-font-size-paragraph:30upx;
width: 60%;
margin-left: 20%;
}
+
+.width40w {
+ width: 40%;
+ margin-left: 30%;
+}
+
+.width20w {
+ width: 20%;
+ margin-left: 40%;
+}
.width35 {
width: 35%;
@@ -626,6 +641,11 @@ $uni-font-size-paragraph:30upx;
.line1 {
height: 1px;
background-color: #f4f4f4;
+}
+
+.linec6 {
+ height: 1px;
+ background-color: #f1f1f1;
}
.line10 {