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.
608 lines
9.4 KiB
608 lines
9.4 KiB
$v-primary: #14c171;
|
|
$v-secondary: #ffa800;
|
|
$v-muted: #dddddd;
|
|
/* 字体引入 */
|
|
@font-face {
|
|
font-family: DIN Alternate;
|
|
src: url('/static/font/DIN Alternate Bold.ttf');
|
|
}
|
|
.number,
|
|
.number text,
|
|
.text {
|
|
font-family: DIN Alternate;
|
|
}
|
|
.fixed {
|
|
position: fixed;
|
|
}
|
|
.sticky {
|
|
position: sticky;
|
|
}
|
|
.fixedBottom {
|
|
left: 0;
|
|
bottom: 10px;
|
|
width: 100%;
|
|
z-index: 9;
|
|
}
|
|
.align-center {
|
|
align-items: center;
|
|
}
|
|
.text-primary {
|
|
color: $v-primary;
|
|
&:before {
|
|
color: $v-primary;
|
|
}
|
|
text {
|
|
color: $v-primary;
|
|
&:before {
|
|
color: $v-primary;
|
|
}
|
|
}
|
|
}
|
|
.text-secondary {
|
|
color: $v-secondary;
|
|
}
|
|
.text-muted {
|
|
color: $v-muted;
|
|
}
|
|
.v-primary-btn {
|
|
font-size: 12px;
|
|
height: 20px;
|
|
padding: 0 10px;
|
|
color: #fff;
|
|
line-height: 20px;
|
|
border-radius: 2px;
|
|
background-color: $v-primary;
|
|
border: 1px solid $v-primary;
|
|
}
|
|
.v-primary-btn.large {
|
|
font-size: 14px;
|
|
height: 40px;
|
|
padding: 0 10px;
|
|
color: #fff;
|
|
line-height: 40px;
|
|
border-radius: 40px;
|
|
background-color: $v-primary;
|
|
border: 1px solid $v-primary;
|
|
}
|
|
|
|
.v-secondary-btn {
|
|
display: inline-block;
|
|
padding: 0 10px;
|
|
color: $v-primary;
|
|
height: 30px;
|
|
font-size: 14px;
|
|
line-height: 30px;
|
|
border-radius: 30px;
|
|
background-color: #fff;
|
|
border: 1px solid $v-primary;
|
|
}
|
|
|
|
.v-primary-btn.circle {
|
|
border-radius: 20px;
|
|
}
|
|
// 页面 容器
|
|
.v-pages {
|
|
background-color: #f5f5f5;
|
|
}
|
|
// 页面 容器
|
|
.v-container {
|
|
padding: 0 16px;
|
|
}
|
|
|
|
// 首页 数据
|
|
.v-index-data {
|
|
margin-top: 50px;
|
|
padding: 10px;
|
|
border-radius: 10px;
|
|
background-color: #fff;
|
|
.v-list-item {
|
|
.name {
|
|
text-align: center;
|
|
}
|
|
.number {
|
|
font-size: 20px;
|
|
font-weight: 600;
|
|
text-align: center;
|
|
}
|
|
}
|
|
}
|
|
|
|
// 首页 导航
|
|
.v-index-nav {
|
|
.v-index-nav-item {
|
|
text-align: center;
|
|
.icon {
|
|
display: inline-block;
|
|
width: 50px;
|
|
height: 50px;
|
|
background-color: #999999;
|
|
}
|
|
.text {
|
|
text-align: center;
|
|
}
|
|
}
|
|
}
|
|
|
|
// 页面 筛选
|
|
.v-pages-filter {
|
|
position: sticky;
|
|
top: 0;
|
|
z-index: 99;
|
|
padding: 8px;
|
|
background-color: #fff;
|
|
|
|
.v-pages-select {
|
|
.v-select-item {
|
|
text-align: center;
|
|
font-size: 14px;
|
|
}
|
|
}
|
|
}
|
|
|
|
// 页面 列表
|
|
.v-pages-list {
|
|
padding-bottom: 40px;
|
|
.v-pages-list-item:not(:last-child) {
|
|
margin-bottom: 16px;
|
|
}
|
|
}
|
|
|
|
// 页面 卡片
|
|
.v-card {
|
|
position: relative;
|
|
padding: 16px 16px 10px 16px;
|
|
font-size: 14px;
|
|
background-color: #fff;
|
|
border-radius: 8px;
|
|
border-width: 1px;
|
|
border-style: solid;
|
|
border-color: transparent;
|
|
.v-card-select {
|
|
display: none;
|
|
position: absolute;
|
|
top: -1px;
|
|
right: -1px;
|
|
width: 16px;
|
|
height: 16px;
|
|
}
|
|
&.active {
|
|
box-shadow: 0 4px 10px 0 rgba(0, 0, 0, 0.05);
|
|
border-color: rgba(20, 193, 113, 1);
|
|
.v-card-select {
|
|
display: block;
|
|
}
|
|
}
|
|
|
|
.v-card-top {
|
|
padding-bottom: 4px;
|
|
|
|
.v-card-image {
|
|
width: 70px;
|
|
height: 70px;
|
|
border-radius: 5px;
|
|
}
|
|
.v-card-image.circle {
|
|
width: 50px;
|
|
height: 50px;
|
|
border-radius: 50px;
|
|
}
|
|
|
|
.v-card-info {
|
|
}
|
|
.v-card-code {
|
|
position: absolute;
|
|
right: -1px;
|
|
top: 15px;
|
|
padding: 3px 10px;
|
|
font-size: 13px;
|
|
font-weight: 300;
|
|
font-family: DIN Alternate;
|
|
color: $v-secondary;
|
|
background-color: rgba($v-secondary, 0.15);
|
|
border-radius: 10px 0 0 10px;
|
|
.iconfont::before {
|
|
font-size: 13px;
|
|
}
|
|
}
|
|
}
|
|
|
|
.v-card-bot {
|
|
position: relative;
|
|
margin-top: 8px;
|
|
padding-top: 10px;
|
|
|
|
&:before {
|
|
content: '';
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 1px;
|
|
background-color: rgba(0, 0, 0, 0.05);
|
|
}
|
|
}
|
|
|
|
.v-card-title {
|
|
align-items: center;
|
|
.name {
|
|
font-size: 16px;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.tip {
|
|
color: rgba(20, 193, 113, 1);
|
|
background-color: rgba(20, 193, 113, 0.1);
|
|
padding: 1px 16px;
|
|
border-radius: 30px;
|
|
}
|
|
}
|
|
|
|
.v-card-state {
|
|
align-items: center;
|
|
.state {
|
|
padding: 1px 10px;
|
|
font-size: 12px;
|
|
border-radius: 4px;
|
|
&.primary {
|
|
color: $v-primary;
|
|
background-color: rgba($v-primary, 0.1);
|
|
border: 1px solid rgba($v-primary, 0.1);
|
|
}
|
|
|
|
&.secondary {
|
|
color: $v-secondary;
|
|
background-color: rgba($v-secondary, 0.1);
|
|
border: 1px solid rgba($v-secondary, 0.1);
|
|
}
|
|
}
|
|
|
|
.state + .state {
|
|
margin-left: 8px;
|
|
}
|
|
}
|
|
}
|
|
.v-card-image {
|
|
width: 70px;
|
|
height: 70px;
|
|
border-radius: 5px;
|
|
}
|
|
|
|
.v-card-small-item {
|
|
&:not(:last-child) {
|
|
margin-bottom: 20px;
|
|
}
|
|
.v-card-small-box {
|
|
padding: 10px;
|
|
background-color: rgba(0, 0, 0, 0.03);
|
|
border-radius: 8px;
|
|
.time {
|
|
font-size: 13px;
|
|
text-align: center;
|
|
font-family: DIN Alternate;
|
|
}
|
|
.line{text-align: center; image{width: 30px;height: 15px;}}
|
|
.name {
|
|
font-size: 12px;
|
|
text-align: center;
|
|
|
|
&.delivery {
|
|
text:before {
|
|
content: '配';
|
|
padding: 2px;
|
|
margin-right: 5px;
|
|
background-color: rgba($v-primary, 0.05);
|
|
color: rgba($v-primary, 1);
|
|
}
|
|
}
|
|
&.received {
|
|
text:before {
|
|
content: '收';
|
|
padding: 2px;
|
|
margin-right: 5px;
|
|
background-color: rgba($v-secondary, 0.05);
|
|
color: rgba($v-secondary, 1);
|
|
}
|
|
}
|
|
}
|
|
.record {
|
|
font-size: 12px;
|
|
.btn {
|
|
padding: 2px 8px;
|
|
border: 1px solid rgba(0, 0, 0, 0.08);
|
|
border-radius: 20px;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
.popup-content {
|
|
position: relative;
|
|
.close {
|
|
position: absolute;
|
|
right: 20px;
|
|
top: 5px;
|
|
z-index: 9;
|
|
:before {
|
|
color: rgba(0, 0, 0, 0.4);
|
|
}
|
|
}
|
|
.v-popup-title {
|
|
text-align: center;
|
|
margin-bottom: 20px;
|
|
text {
|
|
margin-right: 10px;
|
|
font-size: 18px;
|
|
font-weight: 600;
|
|
}
|
|
color: $v-primary;
|
|
}
|
|
}
|
|
|
|
.v-form {
|
|
.v-form-item {
|
|
position: relative;
|
|
padding: 2px 20px 2px 20px;
|
|
margin: 10px 0;
|
|
background-color: #fff;
|
|
border-radius: 10px;
|
|
}
|
|
.uni-forms-item__label {
|
|
list-style: 34px;
|
|
font-size: 14px;
|
|
}
|
|
.uni-forms-item__content {
|
|
position: relative;
|
|
text-align: right;
|
|
padding-right: 18px;
|
|
line-height: 36px;
|
|
.uni-input {
|
|
font-size: 14px;
|
|
line-height: 36px;
|
|
}
|
|
|
|
text {
|
|
font-size: 14px;
|
|
color: #666;
|
|
line-height: 36px;
|
|
}
|
|
|
|
input {
|
|
height: 36px;
|
|
line-height: 36px;
|
|
font-size: 14px;
|
|
}
|
|
.uni-icons {
|
|
position: absolute;
|
|
right: 0;
|
|
top: 0;
|
|
&:before {
|
|
color: #80828c;
|
|
}
|
|
}
|
|
.placeholder {
|
|
font-size: 14px;
|
|
color: #80828c;
|
|
padding-right: 0;
|
|
}
|
|
}
|
|
.uni-forms-item--border .uni-forms-item__content .uni-forms-item__error {
|
|
position: absolute;
|
|
right: 15px;
|
|
text-align: right;
|
|
top: 15px;
|
|
text {
|
|
font-size: 12px;
|
|
color: #f56c6c;
|
|
}
|
|
}
|
|
.v-form-tip {
|
|
display: inline-block;
|
|
height: 30px;
|
|
width: 30px;
|
|
text-align: center;
|
|
line-height: 30px;
|
|
border-radius: 30px;
|
|
color: #fff;
|
|
}
|
|
.v-form-tip.delivery {
|
|
background-color: #14c171;
|
|
}
|
|
.v-form-tip.received {
|
|
background-color: rgb(255, 102, 102);
|
|
}
|
|
|
|
.uni-date__x-input {
|
|
font-size: 14px;
|
|
}
|
|
.uni-forms-item {
|
|
position: relative;
|
|
margin: 0;
|
|
padding: 3px 0;
|
|
&.no-border {
|
|
border-top: none;
|
|
}
|
|
}
|
|
|
|
.uni-easyinput__placeholder-class {
|
|
font-size: 14px;
|
|
}
|
|
.is-input-border {
|
|
border: none;
|
|
}
|
|
.uni-list--border-top {
|
|
display: none;
|
|
}
|
|
.uni-list-item__content-title {
|
|
color: #666;
|
|
}
|
|
.uni-icon-wrapper {
|
|
padding: 0;
|
|
}
|
|
.uni-easyinput__content-input {
|
|
text-align: right;
|
|
}
|
|
.uni-easyinput__content-input + text {
|
|
color: #999;
|
|
font-size: 14px;
|
|
}
|
|
.is-textarea {
|
|
}
|
|
.uni-list-item__container {
|
|
padding-left: 0;
|
|
padding-right: 0;
|
|
}
|
|
.input-value-border {
|
|
border: none;
|
|
}
|
|
.uni-date-editor--x {
|
|
.uni-date-x {
|
|
}
|
|
.uni-icons {
|
|
position: absolute;
|
|
right: 0;
|
|
top: 0;
|
|
&:before {
|
|
font-size: 16px;
|
|
}
|
|
}
|
|
}
|
|
.uni-date-x--border {
|
|
border: none;
|
|
}
|
|
|
|
.selected-area {
|
|
flex-direction: column;
|
|
text-align: right;
|
|
&.placeholder {
|
|
font-size: 14px;
|
|
color: #999999;
|
|
}
|
|
}
|
|
.selected-list {
|
|
flex-direction: column;
|
|
text-align: right;
|
|
}
|
|
}
|
|
|
|
.v-pages-operation {
|
|
position: fixed;
|
|
left: 0;
|
|
width: 100%;
|
|
padding: 10px;
|
|
box-shadow: -4px 0 10px 0 rgba(0, 0, 0, 0.05);
|
|
background-color: #fff;
|
|
transition: all 0.4s;
|
|
|
|
&.show {
|
|
bottom: -40px;
|
|
}
|
|
&.hide {
|
|
bottom: 0;
|
|
}
|
|
.v-pages-operation-item {
|
|
text-align: center;
|
|
}
|
|
}
|
|
// 页面 产品头部
|
|
.v-pages-product {
|
|
padding: 30px 0 50px 0;
|
|
background-color: $v-primary;
|
|
.v-product-name {
|
|
color: #fff;
|
|
font-size: 16px;
|
|
text-align: center;
|
|
}
|
|
.v-product-code {
|
|
border-radius: 30px;
|
|
color: #fff;
|
|
font-family: DIN Alternate;
|
|
font-size: 16px;
|
|
text-align: center;
|
|
}
|
|
}
|
|
// 页面 表单
|
|
.v-page-form.small {
|
|
.v-form-item {
|
|
position: relative;
|
|
font-size: 12px;
|
|
.label {
|
|
margin-right: 4px;
|
|
color: #999999;
|
|
}
|
|
|
|
.content {
|
|
.iconfont {
|
|
font-size: 12px;
|
|
}
|
|
font-family: DINAlternate;
|
|
}
|
|
&.boder::after {
|
|
content: '';
|
|
position: absolute;
|
|
left: 50%;
|
|
transform: translate(-50%, 0);
|
|
top: 0;
|
|
height: 16px;
|
|
width: 1px;
|
|
background-color: rgba(0, 0, 0, 0.05);
|
|
}
|
|
}
|
|
}
|
|
|
|
.v-code-image {
|
|
width: 100%;
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 200px;
|
|
overflow: hidden;
|
|
image {
|
|
position: absolute;
|
|
top: -80px;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 300px;
|
|
}
|
|
}
|
|
// 页面 溯源码
|
|
.v-pages-code {
|
|
position: sticky;
|
|
top: 0;
|
|
left: 0;
|
|
z-index: 999;
|
|
|
|
.v-code-top {
|
|
position: relative;
|
|
z-index: 999;
|
|
padding: 20px 20px 10px 30px;
|
|
.text {
|
|
font-size: 14px;
|
|
}
|
|
.number {
|
|
color: rgba(20, 193, 113, 1);
|
|
text {
|
|
font-size: 28px;
|
|
font-weight: 600;
|
|
}
|
|
}
|
|
}
|
|
.v-code-data {
|
|
position: relative;
|
|
z-index: 999;
|
|
margin: 0 20px;
|
|
background-color: #edfff8;
|
|
border-radius: 10px;
|
|
padding: 16px;
|
|
.text {
|
|
font-size: 12px;
|
|
text-align: center;
|
|
}
|
|
.number {
|
|
text-align: center;
|
|
font-weight: 600;
|
|
text {
|
|
font-size: 22px;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|