添加门店选购商品页面
This commit is contained in:
71
unpackage/dist/dev/mp-weixin/components/cate-one/cate-one.wxss
vendored
Normal file
71
unpackage/dist/dev/mp-weixin/components/cate-one/cate-one.wxss
vendored
Normal file
@ -0,0 +1,71 @@
|
||||
@charset "UTF-8";
|
||||
/**
|
||||
* 这里是uni-app内置的常用样式变量
|
||||
*
|
||||
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
|
||||
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
|
||||
*
|
||||
*/
|
||||
/**
|
||||
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
|
||||
*
|
||||
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
|
||||
*/
|
||||
/* 颜色变量 */
|
||||
/* 行为相关颜色 */
|
||||
.cate {
|
||||
position: relative;
|
||||
}
|
||||
.cate-one {
|
||||
height: calc(100vh - 94rpx - 0px - 0px);
|
||||
}
|
||||
.cate-one .aside {
|
||||
width: 180rpx;
|
||||
flex: none;
|
||||
height: 100%;
|
||||
background-color: #F7F8FA;
|
||||
}
|
||||
.cate-one .aside .one-item {
|
||||
position: relative;
|
||||
text-align: center;
|
||||
height: 108rpx;
|
||||
line-height: 108rpx;
|
||||
}
|
||||
.cate-one .aside .one-item.active {
|
||||
color: #254062;
|
||||
font-size: 26rpx;
|
||||
font-weight: bold;
|
||||
}
|
||||
.cate-one .aside .one-item .active-line {
|
||||
position: absolute;
|
||||
width: 6rpx;
|
||||
height: 30rpx;
|
||||
left: 4rpx;
|
||||
top: 50%;
|
||||
-webkit-transform: translateY(-50%);
|
||||
transform: translateY(-50%);
|
||||
}
|
||||
.cate-one .main {
|
||||
background-color: #FFFAFB;
|
||||
height: 100%;
|
||||
flex: 1;
|
||||
}
|
||||
.cate-one .main .main-wrap {
|
||||
position: relative;
|
||||
padding: 0 20rpx 120rpx;
|
||||
}
|
||||
.cate-one .main .main-wrap .info {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
margin: 0 16rpx;
|
||||
}
|
||||
.buy {
|
||||
position: absolute;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: calc( 20rpx + env(safe-area-inset-bottom));
|
||||
height: 100rpx;
|
||||
background-color: #212526;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user