From 047db17fef91114eb834aeb11b2f4acd31bda86b Mon Sep 17 00:00:00 2001 From: tx <2622874537@qq.com> Date: Mon, 2 Sep 2024 18:02:31 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=AA=E4=BA=BA=E4=B8=AD=E5=BF=83=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- common/http.interceptor.js | 4 +-- pages/index/index.vue | 52 +++++++++++++++++++------------------- pages/my.vue | 30 ++++++++++++++++++++++ 3 files changed, 58 insertions(+), 28 deletions(-) diff --git a/common/http.interceptor.js b/common/http.interceptor.js index d55f0f7..74d0787 100644 --- a/common/http.interceptor.js +++ b/common/http.interceptor.js @@ -5,11 +5,11 @@ const install = (Vue, vm) => { Vue.prototype.$u.http.setConfig({ // baseUrl: 'http://61.174.243.28:15861', // baseUrl: 'http://192.168.2.46:8080', - baseUrl: 'https://che.chuangtewl.com/prod-api', + // baseUrl: 'https://che.chuangtewl.com/prod-api', // 测试环境 // baseUrl: 'https://dianche.chuantewulian.cn/prod-api', // 俞山岛 - // baseUrl: 'https://dche.ccttiot.com/prod-api', + baseUrl: 'https://dche.ccttiot.com/prod-api', // 创特 loadingText: '努力加载中~', loadingTime: 10000, diff --git a/pages/index/index.vue b/pages/index/index.vue index f5a7f6f..38a9ef6 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -4310,22 +4310,22 @@ success(res) { // 支付成功逻辑 that.getisInOrder() - // let data = { - // orderNo: that.orderinfo.orderNo - // } + let data = { + orderNo: that.orderinfo.orderNo + } - // that.$u.get("/appVerify/queryResultByOrderNo?", data).then((res) => { + that.$u.get("/appVerify/queryResultByOrderNo?", data).then((res) => { - // if (res.code == 200) { + if (res.code == 200) { - // } else { - // // uni.showToast({ - // // title: res.msg, - // // icon: 'none', - // // duration: 2000 - // // }); - // } - // }); + } else { + // uni.showToast({ + // title: res.msg, + // icon: 'none', + // duration: 2000 + // }); + } + }); }, fail(err) { // 支付失败逻辑 @@ -4386,22 +4386,22 @@ that.showdevice = false that.deviceIndex = 0 that.getisInOrder() - // let data = { - // orderNo: that.orderinfo.orderNo - // } + let data = { + orderNo: that.orderinfo.orderNo + } - // that.$u.get("/appVerify/queryResultByOrderNo?", data).then((res) => { + that.$u.get("/appVerify/queryResultByOrderNo?", data).then((res) => { - // if (res.code == 200) { + if (res.code == 200) { - // } else { - // // uni.showToast({ - // // title: res.msg, - // // icon: 'none', - // // duration: 2000 - // // }); - // } - // }); + } else { + // uni.showToast({ + // title: res.msg, + // icon: 'none', + // duration: 2000 + // }); + } + }); }, fail(err) { that.closePay() diff --git a/pages/my.vue b/pages/my.vue index 57dcc3c..f223f34 100644 --- a/pages/my.vue +++ b/pages/my.vue @@ -219,6 +219,9 @@ 客服服务 + + + @@ -547,6 +550,33 @@ .page { width: 750rpx; + .vip_box{ + position: relative; + margin-left: 38rpx; + width: 680rpx; + height: 158rpx; + background-image: url('https://lxnapi.ccttiot.com/bike/img/static/uw6bYgjn1bS1ayNm6VI9'); + background-size: cover; + /* 背景图片等比缩放以覆盖整个容器 */ + background-position: center; + /* 背景图片居中显示 */ + background-repeat: no-repeat; + .txt1{ + top: 20rpx; + left: 100rpx; + position: absolute; + font-weight: 500; + font-size: 44rpx; + color: #FFE09E; + } + .txt2{ + right: 74rpx; + bottom: 10rpx; + font-weight: 400; + font-size: 24rpx; + color: #FFE09E; + } + } .btns{ display: flex; align-items: center;