diff --git a/src/components/tabs/actice.png b/src/components/tabs/actice.png deleted file mode 100644 index 19c5c20..0000000 Binary files a/src/components/tabs/actice.png and /dev/null differ diff --git a/src/components/tabs/index.scss b/src/components/tabs/index.scss index b12ff09..93cc54b 100644 --- a/src/components/tabs/index.scss +++ b/src/components/tabs/index.scss @@ -3,14 +3,15 @@ height: 43px; line-height: 43px; text-align: center; - background: url('./normal.png'); + background: url('./未选.png'); background-size: 100% 100%; + margin-right: 10px; } .active { width: 111px; height: 43px; text-align: center; - background: url('./actice.png') !important; + background: url('./高亮.png') !important; background-size: 100% 100% !important; } \ No newline at end of file diff --git a/src/components/tabs/normal.png b/src/components/tabs/normal.png deleted file mode 100644 index e724314..0000000 Binary files a/src/components/tabs/normal.png and /dev/null differ diff --git a/src/components/tabs/未选.png b/src/components/tabs/未选.png new file mode 100644 index 0000000..144bfff Binary files /dev/null and b/src/components/tabs/未选.png differ diff --git a/src/components/tabs/高亮.png b/src/components/tabs/高亮.png new file mode 100644 index 0000000..38c7a5f Binary files /dev/null and b/src/components/tabs/高亮.png differ diff --git a/src/router/index.js b/src/router/index.js index eb9ac57..3d07fd7 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -6,13 +6,19 @@ const routes = [ { path: '/', name: 'root', - redirect: '/capital' + redirect: '/resources' }, - // 首页 + // 资金 { path: '/capital', name: 'capital', component: () => import('@/views/capital/index.vue') + }, + // 资源 + { + path: '/resources', + name: 'resources', + component: () => import('@/views/resources/index.vue') } ]; diff --git a/src/views/capital/index.html b/src/views/capital/index.html index 6d41470..bf55124 100644 --- a/src/views/capital/index.html +++ b/src/views/capital/index.html @@ -1,6 +1,6 @@
-
+
diff --git a/src/views/resources/comps/buttom/1/data.js b/src/views/resources/comps/buttom/1/data.js new file mode 100644 index 0000000..4798bc8 --- /dev/null +++ b/src/views/resources/comps/buttom/1/data.js @@ -0,0 +1,62 @@ +export default [ + [ + { + show: false + }, + { + show: true, + name: '经营收入', + value: '716' + }, + { + show: true, + name: '投资收益', + value: '716' + }, + { + show: true, + name: '补助收入', + value: '716' + }, + { + show: true, + name: '其他收入', + value: '716' + }, + { + show: false + } + ], + [ + { + show: true, + name: '经营支出', + value: '716' + }, + { + show: true, + name: '税金及附加', + value: '716' + }, + { + show: true, + name: '管理费用', + value: '716' + }, + { + show: true, + name: '公益支出', + value: '716' + }, + { + show: true, + name: '其他支出', + value: '716' + }, + { + show: true, + name: '所得税费用', + value: '103' + } + ] +] \ No newline at end of file diff --git a/src/views/resources/comps/buttom/1/index.html b/src/views/resources/comps/buttom/1/index.html new file mode 100644 index 0000000..6d8e753 --- /dev/null +++ b/src/views/resources/comps/buttom/1/index.html @@ -0,0 +1,9 @@ +
+ + + + +
+ +
+
\ No newline at end of file diff --git a/src/views/resources/comps/buttom/1/index.js b/src/views/resources/comps/buttom/1/index.js new file mode 100644 index 0000000..7b2a5a9 --- /dev/null +++ b/src/views/resources/comps/buttom/1/index.js @@ -0,0 +1,18 @@ +import BlockValue from '@/components/value/index.vue'; +import data from './data.js'; +export default { + components: { + BlockValue + }, + data () { + return { + data + }; + }, + created () { + }, + mounted () { + }, + methods: { + } +}; diff --git a/src/views/resources/comps/buttom/1/index.scss b/src/views/resources/comps/buttom/1/index.scss new file mode 100644 index 0000000..fb1b8a3 --- /dev/null +++ b/src/views/resources/comps/buttom/1/index.scss @@ -0,0 +1,16 @@ +.buttom2 { + width: 960px; + + table { + width: 100%; + + tr { + width: 100%; + + td { + + width: 16.6%; + } + } + } +} \ No newline at end of file diff --git a/src/views/resources/comps/buttom/1/index.vue b/src/views/resources/comps/buttom/1/index.vue new file mode 100644 index 0000000..5ac9224 --- /dev/null +++ b/src/views/resources/comps/buttom/1/index.vue @@ -0,0 +1,4 @@ +