/** * 这里是uni-app内置的常用样式变量 * * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量 * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App * */ /** * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能 * * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件 */ /* 颜色变量 */ /* 行为相关颜色 */ /* 文字基本颜色 */ /* 背景颜色 */ /* 边框颜色 */ /* 尺寸变量 */ /* 文字尺寸 */ /* 图片尺寸 */ /* Border Radius */ /* 水平间距 */ /* 垂直间距 */ /* 透明度 */ /* 文章场景相关 */ /** * 这里是uni-app内置的常用样式变量 * * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量 * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App * */ /** * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能 * * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件 */ /* 颜色变量 */ /* 行为相关颜色 */ /* 文字基本颜色 */ /* 背景颜色 */ /* 边框颜色 */ /* 尺寸变量 */ /* 文字尺寸 */ /* 图片尺寸 */ /* Border Radius */ /* 水平间距 */ /* 垂直间距 */ /* 透明度 */ /* 文章场景相关 */ /* 修复 H5 端骨架屏样式异常 */ body[data-v-177b00bb] { height: 100%; overflow: hidden; } .viewport[data-v-177b00bb] { height: 100%; display: flex; flex-direction: column; } .search[data-v-177b00bb] { padding: 0.625rem 0.9375rem; background-color: #fff; } .search .input[data-v-177b00bb] { display: flex; align-items: center; justify-content: space-between; height: 2rem; padding-left: 0.8125rem; color: #8b8b8b; font-size: 0.875rem; border-radius: 1rem; background-color: #f3f4f4; } .icon-search[data-v-177b00bb]::before { margin-right: 0.3125rem; } /* 分类 */ .categories[data-v-177b00bb] { flex: 1; min-height: 12.5rem; display: flex; } /* 一级分类 */ .primary[data-v-177b00bb] { overflow: hidden; width: 5.625rem; flex: none; background-color: #f6f6f6; } .primary .item[data-v-177b00bb] { display: flex; justify-content: center; align-items: center; height: 3rem; font-size: 0.8125rem; color: #595c63; position: relative; } .primary .item[data-v-177b00bb]::after { content: ""; position: absolute; left: 1.3125rem; bottom: 0; width: 3rem; border-top: 0.03125rem solid #e3e4e7; } .primary .active[data-v-177b00bb] { background-color: #fff; } .primary .active[data-v-177b00bb]::before { content: ""; position: absolute; left: 0; top: 0; width: 0.25rem; height: 100%; background-color: #27ba9b; } .primary .item[data-v-177b00bb]:last-child::after, .primary .active[data-v-177b00bb]::after { display: none; } /* 二级分类 */ .secondary[data-v-177b00bb] { background-color: #fff; } .secondary .carousel[data-v-177b00bb] { height: 6.25rem; margin: 0 0.9375rem 0.625rem; border-radius: 0.125rem; overflow: hidden; } .secondary .panel[data-v-177b00bb] { margin: 0 0.9375rem 0; } .secondary .title[data-v-177b00bb] { height: 1.875rem; line-height: 1.875rem; color: #333; font-size: 0.875rem; border-bottom: 0.03125rem solid #f7f7f8; } .secondary .title .more[data-v-177b00bb] { float: right; padding-left: 0.625rem; font-size: 0.75rem; color: #999; } .secondary .more[data-v-177b00bb]::after { font-family: "erabbit" !important; content: "\e6c2"; } .secondary .section[data-v-177b00bb] { width: 100%; display: flex; flex-wrap: wrap; padding: 0.625rem 0; } .secondary .section .goods[data-v-177b00bb] { width: 4.6875rem; margin: 0 0.625rem 0.625rem 0; } .secondary .section .goods[data-v-177b00bb]:nth-child(3n) { margin-right: 0; } .secondary .section .goods .image[data-v-177b00bb] { width: 4.6875rem; height: 4.6875rem; } .secondary .section .goods .name[data-v-177b00bb] { padding: 0.15625rem; font-size: 0.6875rem; color: #333; } .secondary .section .goods .price[data-v-177b00bb] { padding: 0.15625rem; font-size: 0.5625rem; color: #cf4444; } .secondary .section .goods .number[data-v-177b00bb] { font-size: 0.75rem; margin-left: 0.0625rem; } .sk-transparent[data-v-177b00bb] { color: transparent !important; } .sk-text-14-2857-225[data-v-177b00bb] { background-image: linear-gradient(transparent 14.2857%, #eeeeee 0%, #eeeeee 85.7143%, transparent 0%) !important; background-size: 100% 1.225rem; position: relative !important; } .sk-text[data-v-177b00bb] { background-origin: content-box !important; background-clip: content-box !important; background-color: transparent !important; color: transparent !important; background-repeat: repeat-y !important; } .sk-text-14-2857-218[data-v-177b00bb] { background-image: linear-gradient(transparent 14.2857%, #eeeeee 0%, #eeeeee 85.7143%, transparent 0%) !important; background-size: 100% 1.1375rem; position: relative !important; } .sk-text-14-2857-495[data-v-177b00bb] { background-image: linear-gradient(transparent 14.2857%, #eeeeee 0%, #eeeeee 85.7143%, transparent 0%) !important; background-size: 100% 1.1375rem; position: relative !important; } .sk-text-14-2857-628[data-v-177b00bb] { background-image: linear-gradient(transparent 14.2857%, #eeeeee 0%, #eeeeee 85.7143%, transparent 0%) !important; background-size: 100% 1.1375rem; position: relative !important; } .sk-text-14-2857-163[data-v-177b00bb] { background-image: linear-gradient(transparent 14.2857%, #eeeeee 0%, #eeeeee 85.7143%, transparent 0%) !important; background-size: 100% 1.1375rem; position: relative !important; } .sk-text-14-2857-690[data-v-177b00bb] { background-image: linear-gradient(transparent 14.2857%, #eeeeee 0%, #eeeeee 85.7143%, transparent 0%) !important; background-size: 100% 1.1375rem; position: relative !important; } .sk-text-14-2857-302[data-v-177b00bb] { background-image: linear-gradient(transparent 14.2857%, #eeeeee 0%, #eeeeee 85.7143%, transparent 0%) !important; background-size: 100% 1.1375rem; position: relative !important; } .sk-text-14-2857-730[data-v-177b00bb] { background-image: linear-gradient(transparent 14.2857%, #eeeeee 0%, #eeeeee 85.7143%, transparent 0%) !important; background-size: 100% 1.1375rem; position: relative !important; } .sk-text-14-2857-584[data-v-177b00bb] { background-image: linear-gradient(transparent 14.2857%, #eeeeee 0%, #eeeeee 85.7143%, transparent 0%) !important; background-size: 100% 1.1375rem; position: relative !important; } .sk-text-14-2857-895[data-v-177b00bb] { background-image: linear-gradient(transparent 14.2857%, #eeeeee 0%, #eeeeee 85.7143%, transparent 0%) !important; background-size: 100% 1.1375rem; position: relative !important; } .sk-text-26-6667-885[data-v-177b00bb] { background-image: linear-gradient(transparent 26.6667%, #eeeeee 0%, #eeeeee 73.3333%, transparent 0%) !important; background-size: 100% 1.875rem; position: relative !important; } .sk-text-30-0000-892[data-v-177b00bb] { background-image: linear-gradient(transparent 30%, #eeeeee 0%, #eeeeee 70%, transparent 0%) !important; background-size: 100% 1.875rem; position: relative !important; } .sk-text-14-2857-648[data-v-177b00bb] { background-image: linear-gradient(transparent 14.2857%, #eeeeee 0%, #eeeeee 85.7143%, transparent 0%) !important; background-size: 100% 0.9625rem; position: relative !important; } .sk-opacity[data-v-177b00bb] { opacity: 0 !important; } .sk-text-14-2857-708[data-v-177b00bb] { background-image: linear-gradient(transparent 14.2857%, #eeeeee 0%, #eeeeee 85.7143%, transparent 0%) !important; background-size: 100% 1.05rem; position: relative !important; } .sk-text-14-2857-832[data-v-177b00bb] { background-image: linear-gradient(transparent 14.2857%, #eeeeee 0%, #eeeeee 85.7143%, transparent 0%) !important; background-size: 100% 0.9625rem; position: relative !important; } .sk-text-14-2857-349[data-v-177b00bb] { background-image: linear-gradient(transparent 14.2857%, #eeeeee 0%, #eeeeee 85.7143%, transparent 0%) !important; background-size: 100% 1.05rem; position: relative !important; } .sk-text-26-6667-486[data-v-177b00bb] { background-image: linear-gradient(transparent 26.6667%, #eeeeee 0%, #eeeeee 73.3333%, transparent 0%) !important; background-size: 100% 1.875rem; position: relative !important; } .sk-text-30-0000-520[data-v-177b00bb] { background-image: linear-gradient(transparent 30%, #eeeeee 0%, #eeeeee 70%, transparent 0%) !important; background-size: 100% 1.875rem; position: relative !important; } .sk-text-14-2857-582[data-v-177b00bb] { background-image: linear-gradient(transparent 14.2857%, #eeeeee 0%, #eeeeee 85.7143%, transparent 0%) !important; background-size: 100% 0.9625rem; position: relative !important; } .sk-text-14-2857-938[data-v-177b00bb] { background-image: linear-gradient(transparent 14.2857%, #eeeeee 0%, #eeeeee 85.7143%, transparent 0%) !important; background-size: 100% 1.05rem; position: relative !important; } .sk-text-14-2857-108[data-v-177b00bb] { background-image: linear-gradient(transparent 14.2857%, #eeeeee 0%, #eeeeee 85.7143%, transparent 0%) !important; background-size: 100% 0.9625rem; position: relative !important; } .sk-text-14-2857-564[data-v-177b00bb] { background-image: linear-gradient(transparent 14.2857%, #eeeeee 0%, #eeeeee 85.7143%, transparent 0%) !important; background-size: 100% 1.05rem; position: relative !important; } .sk-text-14-2857-507[data-v-177b00bb] { background-image: linear-gradient(transparent 14.2857%, #eeeeee 0%, #eeeeee 85.7143%, transparent 0%) !important; background-size: 100% 0.9625rem; position: relative !important; } .sk-text-14-2857-503[data-v-177b00bb] { background-image: linear-gradient(transparent 14.2857%, #eeeeee 0%, #eeeeee 85.7143%, transparent 0%) !important; background-size: 100% 1.05rem; position: relative !important; } .sk-text-14-2857-75[data-v-177b00bb] { background-image: linear-gradient(transparent 14.2857%, #eeeeee 0%, #eeeeee 85.7143%, transparent 0%) !important; background-size: 100% 0.9625rem; position: relative !important; } .sk-text-14-2857-965[data-v-177b00bb] { background-image: linear-gradient(transparent 14.2857%, #eeeeee 0%, #eeeeee 85.7143%, transparent 0%) !important; background-size: 100% 1.05rem; position: relative !important; } .sk-text-14-2857-71[data-v-177b00bb] { background-image: linear-gradient(transparent 14.2857%, #eeeeee 0%, #eeeeee 85.7143%, transparent 0%) !important; background-size: 100% 0.9625rem; position: relative !important; } .sk-text-14-2857-530[data-v-177b00bb] { background-image: linear-gradient(transparent 14.2857%, #eeeeee 0%, #eeeeee 85.7143%, transparent 0%) !important; background-size: 100% 1.05rem; position: relative !important; } .sk-text-14-2857-151[data-v-177b00bb] { background-image: linear-gradient(transparent 14.2857%, #eeeeee 0%, #eeeeee 85.7143%, transparent 0%) !important; background-size: 100% 0.9625rem; position: relative !important; } .sk-text-14-2857-641[data-v-177b00bb] { background-image: linear-gradient(transparent 14.2857%, #eeeeee 0%, #eeeeee 85.7143%, transparent 0%) !important; background-size: 100% 1.05rem; position: relative !important; } .sk-image[data-v-177b00bb] { background: #efefef !important; } .sk-pseudo[data-v-177b00bb]::before, .sk-pseudo[data-v-177b00bb]::after { background: #efefef !important; background-image: none !important; color: transparent !important; border-color: transparent !important; } .sk-pseudo-rect[data-v-177b00bb]::before, .sk-pseudo-rect[data-v-177b00bb]::after { border-radius: 0 !important; } .sk-pseudo-circle[data-v-177b00bb]::before, .sk-pseudo-circle[data-v-177b00bb]::after { border-radius: 50% !important; } .sk-container[data-v-177b00bb] { position: absolute; left: 0; top: 0; width: 100%; height: 100%; overflow: hidden; background-color: transparent; } /** * 这里是uni-app内置的常用样式变量 * * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量 * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App * */ /** * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能 * * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件 */ /* 颜色变量 */ /* 行为相关颜色 */ /* 文字基本颜色 */ /* 背景颜色 */ /* 边框颜色 */ /* 尺寸变量 */ /* 文字尺寸 */ /* 图片尺寸 */ /* Border Radius */ /* 水平间距 */ /* 垂直间距 */ /* 透明度 */ /* 文章场景相关 */ body { height: 100%; overflow: hidden; } .viewport { height: 100%; display: flex; flex-direction: column; } .search { padding: 0.625rem 0.9375rem; background-color: #fff; } .search .input { display: flex; align-items: center; justify-content: space-between; height: 2rem; padding-left: 0.8125rem; color: #8b8b8b; font-size: 0.875rem; border-radius: 1rem; background-color: #f3f4f4; } .icon-search::before { margin-right: 0.3125rem; } /* 分类 */ .categories { flex: 1; min-height: 12.5rem; display: flex; } /* 一级分类 */ .primary { overflow: hidden; width: 5.625rem; flex: none; background-color: #f6f6f6; } .primary .item { display: flex; justify-content: center; align-items: center; height: 3rem; font-size: 0.8125rem; color: #595c63; position: relative; } .primary .item::after { content: ""; position: absolute; left: 1.3125rem; bottom: 0; width: 3rem; border-top: 0.03125rem solid #e3e4e7; } .primary .active { background-color: #fff; } .primary .active::before { content: ""; position: absolute; left: 0; top: 0; width: 0.25rem; height: 100%; background-color: #27ba9b; } .primary .item:last-child::after, .primary .active::after { display: none; } /* 二级分类 */ .secondary { background-color: #fff; } .secondary .carousel { height: 6.25rem; margin: 0 0.9375rem 0.625rem; border-radius: 0.125rem; overflow: hidden; } .secondary .panel { margin: 0 0.9375rem 0; } .secondary .title { height: 1.875rem; line-height: 1.875rem; color: #333; font-size: 0.875rem; border-bottom: 0.03125rem solid #f7f7f8; } .secondary .title .more { float: right; padding-left: 0.625rem; font-size: 0.75rem; color: #999; } .secondary .more::after { font-family: "erabbit" !important; content: "\e6c2"; } .secondary .section { width: 100%; display: flex; flex-wrap: wrap; padding: 0.625rem 0; } .secondary .section .goods { width: 4.6875rem; margin: 0 0.625rem 0.625rem 0; } .secondary .section .goods:nth-child(3n) { margin-right: 0; } .secondary .section .goods .image { width: 4.6875rem; height: 4.6875rem; } .secondary .section .goods .name { padding: 0.15625rem; font-size: 0.6875rem; color: #333; } .secondary .section .goods .price { padding: 0.15625rem; font-size: 0.5625rem; color: #cf4444; } .secondary .section .goods .number { font-size: 0.75rem; margin-left: 0.0625rem; }