张雄 3 years ago
parent 0ffd5117f3
commit a14eec8ff1

@ -84,9 +84,9 @@
</div> </div>
</div> </div>
<!-- 选择品牌抽屉 --> <!-- 选择品牌抽屉 -->
<a-drawer :visible="visible" title="请选择品牌" @close="onClose" :drawerStyle="drawerStyle"> <a-drawer :bodyStyle="bodyStyle" :visible="visible" title="请选择品牌" @close="onClose" :drawerStyle="drawerStyle">
<div class="drawer"> <div class="drawer">
<a-anchor style="width: 15%" @click="anchorClick" :getContainer="()=>this.$refs.content" > <a-anchor style="width: 15%;height: 100%" @click="anchorClick" :getContainer="()=>this.$refs.content" >
<a-anchor-link v-for="(item, index) in letters" :key="index" :href="`#${item}`" :title="item"></a-anchor-link> <a-anchor-link v-for="(item, index) in letters" :key="index" :href="`#${item}`" :title="item"></a-anchor-link>
</a-anchor> </a-anchor>
<vue-scroll ref="vs"> <vue-scroll ref="vs">
@ -138,8 +138,8 @@ export default {
window: '', window: '',
// //
visible: false, visible: false,
drawerStyle: { bodyStyle: {
backgroud: 'blue'
} }
}; };
}, },

Loading…
Cancel
Save