diff --git a/common/css/app.scss b/common/css/app.scss
index 9eab989..5a2d7ad 100644
--- a/common/css/app.scss
+++ b/common/css/app.scss
@@ -50,18 +50,7 @@ view {
background: url('https://jiangxijiakao-1.oss-cn-hangzhou.aliyuncs.com/complain/2024-01-29/1706500065446-0') #F6F7FA no-repeat;
background-size: 100% ;
}
-.h1 {
- text {
- color: #999;
- }
- .active {
- color: #333;
- &::before {
- background: url('https://jiangxijiakao-1.oss-cn-hangzhou.aliyuncs.com/complain/2024-01-29/1706510133553-0') #F6F7FA no-repeat;
- background-size: 100% 100%;
- }
- }
-}
+
.pad {
padding: 0 28rpx;
}
@@ -99,19 +88,19 @@ image {
.h1 {
font-size: 32rpx;
- color: #333;
- font-weight: 500;
font-weight: 700;
- padding: 0 0 0 32rpx;
+ padding-bottom: 10rpx;
text {
position: relative;
+ color: #999;
&.active {
+ color: #333;
&::before {
position: absolute;
content: '';
width: 54rpx;
height: 12rpx;
- // background: url('../../static/images/icon/h1Active.png') no-repeat;
+ background: url('https://jiangxijiakao-1.oss-cn-hangzhou.aliyuncs.com/complain/2024-01-29/1706510133553-0') #F6F7FA no-repeat;
background-size: 100% 100%;
left: 50%;
transform: translateX(-50%);
@@ -147,6 +136,7 @@ image {
left: 0;
width: 100%;
bottom: 30rpx;
+ padding: 0 28rpx ;
.btnBg {
width: 100%;
text-align: center;
diff --git a/pages.json b/pages.json
index 7b151af..744d7d6 100644
--- a/pages.json
+++ b/pages.json
@@ -194,6 +194,15 @@
}
},
{
+ "path": "findCoach/findCoach",
+ "style": {
+ "navigationBarTitleText": "找教练",
+ "navigationStyle": "custom",
+ "enablePullDownRefresh": true,
+ "backgroundTextStyle": "dark"
+ }
+ },
+ {
"path": "findShcool/shcoolDetail/shcoolDetail",
"style": {
"navigationBarTitleText": "找驾校",
@@ -451,7 +460,6 @@
"path": "myAppointment/myAppointment",
"style": {
"navigationBarTitleText": "我的预约",
- "navigationStyle": "custom",
"enablePullDownRefresh": true,
"backgroundTextStyle": "dark"
}
@@ -478,7 +486,7 @@
"path": "myOrder/myOrder",
"style": {
"navigationBarTitleText": "我的订单",
- "navigationStyle": "custom",
+ "navigationBarBackgroundColor": "#fff",
"enablePullDownRefresh": true,
"backgroundTextStyle": "dark"
}
@@ -503,8 +511,7 @@
{
"path": "carLearnHours/carLearnHours",
"style": {
- "navigationBarTitleText": "学车进度",
- "navigationStyle": "custom",
+ "navigationBarTitleText": "我的学时",
"enablePullDownRefresh": true,
"backgroundTextStyle": "dark"
}
@@ -531,7 +538,6 @@
"path": "myEvaluate/myEvaluate",
"style": {
"navigationBarTitleText": "我的评价",
- "navigationStyle": "custom",
"enablePullDownRefresh": true,
"backgroundTextStyle": "dark"
}
@@ -540,7 +546,6 @@
"path": "myContract/myContract",
"style": {
"navigationBarTitleText": "我的合同",
- "navigationStyle": "custom",
"enablePullDownRefresh": false,
"backgroundTextStyle": "dark"
}
@@ -549,7 +554,6 @@
"path": "schoolTransfer/schoolTransfer",
"style": {
"navigationBarTitleText": "同城转校",
- "navigationStyle": "custom",
"enablePullDownRefresh": false,
"backgroundTextStyle": "dark"
}
@@ -558,7 +562,6 @@
"path": "modelChange/modelChange",
"style": {
"navigationBarTitleText": "车型变更",
- "navigationStyle": "custom",
"enablePullDownRefresh": false,
"backgroundTextStyle": "dark"
}
@@ -567,7 +570,6 @@
"path": "refund/refund",
"style": {
"navigationBarTitleText": "申请退款",
- "navigationStyle": "custom",
"enablePullDownRefresh": false,
"backgroundTextStyle": "dark"
}
diff --git a/pages/indexEntry/findCoach/comp/coachItem.vue b/pages/indexEntry/findCoach/comp/coachItem.vue
new file mode 100644
index 0000000..ac2486d
--- /dev/null
+++ b/pages/indexEntry/findCoach/comp/coachItem.vue
@@ -0,0 +1,91 @@
+
+
+
+
+
+
+ {{item.shortName}}
+
+
+ {{item.stars}}
+
+
+
+
+
+
+
+ {{item.districtName}} 距您{{ $u.utils.distanceFn(item.distance)}}
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/pages/indexEntry/findCoach/findCoach.vue b/pages/indexEntry/findCoach/findCoach.vue
new file mode 100644
index 0000000..9f67d19
--- /dev/null
+++ b/pages/indexEntry/findCoach/findCoach.vue
@@ -0,0 +1,190 @@
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ item.text }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/pages/indexEntry/findShcool/findShcool.vue b/pages/indexEntry/findShcool/findShcool.vue
index 1a4098b..0f31e4d 100644
--- a/pages/indexEntry/findShcool/findShcool.vue
+++ b/pages/indexEntry/findShcool/findShcool.vue
@@ -13,9 +13,7 @@
{{ item.text }}
筛选
-
-
-
+
@@ -138,6 +136,9 @@
\ No newline at end of file
diff --git a/pages/mineEntry/myAppointment/comp/opera.vue b/pages/mineEntry/myAppointment/comp/opera.vue
index d09aa71..61390bf 100644
--- a/pages/mineEntry/myAppointment/comp/opera.vue
+++ b/pages/mineEntry/myAppointment/comp/opera.vue
@@ -17,27 +17,18 @@
-
-
-
预约教练
{{item.coachName}}
-
-
-
预约车辆
{{item.carNumber}}
-
-
-
预约日期
{{item.classDate}}
diff --git a/pages/mineEntry/myAppointment/myAppointment.vue b/pages/mineEntry/myAppointment/myAppointment.vue
index b314e96..d3aba90 100644
--- a/pages/mineEntry/myAppointment/myAppointment.vue
+++ b/pages/mineEntry/myAppointment/myAppointment.vue
@@ -1,34 +1,17 @@
-
-
+
-
- {{ item.text }}
-
+
{{ item.text }}
{{total}}条记录
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
@@ -49,11 +32,7 @@
components: { imitate, opera, examin},
data() {
return {
- tabList: [
- {text: '模拟器',id: 1},
- {text: '实操训练',id: 2},
- {text: '考场模拟',id: 3},
- ],
+
navList: [
{text: '全部', id: -1},
{text: '已签到', id: 1},
@@ -65,13 +44,12 @@
currentTab: 2,
currentNav: 0,
params: { "pageNo": 1, "pageSize": 10, "keyWord": "", "status": '0',studentId: '', keyWord: ''},
- list: [],
+ list: [{id: 1}],
total: 20,
status: 'loading'
}
},
onLoad(options) {
- if(options.currentTab) this.currentTab = options.currentTab
this.params.studentId = this.studentId
},
onShow() {
@@ -79,7 +57,7 @@
},
onReachBottom() {
if(this.total>this.list.length) {
- this.inintList('onReachBottom')
+ this.masterPageFn()
}
},
onPullDownRefresh() {
@@ -87,26 +65,12 @@
},
methods: {
inintList(type) {
- if(!type) {
- this.params.pageNo = 1
- this.list = []
- this.total = 0
- }
- if(this.currentTab==3) {
- this.examSimulationRecordFn()
- }else if(this.currentTab==1) {
- this.simulationPageFn()
- }else {
-
- this.masterPageFn()
- }
- },
- changeTab(item) {
- this.params.keyWord = ''
- this.currentTab = item.id
- this.$refs.searchRef.keyword = ''
- this.inintList()
+ this.params.pageNo = 1
+ this.list = []
+ this.total = 0
+ this.masterPageFn()
},
+
changeNav(item) {
this.currentNav = item.id
this.list = []
@@ -118,28 +82,7 @@
}
this.inintList()
},
- // 考场预约
- async examSimulationRecordFn() {
- const {data: res} = await examSimulationRecord(this.params)
- this.params.pageNo ++
- this.list.push(...res.list)
- this.total = res.total
- if(this.list.length>=this.total) this.status = 'nomore'
- },
- // 模拟器预约记录
- async simulationPageFn() {
- let obj = {}
- for(let k in this.params) {
- if(this.params[k]!=='') {
- obj[k] = this.params[k]
- }
- }
- const {data: res} = await simulationPage(obj)
- this.params.pageNo ++
- this.list.push(...res.list)
- this.total = res.total
- if(this.list.length>=this.total) this.status = 'nomore'
- },
+
// 实操预约
async masterPageFn() {
let obj = {}
@@ -166,7 +109,7 @@
\ No newline at end of file
diff --git a/pages/tabbar/index/comp/informaItem.vue b/pages/tabbar/index/comp/informaItem.vue
index c12fdad..1c879af 100644
--- a/pages/tabbar/index/comp/informaItem.vue
+++ b/pages/tabbar/index/comp/informaItem.vue
@@ -1,5 +1,5 @@
-
+
diff --git a/pages/tabbar/index/comp/schoolItem.vue b/pages/tabbar/index/comp/schoolItem.vue
index 7dfc8f8..85d98e1 100644
--- a/pages/tabbar/index/comp/schoolItem.vue
+++ b/pages/tabbar/index/comp/schoolItem.vue
@@ -44,7 +44,7 @@
.itemBox {
background: #FFFFFF;
border-radius: 16rpx;
- padding: 30rpx;
+ padding: 20rpx 0rpx;
position: relative;
display: flex;
border-bottom: 1px solid #F4F4F4;
diff --git a/pages/tabbar/index/index.vue b/pages/tabbar/index/index.vue
index 9dda226..1a98702 100644
--- a/pages/tabbar/index/index.vue
+++ b/pages/tabbar/index/index.vue
@@ -54,7 +54,7 @@
- 优质驾校
+ 优质驾校
@@ -65,7 +65,7 @@
- 推荐教练
+ 推荐教练
@@ -83,9 +83,9 @@
行业资讯
- 政策法规
+ 政策法规
-
+
@@ -159,7 +159,7 @@
{
text: '找教练',
icon: require('../../../static/images/indexIcon/entryIcon (1).png'),
- url: '/pages/indexEntry/examines/examines',
+ url: '/pages/indexEntry/findCoach/findCoach',
goPage: ((item)=>{
this.$goPage(item.url)
})
@@ -175,7 +175,7 @@
{
text: '理论学习',
icon: require('../../../static/images/indexIcon/entryIcon (2).png'),
- url: '/pages/carEntry/simulateAppointment/simulateAppointment',
+ url: '/pages/indexEntry/theory/theory',
goPage: ((item)=>{
this.$goPage(item.url)
})
@@ -297,6 +297,7 @@
this.$goPage(item.url)
},
changeInforma(val) {
+ if(this.informa == val) return
this.informa = val
this.getarticleListFn()
},
@@ -387,21 +388,11 @@
display: flex;
align-items: center;
justify-content: space-between;
- padding-right: 20rpx;
}
.h1 {
- padding-top: 10rpx;
- .active {
- &::before {
- background: url('../../../static/images/icon/h1Active.png') #F6F7FA no-repeat;
- background-size: 52rpx 12rpx;
- }
- }
-
- }
- .ul2 {
- padding: 10rpx 20rpx 0 20rpx;
+ padding: 20rpx 0 20rpx 0;
}
+
.main {
width: 100%;
background: url('../../../static/images/bigImg/homeBg.png') #F6F7FA no-repeat;
@@ -460,13 +451,12 @@
background: #FFFFFF;
border-radius: 16rpx;
margin-bottom: 20rpx;
-
+ padding: 0 20rpx;
.ul {
height: 164rpx;
display: flex;
justify-content: space-between;
align-items: center;
- padding: 0 20rpx;
.li {
flex: 1;
@@ -492,14 +482,13 @@
.tabs {
display: flex;
- padding: 20rpx 0 10rpx 0;
}
.severCon {
display: flex;
align-items: center;
justify-content: space-between;
- padding: 40rpx 20rpx 20rpx 20rpx;
+ padding: 20rpx 0rpx 20rpx 0rpx;
}
.severItem {
width: 320rpx;
@@ -539,6 +528,6 @@
}
.ul3 {
display: flex;
- margin-bottom: 20rpx;
+ margin: 20rpx 0;
}
\ No newline at end of file
diff --git a/pages/tabbar/learnCar/comp/comp.scss b/pages/tabbar/learnCar/comp/comp.scss
index a802102..5693146 100644
--- a/pages/tabbar/learnCar/comp/comp.scss
+++ b/pages/tabbar/learnCar/comp/comp.scss
@@ -2,24 +2,7 @@
.h1 {
- font-size: 32rpx;
- color: #333;
- font-weight: 500;
- position: relative;
- padding: 0 0 0 32rpx;
- line-height: 108rpx;
- height: 108rpx;
- &::before {
- position: absolute;
- content: '';
- width: 8rpx;
- height: 32rpx;
- background: #1F6EFA;
- border-radius: 4rpx;
- top: 50%;
- left: 0;
- transform: translateY(-50%);
- }
+ padding: 30rpx 0 30rpx 0;
}
.card {
diff --git a/pages/tabbar/mine/index.vue b/pages/tabbar/mine/index.vue
index 04fb75a..31e0137 100644
--- a/pages/tabbar/mine/index.vue
+++ b/pages/tabbar/mine/index.vue
@@ -6,7 +6,7 @@
-
+
JOE宝宝
@@ -33,7 +33,7 @@
-
+
@@ -56,20 +56,29 @@
return {
ulData: [
{name: '学车进度', icon: require('@/static/images/mineIcon/emtryIcon (4).png'),url: '/pages/mineEntry/carLearProgress/carLearProgress'},
- {name: '我的预约', icon: require('@/static/images/mineIcon/emtryIcon (1).png'),url: ''},
- {name: '我的订单', icon: require('@/static/images/mineIcon/emtryIcon (2).png'),url: ''},
- {name: '我的合同', icon: require('@/static/images/mineIcon/emtryIcon (3).png'),url: ''},
+ {name: '我的预约', icon: require('@/static/images/mineIcon/emtryIcon (1).png'),url: '/pages/mineEntry/myAppointment/myAppointment'},
+ {name: '我的订单', icon: require('@/static/images/mineIcon/emtryIcon (2).png'),url: '/pages/mineEntry/myOrder/myOrder'},
+ {name: '我的合同', icon: require('@/static/images/mineIcon/emtryIcon (3).png'),url: '/pages/mineEntry/myContract/myContract'},
],
ulData2: [
- {name: '学时查询', icon: require('@/static/images/mineIcon/minIcon (4).png'),url: ''},
- {name: '我的评价', icon: require('@/static/images/mineIcon/minIcon (1).png'),url: ''},
- {name: '退款申请', icon: require('@/static/images/mineIcon/minIcon (3).png'),url: ''},
- {name: '变更车型', icon: require('@/static/images/mineIcon/minIcon (7).png'),url: ''},
- {name: '同城转校', icon: require('@/static/images/mineIcon/minIcon (5).png'),url: ''},
+ {name: '学时查询', icon: require('@/static/images/mineIcon/minIcon (4).png'),url: '/pages/mineEntry/carLearnHours/carLearnHours'},
+ {name: '我的评价', icon: require('@/static/images/mineIcon/minIcon (1).png'),url: '/pages/mineEntry/myEvaluate/myEvaluate'},
+ {name: '退款申请', icon: require('@/static/images/mineIcon/minIcon (3).png'),url: '/pages/mineEntry/refund/refund'},
+ {name: '变更车型', icon: require('@/static/images/mineIcon/minIcon (7).png'),url: '/pages/mineEntry/modelChange/modelChange'},
+ {name: '同城转校', icon: require('@/static/images/mineIcon/minIcon (5).png'),url: '/pages/mineEntry/schoolTransfer/schoolTransfer'},
{name: '退款申请记录', icon: require('@/static/images/mineIcon/minIcon (6).png'),url: ''},
{name: '关于我们', icon: require('@/static/images/mineIcon/minIcon (2).png'),url: ''},
]
}
+ },
+ methods: {
+ topClick() {
+ if(!this.vuex_userInfo.phone) {
+ this.$goPage('/pages/userCenter/login/login')
+ }else {
+ this.$goPage('/pages/mineEntry/personaInfo/personaInfo')
+ }
+ },
}
}
diff --git a/static/images/tabbar/btn_xueche_nor - 副本.png b/static/images/tabbar/btn_xueche_nor - 副本.png
new file mode 100644
index 0000000..491b84a
Binary files /dev/null and b/static/images/tabbar/btn_xueche_nor - 副本.png differ
diff --git a/static/images/tabbar/btn_xueche_nor.png b/static/images/tabbar/btn_xueche_nor.png
index 491b84a..37ccde1 100644
Binary files a/static/images/tabbar/btn_xueche_nor.png and b/static/images/tabbar/btn_xueche_nor.png differ