Commit 71766352 authored by 786817560's avatar 786817560

'tab间距微调'

parent c86172f3
<!--
* @Description: 详情tab
* @Author: your name
* @Date: 2019-09-25 19:47:59
* @LastEditTime: 2019-11-08 17:00:06
* @LastEditors: Please set LastEditors
-->
<template> <template>
<div class="tab-style"> <div class="tab-style">
<div :class="{'tab-content-bg':tabNum == 0}" class="tab-content" @click="tabNum = 0;sendTabNum()"><img :src="tabNum == 0?base:unbase"><span <div :class="{'tab-content-bg':tabNum == 0}" class="tab-content" @click="tabNum = 0;sendTabNum()"><img :src="tabNum == 0?base:unbase"><span
...@@ -62,7 +55,6 @@ export default { ...@@ -62,7 +55,6 @@ export default {
display: flex; display: flex;
justify-content: center; justify-content: center;
align-items: center; align-items: center;
span { span {
margin-left: 2%; margin-left: 2%;
font-size: 14px; font-size: 14px;
...@@ -85,7 +77,14 @@ export default { ...@@ -85,7 +77,14 @@ export default {
} }
.tab-content:nth-of-type(2) { .tab-content:nth-of-type(2) {
margin-left: 7px; margin: 0 8px;
}
.tab-content:nth-of-type(1) {
margin-left: 10px
}
.tab-content:nth-of-type(3) {
margin-right: 10px
} }
} }
</style> </style>
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