文件
xionggeshop/xgsc.gynhc.com_wx/static/style/index.scss
2026-09-14 17:24:53 +08:00

96 行
1.8 KiB
SCSS

@import 'uview-ui/index.scss';
@import 'static/style/colorui.css';
@import 'static/font/shopro-icon.css';
@import 'uview-ui/iconfont.css';
/* 字体文件 */
@font-face {
font-family: OPPOSANS;
src: url('~@/static/font/OPPOSANS-M-subfont.ttf');
}
@font-face {
font-family: "wenyue";
src: url('https://baiwine.com/assets/fonts/WenYue-XinQingNianTi-NC-W8_1.otf');
}
@font-face {
font-family: 'neutra';
src: url('https://baiwine.com/assets/fonts/NeutraTextDemiAlt.otf');
}
.wenyue-font {
font-family: 'wenyue';
}
.neutra-font {
font-family: 'neutra';
}
.font-OPPOSANS {
font-family: OPPOSANS;
}
page {
-webkit-overflow-scrolling: touch; // ios滑动不流畅
height: 100%;
background: $brand-page-bg;
width: 100%;
font-size: 30rpx;
font-family: OPPOSANS;
word-break: break-all; //英文文本不换行
white-space: normal;
color: $u-main-color;
}
::-webkit-scrollbar {
width: 0;
height: 0;
color: transparent;
display: none;
}
.line-gold {
color: $brand-gold !important;
border-color: $brand-gold !important;
}
.tag-seal {
color: $brand-price !important;
border-color: $brand-price !important;
}
/* 全局页面布局 — 统一子页风格 */
.page_box {
background: $brand-page-bg !important;
}
.head_box {
background: $brand-page-bg;
}
.foot_box {
background: $brand-card-bg;
padding-bottom: constant(safe-area-inset-bottom);
padding-bottom: env(safe-area-inset-bottom);
box-shadow: 0 -2rpx 12rpx rgba(0, 0, 0, 0.04);
}
.brand-subpage-footer {
padding-bottom: constant(safe-area-inset-bottom);
padding-bottom: env(safe-area-inset-bottom);
}
.brand-page {
min-height: 100%;
background: $brand-page-bg;
}
.brand-card {
background: $brand-card-bg;
border-radius: $brand-card-radius;
box-shadow: $brand-shadow;
}
.brand-page-content {
padding: 0 $brand-page-gutter;
box-sizing: border-box;
}