mirror of
https://gitee.com/zongzhige/shopxo.git
synced 2024-11-30 10:59:47 +08:00
480 lines
12 KiB
Plaintext
Executable File
480 lines
12 KiB
Plaintext
Executable File
/* 框架样式覆盖 */
|
|
.a-textarea-control textarea {
|
|
font-size: 12px;
|
|
}
|
|
button:after, button:before {
|
|
border: 0;
|
|
border-radius: 0;
|
|
}
|
|
|
|
/* 公共样式 */
|
|
page {
|
|
background: #f5f5f5;
|
|
color: #4a4a4a;
|
|
}
|
|
page, textarea {
|
|
font-size: 28rpx;
|
|
}
|
|
|
|
input[type="text"],
|
|
input[type="number"],
|
|
input[type="idcard"],
|
|
input[type="digit"],
|
|
textarea {
|
|
-webkit-appearance: none;
|
|
border-radius: 5px;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
/* 导航分割 */
|
|
.spacing-nav-title {
|
|
position: relative;
|
|
color: #d2364c;
|
|
text-align: center;
|
|
background-color: #ffffff;
|
|
height: 80rpx;
|
|
line-height: 80rpx;
|
|
}
|
|
.spacing-nav-title .line {
|
|
display: inline-block;
|
|
width: 50%;
|
|
height: 1px;
|
|
background: #d2364c;
|
|
position: absolute;
|
|
left: 50%;
|
|
top: 50%;
|
|
-webkit-transform: translate(-50%,-50%);
|
|
-ms-transform: translate(-50%,-50%);
|
|
transform: translate(-50%,-50%);
|
|
}
|
|
.spacing-nav-title .text-wrapper {
|
|
position: relative;
|
|
display: inline-block;
|
|
padding: 0 8px;
|
|
background-color: #ffffff;
|
|
font-size: 36rpx;
|
|
font-weight: bold;
|
|
}
|
|
|
|
/* 模块分割间距 */
|
|
.spacing { padding-top: 20rpx; }
|
|
.spacing-10 { padding-top: 10rpx; }
|
|
.spacing-mb { margin-bottom: 20rpx; }
|
|
.spacing-mt { margin-top: 20rpx; }
|
|
|
|
.drift { position: fixed; left: -1000px; }
|
|
.nav-submit-fixed { background: #eee; height: 46px; position: fixed; bottom: 0; z-index: 10; }
|
|
|
|
.tips { background: #ffffeb; color: #f7b240; border: 1px solid #faebd2; line-height: 38rpx; padding: 10rpx; font-size: 26rpx; border-radius: 2px; display: block; }
|
|
.tips image { width: 35rpx; height: 35rpx; vertical-align: middle; margin-right: 10rpx; }
|
|
|
|
.data-loding image { width: 60px; height: 60px; background-size: 80% 80% !important; }
|
|
|
|
|
|
/* 边框 */
|
|
.br { border: solid 1px #efefef; }
|
|
.br-b { border-bottom: solid 1px #efefef; }
|
|
.br-t { border-top: solid 1px #efefef; }
|
|
.br-l { border-left: solid 1px #efefef; }
|
|
.br-r { border-right: solid 1px #efefef; }
|
|
|
|
/* 虚线边框 */
|
|
.br-dashed { border: dashed 1px #efefef; }
|
|
.br-b-dashed { border-bottom: dashed 1px #efefef; }
|
|
.br-t-dashed { border-top: dashed 1px #efefef; }
|
|
.br-l-dashed { border-left: dashed 1px #efefef; }
|
|
.br-r-dashed { border-right: dashed 1px #efefef; }
|
|
|
|
/* 箭头符号 */
|
|
.arrow-right { background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAA+klEQVRYR+3WsWrDMBAG4P/eotCQLlk73UGfq6O3BgLNEsg7JQQPZ7ADfos8gAeBijYTAsnpREJBXmX0f/7RCRNe/NCL81EBtYH/1YCq/gK4iMiu1PSYGlDVloi+AOyZ+bsEwgQYx/FtmqYDgFUphAmQvniOiDFuRaTxNGEGlEZkAWaIFsCHp4lsQEIMw7AIIRw9CBfgGgFgzcw/ljPhBtxoohGR7aOIIoC+799DCCciWsYYnwvwhKeWXA14w12AEuHZgFLhWYCS4WbAPDxn5m+NpukQquqZiD49V+81wgToum6TfkiYef/oRXPvPRPg3mY56xVQG6gN/AEiuagh/yEjYQAAAABJRU5ErkJggg=='); background-size: 18px 18px; background-repeat: no-repeat; background-position: center right; }
|
|
|
|
|
|
/* 常用样式 */
|
|
.fl { float: left; }
|
|
.fr { float: right; }
|
|
.bg-white { background-color: #fff; }
|
|
.wh-auto { width: 100%; }
|
|
.ht-auto { height: 100%; }
|
|
.tc { text-align: center; }
|
|
.tl { text-align: left; }
|
|
.tr { text-align: right; }
|
|
.oh { overflow: hidden; }
|
|
.dis-none { display: none; }
|
|
.dis-block { display: block; }
|
|
|
|
.cr-main { color: #d2364c; }
|
|
.cr-666 { color: #666; }
|
|
.cr-888 { color: #888; }
|
|
.cr-ccc { color: #ccc; }
|
|
.cr-fff { color: #fff; }
|
|
|
|
.my-btn-default{
|
|
font-size: 38rpx;
|
|
color: #fff !important;
|
|
border: none !important;
|
|
background-color:#d2364c !important;
|
|
border-radius: 2px;
|
|
}
|
|
.my-btn-default.btn-disabled{
|
|
background-color: #a6a6a6 !important;
|
|
color: #fff !important;
|
|
}
|
|
.my-btn-gray{
|
|
font-size: 30rpx;
|
|
color: #fff !important;
|
|
border: none !important;
|
|
background-color:#a6a6a6 !important;
|
|
border-radius: 2px;
|
|
}
|
|
|
|
/* 文字超出部分使用省略号 */
|
|
.single-text {
|
|
-o-text-overflow: ellipsis;
|
|
text-overflow: ellipsis;
|
|
overflow: hidden;
|
|
white-space: nowrap;
|
|
max-width: 100%;
|
|
}
|
|
.multi-text {
|
|
max-width: 100%;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
display: -webkit-box;
|
|
-webkit-line-clamp: 2;
|
|
-webkit-box-orient: vertical;
|
|
}
|
|
|
|
|
|
/* 没有数据状态/处理错误/加载中 */
|
|
.no-data-box {
|
|
padding: 80rpx 0;
|
|
}
|
|
.no-data-box image {
|
|
width: 160rpx;
|
|
margin-bottom: 30rpx;
|
|
}
|
|
.no-data-box .no-data-tips {
|
|
font-size: 28rpx;
|
|
color: #a6a6a6;
|
|
}
|
|
.no-data-loding {
|
|
padding-top: 15%;
|
|
padding-bottom: 10px;
|
|
}
|
|
|
|
/* 底线 */
|
|
.data-bottom-line{
|
|
padding: 40rpx;
|
|
overflow: hidden;
|
|
}
|
|
.data-bottom-line view {
|
|
width: 33.3%;
|
|
}
|
|
.data-bottom-line .left, .data-bottom-line .right{
|
|
margin-top: 5px;
|
|
border-bottom: 1px solid #e1e1e1;
|
|
}
|
|
.data-bottom-line .msg{
|
|
color: #999;
|
|
text-align: center;
|
|
font-size: 24rpx;
|
|
}
|
|
|
|
/* 业务公共 */
|
|
.copyright {
|
|
color: #a5a5a5;
|
|
text-align: center;
|
|
padding: 20rpx 0;
|
|
}
|
|
.copyright .text {
|
|
font-size: 26rpx;
|
|
font-weight: 400;
|
|
}
|
|
|
|
.sales-price {
|
|
color: #f40;
|
|
font-weight: bold;
|
|
font-size: 32rpx;
|
|
}
|
|
.original-price {
|
|
color: #888;
|
|
font-size: 26rpx;
|
|
text-decoration: line-through;
|
|
margin-left: 10rpx;
|
|
}
|
|
|
|
.submit-fixed {
|
|
position: fixed;
|
|
left: 0;
|
|
bottom: 0;
|
|
background: #d2364c !important;
|
|
color: #fff !important;
|
|
border: none;
|
|
width: 100%;
|
|
}
|
|
|
|
.bg-main, .bg-primary, .bg-warning {
|
|
color: #fff !important;
|
|
border: 0;
|
|
font-size: 34rpx;
|
|
}
|
|
.bg-main {
|
|
background-color: #d2364c !important;
|
|
}
|
|
.bg-primary {
|
|
background-color: #ed6977 !important;
|
|
}
|
|
.bg-warning {
|
|
background-color: #F37B1D !important;
|
|
}
|
|
.bg-active-main {
|
|
background-color: #d2364c !important;
|
|
color: #fff !important;
|
|
}
|
|
|
|
.submit-bottom {
|
|
height: 85rpx;
|
|
line-height: 85rpx;
|
|
font-size: 32rpx;
|
|
border-radius: 0;
|
|
}
|
|
button[disabled].bg-main {
|
|
background-color: #fbe0e5 !important;
|
|
color: #f7b6c2 !important;
|
|
}
|
|
button[disabled].bg-warning {
|
|
background-color: #ffcda6 !important;
|
|
color: #fdae70 !important;
|
|
}
|
|
button[disabled].bg-primary {
|
|
background-color: #ffd2d7 !important;
|
|
color: #ffa0ab !important;
|
|
}
|
|
|
|
.nav-back {
|
|
position: fixed;
|
|
left: 0;
|
|
bottom: 10%;
|
|
}
|
|
|
|
/*
|
|
滚动标签高度
|
|
*/
|
|
.scroll-box {
|
|
height: 100vh;
|
|
}
|
|
|
|
/*
|
|
分享组建样式
|
|
*/
|
|
.share-popup {
|
|
padding: 20rpx 10rpx 0 10rpx;
|
|
position: relative;
|
|
}
|
|
.share-popup .close {
|
|
position: absolute;
|
|
top: 20rpx;
|
|
right: 20rpx;
|
|
z-index: 2;
|
|
}
|
|
.share-popup-content {
|
|
padding: 0 20rpx;
|
|
margin-top: 40rpx;
|
|
text-align: left;
|
|
}
|
|
.share-popup-content .share-items {
|
|
padding: 30rpx 0;
|
|
height: 85rpx;
|
|
}
|
|
.share-popup-content .share-items:not(:first-child) {
|
|
border-top: 1px solid #f0f0f0;
|
|
}
|
|
.share-popup-content .share-items button {
|
|
background: transparent;
|
|
padding: 0;
|
|
width: 100%;
|
|
text-align: left;
|
|
margin: 0;
|
|
}
|
|
.share-popup-content .share-items image {
|
|
width: 80rpx;
|
|
height: 80rpx;
|
|
vertical-align: middle;
|
|
margin-right: 20rpx;
|
|
}
|
|
.share-popup-content .share-items .single-text {
|
|
width: calc(100% - 100rpx);
|
|
line-height: 85rpx;
|
|
}
|
|
|
|
/**
|
|
* 快捷导航
|
|
*/
|
|
.common-quick-nav {
|
|
border: 0;
|
|
padding: 15rpx;
|
|
background: rgba(0, 0, 0, 0.6);
|
|
position: fixed;
|
|
right: 10rpx;
|
|
border-radius: 50%;
|
|
width: 90rpx;
|
|
height: 90rpx;
|
|
z-index: 1;
|
|
}
|
|
.common-quick-nav image {
|
|
width: 60rpx;
|
|
height: 60rpx;
|
|
}
|
|
|
|
/**
|
|
* 在线客服
|
|
*/
|
|
.common-online-service {
|
|
bottom: 35%;
|
|
}
|
|
|
|
/**
|
|
* 表单
|
|
*/
|
|
.form-container .form-gorup {
|
|
padding: 20rpx 10rpx;
|
|
margin-bottom: 20rpx;
|
|
}
|
|
.form-container .form-gorup-title {
|
|
margin-bottom: 5rpx;
|
|
font-weight: 500;
|
|
}
|
|
.form-container .form-group-tips,
|
|
.form-container .form-group-tips-must {
|
|
margin-left: 20rpx;
|
|
font-size: 24rpx;
|
|
color: #ccc;
|
|
}
|
|
.form-container .form-group-tips-must {
|
|
color: #f00;
|
|
}
|
|
.form-container .form-gorup input,
|
|
.form-container .form-gorup textarea,
|
|
.form-container .form-gorup .picker {
|
|
border-radius: 0;
|
|
width: 100%;
|
|
box-sizing: border-box;
|
|
padding: 0 10rpx;
|
|
font-size: 28rpx;
|
|
}
|
|
.form-container .form-gorup input,
|
|
.form-container .form-gorup .picker {
|
|
height: 70rpx;
|
|
line-height: 70rpx;
|
|
}
|
|
.form-container .form-gorup textarea {
|
|
padding: 0;
|
|
min-height: 70rpx;
|
|
}
|
|
.form-container .form-gorup-text {
|
|
padding: 20rpx 10rpx;
|
|
}
|
|
|
|
/**
|
|
* 表单图片上传
|
|
*/
|
|
.form-container-upload .form-upload-data .item {
|
|
padding: 10rpx;
|
|
position: relative;
|
|
}
|
|
.form-container-upload .form-upload-data .delete-icon {
|
|
position: absolute;
|
|
top: 15rpx;
|
|
right: 15rpx;
|
|
color: #e5e5e5;
|
|
background-color: #d9534f;
|
|
padding: 5rpx 18rpx;
|
|
font-size: 30rpx;
|
|
border-style: solid;
|
|
border-width: 0 0 1px 1px;
|
|
border-color: #eee;
|
|
}
|
|
.form-container-upload .form-upload-data image {
|
|
width: 200rpx;
|
|
height: 200rpx;
|
|
padding: 5rpx;
|
|
border: 1px solid #eee;
|
|
display: block;
|
|
}
|
|
.form-container-upload .upload-icon {
|
|
margin: 10rpx 0 0 10rpx;
|
|
width: 210rpx;
|
|
height: 210rpx;
|
|
border: 1px dashed #e9e9e9;
|
|
}
|
|
|
|
|
|
/*
|
|
* 优惠劵 - 插件
|
|
*/
|
|
.coupon-container {
|
|
padding: 0 10rpx;
|
|
}
|
|
.coupon-container .item {
|
|
overflow: hidden;
|
|
height: 180rpx;
|
|
border: 1px solid #D2364C;
|
|
}
|
|
.coupon-container .v-left {
|
|
width: calc(100% - 140rpx);
|
|
padding: 30rpx 0 30rpx 20rpx;
|
|
box-sizing:border-box;
|
|
-moz-box-sizing:border-box;
|
|
-webkit-box-sizing:border-box;
|
|
}
|
|
.coupon-container .v-left .base {
|
|
color: #D2364C;
|
|
}
|
|
.coupon-container .v-left .base .symbol {
|
|
font-family: Verdana, Tahoma;
|
|
font-size: 48rpx;
|
|
font-weight: 400;
|
|
}
|
|
.coupon-container .v-left .base .price {
|
|
font-weight: 700;
|
|
font-family: arial;
|
|
font-size: 76rpx;
|
|
}
|
|
.coupon-container .v-left .base .desc {
|
|
margin-left: 20rpx;
|
|
}
|
|
.coupon-container .v-left base-tips, .coupon-container .v-left .base-time {
|
|
margin-top: 10rpx;
|
|
}
|
|
.coupon-container .v-right {
|
|
background: #d2364c;
|
|
width: 140rpx;
|
|
height: 180rpx;
|
|
color: #fff;
|
|
font-weight: 500;
|
|
position: relative;
|
|
text-align: center;
|
|
}
|
|
.coupon-container .v-right:before {
|
|
content: '';
|
|
display: inline-block;
|
|
height: 100%;
|
|
vertical-align: middle;
|
|
}
|
|
.coupon-container .v-right .circle {
|
|
display: block;
|
|
position: absolute;
|
|
left: -1px;
|
|
top: -3px;
|
|
width: 3px;
|
|
height: 180rpx;
|
|
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAACpCAYAAADur4c3AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA3NpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNS1jMDE0IDc5LjE1MTQ4MSwgMjAxMy8wMy8xMy0xMjowOToxNSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj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ZswrmnA1AzAXiaJPhHC1k58BNQ3bBTGTOR2QD/iJzFsH8Mw/kHxBHggzn2KA7BxzWyC5Yisz5imwACmc2LLY7QbEN4nCS4ZwAIGZFds5lUEpEdsF6nKn3PTJnAsiAV0BcBsSM5GamFCDmQXYOOJ8iu2Anzrz9HKU8ABlwDYgTKcnbo0XNaFEzWtQgipqOYVLUAAQYAKPWa4c8cIHnAAAAAElFTkSuQmCC) no-repeat;
|
|
}
|
|
.coupon-container .item-disabled .v-right {
|
|
background: #dfdfdf !important;
|
|
color: #c0c0c0 !important;
|
|
cursor: no-drop !important;
|
|
}
|
|
.coupon-container .item-disabled {
|
|
border: 1px solid #dfdfdf !important;
|
|
} |