You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
308 lines
5.5 KiB
308 lines
5.5 KiB
@charset "UTF-8";
|
|
/**
|
|
* 这里是uni-app内置的常用样式变量
|
|
*
|
|
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
|
|
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
|
|
*
|
|
*/
|
|
/**
|
|
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
|
|
*
|
|
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
|
|
*/
|
|
/* 颜色变量 */
|
|
/* 行为相关颜色 */
|
|
/* 文字基本颜色 */
|
|
/* 背景颜色 */
|
|
/* 边框颜色 */
|
|
/* 尺寸变量 */
|
|
/* 文字尺寸 */
|
|
/* 图片尺寸 */
|
|
/* Border Radius */
|
|
/* 水平间距 */
|
|
/* 垂直间距 */
|
|
/* 透明度 */
|
|
/* 文章场景相关 */
|
|
/**app.wxss**/
|
|
page, view, scroll-view, swiper, block, icon, text, rich-text, button, input, label, picker, picker-view, slider, textarea, navigator, image, video, map, video {
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
}
|
|
page {
|
|
background: #F6F6F6;
|
|
font-size: 32rpx;
|
|
}
|
|
image {
|
|
display: block;
|
|
}
|
|
.item, .item-forward {
|
|
background: #fff;
|
|
padding: 25rpx 90rpx 25rpx 25rpx;
|
|
position: relative;
|
|
line-height: 46rpx;
|
|
}
|
|
.item-forward::before {
|
|
content: '';
|
|
width: 20rpx;
|
|
height: 20rpx;
|
|
border-top: 2px solid #a9a9a9;
|
|
border-right: 2px solid #a9a9a9;
|
|
border-radius: 2px;
|
|
position: absolute;
|
|
top: 50%;
|
|
right: 35rpx;
|
|
-webkit-transform: rotate(45deg) translateY(-50%);
|
|
transform: rotate(45deg) translateY(-50%);
|
|
}
|
|
.item image, .item-forward image {
|
|
width: 46rpx;
|
|
height: 46rpx;
|
|
display: block;
|
|
margin-right: 10rpx;
|
|
position: relative;
|
|
}
|
|
.active {
|
|
background: #eee;
|
|
}
|
|
.row, .item, .item-forward, .coupons {
|
|
display: flex;
|
|
width: 100%;
|
|
}
|
|
.row-wrap {
|
|
flex-wrap: wrap;
|
|
}
|
|
.col, .coupons .left {
|
|
flex: 1;
|
|
display: block;
|
|
width: 100%;
|
|
}
|
|
.col-center {
|
|
height: 100%;
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
.float-r {
|
|
float: right;
|
|
}
|
|
.padding {
|
|
padding: 20rpx 25rpx;
|
|
}
|
|
.padding-t {
|
|
padding-top: 20rpx;
|
|
}
|
|
.padding-b {
|
|
padding-bottom: 20rpx;
|
|
}
|
|
.padding-l {
|
|
padding-left: 25rpx;
|
|
}
|
|
.padding-r {
|
|
padding-right: 25rpx;
|
|
}
|
|
.padding-tb {
|
|
padding-top: 20rpx;
|
|
padding-bottom: 20rpx;
|
|
}
|
|
.padding-lr {
|
|
padding-left: 25rpx;
|
|
padding-right: 25rpx;
|
|
}
|
|
.margin {
|
|
margin: 20rpx 25rpx;
|
|
}
|
|
.margin-t {
|
|
margin-top: 20rpx;
|
|
}
|
|
.margin-b {
|
|
margin-bottom: 20rpx;
|
|
}
|
|
.margin-tb {
|
|
margin-top: 20rpx;
|
|
margin-bottom: 20rpx;
|
|
}
|
|
.margin-lr {
|
|
margin-left: 25rpx;
|
|
margin-right: 25rpx;
|
|
}
|
|
.border, .border-t, .border-r, .border-b, .border-l {
|
|
position: relative;
|
|
}
|
|
.border {
|
|
border: .5px solid #eee;
|
|
}
|
|
.border-t::after, .border-r::after, .border-b::after, .border-l::after {
|
|
content: '';
|
|
position: absolute;
|
|
/*background: #eee;*/
|
|
background: linear-gradient(to top, #eee 0.7px, transparent 0.7px);
|
|
}
|
|
.border-t::after, .border-b::after {
|
|
height: 1px;
|
|
left: 25rpx;
|
|
right: 25rpx;
|
|
top: 0;
|
|
}
|
|
.border-b::after {
|
|
top: auto;
|
|
bottom: 0;
|
|
}
|
|
.border-l::after, .border-r::after {
|
|
width: 1px;
|
|
top: 0;
|
|
bottom: 0;
|
|
left: 0;
|
|
background: linear-gradient(to right, #eee 0.7px, transparent 0.7px);
|
|
}
|
|
.border-r::after {
|
|
left: auto;
|
|
right: 0;
|
|
}
|
|
.ellipsis-1 {
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
.bg {
|
|
background: #E74246;
|
|
}
|
|
.bg-ff {
|
|
background: #fff;
|
|
}
|
|
.color {
|
|
color: #E74246;
|
|
}
|
|
.color-00 {
|
|
color: #000;
|
|
}
|
|
.color-ff {
|
|
color: #fff;
|
|
}
|
|
.color-99, .icon_img_tip {
|
|
color: #999;
|
|
}
|
|
.color-6c {
|
|
color: #6c6c6c;
|
|
}
|
|
.text-right {
|
|
text-align: right;
|
|
}
|
|
.font-26 {
|
|
font-size: 26rpx;
|
|
}
|
|
.position-r {
|
|
position: relative;
|
|
}
|
|
page {
|
|
position: relative;
|
|
}
|
|
.map, map {
|
|
width: auto;
|
|
height: auto;
|
|
position: fixed;
|
|
left: 0;
|
|
top: 100px;
|
|
right: 0;
|
|
bottom: 210px;
|
|
}
|
|
.map {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
.header {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
height: 100px;
|
|
overflow: hidden;
|
|
}
|
|
.icon_search {
|
|
margin-top: 20rpx;
|
|
}
|
|
.btn {
|
|
line-height: 25px;
|
|
border-radius: 4rpx;
|
|
margin-top: -5rpx;
|
|
}
|
|
.footer {
|
|
position: fixed;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
height: 210px;
|
|
}
|
|
.foot-border {
|
|
border-bottom: 1px solid #eee;
|
|
line-height: 32rpx;
|
|
}
|
|
.foot-border .padding {
|
|
padding: 25rpx;
|
|
}
|
|
.foot-active {
|
|
color: #E74246;
|
|
position: relative;
|
|
}
|
|
.foot-active::after {
|
|
content: '';
|
|
position: absolute;
|
|
height: 2px;
|
|
background: #E74246;
|
|
border-radius: 2px;
|
|
bottom: 0;
|
|
width: 5em;
|
|
left: 50%;
|
|
-webkit-transform: translateX(-50%);
|
|
transform: translateX(-50%);
|
|
}
|
|
.scroll {
|
|
position: absolute;
|
|
left: 0;
|
|
right: 0;
|
|
top: 0;
|
|
bottom: 0;
|
|
}
|
|
.scroll .padding {
|
|
padding-right: 40px;
|
|
}
|
|
.scroll .icon_circle {
|
|
position: absolute;
|
|
right: 25rpx;
|
|
top: 50%;
|
|
-webkit-transform: translateY(-50%);
|
|
transform: translateY(-50%);
|
|
}
|
|
.icon_img_tip {
|
|
padding: 20rpx 0;
|
|
}
|
|
.icon-position {
|
|
position: relative;
|
|
top: 50%;
|
|
left: 50%;
|
|
width: 36px;
|
|
height: 36px;
|
|
-webkit-transform: translate(-50%, -50%);
|
|
transform: translate(-50%, -50%);
|
|
}
|
|
.icon-position .icon-img {
|
|
width: 36px;
|
|
height: 36px;
|
|
display: block;
|
|
position: fixed;
|
|
top: 100px;
|
|
left: 100px;
|
|
}
|
|
.icon-img {
|
|
width: 36px;
|
|
height: 36px;
|
|
display: block;
|
|
position: fixed;
|
|
top: 50%;
|
|
left: 50%;
|
|
-webkit-transform: translate(-50%, -50%);
|
|
transform: translate(-50%, -50%);
|
|
margin-top: -70px;
|
|
}
|
|
|
|
|