diff --git a/src/App.vue b/src/App.vue index 29c84fa..785c555 100644 --- a/src/App.vue +++ b/src/App.vue @@ -18,6 +18,7 @@ import { mapState, mapActions, mapMutations } from 'vuex'; import zh_CN from 'ant-design-vue/lib/locale-provider/zh_CN'; import HeadNav from './components/HeadNav/HeadNav.vue'; import FooterPage from './components/FooterPage/FooterPage.vue'; +import { visitorAdd } from 'config/api'; export default { name: 'App', @@ -30,7 +31,7 @@ export default { updated() { window.scroll(0, 0); }, - created() { + async created() { const userId = '1218763410024566784'; const params = { userId }; this.getUserId(params); @@ -40,9 +41,24 @@ export default { window.addEventListener('beforeunload', () => { sessionStorage.setItem('store', JSON.stringify(this.$store.state)); }); + await this.getvisitor(); + }, + methods: { + ...mapActions('user', ['getUserId']), + async getvisitor() { + try { + const res = await visitorAdd(); + const { code, msg, data } = res.data; + if (code === 200) { + console.log(data); + } else { + this.$message.error(msg); + } + } catch (error) { + this.$message.error(error); + } + }, }, - - methods: { ...mapActions('user', ['getUserId']) }, }; diff --git a/src/assets/logo.png b/src/assets/logo.png index d0e6a06..692cfa7 100644 Binary files a/src/assets/logo.png and b/src/assets/logo.png differ diff --git a/src/common/portrait.styl b/src/common/portrait.styl index d85447f..5065985 100644 --- a/src/common/portrait.styl +++ b/src/common/portrait.styl @@ -617,11 +617,11 @@ h2{ } .textColor{ - color: rgba(0,0,0,.65) + color: rgba(0,0,0,.85) } .secondary{ - color: rgba(0,0,0,.45) + color: rgba(0,0,0,.65) } // line-height @@ -632,3 +632,22 @@ h2{ .line-height-36{ line-height: 36px } + +.ant-form-item-label { + color: rgba(0,0,0,0.85) !important; + font-size: 16px !important; + // text-align: center !important; +} +.ant-modal-header { + text-align: center; + // font-size: 16px; +} + +.red-title { + font-size: 18px; + color: rgba(0,0,0,0.85) +} + +.ant-form-item { + margin-bottom: 18px; +} diff --git a/src/components/FooterPage/FooterPage.vue b/src/components/FooterPage/FooterPage.vue index cfd3835..c0bd1d4 100644 --- a/src/components/FooterPage/FooterPage.vue +++ b/src/components/FooterPage/FooterPage.vue @@ -28,6 +28,7 @@
+
当前访问量:5000
@@ -62,6 +63,7 @@ export default { diff --git a/src/components/HeadNav/HeadNav.vue b/src/components/HeadNav/HeadNav.vue index d038320..be3ac00 100644 --- a/src/components/HeadNav/HeadNav.vue +++ b/src/components/HeadNav/HeadNav.vue @@ -1,6 +1,7 @@ @@ -53,6 +53,8 @@ export default { } .con-con { + font-size: 16px; + letter-spacing: 1px; margin-bottom: 40px; } diff --git a/src/views/Challenge/Children/components/Unveiling.vue b/src/views/Challenge/Children/components/Unveiling.vue index 2cb6d49..8725d4f 100644 --- a/src/views/Challenge/Children/components/Unveiling.vue +++ b/src/views/Challenge/Children/components/Unveiling.vue @@ -157,3 +157,11 @@ export default { }, }; + + + diff --git a/src/views/ContactUs/ContactUs.vue b/src/views/ContactUs/ContactUs.vue index 857111b..732a641 100644 --- a/src/views/ContactUs/ContactUs.vue +++ b/src/views/ContactUs/ContactUs.vue @@ -5,21 +5,21 @@ -
+
- + diff --git a/src/views/ServiceMarket/Children/Institute.vue b/src/views/ServiceMarket/Children/Institute.vue index 21933ff..8303997 100644 --- a/src/views/ServiceMarket/Children/Institute.vue +++ b/src/views/ServiceMarket/Children/Institute.vue @@ -9,7 +9,7 @@
-
+
山西智汇协同创新研究院有限公司是维基智汇科技有限公司旗下,集创新创业咨询服务和协同创新为一体的新型研发机构。 研究院秉承“创新、开放、协作、共赢”的发展理念,坚持专业化、高端化、市场化、国际化发展路线,立足新科技革命和产业发展前沿, 聚焦创新创业发展需求,以为不同创新主体提供定制化科创整体解决方案为核心,以数智网络平台、战略合作平台和知识培训平台为支撑, @@ -43,7 +43,7 @@
-
+
@@ -147,23 +147,24 @@ export default { { type: 'tree', data: this.treedata, - left: '30%', - right: '2%', + left: '10%', + right: '30%', top: '8%', bottom: '2%', symbol: 'emptyCircle', symbolSize: 7, - lineStyle: { width: 4 }, + lineStyle: { width: 1 }, itemStyle: { borderWidth: 3, borderColor: '#E77816' }, - label: { position: 'left', verticalAlign: 'middle', align: 'right', fontSize: 16 }, + label: { position: 'top', verticalAlign: 'middle', align: 'center', fontSize: 16, color: 'rgba(0, 0, 0, 85)' }, leaves: { label: { - position: 'top', + position: 'right', verticalAlign: 'middle', - align: 'right', + align: 'left', }, }, expandAndCollapse: true, + animationDuration: 550, animationDurationUpdate: 750, }, ], diff --git a/src/views/Study/Study.vue b/src/views/Study/Study.vue index 0d6d3fb..92a880c 100644 --- a/src/views/Study/Study.vue +++ b/src/views/Study/Study.vue @@ -7,13 +7,7 @@