diff --git a/newPages/my/index.vue b/newPages/my/index.vue
index 3163a2e..f7af5ab 100644
--- a/newPages/my/index.vue
+++ b/newPages/my/index.vue
@@ -1,396 +1,389 @@
-
-
+
+
-
-
-
-
-
-
-
-
- {{ selfInfo.nickname }}
- {{ selfInfo.username }}
- 登录/注册
- 登录将开启全部服务
-
-
-
-
- 学车码
-
-
-
-
-
-
-
- {{ coachDetails.name }}
- 暂无教练信息
-
- 教龄:
- {{ coachDetails.seniority }}
- 年
-
+
+
+
+
+
+
+
+
+ {{ selfInfo.nickname }}
+ {{ selfInfo.username }}
+ 登录/注册
+ 登录将开启全部服务
+
+
+
+
+ 学车码
+
+
+
+
+
+
+
+ {{ coachDetails.name }}
+ 暂无教练信息
+
+ 教龄:
+ {{ coachDetails.seniority }}
+ 年
+
-
-
-
-
-
-
- 我的订单
-
-
-
-
-
-
-
+
+
+
+
+ 我的订单
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
- 学车码
-
-
+
+
+
+
+
+
+ 学车码
+
+
+ @import '../common/common.scss';
+ @import './assets/style/index.rpx.scss';
+
\ No newline at end of file
diff --git a/newPages/newIndex/index.vue b/newPages/newIndex/index.vue
index 01812a7..8a763e9 100644
--- a/newPages/newIndex/index.vue
+++ b/newPages/newIndex/index.vue
@@ -37,7 +37,7 @@
-
+
@@ -103,12 +103,15 @@
noticeList: [],
qTenantId: null,
qCoachId: null,
+ scrollHeight: 0,
};
},
onLoad(query) {
console.log('query', query)
// setInviteId('JLPXF1')
// this.getTenantIdByInviteId()
+ console.log('userInfo', getLocalUserInfo())
+ console.log('token', getToken())
this.getSwiperList()
this.getTextList()
@@ -132,6 +135,10 @@
}) */
}
},
+ onReady() {
+ // 动态计算滚动区域高度
+ this.calculateScrollHeight();
+ },
methods: {
getTenantIdByInviteId() {
console.log('1122', getInviteId())
@@ -296,6 +303,15 @@
});
},
+ calculateScrollHeight() {
+ // 获取屏幕高度
+ const screenHeight = uni.getSystemInfoSync().windowHeight;
+ // 获取顶部区域高度
+ const topHeight = 490;
+ // 计算滚动区域高度
+ this.scrollHeight = screenHeight - topHeight;
+ },
+
handleItemClick(item) {
// 根据 item.text 判断点击的是哪一项
switch (item.text) {
@@ -408,7 +424,7 @@
display: flex;
flex-direction: column;
row-gap: 20rpx;
- margin-bottom: 200rpx;
+ /* margin-bottom: 200rpx; */
}
.top_ {
diff --git a/pages/my/my.vue b/pages/my/my.vue
index 0749fa9..48caf10 100644
--- a/pages/my/my.vue
+++ b/pages/my/my.vue
@@ -94,9 +94,18 @@
status: 'loading',
selfInfo: {}
}
+ },
+ onLoad() {
+ if (getToken()) {
+ console.log('myToken', getToken())
+ this.findSelfInfo()
+ }
+
+
},
onShow() {
if (getToken()) {
+ console.log('myToken', getToken())
this.findSelfInfo()
}
@@ -143,7 +152,7 @@
},
async findSelfInfo() {
let res = await request({
- url: `/app-api/driving/findSelfInfo`,
+ url: `/app-api/small/driving/findSelfInfo`,
method: 'get',
})
console.log(res, 138);
@@ -331,4 +340,4 @@
margin-right: 10px;
}
}
-
+
\ No newline at end of file
diff --git a/pagesA/examinationList/index.vue b/pagesA/examinationList/index.vue
index 503b74a..9cbfd00 100644
--- a/pagesA/examinationList/index.vue
+++ b/pagesA/examinationList/index.vue
@@ -1,384 +1,393 @@
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
- {{
+ {{
formatDate(item.examTime)
}}
-
- {{ formatDate(item.startTime) }}
+
+ {{ formatDate(item.startTime) }}
+ {{ item.courseName }}
+
+
+ {{ item.examScore }}
+ {{ '--' }}
+ {{ getStatusText(item.examStatus) }}
+
+
+
+
+ {{ getCourseTypeText(item.subject) }}
+
+
+ {{ item.courseType }}
+
+
+
+ 考试地址:
+ {{ item.addr }}
+
+
+
+ {{ getButtonInfo(item).text }}
+
+
+
- {{ item.courseName }}
-
-
- {{ item.examScore }}
- {{ '--' }}
- {{ getStatusText(item.examStatus) }}
-
-
-
-
- {{ getCourseTypeText(item.subject) }}
-
-
- {{ item.courseType }}
-
-
-
- 考试地址:
- {{ item.addr }}
-
-
-
- {{ getButtonInfo(item).text }}
-
-
-
-
-
-
-
-
+
+
+
+
- 笔试成绩录入
-
-
-
-
+ 笔试成绩录入
+
+
+
+
+ @import '../common/common.scss';
+ @import './assets/style/index.rpx.scss';
+
\ No newline at end of file