Commit ac616027 authored by jiaxu.yan's avatar jiaxu.yan

feat: 更新首页

parent 15216d94
...@@ -20,6 +20,7 @@ ...@@ -20,6 +20,7 @@
"@icon-park/vue": "^1.4.2", "@icon-park/vue": "^1.4.2",
"@riophae/vue-treeselect": "0.4.0", "@riophae/vue-treeselect": "0.4.0",
"apollo-boost": "^0.4.9", "apollo-boost": "^0.4.9",
"autoprefixer": "8.0.0",
"axios": "0.24.0", "axios": "0.24.0",
"clipboard": "2.0.8", "clipboard": "2.0.8",
"core-js": "3.25.3", "core-js": "3.25.3",
...@@ -38,6 +39,7 @@ ...@@ -38,6 +39,7 @@
"jsencrypt": "3.0.0-rc.1", "jsencrypt": "3.0.0-rc.1",
"lodash": "4.17.21", "lodash": "4.17.21",
"nprogress": "0.2.0", "nprogress": "0.2.0",
"postcss-px-to-viewport": "^1.1.1",
"quill": "1.3.7", "quill": "1.3.7",
"screenfull": "5.0.2", "screenfull": "5.0.2",
"sortablejs": "1.10.2", "sortablejs": "1.10.2",
...@@ -70,7 +72,7 @@ ...@@ -70,7 +72,7 @@
"husky": "^8.0.0", "husky": "^8.0.0",
"lint-staged": "^10.5.3", "lint-staged": "^10.5.3",
"mockjs": "1.0.1-beta3", "mockjs": "1.0.1-beta3",
"postcss": "^8.4.12", "postcss": "^8.4.45",
"postcss-html": "^1.3.0", "postcss-html": "^1.3.0",
"prettier": "^2.8.8", "prettier": "^2.8.8",
"prettier-eslint-cli": "^8.0.1", "prettier-eslint-cli": "^8.0.1",
...@@ -88,7 +90,8 @@ ...@@ -88,7 +90,8 @@
"stylelint-config-standard-scss": "^4.0.0", "stylelint-config-standard-scss": "^4.0.0",
"stylelint-order": "^5.0.0", "stylelint-order": "^5.0.0",
"vue-cli-plugin-commitlint": "~1.0.12", "vue-cli-plugin-commitlint": "~1.0.12",
"vue-template-compiler": "2.6.12" "vue-template-compiler": "2.6.12",
"webpack": "4.47.0"
}, },
"browserslist": [ "browserslist": [
"> 1%", "> 1%",
......
src/assets/images/home/bottom1.png

171 KB | W: | H:

src/assets/images/home/bottom1.png

33.8 KB | W: | H:

src/assets/images/home/bottom1.png
src/assets/images/home/bottom1.png
src/assets/images/home/bottom1.png
src/assets/images/home/bottom1.png
  • 2-up
  • Swipe
  • Onion skin
...@@ -109,9 +109,10 @@ ...@@ -109,9 +109,10 @@
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: flex-start; justify-content: flex-start;
height: 5rem;
&-img { &-img {
width: 60px; width: 80px;
height: 60px; height: 80px;
} }
&-body { &-body {
margin-left: 10px; margin-left: 10px;
...@@ -136,10 +137,12 @@ ...@@ -136,10 +137,12 @@
} }
.bottom-card { .bottom-card {
width: 14%; width: 14%;
margin: 1%; margin: 0 1%;
padding: 10px; padding: 0 10px;
cursor: pointer;
&-img { &-img {
width: 50px; width: 40px;
height: 40px;
} }
&-title { &-title {
font-size: 14px; font-size: 14px;
......
...@@ -54,7 +54,7 @@ ...@@ -54,7 +54,7 @@
</div> </div>
<div class="home-page-bottom"> <div class="home-page-bottom">
<div class="bottom-list"> <div class="bottom-list">
<div v-for="(item, key) in bottom" :key="key" class="bottom-card"> <div v-for="(item, key) in bottom" :key="key" class="bottom-card" @click="$router.push(item.link)">
<el-image :src="item.img" class="bottomd-card-img" /> <el-image :src="item.img" class="bottomd-card-img" />
<div class="bottom-card-title"> <div class="bottom-card-title">
{{ item.title }} {{ item.title }}
...@@ -83,78 +83,78 @@ export default { ...@@ -83,78 +83,78 @@ export default {
return { return {
info: [ info: [
{ {
title: '软件升级', title: '审查要点(条)',
number: '100', number: '22',
img: require('@/assets/images/home/card1.png') img: require('@/assets/images/home/card1.png')
}, },
{ {
title: '软件升级', title: '审查细则(条)',
number: '100', number: '73',
img: require('@/assets/images/home/card1.png') img: require('@/assets/images/home/card2.png')
}, },
{ {
title: '软件升级', title: '审查场景(条)',
number: '100', number: '22',
img: require('@/assets/images/home/card1.png') img: require('@/assets/images/home/card3.png')
}, },
{ {
title: '软件升级', title: '测试用例(条)',
number: '100', number: '73',
img: require('@/assets/images/home/card1.png') img: require('@/assets/images/home/card4.png')
} }
], ],
soft: [ soft: [
{ {
title: '软件升级', title: '审查要点(条)',
number: '100', number: '142',
img: require('@/assets/images/home/card5.png') img: require('@/assets/images/home/card5.png')
}, },
{ {
title: '软件升级', title: '审查细则(条)',
number: '100', number: '345',
img: require('@/assets/images/home/card6.png') img: require('@/assets/images/home/card6.png')
}, },
{ {
title: '软件升级', title: '审查场景(条)',
number: '100', number: '545',
img: require('@/assets/images/home/card7.png') img: require('@/assets/images/home/card7.png')
}, },
{ {
title: '软件升级', title: '测试用例(条)',
number: '100', number: '556',
img: require('@/assets/images/home/card8.png') img: require('@/assets/images/home/card8.png')
} }
], ],
bottom: [ bottom: [
{ {
title: '软件升级', title: '标准文本',
link: '', link:'/setting/standard',
img: require('@/assets/images/home/bottom2.png') img: require('@/assets/images/home/bottom1.png')
}, },
{ {
title: '软件升级', title: '检测要点',
link: '', link: '/setting/standardPoint',
img: require('@/assets/images/home/bottom2.png') img: require('@/assets/images/home/bottom2.png')
}, },
{ {
title: '软件升级', title: '实施细则',
link: '', link: '/setting/standardTerms',
img: require('@/assets/images/home/bottom2.png') img: require('@/assets/images/home/bottom3.png')
}, },
{ {
title: '软件升级', title: '测试用例',
link: '', link: '/setting/standardTerms',
img: require('@/assets/images/home/bottom2.png') img: require('@/assets/images/home/bottom4.png')
}, },
{ {
title: '软件升级', title: '检测方案',
link: '', link: '/plan/customized',
img: require('@/assets/images/home/bottom2.png') img: require('@/assets/images/home/bottom5.png')
}, },
{ {
title: '软件升级', title: '内容评审',
link: '', link: '/review/review/createReview',
img: require('@/assets/images/home/bottom2.png') img: require('@/assets/images/home/bottom6.png')
} }
] ]
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment