From 540f485ed0198d29ee577c0be48805c82f4b5baa Mon Sep 17 00:00:00 2001 From: Wik-T <812952667@qq.com> Date: Tue, 7 Mar 2023 09:31:49 +0800 Subject: [PATCH] =?UTF-8?q?1.=E4=BF=AE=E6=94=B9=E8=AF=9D=E8=B4=B9=E5=85=85?= =?UTF-8?q?=E5=80=BC=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- high-unionPay/App.vue | 32 +++++++++--------- .../recharge-centre/recharge-centre.vue | 33 ++++++++++--------- 2 files changed, 33 insertions(+), 32 deletions(-) diff --git a/high-unionPay/App.vue b/high-unionPay/App.vue index 119003f..680a376 100644 --- a/high-unionPay/App.vue +++ b/high-unionPay/App.vue @@ -5,23 +5,23 @@ // brestUrl: 'http://192.168.3.4:9302/brest', // imgUrl: 'https://192.168.3.4:9301/filesystem/', //正式 - // url: 'https://hsg.dctpay.com/crest', - // v1url:'https://hsg.dctpay.com/v1', - // orderurl:' https://hsg.dctpay.com/order', - // userurl:'https://hsg.dctpay.com/user', - // imgUrl: 'https://hsg.dctpay.com/filesystem/', - // brestUrl: 'https://hsg.dctpay.com/brest', - // imageWxImg: 'https://hsg.dctpay.com/filesystem/wxApplets/', - // imageqrImg: 'https://hsg.dctpay.com/filesystem/temporary/', + url: 'https://hsg.dctpay.com/crest', + v1url:'https://hsg.dctpay.com/v1', + orderurl:' https://hsg.dctpay.com/order', + userurl:'https://hsg.dctpay.com/user', + imgUrl: 'https://hsg.dctpay.com/filesystem/', + brestUrl: 'https://hsg.dctpay.com/brest', + imageWxImg: 'https://hsg.dctpay.com/filesystem/wxApplets/', + imageqrImg: 'https://hsg.dctpay.com/filesystem/temporary/', //测试 - url: 'https://hsgcs.dctpay.com/crest', - v1url: 'https://hsgcs.dctpay.com/v1', - orderurl:'https://hsgcs.dctpay.com/order', - userurl:'https://hsgcs.dctpay.com/user', - brestUrl: 'https://hsgcs.dctpay.com/brest', - imgUrl: 'https://hsgcs.dctpay.com/filesystem/', - imageWxImg: 'https://hsgcs.dctpay.com/filesystem/wxApplets/', - imageqrImg: 'https://hsgcs.dctpay.com/filesystem/temporary/', + // url: 'https://hsgcs.dctpay.com/crest', + // v1url: 'https://hsgcs.dctpay.com/v1', + // orderurl:'https://hsgcs.dctpay.com/order', + // userurl:'https://hsgcs.dctpay.com/user', + // brestUrl: 'https://hsgcs.dctpay.com/brest', + // imgUrl: 'https://hsgcs.dctpay.com/filesystem/', + // imageWxImg: 'https://hsgcs.dctpay.com/filesystem/wxApplets/', + // imageqrImg: 'https://hsgcs.dctpay.com/filesystem/temporary/', userInfo: "", brestUserInfo: '', openId: '', diff --git a/high-unionPay/pages/unionPay/recharge-centre/recharge-centre.vue b/high-unionPay/pages/unionPay/recharge-centre/recharge-centre.vue index 335a010..24a3a79 100644 --- a/high-unionPay/pages/unionPay/recharge-centre/recharge-centre.vue +++ b/high-unionPay/pages/unionPay/recharge-centre/recharge-centre.vue @@ -63,9 +63,10 @@ - ¥ - {{inputAmount}} - 立即充值 + + ¥ + {{inputAmount}} + 立即充值 @@ -117,13 +118,13 @@ notice: '', //警告 textcont: '', // 富文本 explainReceiptTime: '', //时间到账 - time: 0, + time: 20, //导航 scrollIntoView: 0, //设置哪个方向可滚动,则在哪个方向滚动到该元素 swiperTabList: [], //导航列表 swiperTabIdx: 0, - swiperCurrentSize: '26rpx', //导航的字体大小 + swiperCurrentSize: '30rpx', //导航的字体大小 swiperColor: '#333333', //导航栏字体未选中前颜色 swiperCurrentColor: '#1D63FF', //选中当前导航栏字体颜色 currentSwiperWidth: '23%', //当前导航的宽度 % upx rpx px (导航超出可左右滑动 ) @@ -146,17 +147,17 @@ this.findSecConfigByTypewap(); }, mounted() { - let scroll_width = 0; - const query = uni.createSelectorQuery().in(this); - query.select('.right-left-scroll').boundingClientRect(data => { - scroll_width = (data.width).toFixed(2); - }).exec(); - - query.select('.right-left-scroll .content').boundingClientRect(data => { - if (data.width - scroll_width > 0) { - this.time = (9 * data.width / scroll_width).toFixed(2); - } - }).exec(); + // let scroll_width = 0; + // const query = uni.createSelectorQuery().in(this); + // query.select('.right-left-scroll').boundingClientRect(data => { + // scroll_width = (data.width).toFixed(2); + // }).exec(); + + // query.select('.right-left-scroll .content').boundingClientRect(data => { + // if (data.width - scroll_width > 0) { + // this.time = (9 * data.width / scroll_width).toFixed(2); + // } + // }).exec(); }, methods: { //查询弹窗