Commit 416e8515 by 杨北旺

修改精品升级菜单

1 parent 6748a9b4
......@@ -98,37 +98,29 @@
<div v-show="accountLevel != 4">
<ranking ref="myRanking" :product="productValueInfo.divisionMoney" :show="openRankFlag" @closeRank="toCloseRanking"></ranking>
</div>
<div class="box_bg_wrap">
<div class="tab_wrap">
<div class="tab_line flex_sc" :style="accountLevel == 4 ? 'width:32%' : 'width:32%'">
<!-- <div class="tab_line flex_sc" :style="accountLevel == 4 ? 'width:32%' : 'width:16%'"> -->
<template v-for="(item, index) in tabList">
<div :key="index" class="tab_element_wrap" :style="accountLevel == 4 ? 'width:50%' : 'width:50%'" @click="changeTab(index)">
<!-- <div :key="index" class="tab_element_wrap" :style="accountLevel == 4 ? 'width:50%' : 'width:100%'" @click="changeTab(index)"> -->
<div class="tab_item h13_title flex_cc" :class="curTabIndex == index ? 'tab_item_active' : ''">{{ item }}</div>
</div>
</template>
</div>
</div>
<template v-if="accountLevel == 4">
<!-- <template v-if="curTabIndex == 0">
<coupons-order></coupons-order>
</template> -->
<template v-if="curTabIndex == 0">
<upgrade-order></upgrade-order>
</template>
<template v-if="curTabIndex == 1">
<my-fashionable-order></my-fashionable-order>
</template>
</template>
<template v-if="accountLevel != 4">
<template v-if="curTabIndex == 0">
<upgrade-order :list="storeList"></upgrade-order>
</template>
<template v-if="curTabIndex == 1">
<my-fashionable-order :list="storeList"></my-fashionable-order>
</template>
</template>
<div class="new_tab_wrap">
<el-tabs v-model="curTabIndex" @tab-click="changeTab">
<el-tab-pane v-for="(item, index) in tabList" :key="index" :label="item" :name="index">
<div class="box_bg_wrap">
<template v-if="accountLevel == 4">
<template v-if="curTabIndex == 0">
<upgrade-order></upgrade-order>
</template>
<template v-if="curTabIndex == 1">
<my-fashionable-order></my-fashionable-order>
</template>
</template>
<template v-if="accountLevel != 4">
<template v-if="curTabIndex == 0">
<upgrade-order :list="storeList"></upgrade-order>
</template>
<template v-if="curTabIndex == 1">
<my-fashionable-order :list="storeList"></my-fashionable-order>
</template>
</template>
</div>
</el-tab-pane>
</el-tabs>
</div>
</div>
</template>
......@@ -305,7 +297,8 @@ export default {
this.dateplaceholder = '选择日期'
},
changeTab(index) {
this.curTabIndex = index
console.log(index)
// this.curTabIndex = index
},
toChangeShowMoreBtn(flag) {
this.showMore = !flag
......@@ -390,9 +383,17 @@ export default {
.box_bg_wrap {
width: 100%;
background: #ffffff;
padding-top: 20px;
// box-shadow: 0px 10px 20px 0px rgba(88, 80, 255, 0.1);
// margin-top: 17px;
}
.new_tab_wrap {
margin-top: 8px;
margin-bottom: 16px;
/deep/ .el-tabs__item{
font-size: 16px !important;
}
}
.mini_margin {
margin-top: 16px;
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!