分类页面完成

This commit is contained in:
2019-12-13 15:39:55 +08:00
parent fe792a22f5
commit df705f0ea7
17 changed files with 236 additions and 1 deletions

View File

@@ -0,0 +1,8 @@
Component({
properties: {
},
data: {
},
methods: {
}
})

View File

@@ -0,0 +1,6 @@
{
"component": true,
"usingComponents": {
}
}

View File

@@ -0,0 +1,20 @@
.navigation {
width: 188rpx;
// margin-right: 2rpx;
border-right: 2rpx solid #eaeaea;
max-height: 100vh;
view{
height: 97rpx;
font-size: 28rpx;
color: #333;
border-bottom: 2rpx solid #eaeaea;
line-height: 97rpx;
font-weight: bold;
text-align: center;
box-sizing: border-box;
}
.on{
border-left: 5rpx solid #56CC84;
color:#56CC84;
}
}

View File

@@ -0,0 +1,10 @@
<scroll-view class="navigation" scroll-y="{{true}}" >
<view class="on">热门商品</view>
<view>美容健身</view>
<view>美容健身</view>
<view>美容健身</view>
<view>美容健身</view>
<view>美容健身</view>
<view>美容健身</view>
<view>美容健身</view>
</scroll-view>

View File

@@ -0,0 +1 @@
.navigation{width:188rpx;border-right:2rpx solid #eaeaea;max-height:100vh}.navigation view{height:97rpx;font-size:28rpx;color:#333;border-bottom:2rpx solid #eaeaea;line-height:97rpx;font-weight:bold;text-align:center;box-sizing:border-box}.navigation .on{border-left:5rpx solid #56CC84;color:#56CC84}