Skip to content

Commit 208adb3

Browse files
author
zhangguohua
committed
update: 更新 subnvue 样式.
1 parent 61f2280 commit 208adb3

1 file changed

Lines changed: 20 additions & 2 deletions

File tree

‎pages/API/subnvue/subnvue/drawer.nvue‎

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<template>
22
<div class="wrapper">
3-
<text style="color: #8f8f94; margin-bottom: 40upx;">左侧列表</text>
4-
<list style="height: 450upx;">
3+
<text class="nav-text">左侧列表</text>
4+
<list class="list-wrapper">
55
<cell v-for="item in lists" :key="item.id">
66
<div class="text-wrapper" @click="clickitem(item.id)">
77
<text style="font-size: 30upx; ">{{item.name}}</text>
@@ -53,10 +53,28 @@
5353
<style>
5454
.wrapper {
5555
flex-direction: column;
56+
flex: 1;
5657
text-align: center;
5758
padding: 60upx 0upx 0upx 20upx;
5859
background-color: #F4F5F6;
5960
}
61+
.nav-text {
62+
color: #8f8f94;
63+
/* #ifndef APP-PLUS-NVUE */
64+
margin-bottom: 40px;
65+
/* #endif */
66+
/* #ifdef APP-PLUS-NVUE */
67+
margin-bottom: 40upx;
68+
/* #endif */
69+
}
70+
.list-wrapper {
71+
/* #ifdef APP-PLUS-NVUE */
72+
height: 450upx;
73+
/* #endif */
74+
/* #ifndef APP-PLUS-NVUE */
75+
height: 450px;
76+
/* #endif */
77+
}
6078
.text-wrapper {
6179
justify-content: center;
6280
border-bottom-style: solid;

0 commit comments

Comments
 (0)