178 lines
3.5 KiB
Plaintext
178 lines
3.5 KiB
Plaintext
@charset "UTF-8";
|
||
/**
|
||
* 这里是uni-app内置的常用样式变量
|
||
*
|
||
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
|
||
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
|
||
*
|
||
*/
|
||
/**
|
||
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
|
||
*
|
||
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
|
||
*/
|
||
/* 颜色变量 */
|
||
/* 行为相关颜色 */
|
||
/* 文字基本颜色 */
|
||
/* 背景颜色 */
|
||
/* 边框颜色 */
|
||
/* 尺寸变量 */
|
||
/* 文字尺寸 */
|
||
/* 图片尺寸 */
|
||
/* Border Radius */
|
||
/* 水平间距 */
|
||
/* 垂直间距 */
|
||
/* 透明度 */
|
||
/* 文章场景相关 */
|
||
.fix-titlenview-trans {
|
||
background: #f5f6f7;
|
||
}
|
||
.m-banner-ad {
|
||
width: 100%;
|
||
height: 300rpx;
|
||
background: rgba(0, 0, 0, 0);
|
||
opacity: 1;
|
||
position: relative;
|
||
}
|
||
.m-activity-info {
|
||
height: 140rpx;
|
||
background: #ffffff;
|
||
opacity: 1;
|
||
padding: 16rpx 24rpx;
|
||
}
|
||
.m-panel {
|
||
margin-top: 0;
|
||
}
|
||
.m-activity-title {
|
||
font-size: 30rpx;
|
||
font-family: PingFang SC;
|
||
font-weight: 400;
|
||
line-height: 42rpx;
|
||
color: #002951;
|
||
opacity: 1;
|
||
overflow: hidden;
|
||
text-overflow: ellipsis;
|
||
white-space: nowrap;
|
||
}
|
||
.m-activity-tips {
|
||
font-size: 20rpx;
|
||
font-family: PingFang SC;
|
||
font-weight: 400;
|
||
line-height: 28px;
|
||
color: #002951;
|
||
opacity: 0.6;
|
||
overflow: hidden;
|
||
text-overflow: ellipsis;
|
||
white-space: nowrap;
|
||
}
|
||
.m-activity-price {
|
||
font-size: 28rpx;
|
||
font-family: Arial;
|
||
font-weight: 400;
|
||
line-height: 28rpx;
|
||
color: #ff4142;
|
||
opacity: 1;
|
||
margin-top: 12rpx;
|
||
display: flex;
|
||
flex-direction: row;
|
||
flex-wrap: nowrap;
|
||
justify-content: space-between;
|
||
}
|
||
.m-footer-btn {
|
||
height: 100rpx;
|
||
width: 100%;
|
||
position: fixed;
|
||
bottom: 0;
|
||
left: 0;
|
||
background-color: #fff;
|
||
border-top: 1rpx solid #d5d5d5;
|
||
border-radius: 0;
|
||
z-index: 100;
|
||
}
|
||
.m-footer-btn-main {
|
||
width: 30%;
|
||
height: 100%;
|
||
float: left;
|
||
background-color: #f30213;
|
||
color: #fff;
|
||
line-height: 100rpx;
|
||
font-size: 32rpx;
|
||
text-align: center;
|
||
border-radius: 0;
|
||
}
|
||
.m-footer-btn-list {
|
||
width: 70%;
|
||
height: 100%;
|
||
position: relative;
|
||
float: left;
|
||
}
|
||
.m-footer-btn-item {
|
||
position: relative;
|
||
float: left;
|
||
width: 100%;
|
||
font-size: 24rpx;
|
||
color: #888;
|
||
line-height: 40rpx;
|
||
padding: 15rpx 0;
|
||
box-sizing: border-box;
|
||
height: 100%;
|
||
}
|
||
.m-cart-total {
|
||
text-align: right;
|
||
padding-right: 20rpx;
|
||
}
|
||
.m-cart-total text {
|
||
font-size: 36rpx;
|
||
color: #f30213;
|
||
}
|
||
.m-cart-total label {
|
||
color: #f30213;
|
||
}
|
||
.m-code {
|
||
padding: 20rpx;
|
||
display: flex;
|
||
justify-content: space-between;
|
||
}
|
||
/* 弹出层形式的广告 */
|
||
.uni-banner {
|
||
width: 70%;
|
||
height: 20%;
|
||
position: fixed;
|
||
left: 50%;
|
||
top: 50%;
|
||
border-radius: 10rpx;
|
||
z-index: 99;
|
||
-webkit-transform: translate(-50%, -50%);
|
||
transform: translate(-50%, -50%);
|
||
background: #ffffff;
|
||
}
|
||
.m-conter {
|
||
width: 100%;
|
||
height: 200rpx;
|
||
margin-top: 20rpx;
|
||
}
|
||
.m-canvas {
|
||
position: absolute !important;
|
||
/*重要的一步是设置绝对定位*/
|
||
margin: auto;
|
||
/*将四周边距都设为auto自动*/
|
||
left: 0;
|
||
/*离包含元素的距离均设为零*/
|
||
right: 0;
|
||
top: 0;
|
||
bottom: 0;
|
||
}
|
||
.tailfoli {
|
||
background: rgba(0, 0, 0, 0.6);
|
||
position: fixed;
|
||
width: 100%;
|
||
height: 100%;
|
||
left: 0;
|
||
top: 0;
|
||
z-index: 99;
|
||
}
|
||
.m-RichText {
|
||
background-color: #ffffff;
|
||
}
|
||
|