diff --git a/api/api.js b/api/api.js
index 7642ee7..38cc8a3 100644
--- a/api/api.js
+++ b/api/api.js
@@ -6,7 +6,7 @@ const config = {
// 修改个人信息接口
infoUpdateInfo: { url: '/cheer/info/updateInfo', method: 'POST', auth: true },
// 登录接口
- loginLogin: { url: '/cheer/login/login', method: 'GET', },
+ loginLogin: { url: '/cheer/login/login', method: 'GET' },
// 获取个人信息接口
infoGetInfo: { url: '/cheer/info/getInfo', method: 'GET', auth: true },
//下单
@@ -15,6 +15,12 @@ const config = {
getConfig: { url: '/cheer/info/getConfig', method: 'GET'},
//获取充值套餐
getRechargePage: { url: '/cheer/info/getRechargePage', method: 'GET'},
+ //获取加油流水订单
+ getOrderWaterPage: { url: '/cheer/info/getOrderWaterPage', method: 'GET'},
+ //获取隐私政策
+ getPrivacyPolicy: { url: '/cheer/login/getPrivacyPolicy', method: 'GET'},
+ //获取用户协议
+ getUserAgreement: { url: '/cheer/login/getUserAgreement', method: 'GET'},
}
diff --git a/api/http.js b/api/http.js
index a826e5b..8ae3de7 100644
--- a/api/http.js
+++ b/api/http.js
@@ -28,9 +28,9 @@ function http(uri, data, callback, method = 'GET', showLoading, title) {
res.data.message == '操作失败,token非法无效!'){
uni.removeStorageSync('token')
console.error('登录过期');
- // uni.navigateTo({
- // url: '/pages/auth/login'
- // })
+ uni.navigateTo({
+ url: '/pages/login/login'
+ })
}
if(res.statusCode == 200 && res.data.code != 200){
diff --git a/components/PrivacyAgreementPoup/PrivacyAgreementPoup.vue b/components/PrivacyAgreementPoup/PrivacyAgreementPoup.vue
index 5e991e7..5195078 100644
--- a/components/PrivacyAgreementPoup/PrivacyAgreementPoup.vue
+++ b/components/PrivacyAgreementPoup/PrivacyAgreementPoup.vue
@@ -1,38 +1,50 @@
-
+
-
+
-
\ No newline at end of file
diff --git a/components/configPopup/configPopup.vue b/components/configPopup/configPopup.vue
new file mode 100644
index 0000000..f0ed9f8
--- /dev/null
+++ b/components/configPopup/configPopup.vue
@@ -0,0 +1,47 @@
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/components/showLogin/showLogin.vue b/components/showLogin/showLogin.vue
deleted file mode 100644
index c1e1245..0000000
--- a/components/showLogin/showLogin.vue
+++ /dev/null
@@ -1,100 +0,0 @@
-
-
-
-
- 提示
-
-
- 本小程序需要登录之后才可以正常使用
-
-
-
- 登录
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/pages.json b/pages.json
index 29f9b70..ecaec48 100644
--- a/pages.json
+++ b/pages.json
@@ -8,7 +8,8 @@
{
"path": "pages/center/center",
"style": {
- "navigationBarTitleText": "个人中心"
+ "navigationBarTitleText": "个人中心",
+ "enablePullDownRefresh": false
}
},
{
diff --git a/pages/center/center.vue b/pages/center/center.vue
index fecbc2a..f2298ed 100644
--- a/pages/center/center.vue
+++ b/pages/center/center.vue
@@ -5,77 +5,86 @@
-
-
+
+
{{ userInfo.nickName }}
-
-
+ mode="widthFix">
+
登录 / 注册
-
+
-
-
+
-
+
- 420000243620240
- 2024-12-12 12:12
+ {{ item.id }}
+ {{ item.createTime }}
付款金额
¥
- 666
+ {{ item.price }}
-
-
-
-
@@ -135,7 +144,7 @@
align-items: center;
}
- .users .u-top image {
+ .users .u-top .img {
width: 130rpx;
height: 130rpx;
border-radius: 50%;
@@ -224,26 +233,10 @@
align-items: center;
}
- .o-item {
- width: 25%;
- text-align: center;
- }
-
- .o-item image {
- width: 65rpx;
- height: 55rpx;
- }
-
- .o-item .tit {
- font-size: 28rpx;
- margin-top: 10rpx;
- }
-
.listBox {
margin: -10rpx auto 0;
padding: 20rpx;
box-sizing: border-box;
- border-radius: 12rpx;
border-radius: 20rpx;
}
\ No newline at end of file
diff --git a/pages/login/login.vue b/pages/login/login.vue
index 890b1f3..1b1fc4b 100644
--- a/pages/login/login.vue
+++ b/pages/login/login.vue
@@ -1,23 +1,23 @@
-
+
- 欢迎登录真视界
+ 欢迎使用xx加油
-
+
- 微信授权手机号登录
+ 微信授权登录
-
+
@@ -33,29 +33,40 @@
size="30rpx"
:name="1"
>
- 阅读并同意我们的“服务协议与隐私条款”
+ 阅读并同意我们的“服务协议与隐私条款”
- 以及个人信息保护指引
+ 以及个人信息保护指引
+
+
@@ -92,18 +103,19 @@
display: block;
height: 8rpx;
width: 210rpx;
- background: linear-gradient(to right,#3c69f1, #fff);
+ background: linear-gradient(to right,#00aaff, #fff);
}
}
.btn{
width: 80%;
height: 100rpx;
- background-color: #3c69f1;
+ background-color: #00aaff;
color: #fff;
display: flex;
justify-content: center;
align-items: center;
margin: 20rpx 0;
+ border-radius: 20rpx;
.icon{
margin-right: 10rpx;
image{
@@ -127,7 +139,7 @@
text-align: center;
line-height: 40rpx;
text{
- color: #3c69f1;
+ color: #00aaff;
}
}
}
diff --git a/pages/payment/payment.vue b/pages/payment/payment.vue
index 2696aeb..22bf240 100644
--- a/pages/payment/payment.vue
+++ b/pages/payment/payment.vue
@@ -45,20 +45,16 @@
-
-