diff --git a/package-lock.json b/package-lock.json index 46f977e..0e260f2 100644 --- a/package-lock.json +++ b/package-lock.json @@ -5637,11 +5637,6 @@ "launch-editor": "^2.4.0" } }, - "lib-flexible": { - "version": "0.3.2", - "resolved": "https://registry.npmjs.org/lib-flexible/-/lib-flexible-0.3.2.tgz", - "integrity": "sha512-9yowMWA70tKhKdCJDaltY0mNQG4OWo7pWKScnTp9aiSxS7s20ZYlwBRE3335nweOf5qKXVC7sDxJwMPM8/MFZg==" - }, "lines-and-columns": { "version": "1.2.4", "resolved": "https://registry.npmmirror.com/lines-and-columns/-/lines-and-columns-1.2.4.tgz", diff --git a/package.json b/package.json index f1c4422..de999d0 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,6 @@ "dependencies": { "amfe-flexible": "^2.2.1", "axios": "^0.27.2", - "lib-flexible": "^0.3.2", "postcss-pxtorem": "^5.1.1", "register-service-worker": "^1.7.1", "swiper": "^4.5.1", diff --git a/postcss.config.js b/postcss.config.js index 1c0e41e..ce01c3c 100644 --- a/postcss.config.js +++ b/postcss.config.js @@ -1,11 +1,12 @@ +const path = require('path') + module.exports = ({ file }) => { - let isVant = file && file.dirname && file.dirname.indexOf('vant') > -1 - let rootValue = 37.5// 判断条件 请自行调整 + const designWidth = file.dirname.includes(path.join('node_modules', 'vant')) ? 37.5 : 72.0 return { plugins: { autoprefixer: {}, 'postcss-pxtorem': { - rootValue: rootValue, + rootValue: designWidth, propList: ['*'] } } diff --git a/src/assets/img/about_1.png b/src/assets/img/about_1.png new file mode 100644 index 0000000..62be424 Binary files /dev/null and b/src/assets/img/about_1.png differ diff --git a/src/assets/img/about_2.png b/src/assets/img/about_2.png new file mode 100644 index 0000000..bd84110 Binary files /dev/null and b/src/assets/img/about_2.png differ diff --git a/src/assets/img/home_3.jpg b/src/assets/img/home_3.jpg new file mode 100644 index 0000000..7caf59d Binary files /dev/null and b/src/assets/img/home_3.jpg differ diff --git a/src/assets/style/index.css b/src/assets/style/index.css new file mode 100644 index 0000000..185b62e --- /dev/null +++ b/src/assets/style/index.css @@ -0,0 +1,9 @@ +*{ + margin: 0; + padding: 0; + box-sizing: border-box; +} +img{ + width: 100%; + display: block; +} \ No newline at end of file diff --git a/src/components/about/index.vue b/src/components/about/index.vue new file mode 100644 index 0000000..8a6c2f3 --- /dev/null +++ b/src/components/about/index.vue @@ -0,0 +1,82 @@ + + + diff --git a/src/components/common/tail.vue b/src/components/common/tail.vue index 8b32fff..0deac49 100644 --- a/src/components/common/tail.vue +++ b/src/components/common/tail.vue @@ -26,7 +26,7 @@
TEL:86 152 1093 7300
{{characters ==1?'北京市海淀区中关村南大街12号农业科学院信息楼311室':'311, Information Building, Academy of Agricultural Sciences, No. 12 Zhongguancun South Street, Haidian District, Beijing'}}
-
© 2021 Copyright 北京邃芒科技有限公司 版权所有 京ICP备2021007416号
+
© 2021 Copyright 北京邃芒科技有限公司 版权所有 京ICP备2021007416号