diff --git a/front/.eslintrc.js b/front/.eslintrc.js index 81701c75..bdbc18cb 100644 --- a/front/.eslintrc.js +++ b/front/.eslintrc.js @@ -1,3 +1,10 @@ +/* + * @Author: hisense.wuhongjian + * @Date: 2022-06-14 09:31:29 + * @LastEditors: hisense.wuhongjian + * @LastEditTime: 2022-07-15 16:33:55 + * @Description: 告诉大家这是什么 + */ module.exports = { root: true, env: { @@ -15,6 +22,7 @@ module.exports = { ignorePatterns: [ 'src/supermap', 'src/views/home/videoSurveillance', + 'src/views/vab/*', 'src/utils/coordinateSystemTransform.js', ], } diff --git a/front/package.json b/front/package.json index fca2d1c9..592ac777 100644 --- a/front/package.json +++ b/front/package.json @@ -5,7 +5,9 @@ "scripts": { "serve": "vue-cli-service serve", "build": "vue-cli-service build", - "lint": "vue-cli-service lint", + "lint": "eslint --ext .js --ext .jsx --ext .vue src/", + "lint:fix": "eslint --fix --ext .js,.vue .", + "fix": "eslint src/**/*.* --fix", "clear": "rimraf node_modules&&npm install --registry=https://registry.npm.taobao.org", "use:npm": "nrm use npm", "use:taobao": "nrm use taobao", diff --git a/front/src/App.vue b/front/src/App.vue index aeb2000e..b3fb4074 100644 --- a/front/src/App.vue +++ b/front/src/App.vue @@ -26,7 +26,7 @@ diff --git a/front/src/views/detailsAll/ApplicationDetails.vue b/front/src/views/detailsAll/ApplicationDetails.vue index 7eee09d3..367e4087 100644 --- a/front/src/views/detailsAll/ApplicationDetails.vue +++ b/front/src/views/detailsAll/ApplicationDetails.vue @@ -1,179 +1,211 @@ diff --git a/front/src/views/detailsAll/BusinessDetails.vue b/front/src/views/detailsAll/BusinessDetails.vue index cb14bfd2..8138d495 100644 --- a/front/src/views/detailsAll/BusinessDetails.vue +++ b/front/src/views/detailsAll/BusinessDetails.vue @@ -10,149 +10,177 @@ - + - + - - + - - + - - + - - + - + - + diff --git a/front/src/views/detailsAll/DeveloperComponents.vue b/front/src/views/detailsAll/DeveloperComponents.vue index be9c7f40..eb4d145d 100644 --- a/front/src/views/detailsAll/DeveloperComponents.vue +++ b/front/src/views/detailsAll/DeveloperComponents.vue @@ -1,8 +1,8 @@ diff --git a/front/src/views/detailsAll/LayerService.vue b/front/src/views/detailsAll/LayerService.vue index 6228798c..b6dbe86b 100644 --- a/front/src/views/detailsAll/LayerService.vue +++ b/front/src/views/detailsAll/LayerService.vue @@ -8,156 +8,188 @@ diff --git a/front/src/views/detailsAll/components/Algorithm/AlgorithmAdvantage.vue b/front/src/views/detailsAll/components/Algorithm/AlgorithmAdvantage.vue index 3e97e58d..a6703a1b 100644 --- a/front/src/views/detailsAll/components/Algorithm/AlgorithmAdvantage.vue +++ b/front/src/views/detailsAll/components/Algorithm/AlgorithmAdvantage.vue @@ -92,7 +92,7 @@ align-items: center; .item { width: 424px; - height:306px; + height: 306px; padding: 35px; display: flex; flex-direction: column; diff --git a/front/src/views/detailsAll/components/Algorithm/AlgorithmOnTrial.vue b/front/src/views/detailsAll/components/Algorithm/AlgorithmOnTrial.vue index e114c8fa..d5457892 100644 --- a/front/src/views/detailsAll/components/Algorithm/AlgorithmOnTrial.vue +++ b/front/src/views/detailsAll/components/Algorithm/AlgorithmOnTrial.vue @@ -38,7 +38,9 @@ () => props.dataList, (val) => { if (val) { - let obj = val.infoList.filter((item) => item.attrType === '试用地址' && item.attrValue)[0] + let obj = val.infoList.filter( + (item) => item.attrType === '试用地址' && item.attrValue + )[0] if (!obj) { flag.value = false } else { diff --git a/front/src/views/detailsAll/components/Algorithm/PictureCharacterRecognition.vue b/front/src/views/detailsAll/components/Algorithm/PictureCharacterRecognition.vue index ee1d8057..8110e34e 100644 --- a/front/src/views/detailsAll/components/Algorithm/PictureCharacterRecognition.vue +++ b/front/src/views/detailsAll/components/Algorithm/PictureCharacterRecognition.vue @@ -73,7 +73,7 @@ diff --git a/front/src/views/detailsAll/components/Application/ApplicationFunctionIntorduction.vue b/front/src/views/detailsAll/components/Application/ApplicationFunctionIntorduction.vue index eec26ec0..9a241c4d 100644 --- a/front/src/views/detailsAll/components/Application/ApplicationFunctionIntorduction.vue +++ b/front/src/views/detailsAll/components/Application/ApplicationFunctionIntorduction.vue @@ -7,26 +7,42 @@
-
+ " + > -
+
{{ itemSonTitle.name }}
-
+
diff --git a/front/src/views/detailsAll/components/Application/ApplicationPresentation.vue b/front/src/views/detailsAll/components/Application/ApplicationPresentation.vue index 52aaac54..b6e6cd57 100644 --- a/front/src/views/detailsAll/components/Application/ApplicationPresentation.vue +++ b/front/src/views/detailsAll/components/Application/ApplicationPresentation.vue @@ -8,10 +8,18 @@ diff --git a/front/src/views/detailsAll/components/Application/ApplicationTopDetails.vue b/front/src/views/detailsAll/components/Application/ApplicationTopDetails.vue index 94557648..fa51553b 100644 --- a/front/src/views/detailsAll/components/Application/ApplicationTopDetails.vue +++ b/front/src/views/detailsAll/components/Application/ApplicationTopDetails.vue @@ -53,7 +53,11 @@ 加入购物车 --> - + @@ -66,223 +70,220 @@
diff --git a/front/src/views/detailsAll/components/Business/BusinessNavigation.vue b/front/src/views/detailsAll/components/Business/BusinessNavigation.vue index b35ba162..b30ec1a8 100644 --- a/front/src/views/detailsAll/components/Business/BusinessNavigation.vue +++ b/front/src/views/detailsAll/components/Business/BusinessNavigation.vue @@ -8,7 +8,12 @@