|
|
@@ -0,0 +1,205 @@
|
|
|
+<template>
|
|
|
+ <div class="display-card">
|
|
|
+ <a><img src=""></a>
|
|
|
+ <div class="content">
|
|
|
+ <div>
|
|
|
+ <h4>供应商</h4>
|
|
|
+ <p>111</p>
|
|
|
+ </div>
|
|
|
+ <div>
|
|
|
+ <h4>交易金额</h4>
|
|
|
+ <p>111</p>
|
|
|
+ </div>
|
|
|
+ <div>
|
|
|
+ <h4>询价单</h4>
|
|
|
+ <p>111</p>
|
|
|
+ </div>
|
|
|
+ <a class="enter">立即入驻</a>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+</template>
|
|
|
+<!--<script>
|
|
|
+ export default {
|
|
|
+ name: 'kind-category',
|
|
|
+ data () {
|
|
|
+ return {
|
|
|
+ activeKindId: 0
|
|
|
+ // kinds: {}
|
|
|
+ }
|
|
|
+ },
|
|
|
+ methods: {
|
|
|
+ showChildrenLayout (kind) {
|
|
|
+ if (!kind.leaf) {
|
|
|
+ this.activeKindId = kind.id
|
|
|
+ if (!kind.children) {
|
|
|
+ this.$emit('loadchild', kind.id)
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ hideChildrenLayout () {
|
|
|
+ this.activeKindId = null
|
|
|
+ }
|
|
|
+ },
|
|
|
+ computed: {
|
|
|
+ kinds () {
|
|
|
+ return this.$store.state.product.kind.kinds
|
|
|
+ },
|
|
|
+ kindsToShow () {
|
|
|
+ // 只显示前13个根类目
|
|
|
+ if (this.kinds.data) {
|
|
|
+ return this.kinds.data.slice(0, 13)
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+</script>-->
|
|
|
+<style lang="scss" scoped>
|
|
|
+ /*@import '~assets/scss/variables';
|
|
|
+ .kind-children .kind-children-layout{
|
|
|
+ padding: 15px 0 0 0;
|
|
|
+ }
|
|
|
+ .kind-category {
|
|
|
+ position: absolute;
|
|
|
+ width: 200px;
|
|
|
+ height: 477px;
|
|
|
+
|
|
|
+ .kind-main {
|
|
|
+ margin: 0;
|
|
|
+ padding: 0;
|
|
|
+ z-index: 10;
|
|
|
+
|
|
|
+ .kind-main-item {
|
|
|
+ height: 34.1px;
|
|
|
+ line-height: 34.1px;
|
|
|
+ padding: 0 10px 0 20px;
|
|
|
+ background: rgba(80, 120, 203, 0.9);
|
|
|
+ display: block;
|
|
|
+
|
|
|
+ > a {
|
|
|
+ color: #fff;
|
|
|
+
|
|
|
+ > .iconfont {
|
|
|
+ opacity: 0;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ &.item-more {
|
|
|
+ background-color: #4c66bb;
|
|
|
+ font-weight: bold;
|
|
|
+ font-size: 12px;
|
|
|
+ }
|
|
|
+
|
|
|
+ &.active,&:hover {
|
|
|
+ background-color: #a0b2eb;
|
|
|
+
|
|
|
+ > a {
|
|
|
+ font-weight: bold;
|
|
|
+
|
|
|
+ > .iconfont {
|
|
|
+ opacity: 1;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ .kind-children {
|
|
|
+ position: absolute;
|
|
|
+ top: 0;
|
|
|
+ left: 200px;
|
|
|
+ z-index: 9;
|
|
|
+ box-shadow: 1px 0 3px #666;
|
|
|
+
|
|
|
+ .kind-children-layout {
|
|
|
+ background-color: #fff;
|
|
|
+ width: 990px;
|
|
|
+ height: 477px;
|
|
|
+ font-size: 12px;
|
|
|
+ overflow-y: auto;
|
|
|
+ a {
|
|
|
+ color: #000;
|
|
|
+ }
|
|
|
+ a:hover {
|
|
|
+ color: #ff0006;
|
|
|
+ }
|
|
|
+ .kind-children-item-wrap {
|
|
|
+ height: 100%;
|
|
|
+ width: 100%;
|
|
|
+
|
|
|
+ .kind-children-item {
|
|
|
+ margin-bottom: $md-pad;
|
|
|
+
|
|
|
+ dt {
|
|
|
+ span {
|
|
|
+ width: 90%;
|
|
|
+ display: inline-block;
|
|
|
+ font-weight: bold;
|
|
|
+ overflow: hidden;
|
|
|
+ clear: left;
|
|
|
+ text-align: right;
|
|
|
+ text-overflow: ellipsis;
|
|
|
+ white-space: nowrap;
|
|
|
+ }
|
|
|
+ i{
|
|
|
+ font-size: 12px;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ dd {
|
|
|
+ ul {
|
|
|
+ margin: 0;
|
|
|
+ padding: 0;
|
|
|
+
|
|
|
+ li {
|
|
|
+ border-left: $border;
|
|
|
+ margin-bottom: $pad;
|
|
|
+
|
|
|
+ span {
|
|
|
+ margin: 0 $sm-pad;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }*/
|
|
|
+ .display-card{
|
|
|
+ position: absolute;
|
|
|
+ width: 144px;
|
|
|
+ height: 517px;
|
|
|
+ border: 1px solid black;
|
|
|
+ a{
|
|
|
+
|
|
|
+ }
|
|
|
+ .content{
|
|
|
+ width: 130px;
|
|
|
+ height: 499px;
|
|
|
+ border-radius: 63px;
|
|
|
+ background: blue;
|
|
|
+ div{
|
|
|
+ height: 110px;
|
|
|
+ h4{
|
|
|
+ width: 100%;
|
|
|
+ text-align: center;
|
|
|
+ font-size: 18px;
|
|
|
+ color: #fff000;
|
|
|
+ font-family: MicrosoftYaHei-Bold;
|
|
|
+ }
|
|
|
+ p{
|
|
|
+ width: 100%;
|
|
|
+ text-align: center;
|
|
|
+ font-size: 26px;
|
|
|
+ color: #fff;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .enter{
|
|
|
+ display: inline-block;
|
|
|
+ font-family: FZSKJW--GB1-0;
|
|
|
+ font-size: 25px;
|
|
|
+ color: #ffffff;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+</style>
|