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 @@