From 2bd8a5f02480b6896acdf0f62fbf9247537f5450 Mon Sep 17 00:00:00 2001 From: unknown <331404948@qq.com> Date: Tue, 5 Dec 2023 18:36:50 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E9=9D=9E=E5=B9=B3=E5=8F=B0?= =?UTF-8?q?=E5=AD=A6=E5=91=98=E5=A1=AB=E5=86=99=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- common/css/app.scss | 10 --- common/js/utils.js | 2 +- components/commentItem/commentItem.vue | 2 +- config/api.js | 4 +- config/site.config.js | 4 +- config/utils.js | 2 +- manifest.json | 11 ++- pages/carEntry/evaluate/evaluate.vue | 17 +++- .../carEntry/examineAppointment/comp/pickDate.vue | 4 +- pages/carEntry/operaAppointment/comp/pickDate.vue | 4 +- .../carEntry/simulateAppointment/comp/pickDate.vue | 13 ++-- .../NonPlatformStudentInfo.vue | 64 +++++++-------- pages/indexEntry/consult/consult.vue | 2 +- .../consult/pubComplaint/pubComplaint.vue | 5 +- pages/indexEntry/enroll/enroll.vue | 91 ++++++++++++++++++---- pages/indexEntry/enroll/realName/realName.vue | 4 +- pages/indexEntry/enroll/registInfo/registInfo.vue | 5 +- pages/indexEntry/examines/comp/examineItem.vue | 3 +- pages/indexEntry/examines/detail/detail.vue | 2 +- .../publicVideo/videoDetail/videoDetail.vue | 4 +- pages/mineEntry/myEvaluate/comp/commentItem.vue | 18 ++++- pages/mineEntry/myEvaluate/myEvaluate.vue | 2 +- pages/mineEntry/personaInfo/personaInfo.vue | 8 +- pages/tabbar/index/index.vue | 27 +++++-- pages/tabbar/learnCar/comp/subject0.vue | 2 +- pages/tabbar/learnCar/comp/subject2.vue | 4 +- pages/tabbar/learnCar/comp/subject3.vue | 2 +- 27 files changed, 209 insertions(+), 107 deletions(-) diff --git a/common/css/app.scss b/common/css/app.scss index 651c53d..5cf4612 100644 --- a/common/css/app.scss +++ b/common/css/app.scss @@ -133,13 +133,3 @@ image { input::-ms-input-placeholder { color: #CDCDCD !important; } - - // /* webkit专用 */ - .input1::-webkit-input-placeholder { color:#00f; } - // #input2::-webkit-input-placeholder { color:#090; background:lightgreen; text-transform:uppercase; } - // #input3::-webkit-input-placeholder { font-style:italic; text-decoration:overline; color:#999; } - - // /* mozilla专用 */ - // #input1::-moz-placeholder { color:#00f; } - // #input2::-moz-placeholder { color:#090; background:lightgreen; text-transform:uppercase; } - // #input3::-moz-placeholder { font-style:italic; text-decoration:overline; color:#999; } diff --git a/common/js/utils.js b/common/js/utils.js index b9bc604..e8816df 100644 --- a/common/js/utils.js +++ b/common/js/utils.js @@ -14,7 +14,7 @@ const install = (Vue, vm) => { const distanceFn = (val) => { if(!val) return if (val * 1 < 1000) { - return val + '米' + return val.toFixed(2) + '米' } else { return (val / 1000).toFixed(2) + '公里' } diff --git a/components/commentItem/commentItem.vue b/components/commentItem/commentItem.vue index 8d72a40..1a133ef 100644 --- a/components/commentItem/commentItem.vue +++ b/components/commentItem/commentItem.vue @@ -5,7 +5,7 @@ {{ $u.date(item.createTime ,'yyyy/mm/dd' ) }} - + {{ item.stars }}分 {{ item.description }} diff --git a/config/api.js b/config/api.js index 3a2cecb..e5f981f 100644 --- a/config/api.js +++ b/config/api.js @@ -7,11 +7,11 @@ export const getAgreement = (params, config = {}) => http.post('/util/manage/get // 验证码登录 export const loginSMS = (data) => http.post('member/auth/sms-login', data, { custom: { noToken: true }}) // 登录发验证码 -export const getLoginCode = (data) => http.post('member/auth/send-sms-code', data, { custom: { noToken: true }}) +export const getLoginCode = (data) => http.post('member/auth/send-sms-code', data, { custom: { noToken: true, }}) // 获取个人信息 export const getUserInfo = (data) => http.post('member/user/get', {header: {'content-type': 'application/x-www-form-urlencoded; charset=UTF-8'}}) // 退出登录 -export const logOut = (data={}) => http.post('member/auth/logout', data,) +export const logOut = (data={}) => http.post('member/auth/logout', data, {custom: {catch: true, toast: false }}) // 驾校列表分页 export const schoolPage = (params) => http.get('business/school/page', {params: params}) // 附近场地 diff --git a/config/site.config.js b/config/site.config.js index cc5ace4..5138528 100644 --- a/config/site.config.js +++ b/config/site.config.js @@ -2,8 +2,8 @@ const VUE_APP_PLATFORM = process.env.VUE_APP_PLATFORM; // localIp = false module.exports = { H5_API: VUE_APP_PLATFORM === 'h5' ? '/api' : '',//h5代理 - WX_API: VUE_APP_PLATFORM === 'h5' ? '' : 'http://192.168.1.39:48080/',//非代理地址 - website: 'http://192.168.1.44:8001/h5/#', + WX_API: VUE_APP_PLATFORM === 'h5' ? '' : 'http://192.168.1.36:48080/',//非代理地址 + website: 'http://192.168.1.44:90/h5/#', httpPrefix: 'app-api/', imgUrl: 'https://jiangxijiakao-1.oss-cn-hangzhou.aliyuncs.com/defaultImages/app/bigImg/' }; diff --git a/config/utils.js b/config/utils.js index b2f7837..c8d1bc4 100644 --- a/config/utils.js +++ b/config/utils.js @@ -118,7 +118,7 @@ export function uploadImgApi(filePath, imgName) { }, header: { Authorization: token, - 'tenant-id': 1 + 'tenant-id': '1704459882232553474' }, success(res) { console.log('上传成功') diff --git a/manifest.json b/manifest.json index 14a763a..b9180ea 100644 --- a/manifest.json +++ b/manifest.json @@ -43,7 +43,9 @@ ] }, /* ios打包配置 */ - "ios" : {}, + "ios" : { + "dSYMs" : false + }, /* SDK配置 */ "sdkConfigs" : { "share" : { @@ -51,7 +53,8 @@ "appid" : "wxae509f512c11c039", "UniversalLinks" : "" } - } + }, + "ad" : {} } } }, @@ -89,12 +92,12 @@ "vueVersion" : "2", "h5" : { "devServer" : { - "port" : 8000, + "port" : 90, "disableHostCheck" : true, "proxy" : { "/api" : { // "target" : "http://192.168.1.26:48080/", - "target" : "http://192.168.1.39:48080/", + "target" : "http://192.168.1.36:48080/", "changeOrigin" : true, "secure" : true, "pathRewrite" : { diff --git a/pages/carEntry/evaluate/evaluate.vue b/pages/carEntry/evaluate/evaluate.vue index 7292f74..105f5f9 100644 --- a/pages/carEntry/evaluate/evaluate.vue +++ b/pages/carEntry/evaluate/evaluate.vue @@ -13,6 +13,7 @@