diff --git a/high-unionPay/App.vue b/high-unionPay/App.vue
index b9d974e..6eb9eb9 100644
--- a/high-unionPay/App.vue
+++ b/high-unionPay/App.vue
@@ -26,7 +26,11 @@
latitude : '',
balancePrice : '',
balanceCardNo:'',
- identificationCode:''
+ identificationCode:'',
+ //门店ID
+ storeid:'',
+ //门店名字
+ storename:''
},
onLaunch: function() {
},
diff --git a/high-unionPay/Utils/Api.js b/high-unionPay/Utils/Api.js
index 8c39b9f..05de253 100644
--- a/high-unionPay/Utils/Api.js
+++ b/high-unionPay/Utils/Api.js
@@ -55,6 +55,26 @@ export const getStoreListByCoupon = params => {
export const getMerchantStoreById = params => {
return POST('GET', `${base}/highMerchantStore/getMerchantStoreById`, 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);
+}
//根据门店ID 获取卡券
export const getCouponListByStoreId = params => {
return POST('GET', `${base}/coupon/getCouponListByStoreId`, params).then(res => res.data);
@@ -189,10 +209,18 @@ export const paygetOrderById = params => {
export const getCacheParam = params => {
return POST('GET', `${base}/highUser/getCacheParam`, params).then(res => res.data);
}
+//删除保存的值
export const delCacheParam = params => {
return POST('GET', `${base}/highUser/delCacheParam`, 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);
+}
/**
* 工会卡
*/
diff --git a/high-unionPay/pages.json b/high-unionPay/pages.json
index 1b3f41e..7c64aad 100644
--- a/high-unionPay/pages.json
+++ b/high-unionPay/pages.json
@@ -1,587 +1,652 @@
-{
- "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/unionPay/unionPay-entrance/unionPay-entrance",
- "style" :
- {
- "navigationBarTitleText": "嗨加油",
- "navigationBarTextStyle": "white",
- "navigationBarBackgroundColor": "#0083f5",
- "backgroundColorTop": "#0083f5",
- "enablePullDownRefresh": false
- }
-
- },{
- "path" : "pages/unionPay/unionPay",
- "style" :
- {
- "navigationBarTitleText": "嗨加油",
- "navigationBarTextStyle": "white",
- "navigationBarBackgroundColor": "#0083f5",
- "backgroundColorTop": "#0083f5",
- "enablePullDownRefresh": false
- }
-
- }, {
- "path": "pages/user/bindingCardList/bindingCardList",
- "style": {
- "navigationBarTitleText": "卡列表",
- "navigationBarBackgroundColor": "#0083f5",
- "backgroundColorTop": "#0083f5",
- "navigationBarTextStyle": "white",
- "enablePullDownRefresh": false
- }
-
- }, {
- "path": "pages/login/login",
- "style": {
- "navigationBarBackgroundColor": "#0083f5",
- "backgroundColorTop": "#0083f5",
- "navigationBarTextStyle": "white",
- "app-plus": {
- "bounce": "none", //关闭窗口回弹效果
- "softinputNavBar": "none"
- }
- }
- }, {
- "path": "pages/goods/refuel-succes/refuel-succes",
- "style": {
- // 支付成功
- "navigationBarTitleText": "",
- "navigationBarBackgroundColor": "#0083f5",
- "backgroundColorTop": "#0083f5",
- "navigationBarTextStyle": "white",
- "enablePullDownRefresh": false
- }
-
- }, {
- "path": "pages/goods/refuel-confirm/refuel-confirm",
- "style": {
- "navigationBarTitleText": "确认订单",
- "navigationBarBackgroundColor": "#0083f5",
- "backgroundColorTop": "#0083f5",
- "navigationBarTextStyle": "white",
- "enablePullDownRefresh": false
- }
-
- }, {
- "path": "pages/user/order_details/order_details",
- "style": {
- "navigationBarTitleText": "订单详情",
- "navigationBarBackgroundColor": "#0083f5",
- "navigationBarTextStyle": "white",
- "enablePullDownRefresh": false
- }
-
- }, {
- "path": "pages/goods/refuel-details/refuel-details",
- "style": {
- "enablePullDownRefresh": false,
- "navigationBarTitleText": "加油站",
- "backgroundTextStyle": "light",
- "navigationBarBackgroundColor": "#0083f5",
- "backgroundColorTop": "#0083f5",
- "navigationBarTextStyle": "white"
- }
-
- }, {
- "path": "pages/goods/refuel/refuel",
- "style": {
- "navigationBarTitleText": "加油站列表",
- "navigationBarBackgroundColor": "#0083f5",
- "backgroundColorTop": "#0083f5",
- "navigationBarTextStyle": "white",
- "enablePullDownRefresh": false
- }
-
- },
- {
- "path": "pages/goods/goods-list/goods-list",
- "style": {
- "navigationBarBackgroundColor": "#0083f5",
- "backgroundColorTop": "#0083f5",
- "navigationBarTextStyle": "white",
- "app-plus": {
- "bounce": "none"
- }
- }
- },
- {
- "path": "pages/goods/store-list/store-list",
- "style": {
- "navigationBarBackgroundColor": "#0083f5",
- "backgroundColorTop": "#0083f5",
- "navigationBarTextStyle": "white",
- "navigationBarTitleText": "门店列表",
- "enablePullDownRefresh": false
- }
-
- },
- {
- "path": "pages/tabBar/category/category",
- "style": {
- "navigationBarTextStyle": "white",
- "navigationBarTitleText": "分类",
- "navigationBarBackgroundColor": "#0083f5",
- "backgroundColorTop": "#0083f5",
- "navigationBarTextStyle": "white",
- "app-plus": {
- "titleNView": false, //禁用原生导航栏
- "bounce": "none"
-
- }
- }
- },
-
- {
- "path": "pages/tabBar/user/user",
- "style": {
- "enablePullDownRefresh": true,
- "navigationBarTitleText": "我的",
- "backgroundTextStyle": "light",
- "navigationBarBackgroundColor": "#0083f5",
- "backgroundColorTop": "#0083f5",
- "navigationBarTextStyle": "white",
- "app-plus": {
- "titleNView": false, //禁用原生导航栏
- "subNVues": [{
- "id": "userTitleNvue", // 唯一标识
- "path": "pages/tabBar/user/subNvue/userTitleNvue", // 页面路径
- "type": "navigationBar"
- }]
- }
- }
- },
- {
- "path": "pages/goods/HM-search/HM-search",
- "style": {
- "navigationBarTitleText": "搜索",
- "navigationBarBackgroundColor": "#0083f5",
- "backgroundColorTop": "#0083f5",
- "navigationBarTextStyle": "white",
- "app-plus": {
- "softinputNavBar": "none"
- }
- }
- },
- {
- "path": "pages/goods/goods",
- "style": {
- "navigationBarTitleText": "",
- "navigationBarBackgroundColor": "#0083f5",
- "backgroundColorTop": "#0083f5",
- "navigationBarTitleText": "详情",
- "navigationBarTextStyle": "white",
- "onReachBottomDistance": 50,
- "h5": {
- "titleNView": false
- },
- "app-plus": {
- "titleNView": false, //禁用原生导航栏
- "bounce": "none"
- }
- }
- },
-
- {
- "path": "pages/login/register",
- "style": {
- "navigationBarTitleText": "手机号登录",
- "navigationBarBackgroundColor": "#0083f5",
- "backgroundColorTop": "#0083f5",
- "navigationBarTextStyle": "white",
- "app-plus": {
- "bounce": "none", //关闭窗口回弹效果
- "softinputNavBar": "none"
- }
- }
- },
- {
- "path": "pages/login/resetpasswd",
- "style": {
- "navigationBarTitleText": "修改密码",
- "navigationBarBackgroundColor": "#0083f5",
- "backgroundColorTop": "#0083f5",
- "navigationBarTextStyle": "white",
- "app-plus": {
- "bounce": "none", //关闭窗口回弹效果
- "softinputNavBar": "none"
- }
- }
- }, {
- "path": "pages/order/confirmation",
- "style": {
- "navigationBarTitleText": "确认订单",
- "navigationBarBackgroundColor": "#0083f5",
- "backgroundColorTop": "#0083f5",
- "navigationBarTextStyle": "white",
- "softinputNavBar": "none"
- }
- }, {
- "path": "pages/user/coupon/coupon",
- "style": {
- "navigationBarTitleText": "优惠券",
- "navigationBarBackgroundColor": "#0083f5",
- "backgroundColorTop": "#0083f5",
- "navigationBarTextStyle": "white",
- "app-plus": {
- "bounce": "none"
- }
- }
- }, {
- "path": "pages/user/deposit/deposit",
- "style": {
- "enablePullDownRefresh": false,
- "navigationBarTitleText": "充值",
- "backgroundTextStyle": "light",
- "navigationBarBackgroundColor": "#0083f5",
- "backgroundColorTop": "#0083f5",
- "navigationBarTextStyle": "white"
- }
- }, {
- "path": "pages/pay/payment/payment",
- "style": {
- "enablePullDownRefresh": false,
- "navigationBarTitleText": "订单支付",
- "backgroundTextStyle": "light",
- "navigationBarBackgroundColor": "#0083f5",
- "backgroundColorTop": "#0083f5",
- "navigationBarTextStyle": "white"
- }
- }, {
- "path": "pages/pay/success/success",
- "style": {
- "enablePullDownRefresh": false,
- "navigationBarTitleText": "支付成功",
- "backgroundTextStyle": "light",
- "navigationBarBackgroundColor": "#0083f5",
- "backgroundColorTop": "#0083f5",
- "navigationBarTextStyle": "white"
- }
- },
- {
- "path": "pages/goods/store-list/store-details",
- "style": {
- "navigationBarTitleText": "门店详情",
- "backgroundTextStyle": "light",
- "navigationBarBackgroundColor": "#0083f5",
- "backgroundColorTop": "#0083f5",
- "navigationBarTextStyle": "white"
- }
-
- },
- {
- "path": "pages/goods/coupon-details/coupon-details",
- "style": {
- "navigationBarTitleText": "卡券详情",
- "backgroundTextStyle": "light",
- "navigationBarBackgroundColor": "#0083f5",
- "backgroundColorTop": "#0083f5",
- "navigationBarTextStyle": "white",
- "enablePullDownRefresh": false
- }
-
- }, {
- "path": "pages/user/business/business",
- "style": {
- "navigationBarTitleText": "门店",
- "enablePullDownRefresh": false
- }
-
- }, {
- "path": "pages/user/order_list/order_list",
- "style": {
- "navigationBarTitleText": "我的订单",
- "navigationBarBackgroundColor": "#0083f5",
- "backgroundColorTop": "#0083f5",
- "backgroundColorBottom": "#ffffff"
- }
- }, {
- "path": "pages/goods/recording/recording",
- "style": {
- "enablePullDownRefresh": false
- }
-
- }, {
- "path": "pages/user/mineCoupons/mineCoupons",
- "style": {
- "navigationBarTitleText": "我的卡券",
- "enablePullDownRefresh": false
- }
-
- }, {
- "path": "pages/goods/coupons-info-details/coupons-info-details",
- "style": {
- "navigationBarTitleText": "卡券详情",
- "enablePullDownRefresh": false
- }
-
- }, {
- "path": "pages/user/mineCouponsDestails/mineCouponsDestails",
- "style": {
- "navigationBarTitleText": "优惠券详情",
- "enablePullDownRefresh": false
- }
-
- }, {
- "path": "pages/goods/externalCoupon/externalCoupon",
- "style": {
- "navigationBarTitleText": "扫码领取优惠券",
- "enablePullDownRefresh": false
- }
-
- }, {
- "path": "pages/user/agentCoupons/agentCoupons",
- "style": {
- "navigationBarTitleText": "",
- "enablePullDownRefresh": false
- }
-
- }, {
- "path": "pages/user/minePromotion/minePromotion",
- "style": {
- "navigationBarTitleText": "",
- "backgroundTextStyle": "light",
- "navigationBarBackgroundColor": "#0083f5",
- "backgroundColorTop": "#0083f5",
- "navigationBarTextStyle": "white"
- }
- },
- {
- "path": "pages/user/runningWater/runningWater",
- "style": {
- "enablePullDownRefresh": false,
- "navigationBarTitleText": "",
- "backgroundTextStyle": "light",
- "navigationBarBackgroundColor": "#0083f5",
- "backgroundColorTop": "#0083f5",
- "navigationBarTextStyle": "white"
- }
-
- }, {
- "path": "pages/user/Charge/Charge",
- "style": {
- "navigationBarBackgroundColor": "#ffffff",
- "navigationBarTitleText": "充值",
- "backgroundColorTop": "#ffffff",
- "backgroundColorBottom": "#ffffff"
- }
-
- }, {
- "path": "pages/user/positioning/positioning",
- "style": {
- "navigationBarTitleText": "地区选择",
- "enablePullDownRefresh": false
- }
-
- }, {
- "path": "pages/tabBar/order/order",
- "style": {
- "navigationBarTitleText": "",
- "enablePullDownRefresh": false
- }
-
- }, {
- "path": "pages/qianZhuPay/qianZhuPay",
- "style": {
- "navigationBarTitleText": "",
- "enablePullDownRefresh": false
- }
-
- }, {
- "path": "pages/tabBar/order/webUrl/webUrl",
- "style": {
- "navigationBarTitleText": "",
- "enablePullDownRefresh": false
- }
-
- }, {
- "path": "pages/login/updatePas/updatePas",
- "style": {
- "enablePullDownRefresh": false,
- "navigationBarTitleText": "设置密码",
- "backgroundTextStyle": "light",
- "navigationBarBackgroundColor": "#0083f5",
- "backgroundColorTop": "#0083f5",
- "navigationBarTextStyle": "white"
- }
- }, {
- "path": "pages/login/updatePas/resetPas",
- "style": {
- "enablePullDownRefresh": false,
- "navigationBarTitleText": "修改密码",
- "backgroundTextStyle": "light",
- "navigationBarBackgroundColor": "#0083f5",
- "backgroundColorTop": "#0083f5",
- "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": {
- "navigationBarTitleText": "绑定卡号",
- "navigationBarBackgroundColor": "#0083f5",
- "backgroundColorTop": "#0083f5",
- "navigationBarTextStyle": "white",
- "enablePullDownRefresh": false
- }
-
- }, {
- "path": "pages/user/unionCard/unionCard",
- "style": {
- "enablePullDownRefresh": false,
- "navigationBarTitleText": "卡记录",
- "backgroundTextStyle": "light",
- "navigationBarBackgroundColor": "#0083f5",
- "backgroundColorTop": "#0083f5",
- "navigationBarTextStyle": "white"
- }
-
- }, {
- "path": "pages/userLogin/userLogin",
- "style": {
- "navigationBarTitleText": "嗨加油",
- "enablePullDownRefresh": false,
- "backgroundTextStyle": "light",
- "navigationBarBackgroundColor": "#0083f5",
- "backgroundColorTop": "#0083f5",
- "navigationBarTextStyle": "white"
- }
-
- }, {
- "path": "pages/user/cardDes/cardDes",
- "style": {
- "enablePullDownRefresh": false,
- "navigationBarTitleText": "绑定卡号",
- "backgroundTextStyle": "light",
- "navigationBarBackgroundColor": "#0083f5",
- "backgroundColorTop": "#0083f5",
- "navigationBarTextStyle": "white"
- }
-
- }
- ,{
- "path" : "pages/unionPay/recharge/recharge",
- "style" :
- {
- "navigationBarTitleText": "话费充值",
- "navigationBarTextStyle": "white",
- "navigationBarBackgroundColor": "#0083f5",
- "backgroundColorTop": "#0083f5",
- "enablePullDownRefresh": false
- }
-
- }
-
- ,{
- "path" : "pages/unionPay/recharge-centre/recharge-centre",
- "style" :
- {
- "navigationBarTitleText": "",
- "navigationBarTextStyle": "white",
- "navigationBarBackgroundColor": "#0083f5",
- "backgroundColorTop": "#0083f5",
- "enablePullDownRefresh": false
- }
-
- }
-
- ,{
- "path" : "pages/unionPay/unionorder-des/unionorder-des",
- "style" :
- {
- "navigationBarTitleText": "充值详情",
- "enablePullDownRefresh": false
- }
-
- }
- ],
- "subpackages": [{
- "root": "subPages",
- "pages": [{
- "path": "lottery/lottery",
- "style": {
- "enablePullDownRefresh": false,
- "navigationBarTitleText": "抽奖活动",
- "backgroundTextStyle": "light",
- "navigationBarBackgroundColor": "#e62601",
- "backgroundColorTop": "#e62601",
- "navigationBarTextStyle": "white"
- }
-
- },{
- "path": "unionPay-orderList/unionPay-orderList",
- "style": {
- "enablePullDownRefresh": false,
- "navigationBarTitleText": "话费订单",
- "backgroundTextStyle": "light",
- "navigationBarBackgroundColor": "#0083f5",
- "backgroundColorTop": "#0083f5",
- "navigationBarTextStyle": "white"
- }
-
- }]
- }],
- "globalStyle": {
- "navigationBarTextStyle": "black",
- "navigationBarTitleText": "",
- "navigationBarBackgroundColor": "#ffffff",
- "backgroundColor": "#ffffff",
- "backgroundColorTop": "#ffffff",
- "backgroundColorBottom": "#ffffff"
- },
- "tabBar": {
- "color": "#333333",
- "selectedColor": "#0083f5",
- "borderStyle": "black",
- "backgroundColor": "#ffffff",
- "list": [{
- "pagePath": "pages/tabBar/home/home",
- "iconPath": "static/img/tabBar/home.png",
- "selectedIconPath": "static/img/tabBar/home-on.png",
- "text": "嗨加油"
- },
- // {
- // "pagePath": "pages/tabBar/category/category",
- // "iconPath": "static/img/tabBar/category.png",
- // "selectedIconPath": "static/img/tabBar/category-on.png",
- // "text": "导航"
- // },
- {
- "pagePath": "pages/tabBar/user/user",
- "iconPath": "static/img/tabBar/user.png",
- "selectedIconPath": "static/img/tabBar/user-on.png",
- "text": "我的"
- }
- ]
- }
+{
+ "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/unionPay/unionPay-entrance/unionPay-entrance",
+ "style": {
+ "navigationBarTitleText": "嗨加油",
+ "navigationBarTextStyle": "white",
+ "navigationBarBackgroundColor": "#0083f5",
+ "backgroundColorTop": "#0083f5",
+ "enablePullDownRefresh": false
+ }
+
+ }, {
+ "path": "pages/unionPay/unionPay",
+ "style": {
+ "navigationBarTitleText": "嗨加油",
+ "navigationBarTextStyle": "white",
+ "navigationBarBackgroundColor": "#0083f5",
+ "backgroundColorTop": "#0083f5",
+ "enablePullDownRefresh": false
+ }
+
+ }, {
+ "path": "pages/user/bindingCardList/bindingCardList",
+ "style": {
+ "navigationBarTitleText": "卡列表",
+ "navigationBarBackgroundColor": "#0083f5",
+ "backgroundColorTop": "#0083f5",
+ "navigationBarTextStyle": "white",
+ "enablePullDownRefresh": false
+ }
+
+ }, {
+ "path": "pages/login/login",
+ "style": {
+ "navigationBarBackgroundColor": "#0083f5",
+ "backgroundColorTop": "#0083f5",
+ "navigationBarTextStyle": "white",
+ "app-plus": {
+ "bounce": "none", //关闭窗口回弹效果
+ "softinputNavBar": "none"
+ }
+ }
+ }, {
+ "path": "pages/goods/refuel-succes/refuel-succes",
+ "style": {
+ // 支付成功
+ "navigationBarTitleText": "",
+ "navigationBarBackgroundColor": "#0083f5",
+ "backgroundColorTop": "#0083f5",
+ "navigationBarTextStyle": "white",
+ "enablePullDownRefresh": false
+ }
+
+ }, {
+ "path": "pages/goods/refuel-confirm/refuel-confirm",
+ "style": {
+ "navigationBarTitleText": "确认订单",
+ "navigationBarBackgroundColor": "#0083f5",
+ "backgroundColorTop": "#0083f5",
+ "navigationBarTextStyle": "white",
+ "enablePullDownRefresh": false
+ }
+
+ }, {
+ "path": "pages/user/order_details/order_details",
+ "style": {
+ "navigationBarTitleText": "订单详情",
+ "navigationBarBackgroundColor": "#0083f5",
+ "navigationBarTextStyle": "white",
+ "enablePullDownRefresh": false
+ }
+
+ }, {
+ "path": "pages/goods/refuel-details/refuel-details",
+ "style": {
+ "enablePullDownRefresh": false,
+ "navigationBarTitleText": "加油站",
+ "backgroundTextStyle": "light",
+ "navigationBarBackgroundColor": "#0083f5",
+ "backgroundColorTop": "#0083f5",
+ "navigationBarTextStyle": "white"
+ }
+
+ }, {
+ "path": "pages/goods/refuel/refuel",
+ "style": {
+ "navigationBarTitleText": "加油站列表",
+ "navigationBarBackgroundColor": "#0083f5",
+ "backgroundColorTop": "#0083f5",
+ "navigationBarTextStyle": "white",
+ "enablePullDownRefresh": false
+ }
+
+ },
+ {
+ "path": "pages/goods/goods-list/goods-list",
+ "style": {
+ "navigationBarBackgroundColor": "#0083f5",
+ "backgroundColorTop": "#0083f5",
+ "navigationBarTextStyle": "white",
+ "app-plus": {
+ "bounce": "none"
+ }
+ }
+ },
+ {
+ "path": "pages/goods/store-list/store-list",
+ "style": {
+ "navigationBarBackgroundColor": "#0083f5",
+ "backgroundColorTop": "#0083f5",
+ "navigationBarTextStyle": "white",
+ "navigationBarTitleText": "门店列表",
+ "enablePullDownRefresh": false
+ }
+
+ },
+ {
+ "path": "pages/tabBar/category/category",
+ "style": {
+ "navigationBarTextStyle": "white",
+ "navigationBarTitleText": "分类",
+ "navigationBarBackgroundColor": "#0083f5",
+ "backgroundColorTop": "#0083f5",
+ "navigationBarTextStyle": "white",
+ "app-plus": {
+ "titleNView": false, //禁用原生导航栏
+ "bounce": "none"
+
+ }
+ }
+ },
+
+ {
+ "path": "pages/tabBar/user/user",
+ "style": {
+ "enablePullDownRefresh": true,
+ "navigationBarTitleText": "我的",
+ "backgroundTextStyle": "light",
+ "navigationBarBackgroundColor": "#0083f5",
+ "backgroundColorTop": "#0083f5",
+ "navigationBarTextStyle": "white",
+ "app-plus": {
+ "titleNView": false, //禁用原生导航栏
+ "subNVues": [{
+ "id": "userTitleNvue", // 唯一标识
+ "path": "pages/tabBar/user/subNvue/userTitleNvue", // 页面路径
+ "type": "navigationBar"
+ }]
+ }
+ }
+ },
+ {
+ "path": "pages/goods/HM-search/HM-search",
+ "style": {
+ "navigationBarTitleText": "搜索",
+ "navigationBarBackgroundColor": "#0083f5",
+ "backgroundColorTop": "#0083f5",
+ "navigationBarTextStyle": "white",
+ "app-plus": {
+ "softinputNavBar": "none"
+ }
+ }
+ },
+ {
+ "path": "pages/goods/goods",
+ "style": {
+ "navigationBarTitleText": "",
+ "navigationBarBackgroundColor": "#0083f5",
+ "backgroundColorTop": "#0083f5",
+ "navigationBarTitleText": "详情",
+ "navigationBarTextStyle": "white",
+ "onReachBottomDistance": 50,
+ "h5": {
+ "titleNView": false
+ },
+ "app-plus": {
+ "titleNView": false, //禁用原生导航栏
+ "bounce": "none"
+ }
+ }
+ },
+
+ {
+ "path": "pages/login/register",
+ "style": {
+ "navigationBarTitleText": "手机号登录",
+ "navigationBarBackgroundColor": "#0083f5",
+ "backgroundColorTop": "#0083f5",
+ "navigationBarTextStyle": "white",
+ "app-plus": {
+ "bounce": "none", //关闭窗口回弹效果
+ "softinputNavBar": "none"
+ }
+ }
+ },
+ {
+ "path": "pages/login/resetpasswd",
+ "style": {
+ "navigationBarTitleText": "修改密码",
+ "navigationBarBackgroundColor": "#0083f5",
+ "backgroundColorTop": "#0083f5",
+ "navigationBarTextStyle": "white",
+ "app-plus": {
+ "bounce": "none", //关闭窗口回弹效果
+ "softinputNavBar": "none"
+ }
+ }
+ }, {
+ "path": "pages/order/confirmation",
+ "style": {
+ "navigationBarTitleText": "确认订单",
+ "navigationBarBackgroundColor": "#0083f5",
+ "backgroundColorTop": "#0083f5",
+ "navigationBarTextStyle": "white",
+ "softinputNavBar": "none"
+ }
+ }, {
+ "path": "pages/user/coupon/coupon",
+ "style": {
+ "navigationBarTitleText": "优惠券",
+ "navigationBarBackgroundColor": "#0083f5",
+ "backgroundColorTop": "#0083f5",
+ "navigationBarTextStyle": "white",
+ "app-plus": {
+ "bounce": "none"
+ }
+ }
+ }, {
+ "path": "pages/user/deposit/deposit",
+ "style": {
+ "enablePullDownRefresh": false,
+ "navigationBarTitleText": "充值",
+ "backgroundTextStyle": "light",
+ "navigationBarBackgroundColor": "#0083f5",
+ "backgroundColorTop": "#0083f5",
+ "navigationBarTextStyle": "white"
+ }
+ }, {
+ "path": "pages/pay/payment/payment",
+ "style": {
+ "enablePullDownRefresh": false,
+ "navigationBarTitleText": "订单支付",
+ "backgroundTextStyle": "light",
+ "navigationBarBackgroundColor": "#0083f5",
+ "backgroundColorTop": "#0083f5",
+ "navigationBarTextStyle": "white"
+ }
+ }, {
+ "path": "pages/pay/success/success",
+ "style": {
+ "enablePullDownRefresh": false,
+ "navigationBarTitleText": "支付成功",
+ "backgroundTextStyle": "light",
+ "navigationBarBackgroundColor": "#0083f5",
+ "backgroundColorTop": "#0083f5",
+ "navigationBarTextStyle": "white"
+ }
+ },
+ {
+ "path": "pages/goods/store-list/store-details",
+ "style": {
+ "navigationBarTitleText": "门店详情",
+ "backgroundTextStyle": "light",
+ "navigationBarBackgroundColor": "#0083f5",
+ "backgroundColorTop": "#0083f5",
+ "navigationBarTextStyle": "white"
+ }
+
+ },
+ {
+ "path": "pages/goods/coupon-details/coupon-details",
+ "style": {
+ "navigationBarTitleText": "卡券详情",
+ "backgroundTextStyle": "light",
+ "navigationBarBackgroundColor": "#0083f5",
+ "backgroundColorTop": "#0083f5",
+ "navigationBarTextStyle": "white",
+ "enablePullDownRefresh": false
+ }
+
+ }, {
+ "path": "pages/user/business/business",
+ "style": {
+ "navigationBarTitleText": "门店",
+ "enablePullDownRefresh": false
+ }
+
+ }, {
+ "path": "pages/user/order_list/order_list",
+ "style": {
+ "navigationBarTitleText": "我的订单",
+ "navigationBarBackgroundColor": "#0083f5",
+ "backgroundColorTop": "#0083f5",
+ "backgroundColorBottom": "#ffffff"
+ }
+ }, {
+ "path": "pages/goods/recording/recording",
+ "style": {
+ "enablePullDownRefresh": false
+ }
+
+ }, {
+ "path": "pages/user/mineCoupons/mineCoupons",
+ "style": {
+ "navigationBarTitleText": "我的卡券",
+ "enablePullDownRefresh": false
+ }
+
+ }, {
+ "path": "pages/goods/coupons-info-details/coupons-info-details",
+ "style": {
+ "navigationBarTitleText": "卡券详情",
+ "enablePullDownRefresh": false
+ }
+
+ }, {
+ "path": "pages/user/mineCouponsDestails/mineCouponsDestails",
+ "style": {
+ "navigationBarTitleText": "优惠券详情",
+ "enablePullDownRefresh": false
+ }
+
+ }, {
+ "path": "pages/goods/externalCoupon/externalCoupon",
+ "style": {
+ "navigationBarTitleText": "扫码领取优惠券",
+ "enablePullDownRefresh": false
+ }
+
+ }, {
+ "path": "pages/user/agentCoupons/agentCoupons",
+ "style": {
+ "navigationBarTitleText": "",
+ "enablePullDownRefresh": false
+ }
+
+ }, {
+ "path": "pages/user/minePromotion/minePromotion",
+ "style": {
+ "navigationBarTitleText": "",
+ "backgroundTextStyle": "light",
+ "navigationBarBackgroundColor": "#0083f5",
+ "backgroundColorTop": "#0083f5",
+ "navigationBarTextStyle": "white"
+ }
+ },
+ {
+ "path": "pages/user/runningWater/runningWater",
+ "style": {
+ "enablePullDownRefresh": false,
+ "navigationBarTitleText": "",
+ "backgroundTextStyle": "light",
+ "navigationBarBackgroundColor": "#0083f5",
+ "backgroundColorTop": "#0083f5",
+ "navigationBarTextStyle": "white"
+ }
+
+ }, {
+ "path": "pages/user/Charge/Charge",
+ "style": {
+ "navigationBarBackgroundColor": "#ffffff",
+ "navigationBarTitleText": "充值",
+ "backgroundColorTop": "#ffffff",
+ "backgroundColorBottom": "#ffffff"
+ }
+
+ }, {
+ "path": "pages/user/positioning/positioning",
+ "style": {
+ "navigationBarTitleText": "地区选择",
+ "enablePullDownRefresh": false
+ }
+
+ }, {
+ "path": "pages/tabBar/order/order",
+ "style": {
+ "navigationBarTitleText": "",
+ "enablePullDownRefresh": false
+ }
+
+ }, {
+ "path": "pages/qianZhuPay/qianZhuPay",
+ "style": {
+ "navigationBarTitleText": "",
+ "enablePullDownRefresh": false
+ }
+
+ }, {
+ "path": "pages/tabBar/order/webUrl/webUrl",
+ "style": {
+ "navigationBarTitleText": "",
+ "enablePullDownRefresh": false
+ }
+
+ }, {
+ "path": "pages/login/updatePas/updatePas",
+ "style": {
+ "enablePullDownRefresh": false,
+ "navigationBarTitleText": "设置密码",
+ "backgroundTextStyle": "light",
+ "navigationBarBackgroundColor": "#0083f5",
+ "backgroundColorTop": "#0083f5",
+ "navigationBarTextStyle": "white"
+ }
+ }, {
+ "path": "pages/login/updatePas/resetPas",
+ "style": {
+ "enablePullDownRefresh": false,
+ "navigationBarTitleText": "修改密码",
+ "backgroundTextStyle": "light",
+ "navigationBarBackgroundColor": "#0083f5",
+ "backgroundColorTop": "#0083f5",
+ "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": {
+ "navigationBarTitleText": "绑定卡号",
+ "navigationBarBackgroundColor": "#0083f5",
+ "backgroundColorTop": "#0083f5",
+ "navigationBarTextStyle": "white",
+ "enablePullDownRefresh": false
+ }
+
+ }, {
+ "path": "pages/user/unionCard/unionCard",
+ "style": {
+ "enablePullDownRefresh": false,
+ "navigationBarTitleText": "卡记录",
+ "backgroundTextStyle": "light",
+ "navigationBarBackgroundColor": "#0083f5",
+ "backgroundColorTop": "#0083f5",
+ "navigationBarTextStyle": "white"
+ }
+
+ }, {
+ "path": "pages/userLogin/userLogin",
+ "style": {
+ "navigationBarTitleText": "嗨加油",
+ "enablePullDownRefresh": false,
+ "backgroundTextStyle": "light",
+ "navigationBarBackgroundColor": "#0083f5",
+ "backgroundColorTop": "#0083f5",
+ "navigationBarTextStyle": "white"
+ }
+
+ }, {
+ "path": "pages/user/cardDes/cardDes",
+ "style": {
+ "enablePullDownRefresh": false,
+ "navigationBarTitleText": "绑定卡号",
+ "backgroundTextStyle": "light",
+ "navigationBarBackgroundColor": "#0083f5",
+ "backgroundColorTop": "#0083f5",
+ "navigationBarTextStyle": "white"
+ }
+
+ }, {
+ "path": "pages/unionPay/recharge/recharge",
+ "style": {
+ "navigationBarTitleText": "话费充值",
+ "navigationBarTextStyle": "white",
+ "navigationBarBackgroundColor": "#0083f5",
+ "backgroundColorTop": "#0083f5",
+ "enablePullDownRefresh": false
+ }
+
+ }
+
+ , {
+ "path": "pages/unionPay/recharge-centre/recharge-centre",
+ "style": {
+ "navigationBarTitleText": "",
+ "navigationBarTextStyle": "white",
+ "navigationBarBackgroundColor": "#0083f5",
+ "backgroundColorTop": "#0083f5",
+ "enablePullDownRefresh": false
+ }
+
+ }
+
+ , {
+ "path": "pages/unionPay/unionorder-des/unionorder-des",
+ "style": {
+ "navigationBarTitleText": "充值详情",
+ "enablePullDownRefresh": false
+ }
+
+ }
+ ],
+ "subpackages": [{
+ "root": "subPages",
+ "pages": [{
+ "path": "coupon-comfirmation-success/coupon-comfirmation-success",
+ "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": "unionPay-orderList/unionPay-orderList",
+ "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": "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"
+ }
+
+ }]
+ }],
+ "globalStyle": {
+ "navigationBarTextStyle": "black",
+ "navigationBarTitleText": "",
+ "navigationBarBackgroundColor": "#ffffff",
+ "backgroundColor": "#ffffff",
+ "backgroundColorTop": "#ffffff",
+ "backgroundColorBottom": "#ffffff"
+ },
+ "tabBar": {
+ "color": "#333333",
+ "selectedColor": "#0083f5",
+ "borderStyle": "black",
+ "backgroundColor": "#ffffff",
+ "list": [{
+ "pagePath": "pages/tabBar/home/home",
+ "iconPath": "static/img/tabBar/home.png",
+ "selectedIconPath": "static/img/tabBar/home-on.png",
+ "text": "嗨加油"
+ },
+ // {
+ // "pagePath": "pages/tabBar/category/category",
+ // "iconPath": "static/img/tabBar/category.png",
+ // "selectedIconPath": "static/img/tabBar/category-on.png",
+ // "text": "导航"
+ // },
+ {
+ "pagePath": "pages/tabBar/user/user",
+ "iconPath": "static/img/tabBar/user.png",
+ "selectedIconPath": "static/img/tabBar/user-on.png",
+ "text": "我的"
+ }
+ ]
+ }
}
diff --git a/high-unionPay/pages/goods/coupon-details/coupon-details.vue b/high-unionPay/pages/goods/coupon-details/coupon-details.vue
index b4bb224..5feaea7 100644
--- a/high-unionPay/pages/goods/coupon-details/coupon-details.vue
+++ b/high-unionPay/pages/goods/coupon-details/coupon-details.vue
@@ -1,381 +1,371 @@
-
-
-
-
-
-
-
- 已使用
- 未使用
- 已过期
-
- {{couponDesInfo.couponInfo.couponName}}
- 领取时间:{{oneTime | formatDate('-')}}
- 使用有效期:{{twoTime | formatDate('-')}}
- 消费时间:{{threeTime | formatDate('-')}}
- 加油站点:{{storeName}}
-
-
-
-
-
-
- 视频教程
-
-
-
-
-
-
- 预约订单已成功 门店会在24小时内联系您
-
- 请出示核销码(商户扫客户)
-
- 请告知加油员用码商支付
-
-
-
- {{couponDesInfo.couponCodeInfo.codeKey}}
-
-
-
- 门店信息
-
-
-
-
- {{store.storeName}}
- {{store.address}}
-
-
-
-
- {{store.distance}}km
-
-
-
-
-
-
-
-
-
-
-
diff --git a/high-unionPay/pages/goods/coupons-info-details/coupons-info-details.vue b/high-unionPay/pages/goods/coupons-info-details/coupons-info-details.vue
index 9f7b8b5..6b06dad 100644
--- a/high-unionPay/pages/goods/coupons-info-details/coupons-info-details.vue
+++ b/high-unionPay/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/high-unionPay/pages/goods/goods-list/goods-list.vue b/high-unionPay/pages/goods/goods-list/goods-list.vue
index e4f52f9..ef10bbd 100644
--- a/high-unionPay/pages/goods/goods-list/goods-list.vue
+++ b/high-unionPay/pages/goods/goods-list/goods-list.vue
@@ -53,7 +53,8 @@
diff --git a/high-unionPay/pages/goods/store-list/store-list.vue b/high-unionPay/pages/goods/store-list/store-list.vue
index fbaf38c..c123040 100644
--- a/high-unionPay/pages/goods/store-list/store-list.vue
+++ b/high-unionPay/pages/goods/store-list/store-list.vue
@@ -1,155 +1,161 @@
-
-
-
-
-
-
-
-
-
- {{goods.storeName}}
-
- 在线加油
- {{goods.operatorName}}
-
- {{goods.address}}
-
-
-
-
- {{goods.distance}}km
-
-
-
- {{ loadingText }}
-
-
-
-
-
-
diff --git a/high-unionPay/pages/order/confirmation.vue b/high-unionPay/pages/order/confirmation.vue
index cae6f5a..62fdf88 100644
--- a/high-unionPay/pages/order/confirmation.vue
+++ b/high-unionPay/pages/order/confirmation.vue
@@ -1,843 +1,869 @@
-
-
-
-
-
-
-
- {{couponList.couponName}}
- 规格: 默认
-
- ¥{{couponList.discountPrice}}
-
-
- {{couponList.discountPrice*100}}
-
-
- ¥{{couponList.salesPrice}}
-
-
-
- {{couponList.salesPrice*100}}
-
- x1
-
-
-
-
-
-
- 商品总额
-
-
- ¥{{couponList.discountPrice}}
-
-
-
- {{couponList.discountPrice*100}}
-
-
-
-
-
-
- 配送费
-
-
- ¥0
-
-
-
-
-
-
- 优惠抵扣{{UserNormalDiscountList.length}}张可用
-
-
- 未使用
-
-
-
- -¥{{deductionPrice}}
-
-
-
-
-
-
-
-
- 支付方式
-
-
-
-
-
-
- 银联支付
-
-
-
-
-
-
-
-
-
-
-
-
-
- 优惠券选择
-
-
-
-
-
-
- {{items.highDiscount.discountName}}
- 有效期至:{{items.highDiscount.salesEndTime | formatDate('-')}}
-
-
-
-
-
-
-
-
-
-
-
diff --git a/high-unionPay/pages/pay/payment/payment.vue b/high-unionPay/pages/pay/payment/payment.vue
index b5c64d8..3e2eb00 100644
--- a/high-unionPay/pages/pay/payment/payment.vue
+++ b/high-unionPay/pages/pay/payment/payment.vue
@@ -1,363 +1,364 @@
-
-
-
-
-
-
- 订单金额:
- {{amount}} 元
- {{amount*100}} 个积分
- {{amount}}元
-
-
-
-
-
-
- 选择支付方式
-
-
-
-
-
-
-
-
-
- 银联支付
-
-
-
-
-
-
-
-
-
-
- 立即支付
-
- 点击立即支付,即代表您同意
- 《条款协议》
-
-
-
-
-
-
-
-
-
-
-
diff --git a/high-unionPay/pages/pay/success/success.vue b/high-unionPay/pages/pay/success/success.vue
index 08de13e..963cbb6 100644
--- a/high-unionPay/pages/pay/success/success.vue
+++ b/high-unionPay/pages/pay/success/success.vue
@@ -52,6 +52,16 @@
二维码生效中,前往个人中心查看
+
+
+ 门店信息
+
+ 查看更多
+
+
+
@@ -106,7 +116,7 @@
twoTime: '',
threeTime: '',
pageNum: 1,
- pageSize: 10,
+ pageSize: 1,
isNoMoreData: false
}
},
@@ -189,6 +199,12 @@
uni.reLaunch({
url:'../../../subPages/lottery/lottery?id='+this.couDesId
})
+ },
+ //跳转门店
+ jumpstorelist() {
+ uni.navigateTo({
+ url: '../../../subPages/sotre-details-list/sotre-details-list?id=' + this.couDesId
+ })
},
//导航
seeloaction(e) {
diff --git a/high-unionPay/pages/tabBar/home/home.vue b/high-unionPay/pages/tabBar/home/home.vue
index 664a623..3183bd7 100644
--- a/high-unionPay/pages/tabBar/home/home.vue
+++ b/high-unionPay/pages/tabBar/home/home.vue
@@ -169,7 +169,7 @@
// if (app.globalData.cityName != '') {
// this.city = app.globalData.cityName;
// this.getCouponListArea();
- // this.getCouponListgold();
+ // this.getCouponListgold();
// }
},
onLoad() {
@@ -219,11 +219,11 @@
upsdk.pluginReady(function() {
upsdk.getLocationCity({
success: function(cityCd) {
- app.globalData.cityId = cityCd;
+ app.globalData.cityId = cityCd;
that.getCmsAactibity();
- that.getCouponListArea();
- that.getCmsContent();
- that.getCmsContentcmshome();
+ that.getCouponListArea();
+ that.getCmsContent();
+ that.getCmsContentcmshome();
that.getCmsContentcmsContent();
},
fail: function(err) {}
@@ -284,15 +284,15 @@
}
});
},
- getCmsAactibity() {
- uni.showToast({
- title:'加载中...'
+ getCmsAactibity() {
+ uni.showToast({
+ title: '加载中...'
})
let params = {
regionId: app.globalData.cityId,
categoryCode: 'CMS_UNIONPAY_ALERT'
}
- getCmsContent(params).then(res => {
+ getCmsContent(params).then(res => {
uni.hideLoading();
if (res.return_code == '000000' && res.return_data != '') {
//弹窗首页广告
@@ -436,8 +436,19 @@
url: '/pages/goods/goods-list/goods-list?id=3'
})
return;
+ }
+ if (item.title == '优选商品') {
+ uni.navigateTo({
+ url: '../../../subPages/preferred-goods/preferred-goods'
+ })
+ return;
+ }
+ if (item.title == '优惠券包') {
+ uni.navigateTo({
+ url: '../../../subPages/coupon-package/coupon-package'
+ })
+ return;
}
-
},
//调整商品列表
diff --git a/high-unionPay/pages/unionPay/recharge-centre/recharge-centre.vue b/high-unionPay/pages/unionPay/recharge-centre/recharge-centre.vue
index 2017247..97445b7 100644
--- a/high-unionPay/pages/unionPay/recharge-centre/recharge-centre.vue
+++ b/high-unionPay/pages/unionPay/recharge-centre/recharge-centre.vue
@@ -12,9 +12,10 @@
选择金额
-
{{item.price}}元
+ 已售空
@@ -77,7 +78,8 @@
inputPhone: '',
amoutType: '',
codesVlues: '',
- amountList: []
+ amountList: [],
+ amoutstatus:''
}
},
onLoad(options) {
@@ -114,6 +116,7 @@
this.inputAmount = amoutinfos.realPrice;
this.orderPrice = amoutinfos.price;
this.inputAmountId = amoutinfos.id;
+ this.amoutstatus = amoutinfos.status;
},
/**
@@ -138,6 +141,14 @@
* 提交订单
*/
addOrderPay() {
+ if(this.amoutstatus == 2){
+ uni.showToast({
+ title: '当前面值已售空',
+ duration:2000,
+ icon: "none"
+ });
+ return;
+ }
if (this.inputPhone == '') {
uni.showToast({
title: '请输入充值号码',
diff --git a/high-unionPay/pages/unionPay/unionPay.vue b/high-unionPay/pages/unionPay/unionPay.vue
index 37f52f0..1424912 100644
--- a/high-unionPay/pages/unionPay/unionPay.vue
+++ b/high-unionPay/pages/unionPay/unionPay.vue
@@ -35,7 +35,6 @@
upsdk.pluginReady(function() {
upsdk.pay({
tn: '554191640461075760517',
- mode:'00',
success: function(res) {
// 支付成功, 开发者执行后续操作。
},
diff --git a/high-unionPay/pages/unionPay/unionorder-des/unionorder-des.vue b/high-unionPay/pages/unionPay/unionorder-des/unionorder-des.vue
index 6427002..0c6614d 100644
--- a/high-unionPay/pages/unionPay/unionorder-des/unionorder-des.vue
+++ b/high-unionPay/pages/unionPay/unionorder-des/unionorder-des.vue
@@ -90,7 +90,7 @@
-