diff --git a/common/js/utils.js b/common/js/utils.js
index c3c501a..220fbde 100644
--- a/common/js/utils.js
+++ b/common/js/utils.js
@@ -77,7 +77,28 @@ const install = (Vue, vm) => {
return `${year}${splitor}${addZeroPrefix(month)}${splitor}${addZeroPrefix(day)}`
}
-
+ const callPhone = (phone)=> {
+ phone = phone.trim()
+ if(!phone) {
+ uni.showToast({
+ title: '暂无联系方式',
+ icon: 'none'
+ });
+ return
+ }
+ uni.showModal({
+ content: '确定要拨打:'+phone+'?' ,
+ success: function (res) {
+ if (res.confirm) {
+ uni.makePhoneCall({
+ phoneNumber: phone //仅为示例
+ });
+ } else if (res.cancel) {
+ console.log('用户点击取消');
+ }
+ }
+ });
+ }
@@ -90,6 +111,7 @@ const install = (Vue, vm) => {
distanceLatLng,
distanceFn,
getDate,
+ callPhone
}
}
diff --git a/components/callPhone/callPhone.vue b/components/callPhone/callPhone.vue
new file mode 100644
index 0000000..f0e0094
--- /dev/null
+++ b/components/callPhone/callPhone.vue
@@ -0,0 +1,45 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/components/mySelect/mySelect.vue b/components/mySelect/mySelect.vue
new file mode 100644
index 0000000..9ba4c5e
--- /dev/null
+++ b/components/mySelect/mySelect.vue
@@ -0,0 +1,34 @@
+
+
+ {{ placeholder }}
+ {{ value }}
+
+
+
+
+
+
\ No newline at end of file
diff --git a/manifest.json b/manifest.json
index bf330cd..be2f3d5 100644
--- a/manifest.json
+++ b/manifest.json
@@ -17,7 +17,9 @@
"delay" : 0
},
/* 模块配置 */
- "modules" : {},
+ "modules" : {
+ "Share" : {}
+ },
/* 应用发布信息 */
"distribute" : {
/* android打包配置 */
@@ -43,7 +45,14 @@
/* ios打包配置 */
"ios" : {},
/* SDK配置 */
- "sdkConfigs" : {}
+ "sdkConfigs" : {
+ "share" : {
+ "weixin" : {
+ "appid" : "wxae509f512c11c039",
+ "UniversalLinks" : ""
+ }
+ }
+ }
}
},
/* 快应用特有相关 */
diff --git a/pages.json b/pages.json
index d5f047d..17d49cd 100644
--- a/pages.json
+++ b/pages.json
@@ -89,6 +89,15 @@
}
},
{
+ "path": "enroll/registInfo/chooseCoach/chooseCoach",
+ "style": {
+ "navigationBarTitleText": "选择教练",
+ "enablePullDownRefresh": false,
+ "backgroundTextStyle": "dark"
+ }
+ },
+
+ {
"path": "enroll/payment/payment",
"style": {
"navigationBarTitleText": "报名缴费",
diff --git a/pages/indexEntry/consult/consult.vue b/pages/indexEntry/consult/consult.vue
index a2ef35b..8df95a3 100644
--- a/pages/indexEntry/consult/consult.vue
+++ b/pages/indexEntry/consult/consult.vue
@@ -52,7 +52,7 @@
\ No newline at end of file
diff --git a/pages/indexEntry/enroll/registInfo/comp/oldDrive.vue b/pages/indexEntry/enroll/registInfo/comp/oldDrive.vue
new file mode 100644
index 0000000..3d36039
--- /dev/null
+++ b/pages/indexEntry/enroll/registInfo/comp/oldDrive.vue
@@ -0,0 +1,101 @@
+
+
+ 学驾车型
+
+ {{item.lab}}
+
+ {{item2}}
+
+
+
+ 重置
+ 完成
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/pages/indexEntry/enroll/registInfo/comp/searchSchool.vue b/pages/indexEntry/enroll/registInfo/comp/searchSchool.vue
new file mode 100644
index 0000000..c98f60d
--- /dev/null
+++ b/pages/indexEntry/enroll/registInfo/comp/searchSchool.vue
@@ -0,0 +1,102 @@
+
+
+
+
+
+ 选择驾校
+
+
+
+
+
+
+
+
+
+ {{item.schoolName}}
+
+
+ {{item.starLevel}}分
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/pages/indexEntry/enroll/registInfo/registInfo.vue b/pages/indexEntry/enroll/registInfo/registInfo.vue
index e832f2c..64a5860 100644
--- a/pages/indexEntry/enroll/registInfo/registInfo.vue
+++ b/pages/indexEntry/enroll/registInfo/registInfo.vue
@@ -2,22 +2,24 @@
+
扫描教练二维码
- 扫一扫
+ 扫一扫
+
-
+
选择驾校
-
+
-
+
@@ -28,9 +30,9 @@
选择车型
-
+
-
+
@@ -41,9 +43,9 @@
选择班型
-
+
-
+
@@ -54,9 +56,9 @@
选择教练
-
+
-
+
@@ -109,21 +111,19 @@
- 原驾驶证号
+ 原驾驶证号
-
-
-
+ {{ form.certificateCodeShow }}
- 驾驶证初领日期
-
-
+ 驾驶证初领日期
+
+
-
+
@@ -132,11 +132,11 @@
- 原准驾车型
+ 原准驾车型
-
+
-
+
@@ -146,13 +146,13 @@
-
+
来源城市
-
+
@@ -161,11 +161,11 @@
- 已过科目
+ 已过科目
-
+
-
+
@@ -176,9 +176,9 @@
待学科目
-
+
-
+
@@ -261,17 +261,85 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/pages/mineEntry/carData/carData.vue b/pages/mineEntry/carData/carData.vue
index 3610369..6d04aba 100644
--- a/pages/mineEntry/carData/carData.vue
+++ b/pages/mineEntry/carData/carData.vue
@@ -1,87 +1,93 @@
-
-
-
- 专属您的
- 学车数据
-
-
-
-
-
-
+
+
+
+
+ 专属您的
+ 学车数据
+
+
+
+
+
+
+
+ 我的驾校
- 我的驾校
+ 翔力驾校
- 翔力驾校
-
-
-
-
-
+
+
+
+
+
+ 我的教练
- 我的教练
+ xxx
- xxx
-
-
-
-
-
+
+
+
+
+
+ 所学车型
- 所学车型
+ xxx
- xxx
-
-
-
-
-
+
+
+
+
+
+ 报名时间
- 报名时间
+ xxx
- xxx
-
-
-
-
-
- 学驾共历时
- 33天
-
-
-
+
+
+
+
+ 学驾共历时
+ 33天
+
+
+
+
+
-
-
-
-
-
-
- 考试通过率
- 90%
-
-
-
-
+
+
+
+
+ 考试通过率
+ 90%
+
+
+
+
+
+
-
-
-
-
- 实操练习次数
- 20次
-
-
- 模拟训练次数
- 20次
+
+
+ 实操练习次数
+ 20次
+
+
+ 模拟训练次数
+ 20次
+
- 立即分享
+
@@ -92,35 +98,15 @@
components: { ringChart, columnChart },
data() {
return {
- gaueData: {
- series: [{
- "data": [{
- "name": "科目一",
- "value": 7
- },
- {
- "name": "模拟器",
- "value": 0
- },
- {
- "name": "科目二",
- "value": 10
- },
- {
- "name": "科目三",
- "value": 20
- }
- ]
- }]
- },
- opts: {
- dataLabel: false,
- width: 300,
- height: 300
- }
}
+ },
+ onReady() {
+ },
+
+ methods: {
+
}
- }
+ }
\ No newline at end of file
diff --git a/pages/mineEntry/carData/columnChart.vue b/pages/mineEntry/carData/columnChart.vue
index 0c688b5..d1088f7 100644
--- a/pages/mineEntry/carData/columnChart.vue
+++ b/pages/mineEntry/carData/columnChart.vue
@@ -21,7 +21,7 @@ export default {
rotateLock: false,
color: ["#1890FF","#91CB74","#FAC858","#EE6666","#73C0DE","#3CA272","#FC8452","#9A60B4","#ea7ccc"],
padding: [15,15,0,5],
- fontSize: 13,
+ fontSize: 12,
fontColor: "#1989FA",
dataLabel: true,
dataPointShape: true,
@@ -42,7 +42,7 @@ export default {
fontColor: "#666666",
lineHeight: 11,
hiddenColor: "#CECECE",
- itemGap: 10
+ itemGap: 10,
},
xAxis: {
disableGrid: true,
@@ -72,13 +72,13 @@ export default {
titleOffsetY: 0,
titleOffsetX: 0,
titleFontColor: "#666666",
- format: ""
},
yAxis: {
data: [
{
- min: 0
- }
+ min: 0,
+ format: "yAxisDemo1",
+ },
],
disabled: true,
disableGrid: false,
@@ -87,7 +87,7 @@ export default {
dashLength: 8,
gridColor: "#E8E9EC",
padding: 10,
- showTitle: false
+ showTitle: false,
},
extra: {
column: {
@@ -103,7 +103,8 @@ export default {
colorStop: 0,
meterBorder: 1,
meterFillColor: "#FFFFFF",
- labelPosition: "outside"
+ labelPosition: "outside",
+
},
tooltip: {
showBox: false,
@@ -130,7 +131,7 @@ export default {
yAxisLabel: false,
labelBgColor: "#FFFFFF",
labelBgOpacity: 0.7,
- labelFontColor: "#666666"
+ labelFontColor: "#666666",
},
markLine: {
type: "solid",
@@ -154,7 +155,8 @@ export default {
series: [
{
name: "目标值",
- data: [35,36,31,33,]
+ data: [35,36,31,33,],
+ format: "yAxisDemo1",
}
]
};
diff --git a/static/images/index/img_6@2x.png b/static/images/index/img_6@2x.png
index b56759b..f67c781 100644
Binary files a/static/images/index/img_6@2x.png and b/static/images/index/img_6@2x.png differ
diff --git a/static/images/index/img_7@2x.png b/static/images/index/img_7@2x.png
new file mode 100644
index 0000000..35ddef5
Binary files /dev/null and b/static/images/index/img_7@2x.png differ
diff --git a/static/images/index/img_8@2x.png b/static/images/index/img_8@2x.png
new file mode 100644
index 0000000..242f332
Binary files /dev/null and b/static/images/index/img_8@2x.png differ
diff --git a/uni_modules/charts/js_sdk/u-charts/config-ucharts.js b/uni_modules/charts/js_sdk/u-charts/config-ucharts.js
index 17b28b3..369a361 100644
--- a/uni_modules/charts/js_sdk/u-charts/config-ucharts.js
+++ b/uni_modules/charts/js_sdk/u-charts/config-ucharts.js
@@ -54,7 +54,7 @@ const cfu = {
"option":{},
//下面是自定义format配置,因除H5端外的其他端无法通过props传递函数,只能通过此属性对应下标的方式来替换
"formatter":{
- "yAxisDemo1":function(val, index, opts){return val+'元'},
+ "yAxisDemo1":function(val, index, opts){return val+'分'},
"yAxisDemo2":function(val, index, opts){return val.toFixed(2)},
"xAxisDemo1":function(val, index, opts){return val+'年';},
"xAxisDemo2":function(val, index, opts){return formatDateTime(val,'h:m')},