a1300399510@qq.com 提交于 2023/03/29 -15:20:01
This commit is contained in:
parent
87895579f0
commit
45571c6f35
@ -107,6 +107,7 @@
|
||||
border-radius: 0.32rem;
|
||||
margin-top: 0.666667rem;
|
||||
filter: drop-shadow(0.05rem 0 0.09rem rgba(0, 0, 0, 0.1));
|
||||
margin: 0 0.35rem;
|
||||
}
|
||||
.allSections-left{
|
||||
width: 35%;
|
||||
|
@ -31,17 +31,19 @@
|
||||
<div class="setting-container" @click.stop>
|
||||
<div class="setting-title">设置收藏版块</div>
|
||||
<div class="setting-total">
|
||||
<div class="setting-num">共收藏<b> 5 </b>个版块</div>
|
||||
<div class="setting-num">共收藏<b> {{ list.length - 1 }} </b>个版块</div>
|
||||
<router-link to="/allSections" class="flexcenter setting-add">
|
||||
<svg-icon icon-class="settingAdd" class-name="setting-add-img"></svg-icon>添加
|
||||
</router-link>
|
||||
</div>
|
||||
<!-- 弹窗收藏版块内容 -->
|
||||
<div class="setting-sections">
|
||||
<div class="setting-item" v-for="(item, index) in list" :key="index"
|
||||
@click.stop="cancelFavoritesSection(index)">
|
||||
<div class="setting-item-title">{{ item.label }}</div>
|
||||
<div class="setting-star"></div>
|
||||
<div v-for="(item, index) in list" :key="index">
|
||||
<div v-if="index != 0" class="setting-item" @click.stop="cancelFavoritesSection(index)">
|
||||
<div class="setting-item-title">{{ item.label }}</div>
|
||||
<div class="setting-star"></div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<!-- 关闭弹窗 -->
|
||||
@ -138,7 +140,7 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import plateNavigation from '@/components/PlateNavigation.vue'
|
||||
import plateNavigation from '@/components/PlateNavigation'
|
||||
export default {
|
||||
name: "Collect",
|
||||
data() {
|
||||
@ -147,7 +149,11 @@ export default {
|
||||
collect: [1],
|
||||
settingShow: false, //弹窗显示
|
||||
settingStar: false,
|
||||
list: [ //版块
|
||||
list: [
|
||||
//版块
|
||||
{
|
||||
label: "全部",
|
||||
},
|
||||
{
|
||||
label: "香港留学",
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user