refactor: 用户列表页面优化
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<view class="home-page">
|
||||
<view class="page">
|
||||
<!-- 轮播图 -->
|
||||
<view class="hero">
|
||||
<wd-swiper
|
||||
@@ -19,7 +19,7 @@
|
||||
v-for="(item, index) in quickNavList"
|
||||
:key="index"
|
||||
use-slot
|
||||
@click="handleNavClick(item)"
|
||||
@itemclick="handleNavClick(item)"
|
||||
>
|
||||
<view class="nav-item">
|
||||
<image class="nav-item__icon" :src="item.icon" />
|
||||
@@ -371,14 +371,9 @@ onReady(() => {
|
||||
|
||||
<style lang="scss" scoped>
|
||||
// ============================================================================
|
||||
// 页面容器
|
||||
// 轮播图
|
||||
// ============================================================================
|
||||
|
||||
.home-page {
|
||||
min-height: 100%;
|
||||
background-color: var(--color-bg-secondary);
|
||||
}
|
||||
|
||||
.hero {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user