diff --git a/high-unionPay/Utils/Api.js b/high-unionPay/Utils/Api.js index aa7f45e..b7d35ca 100644 --- a/high-unionPay/Utils/Api.js +++ b/high-unionPay/Utils/Api.js @@ -171,7 +171,19 @@ export const getGasStoreList = params => { export const getGasDetailByStoreKey = params => { return POST('GET', `${base}/highGas/getGasDetailByStoreKey`, params).then(res => res.data); } +//团油距离限制 +export const getDictionaryByCodeTypeOl = params => { + return POST('GET', `${base}/common/getDictionaryByCodeTypeOl`, params).then(res => res.data); +} +//团油计算价格 +export const oilPriceCompute = params => { + return POST('GET', `${base}/highGas/oilPriceCompute`, params).then(res => res.data); +} +//查询卡数据字典 +export const getDictionaryByCodeType = params => { + return POST('GET', `${base}/common/getDictionaryByCodeType`, params).then(res => res.data); +} //获取已开通的省份 export const getDredgeProvince = params => { return POST('GET', `${base}/common/getDredgeProvince`, params).then(res => res.data); @@ -181,10 +193,15 @@ export const getCmsContent = params => { return POST('GET', `${base}/cmsContent/getCmsContent`, params).then(res => res.data); } +//油卡支付 +export const oilCardPay = params => { + return POST('POST', `${base}/order/oilCardPay`, params).then(res => res.data); +} //提交订单 export const addOrderPay = params => { return POST('POST', `${base}/outRechargeOrder/addOrder`, params).then(res => res.data); } + //话费充值查询 export const getListOutRechargePrice = params => { return POST('GET', `${base}/outRechargePrice/getListOutRechargePrice`, params).then(res => res.data); @@ -233,6 +250,10 @@ export const getDiscountPackageDetail = params => { export const getHuiLianTongCardByCardNo = params => { return POST('GET', `${base}/highUserCard/getHuiLianTongCardByCardNo`, params).then(res => res.data); } +//查询油卡详情 +export const getDetailByCardNo = params => { + return POST('GET', `${base}/oilCard/getDetailByCardNo`, params).then(res => res.data); +} // 获取用户卡号列表 export const getUserCardList = params => { return POST('GET', `${base}/highUserCard/getUserCardList`, params).then(res => res.data); @@ -241,6 +262,10 @@ export const getUserCardList = params => { export const getHuiLianTongCardByPhone = params => { return POST('GET', `${base}/highUserCard/getHuiLianTongCardByPhone`, params).then(res => res.data); } +//查询油卡消费 +export const getOilCardRecordList = params => { + return POST('GET', `${base}/oilCard/getOilCardRecordList`, params).then(res => res.data); +} // 删除用户卡号 export const delUserCard = params => { return POST('POST', `${base}/highUserCard/delUserCard`, params).then(res => res.data); @@ -257,8 +282,9 @@ export const getHuiLianTongCardConsume = params => { export const hltUnionCardPay = params => { return POST('POST', `${base}/order/hltUnionCardPay`, params).then(res => res.data); } -export const bindHuiLianTongCard = params => { - return POST('POST', `${base}/highUserCard/bindHuiLianTongCard`, params).then(res => res.data); +//绑定卡包 +export const bindHuiLianTongCard = params => { + return POST('POST', `${base}/highUserCard/bindCard`, params).then(res => res.data); } /** * 工会卡 @@ -319,8 +345,8 @@ export const getH5UserInfo = params => { return POST('GET', `${base}/wechat/getH5UserInfo`, params).then(res => res.data); } //获取验证码 -export const sendSmsCode = params => { - return POST('GET', `${base}/sms/sendSmsCode`, params).then(res => res.data); +export const sendSmsCodeByHw = params => { + return POST('GET', `${base}/SendSms/sendSmsCodeByHw`, params).then(res => res.data); } //绑定手机号 export const bindUserPhone = params => { diff --git a/high-unionPay/Utils/js/date.js b/high-unionPay/Utils/js/date.js new file mode 100644 index 0000000..b13cba8 --- /dev/null +++ b/high-unionPay/Utils/js/date.js @@ -0,0 +1,55 @@ +const isNullOrEmpty = function(val) { + if (val == null || val == "" || typeof(val) == undefined) { + return true; + } else { + return false; + } +} + +const timeFormat = (value, format) => { + let date = new Date(value); + let y = date.getFullYear(); + let m = date.getMonth() + 1; + let d = date.getDate(); + let h = date.getHours(); + let min = date.getMinutes(); + let s = date.getSeconds(); + let result = ""; + if (format == undefined) { + result = `${y}-${m < 10 ? "0" + m : m}-${d < 10 ? "0" + d : d} ${ + h < 10 ? "0" + h : h + }:${min < 10 ? "0" + min : min}:${s < 10 ? "0" + s : s}`; + } + if (format == "yyyy-mm-dd hh:mm") { + result = `${y}-${m < 10 ? "0" + m : m}-${d < 10 ? "0" + d : d} `; + } + if (format == "yyyy-mm-dd") { + result = `${y}-${m < 10 ? "0" + m : m}-${d < 10 ? "0" + d : d}`; + } + if (format == "yyyy-mm") { + result = `${y}-${m < 10 ? "0" + m : m}`; + } + if (format == "mm-dd") { + result = ` ${mm < 10 ? "0" + mm : mm}:${ddmin < 10 ? "0" + dd : dd}`; + } + if (format == "hh:mm") { + result = ` ${h < 10 ? "0" + h : h}:${min < 10 ? "0" + min : min}`; + } + if (format == "yyyy") { + result = `${y}`; + } + return result; +}; + + +// {{date|isNullOrEmpty}} +// {{date|timeFormat('yyyy-mm-dd')}} +// {{date|timeFormat('yyyy-mm')}} +// {{date|timeFormat('hh:mm')}} +// {{date|timeFormat('yyyy')}} +// {{date|timeFormat}} + +export { + isNullOrEmpty, + timeFormat +} diff --git a/high-unionPay/main.js b/high-unionPay/main.js index a1dbaf5..1c28d95 100644 --- a/high-unionPay/main.js +++ b/high-unionPay/main.js @@ -2,6 +2,11 @@ import Vue from 'vue' import App from './App' import {VueJsonp} from 'vue-jsonp' import share from 'common/share.js' +import * as filters from './Utils/js/date.js' + +Object.keys(filters).forEach(key => { + Vue.filter(key, filters[key]) +}) import vueCupUi from "components/vue-cup-ui/lib/vue-cup-ui.common.js" Vue.use(vueCupUi) diff --git a/high-unionPay/manifest.json b/high-unionPay/manifest.json index 8cfd75a..de0e5a5 100644 --- a/high-unionPay/manifest.json +++ b/high-unionPay/manifest.json @@ -80,7 +80,7 @@ } } }, - "title" : "嗨加油", + "title" : "嗨森逛", "router" : { "mode" : "hash", "base" : "/unionPay" diff --git a/high-unionPay/pages.json b/high-unionPay/pages.json index dcd62e5..eab6709 100644 --- a/high-unionPay/pages.json +++ b/high-unionPay/pages.json @@ -4,7 +4,7 @@ "path": "pages/tabBar/home/home", "style": { "navigationBarTextStyle": "white", - "navigationBarTitleText": "嗨加油", + "navigationBarTitleText": "嗨森逛", "navigationBarBackgroundColor": "#0083f5", "backgroundColorTop": "#0083f5", "onReachBottomDistance": 50, @@ -21,21 +21,27 @@ }, { "path": "pages/unionPay/unionPay-entrance/unionPay-entrance", "style": { - "navigationBarTitleText": "嗨加油", + "navigationBarTitleText": "嗨森逛", "navigationBarTextStyle": "white", "navigationBarBackgroundColor": "#0083f5", "backgroundColorTop": "#0083f5", - "enablePullDownRefresh": false + "enablePullDownRefresh": false, + "app-plus": { + "titleNView": false //禁用原生导航栏 + } } }, { "path": "pages/unionPay/unionPay", "style": { - "navigationBarTitleText": "嗨加油", + "navigationBarTitleText": "嗨森逛", "navigationBarTextStyle": "white", "navigationBarBackgroundColor": "#0083f5", "backgroundColorTop": "#0083f5", - "enablePullDownRefresh": false + "enablePullDownRefresh": false, + "app-plus": { + "titleNView": false //禁用原生导航栏 + } } }, { @@ -45,7 +51,10 @@ "navigationBarBackgroundColor": "#0083f5", "backgroundColorTop": "#0083f5", "navigationBarTextStyle": "white", - "enablePullDownRefresh": false + "enablePullDownRefresh": false, + "app-plus": { + "titleNView": false //禁用原生导航栏 + } } }, { @@ -55,6 +64,7 @@ "backgroundColorTop": "#0083f5", "navigationBarTextStyle": "white", "app-plus": { + "titleNView": false, //禁用原生导航栏 "bounce": "none", //关闭窗口回弹效果 "softinputNavBar": "none" } @@ -67,7 +77,10 @@ "navigationBarBackgroundColor": "#0083f5", "backgroundColorTop": "#0083f5", "navigationBarTextStyle": "white", - "enablePullDownRefresh": false + "enablePullDownRefresh": false, + "app-plus": { + "titleNView": false //禁用原生导航栏 + } } }, { @@ -77,7 +90,10 @@ "navigationBarBackgroundColor": "#0083f5", "backgroundColorTop": "#0083f5", "navigationBarTextStyle": "white", - "enablePullDownRefresh": false + "enablePullDownRefresh": false, + "app-plus": { + "titleNView": false //禁用原生导航栏 + } } }, { @@ -86,7 +102,10 @@ "navigationBarTitleText": "订单详情", "navigationBarBackgroundColor": "#0083f5", "navigationBarTextStyle": "white", - "enablePullDownRefresh": false + "enablePullDownRefresh": false, + "app-plus": { + "titleNView": false //禁用原生导航栏 + } } }, { @@ -97,7 +116,10 @@ "backgroundTextStyle": "light", "navigationBarBackgroundColor": "#0083f5", "backgroundColorTop": "#0083f5", - "navigationBarTextStyle": "white" + "navigationBarTextStyle": "white", + "app-plus": { + "titleNView": false //禁用原生导航栏 + } } }, { @@ -107,7 +129,10 @@ "navigationBarBackgroundColor": "#0083f5", "backgroundColorTop": "#0083f5", "navigationBarTextStyle": "white", - "enablePullDownRefresh": false + "enablePullDownRefresh": false, + "app-plus": { + "titleNView": false //禁用原生导航栏 + } } }, @@ -118,7 +143,8 @@ "backgroundColorTop": "#0083f5", "navigationBarTextStyle": "white", "app-plus": { - "bounce": "none" + "bounce": "none", + "titleNView": false //禁用原生导航栏 } } }, @@ -129,7 +155,11 @@ "backgroundColorTop": "#0083f5", "navigationBarTextStyle": "white", "navigationBarTitleText": "门店列表", - "enablePullDownRefresh": false + "enablePullDownRefresh": false, + "app-plus": { + "titleNView": false //禁用原生导航栏 + } + } }, @@ -140,7 +170,6 @@ "navigationBarTitleText": "分类", "navigationBarBackgroundColor": "#0083f5", "backgroundColorTop": "#0083f5", - "navigationBarTextStyle": "white", "app-plus": { "titleNView": false, //禁用原生导航栏 "bounce": "none" @@ -176,14 +205,14 @@ "backgroundColorTop": "#0083f5", "navigationBarTextStyle": "white", "app-plus": { - "softinputNavBar": "none" + "softinputNavBar": "none", + "titleNView": false //禁用原生导航栏 } } }, { "path": "pages/goods/goods", "style": { - "navigationBarTitleText": "", "navigationBarBackgroundColor": "#0083f5", "backgroundColorTop": "#0083f5", "navigationBarTitleText": "详情", @@ -207,6 +236,7 @@ "backgroundColorTop": "#0083f5", "navigationBarTextStyle": "white", "app-plus": { + "titleNView": false, //禁用原生导航栏 "bounce": "none", //关闭窗口回弹效果 "softinputNavBar": "none" } @@ -221,7 +251,8 @@ "navigationBarTextStyle": "white", "app-plus": { "bounce": "none", //关闭窗口回弹效果 - "softinputNavBar": "none" + "softinputNavBar": "none", + "titleNView": false //禁用原生导航栏 } } }, { @@ -231,7 +262,10 @@ "navigationBarBackgroundColor": "#0083f5", "backgroundColorTop": "#0083f5", "navigationBarTextStyle": "white", - "softinputNavBar": "none" + "softinputNavBar": "none", + "app-plus": { + "titleNView": false //禁用原生导航栏 + } } }, { "path": "pages/user/coupon/coupon", @@ -241,6 +275,7 @@ "backgroundColorTop": "#0083f5", "navigationBarTextStyle": "white", "app-plus": { + "titleNView": false, //禁用原生导航栏 "bounce": "none" } } @@ -252,7 +287,10 @@ "backgroundTextStyle": "light", "navigationBarBackgroundColor": "#0083f5", "backgroundColorTop": "#0083f5", - "navigationBarTextStyle": "white" + "navigationBarTextStyle": "white", + "app-plus": { + "titleNView": false //禁用原生导航栏 + } } }, { "path": "pages/pay/payment/payment", @@ -262,7 +300,10 @@ "backgroundTextStyle": "light", "navigationBarBackgroundColor": "#0083f5", "backgroundColorTop": "#0083f5", - "navigationBarTextStyle": "white" + "navigationBarTextStyle": "white", + "app-plus": { + "titleNView": false //禁用原生导航栏 + } } }, { "path": "pages/pay/success/success", @@ -272,7 +313,10 @@ "backgroundTextStyle": "light", "navigationBarBackgroundColor": "#0083f5", "backgroundColorTop": "#0083f5", - "navigationBarTextStyle": "white" + "navigationBarTextStyle": "white", + "app-plus": { + "titleNView": false //禁用原生导航栏 + } } }, { @@ -282,7 +326,10 @@ "backgroundTextStyle": "light", "navigationBarBackgroundColor": "#0083f5", "backgroundColorTop": "#0083f5", - "navigationBarTextStyle": "white" + "navigationBarTextStyle": "white", + "app-plus": { + "titleNView": false //禁用原生导航栏 + } } }, @@ -294,14 +341,20 @@ "navigationBarBackgroundColor": "#0083f5", "backgroundColorTop": "#0083f5", "navigationBarTextStyle": "white", - "enablePullDownRefresh": false + "enablePullDownRefresh": false, + "app-plus": { + "titleNView": false //禁用原生导航栏 + } } }, { "path": "pages/user/business/business", "style": { "navigationBarTitleText": "门店", - "enablePullDownRefresh": false + "enablePullDownRefresh": false, + "app-plus": { + "titleNView": false //禁用原生导航栏 + } } }, { @@ -310,47 +363,68 @@ "navigationBarTitleText": "我的订单", "navigationBarBackgroundColor": "#0083f5", "backgroundColorTop": "#0083f5", - "backgroundColorBottom": "#ffffff" + "backgroundColorBottom": "#ffffff", + "app-plus": { + "titleNView": false //禁用原生导航栏 + } } }, { "path": "pages/goods/recording/recording", "style": { - "enablePullDownRefresh": false + "enablePullDownRefresh": false, + "app-plus": { + "titleNView": false //禁用原生导航栏 + } } }, { "path": "pages/user/mineCoupons/mineCoupons", "style": { "navigationBarTitleText": "我的卡券", - "enablePullDownRefresh": false + "enablePullDownRefresh": false, + "app-plus": { + "titleNView": false //禁用原生导航栏 + } } }, { "path": "pages/goods/coupons-info-details/coupons-info-details", "style": { "navigationBarTitleText": "卡券详情", - "enablePullDownRefresh": false + "enablePullDownRefresh": false, + "app-plus": { + "titleNView": false //禁用原生导航栏 + } } }, { "path": "pages/user/mineCouponsDestails/mineCouponsDestails", "style": { "navigationBarTitleText": "优惠券详情", - "enablePullDownRefresh": false + "enablePullDownRefresh": false, + "app-plus": { + "titleNView": false //禁用原生导航栏 + } } }, { "path": "pages/goods/externalCoupon/externalCoupon", "style": { "navigationBarTitleText": "扫码领取优惠券", - "enablePullDownRefresh": false + "enablePullDownRefresh": false, + "app-plus": { + "titleNView": false //禁用原生导航栏 + } } }, { "path": "pages/user/agentCoupons/agentCoupons", "style": { "navigationBarTitleText": "", - "enablePullDownRefresh": false + "enablePullDownRefresh": false, + "app-plus": { + "titleNView": false //禁用原生导航栏 + } } }, { @@ -360,7 +434,10 @@ "backgroundTextStyle": "light", "navigationBarBackgroundColor": "#0083f5", "backgroundColorTop": "#0083f5", - "navigationBarTextStyle": "white" + "navigationBarTextStyle": "white", + "app-plus": { + "titleNView": false //禁用原生导航栏 + } } }, { @@ -371,7 +448,10 @@ "backgroundTextStyle": "light", "navigationBarBackgroundColor": "#0083f5", "backgroundColorTop": "#0083f5", - "navigationBarTextStyle": "white" + "navigationBarTextStyle": "white", + "app-plus": { + "titleNView": false //禁用原生导航栏 + } } }, { @@ -380,35 +460,50 @@ "navigationBarBackgroundColor": "#ffffff", "navigationBarTitleText": "充值", "backgroundColorTop": "#ffffff", - "backgroundColorBottom": "#ffffff" + "backgroundColorBottom": "#ffffff", + "app-plus": { + "titleNView": false //禁用原生导航栏 + } } }, { "path": "pages/user/positioning/positioning", "style": { "navigationBarTitleText": "地区选择", - "enablePullDownRefresh": false + "enablePullDownRefresh": false, + "app-plus": { + "titleNView": false //禁用原生导航栏 + } } }, { "path": "pages/tabBar/order/order", "style": { "navigationBarTitleText": "", - "enablePullDownRefresh": false + "enablePullDownRefresh": false, + "app-plus": { + "titleNView": false //禁用原生导航栏 + } } }, { "path": "pages/qianZhuPay/qianZhuPay", "style": { "navigationBarTitleText": "", - "enablePullDownRefresh": false + "enablePullDownRefresh": false, + "app-plus": { + "titleNView": false //禁用原生导航栏 + } } }, { "path": "pages/tabBar/order/webUrl/webUrl", "style": { "navigationBarTitleText": "", - "enablePullDownRefresh": false + "enablePullDownRefresh": false, + "app-plus": { + "titleNView": false //禁用原生导航栏 + } } }, { @@ -419,7 +514,10 @@ "backgroundTextStyle": "light", "navigationBarBackgroundColor": "#0083f5", "backgroundColorTop": "#0083f5", - "navigationBarTextStyle": "white" + "navigationBarTextStyle": "white", + "app-plus": { + "titleNView": false //禁用原生导航栏 + } } }, { "path": "pages/login/updatePas/resetPas", @@ -429,7 +527,10 @@ "backgroundTextStyle": "light", "navigationBarBackgroundColor": "#0083f5", "backgroundColorTop": "#0083f5", - "navigationBarTextStyle": "white" + "navigationBarTextStyle": "white", + "app-plus": { + "titleNView": false //禁用原生导航栏 + } } }, { @@ -440,7 +541,10 @@ "backgroundTextStyle": "light", "navigationBarBackgroundColor": "#0083f5", "backgroundColorTop": "#0083f5", - "navigationBarTextStyle": "white" + "navigationBarTextStyle": "white", + "app-plus": { + "titleNView": false //禁用原生导航栏 + } } }, { @@ -450,7 +554,10 @@ "navigationBarBackgroundColor": "#0083f5", "backgroundColorTop": "#0083f5", "navigationBarTextStyle": "white", - "enablePullDownRefresh": false + "enablePullDownRefresh": false, + "app-plus": { + "titleNView": false //禁用原生导航栏 + } } }, { @@ -461,29 +568,38 @@ "backgroundTextStyle": "light", "navigationBarBackgroundColor": "#0083f5", "backgroundColorTop": "#0083f5", - "navigationBarTextStyle": "white" + "navigationBarTextStyle": "white", + "app-plus": { + "titleNView": false //禁用原生导航栏 + } } }, { "path": "pages/userLogin/userLogin", "style": { - "navigationBarTitleText": "嗨加油", + "navigationBarTitleText": "嗨森逛", "enablePullDownRefresh": false, "backgroundTextStyle": "light", "navigationBarBackgroundColor": "#0083f5", "backgroundColorTop": "#0083f5", - "navigationBarTextStyle": "white" + "navigationBarTextStyle": "white", + "app-plus": { + "titleNView": false //禁用原生导航栏 + } } }, { "path": "pages/user/cardDes/cardDes", "style": { "enablePullDownRefresh": false, - "navigationBarTitleText": "绑定卡号", + "navigationBarTitleText": "卡包", "backgroundTextStyle": "light", "navigationBarBackgroundColor": "#0083f5", "backgroundColorTop": "#0083f5", - "navigationBarTextStyle": "white" + "navigationBarTextStyle": "white", + "app-plus": { + "titleNView": false //禁用原生导航栏 + } } }, { @@ -493,7 +609,10 @@ "navigationBarTextStyle": "white", "navigationBarBackgroundColor": "#0083f5", "backgroundColorTop": "#0083f5", - "enablePullDownRefresh": false + "enablePullDownRefresh": false, + "app-plus": { + "titleNView": false //禁用原生导航栏 + } } } @@ -505,7 +624,10 @@ "navigationBarTextStyle": "white", "navigationBarBackgroundColor": "#0083f5", "backgroundColorTop": "#0083f5", - "enablePullDownRefresh": false + "enablePullDownRefresh": false, + "app-plus": { + "titleNView": false //禁用原生导航栏 + } } } @@ -514,27 +636,27 @@ "path": "pages/unionPay/unionorder-des/unionorder-des", "style": { "navigationBarTitleText": "充值详情", - "enablePullDownRefresh": false + "enablePullDownRefresh": false, + "app-plus": { + "titleNView": false //禁用原生导航栏 + } } + }, { + "path": "pages/tabBar/order/stagesUrl/stagesUrl", + "style": { + "navigationBarTextStyle": "white", + "navigationBarTitleText": "", + "navigationBarBackgroundColor": "#0083f5", + "backgroundColorTop": "#0083f5", + "onReachBottomDistance": 50, + "app-plus": { + "titleNView": false, //禁用原生导航栏 + "softinputNavBar": "none" + } + } } - ,{ - "path" : "pages/tabBar/order/stagesUrl/stagesUrl", - "style" : - { - "navigationBarTextStyle": "white", - "navigationBarTitleText": "", - "navigationBarBackgroundColor": "#0083f5", - "backgroundColorTop": "#0083f5", - "onReachBottomDistance": 50, - "app-plus": { - "titleNView": false, //禁用原生导航栏 - "softinputNavBar": "none" - } - } - - } - ], + ], "subpackages": [{ "root": "subPages", "pages": [{ @@ -545,7 +667,10 @@ "backgroundTextStyle": "light", "navigationBarBackgroundColor": "#0083f5", "backgroundColorTop": "#0083f5", - "navigationBarTextStyle": "white" + "navigationBarTextStyle": "white", + "app-plus": { + "titleNView": false //禁用原生导航栏 + } } }, { @@ -556,7 +681,10 @@ "backgroundTextStyle": "light", "navigationBarBackgroundColor": "#e62601", "backgroundColorTop": "#e62601", - "navigationBarTextStyle": "white" + "navigationBarTextStyle": "white", + "app-plus": { + "titleNView": false //禁用原生导航栏 + } } }, { @@ -567,7 +695,10 @@ "backgroundTextStyle": "light", "navigationBarBackgroundColor": "#0083f5", "backgroundColorTop": "#0083f5", - "navigationBarTextStyle": "white" + "navigationBarTextStyle": "white", + "app-plus": { + "titleNView": false //禁用原生导航栏 + } } }, { @@ -577,7 +708,10 @@ "backgroundTextStyle": "light", "navigationBarBackgroundColor": "#0083f5", "backgroundColorTop": "#0083f5", - "navigationBarTextStyle": "white" + "navigationBarTextStyle": "white", + "app-plus": { + "titleNView": false //禁用原生导航栏 + } } }, { @@ -587,7 +721,10 @@ "backgroundTextStyle": "light", "navigationBarBackgroundColor": "#0083f5", "backgroundColorTop": "#0083f5", - "navigationBarTextStyle": "white" + "navigationBarTextStyle": "white", + "app-plus": { + "titleNView": false //禁用原生导航栏 + } } }, { "path": "coupon-packge-details/coupon-packge-details", @@ -596,7 +733,10 @@ "backgroundTextStyle": "light", "navigationBarBackgroundColor": "#0083f5", "backgroundColorTop": "#0083f5", - "navigationBarTextStyle": "white" + "navigationBarTextStyle": "white", + "app-plus": { + "titleNView": false //禁用原生导航栏 + } } }, { "path": "coupon-comfirmation/coupon-comfirmation", @@ -605,7 +745,10 @@ "backgroundTextStyle": "light", "navigationBarBackgroundColor": "#0083f5", "backgroundColorTop": "#0083f5", - "navigationBarTextStyle": "white" + "navigationBarTextStyle": "white", + "app-plus": { + "titleNView": false //禁用原生导航栏 + } } }, { @@ -616,7 +759,10 @@ "backgroundTextStyle": "light", "navigationBarBackgroundColor": "#0083f5", "backgroundColorTop": "#0083f5", - "navigationBarTextStyle": "white" + "navigationBarTextStyle": "white", + "app-plus": { + "titleNView": false //禁用原生导航栏 + } } }, { @@ -627,7 +773,38 @@ "backgroundTextStyle": "light", "navigationBarBackgroundColor": "#0083f5", "backgroundColorTop": "#0083f5", - "navigationBarTextStyle": "white" + "navigationBarTextStyle": "white", + "app-plus": { + "titleNView": false //禁用原生导航栏 + } + } + + }, { + "path": "cardsList/cardsList", + "style": { + "navigationBarTitleText": "卡包", + "enablePullDownRefresh": false, + "backgroundTextStyle": "light", + "navigationBarBackgroundColor": "#0083f5", + "backgroundColorTop": "#0083f5", + "navigationBarTextStyle": "white", + "app-plus": { + "titleNView": false //禁用原生导航栏 + } + } + + }, { + "path": "cardsDetails/cardsDetails", + "style": { + "navigationBarTitleText": "卡详情", + "enablePullDownRefresh": false, + "backgroundTextStyle": "light", + "navigationBarBackgroundColor": "#0083f5", + "backgroundColorTop": "#0083f5", + "navigationBarTextStyle": "white", + "app-plus": { + "titleNView": false //禁用原生导航栏 + } } }] @@ -649,7 +826,7 @@ "pagePath": "pages/tabBar/home/home", "iconPath": "static/img/tabBar/home.png", "selectedIconPath": "static/img/tabBar/home-on.png", - "text": "嗨加油" + "text": "嗨森逛" }, // { // "pagePath": "pages/tabBar/category/category", diff --git a/high-unionPay/pages/goods/refuel-confirm/refuel-confirm.vue b/high-unionPay/pages/goods/refuel-confirm/refuel-confirm.vue index 192cbd4..49475f5 100644 --- a/high-unionPay/pages/goods/refuel-confirm/refuel-confirm.vue +++ b/high-unionPay/pages/goods/refuel-confirm/refuel-confirm.vue @@ -1,313 +1,399 @@ - - - - - diff --git a/high-unionPay/pages/goods/refuel-details/refuel-details.vue b/high-unionPay/pages/goods/refuel-details/refuel-details.vue index 5d010e3..219adef 100644 --- a/high-unionPay/pages/goods/refuel-details/refuel-details.vue +++ b/high-unionPay/pages/goods/refuel-details/refuel-details.vue @@ -1,489 +1,625 @@ - - - - - diff --git a/high-unionPay/pages/goods/refuel/refuel.vue b/high-unionPay/pages/goods/refuel/refuel.vue index 9361f73..c3d2b4e 100644 --- a/high-unionPay/pages/goods/refuel/refuel.vue +++ b/high-unionPay/pages/goods/refuel/refuel.vue @@ -1,488 +1,359 @@ - - - - - diff --git a/high-unionPay/pages/login/register.vue b/high-unionPay/pages/login/register.vue index 6d32fc6..75d2623 100644 --- a/high-unionPay/pages/login/register.vue +++ b/high-unionPay/pages/login/register.vue @@ -33,7 +33,7 @@ - - diff --git a/high-unionPay/pages/user/order_details/order_details.vue b/high-unionPay/pages/user/order_details/order_details.vue index 7ccc4f7..f1a3999 100644 --- a/high-unionPay/pages/user/order_details/order_details.vue +++ b/high-unionPay/pages/user/order_details/order_details.vue @@ -1,710 +1,708 @@ - - - - - diff --git a/high-unionPay/pages/user/order_list/order_list.vue b/high-unionPay/pages/user/order_list/order_list.vue index 3f7bdc4..c42cd1b 100644 --- a/high-unionPay/pages/user/order_list/order_list.vue +++ b/high-unionPay/pages/user/order_list/order_list.vue @@ -1,528 +1,547 @@ - - - - diff --git a/high-unionPay/pages/userLogin/userLogin.vue b/high-unionPay/pages/userLogin/userLogin.vue index 7037b26..9c2e5a0 100644 --- a/high-unionPay/pages/userLogin/userLogin.vue +++ b/high-unionPay/pages/userLogin/userLogin.vue @@ -18,7 +18,6 @@ + + diff --git a/high-unionPay/subPages/cardsList/cardsList.vue b/high-unionPay/subPages/cardsList/cardsList.vue new file mode 100644 index 0000000..1242ee0 --- /dev/null +++ b/high-unionPay/subPages/cardsList/cardsList.vue @@ -0,0 +1,100 @@ + + + + + diff --git a/high-unionPay/subPages/static/addcards.png b/high-unionPay/subPages/static/addcards.png new file mode 100644 index 0000000..3f06686 Binary files /dev/null and b/high-unionPay/subPages/static/addcards.png differ diff --git a/high-unionPay/subPages/static/oilcard.png b/high-unionPay/subPages/static/oilcard.png new file mode 100644 index 0000000..f2520a4 Binary files /dev/null and b/high-unionPay/subPages/static/oilcard.png differ diff --git a/high-unionPay/subPages/static/unioncard.png b/high-unionPay/subPages/static/unioncard.png new file mode 100644 index 0000000..cbcc5fd Binary files /dev/null and b/high-unionPay/subPages/static/unioncard.png differ diff --git a/high-unionPay/subPages/unionPay-orderList/unionPay-orderList.vue b/high-unionPay/subPages/unionPay-orderList/unionPay-orderList.vue index aec9d4f..382d55c 100644 --- a/high-unionPay/subPages/unionPay-orderList/unionPay-orderList.vue +++ b/high-unionPay/subPages/unionPay-orderList/unionPay-orderList.vue @@ -88,7 +88,7 @@ onLoad(option) { // #ifdef H5 - this.headerTop = '44px'; + this.headerTop = '0px'; // #endif let tbIndex = parseInt(option.tbIndex) + 1; this.list = this.orderList[tbIndex]; diff --git a/high-unionPay/uni.scss b/high-unionPay/uni.scss index 95267f2..15cafa3 100644 --- a/high-unionPay/uni.scss +++ b/high-unionPay/uni.scss @@ -225,11 +225,26 @@ $uni-font-size-paragraph:30upx; color: #41cda2; } +.colorb9 { + color: #b95859; +} + +.color32 { + color: #32649d; +} + /* 背景颜色 */ .backcor9 { background-color: #f6f6f6; } +.backcolorb9 { + background-color: #b85958; +} + +.backcolor32 { + background-color: #32649d; +} //渐变 .backcorlr{ background: linear-gradient(to right, #fe1a1a, #ff722e); @@ -318,6 +333,11 @@ $uni-font-size-paragraph:30upx; margin-left: 20%; } +.width40w { + width: 40%; + margin-left: 30%; +} + .width35 { width: 35%; } @@ -372,6 +392,14 @@ $uni-font-size-paragraph:30upx; height: 100%; } +.height70w { + height: 70px; + line-height: 70px; +} + +.height220{ + height: 220px; +} .height10 { height: 10px; @@ -659,6 +687,12 @@ $uni-font-size-paragraph:30upx; display: flex; } +.alijusstart{ + justify-content: flex-start; + align-items: center; + display: flex; +} + .font12{ font-size: 12px; }